/* =====================================================
   RESET
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =====================================================
   BRAND VARIABLES
===================================================== */
:root {
  --green-dark: #2F6B3C;
  --green-main: #5E8C4A;
  --green-light: #A6C94F;

  --bg-main: #F4F8F2;
  --bg-section: #E9F1E6;
  --bg-card: #FFFFFF;

  --text-main: #1F2D1F;
  --text-muted: #5F6F5F;
  --text-meta: #8A9A8A;
}

/* =====================================================
   BASE
===================================================== */
body {
  font-family: 'Roboto', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: auto;
}

/* =====================================================
   HEADER
===================================================== */
.power-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  color: #fff;
}

.header-main {
  background: rgba(0, 0, 0, 0.15);
  padding: 18px 0;
}

/* GRID: brand (left) + nav (right) */
.header-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
}

/* BRAND IMAGE */
.brand-block {
  display: flex;
  align-items: center;
}

.brand-image img {
  height: 56px;        /* visually matches menu pill height */
  width: auto;
  display: block;
}

/* =====================================================
   NAVIGATION
===================================================== */
.main-nav a {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;

  border-radius: 8px;        /* rectangular, not pill */
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.18),
    rgba(255,255,255,0.08)
  );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 3px 6px rgba(0,0,0,0.25);

  color: #ffffff;
  transition: all 0.2s ease;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;

  /* 🔥 THIS DOES THE JOB */
  justify-self: end;
  margin-right: 30px;
}

.main-nav a {
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0px;
  background: rgba(255,255,255,0.12);
  transition: background 0.3s ease, color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--green-light);
  color: var(--text-main);
}

/* =====================================================
   HERO (LEFT LOGO – CENTER TEXT – RIGHT AUTHOR)
===================================================== */

.hero-overlay {
  background: linear-gradient(
    135deg,
    #2F6B3C,
    #5E8C4A
  );
  padding: 40px 0;
}

.hero-overlay {
  padding: 10px 0;
}

.hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.hero img {
  display: block;
  margin: 10px 0;
}

/* LEFT LOGO */
.hero-logo img {
  height: 150px;
  width: auto;
}

/* CENTER TEXT */
.hero-content {
  max-width: 620px;
}

.hero-eyebrow {
  font-size: 14px;
  margin-bottom: 6px;
  color: #eef5e6;
}

.hero-content h1 {
  font-size: 42px;
  line-height: 1.1;
  margin-bottom: 6px;
    color: #FFFFFF;
}

.hero-content h1 span {
  display: block;
  font-weight: 400;
  margin-top: -6px;
  color: #eaf4e3;
}

.hero-sub {
  margin-top: 10px;
  font-size: 16px;
  color: #eef5e6;
}

/* RIGHT AUTHOR */
.hero-author img {
  height: 200px;
  width: auto;
}

/* =====================================================
   SECTIONS
===================================================== */
.section {
  padding: 80px 0;
  background: linear-gradient(#f7faf5, #ffffff);
}

.section-title {
  font-size: 30px;
  margin-bottom: 35px;
  color: var(--green-dark);
}

/* =====================================================
   STORIES
===================================================== */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.story-card {
  background: #ffffff;
  padding: 26px;
  border-radius: 16px;
  border-top: 5px solid var(--green-main);
  box-shadow: 0 10px 30px rgba(0,0,0,0.07);
  transition: transform 0.3s ease;
}

.story-card:hover {
  transform: translateY(-4px);
}

.story-card .tag {
  font-size: 12px;
  color: var(--text-meta);
  font-weight: 600;
}

.story-card h4 {
  margin: 10px 0;
}

/* =====================================================
   CATEGORIES
===================================================== */
.categories-strip {
  background: var(--bg-section);
  padding: 60px 0;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.cat-box {
  background: var(--green-main);
  color: #fff;
  padding: 30px;
  border-radius: 16px;
}

/* =====================================================
   ADS
===================================================== */
.ads {
  padding: 50px 0;
}

.ad-box {
  background: #ddd;
  padding: 30px;
  text-align: center;
}

/* =====================================================
   FOOTER
===================================================== */
.footer {
  background: #1f2d1f;
  color: #cddacb;
  text-align: center;
  padding: 25px 0;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 900px) {
  .header-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .main-nav {
    margin-right: 0;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-logo img,
  .hero-author img {
    height: 200px;
  }

  .hero-content h1 {
    font-size: 30px;
  }
  .hero-author {
  position: relative;
}

.hero-author::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 80px;
  background: linear-gradient(
    to top,
    rgba(94,140,74,0.6),
    rgba(94,140,74,0)
  );
  z-index: 0;
}

.hero-author img {
  position: relative;
  z-index: 1;
}

/* ===============================
   MANUAL BRAND IMAGE CONTROL
   =============================== */

:root {
  --brand-shift-x: -50px;   /* move left (-) or right (+) */
  --brand-shift-y: -50px;   /* move up (-) or down (+) */
}

.brand-image {
  display: flex;
  align-items: center;
}

.brand-image img {
  height: 42px;
  width: auto;
  display: block;
  transform: translateY(-4px); /* TEMPORARY visual tweak */
}

  /* 🔥 YOU CONTROL THIS */
  transform: translate(
    var(--brand-shift-x),
    var(--brand-shift-y)
  );
}
  
}
