/*
Theme Name: Tourism Uganda
Text Domain: tourism-uganda
Description: Official theme for Uganda's tourism portal — ochre/forest/cream design system V3.
Version: 3.0.0
*/

/* ================================================================
   CSS CUSTOM PROPERTIES (→ WP theme.json)
================================================================ */
:root {
  /* Brand */
  --ochre:        #C8871A;
  --ochre-light:  #E5A83C;
  --ochre-pale:   rgba(200,135,26,0.12);
  --forest:       #1A3C28;
  --forest-mid:   #2D5E3E;
  --forest-dark:  #0F2018;
  --savanna:      #F5EDD8;
  --earth:        #8B5E3C;
  --sky:          #1B3A5C;
  --cream:        #FDFAF4;
  --text-dark:    #0F1E14;
  --text-mid:     #3D4F43;
  --text-light:   #6B7C71;
  --white:        #FFFFFF;
  --border:       rgba(0,0,0,0.08);

  /* Shadows */
  --shadow-sm:   0 2px 10px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.14);

  /* Transitions */
  --ease:        all 0.25s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* ================================================================
   RESET & BASE
================================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--ease); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.15; }

/* Skip link (accessibility) */
.skip-link {
  position: absolute; top: -40px; left: 0; z-index: 9999;
  background: var(--forest); color: #fff; padding: 8px 16px;
  border-radius: 0 0 8px 0; font-size: 0.85rem;
}
.skip-link:focus { top: 0; }

/* ================================================================
   UTILITY BAR  (WP: Options Page → Site-wide top bar)
================================================================ */
.utility-bar {
  background: var(--forest-dark);
  color: rgba(255,255,255,0.65);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 0.45rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.utility-bar a { color: rgba(255,255,255,0.65); }
.utility-bar a:hover { color: var(--ochre-light); }
.utility-left { display: flex; align-items: center; gap: 0.6rem; }
.utility-flag { display: inline-block; vertical-align: middle; border-radius: 1px; }
.utility-left .flag { font-size: 0.9rem; }
.utility-left .divider { opacity: 0.3; }
.utility-right { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* ================================================================
   GOVERNMENT HEADER  (WP: Theme Header Part)
================================================================ */
.gov-header {
  background: var(--forest);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-block {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  text-decoration: none;
}
.logo-coat {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.logo-coat .logo-coat-img { width: 100%; height: 100%; object-fit: contain; }
.logo-coat .custom-logo-link { display: flex; align-items: center; justify-content: center; }
.logo-coat .custom-logo { max-width: 100%; height: auto; }
.logo-text .ministry {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.logo-text .tagline {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre-light);
  font-weight: 600;
  margin-top: 2px;
}
.gov-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  overflow: hidden;
}
.header-search input {
  background: none; border: none; outline: none;
  color: #fff; font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem; padding: 0.5rem 1rem; width: 200px;
}
.header-search input::placeholder { color: rgba(255,255,255,0.45); }
.header-search button {
  background: var(--ochre); color: #fff;
  padding: 0.5rem 1rem; font-size: 0.82rem; font-weight: 600;
  transition: var(--ease);
}
.header-search button:hover { background: var(--ochre-light); }
.lang-select {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px; color: rgba(255,255,255,0.8);
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem;
  padding: 0.45rem 0.8rem; outline: none; cursor: pointer;
}

/* ================================================================
   MAIN NAVIGATION  (WP: Theme Navigation Part / Walker)
================================================================ */
.main-nav {
  background: var(--cream);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 0.25rem;
  padding: 1.1rem 1rem;
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-mid);
  text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 3px solid transparent;
  transition: var(--ease);
}
.nav-links > li > a:hover,
.nav-links > li.active > a {
  color: var(--forest);
  border-bottom-color: var(--ochre);
  background: var(--ochre-pale);
}
.nav-links > li > a .arrow { font-size: 0.6rem; opacity: 0.5; transition: var(--ease); }
.nav-links > li:hover > a .arrow { opacity: 1; transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-width: 200px;
  padding: 0.6rem 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 200;
}
.nav-links > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 0.55rem 1.2rem;
  font-size: 0.82rem; color: var(--text-mid); font-weight: 500;
}
.dropdown a:hover { background: var(--savanna); color: var(--forest); padding-left: 1.5rem; }

.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.nav-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  transition: var(--ease);
}
.nav-btn-outline {
  border: 1.5px solid var(--forest);
  color: var(--forest);
}
.nav-btn-outline:hover { background: var(--forest); color: #fff; }
.nav-btn-primary {
  background: var(--ochre); color: #fff;
}
.nav-btn-primary:hover { background: var(--ochre-light); transform: translateY(-1px); }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
  border-radius: 8px;
  border: 1.5px solid var(--border);
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--forest); border-radius: 2px;
  transition: var(--ease);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  background: #fff;
  border-top: 2px solid var(--border);
  padding: 1rem 2rem 2rem;
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
}
.mobile-nav.open { max-height: 600px; display: block; }
.mobile-nav a {
  display: block; padding: 0.7rem 0;
  font-size: 0.9rem; font-weight: 600; color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--forest); padding-left: 8px; }

/* ================================================================
   HERO SLIDER  (WP: ACF Flexible Content → Hero Slides)
================================================================ */
.hero {
  position: relative;
  height: 92vh;
  min-height: 580px;
  max-height: 860px;
  overflow: hidden;
}

/* Slides */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    110deg,
    rgba(10,25,15,0.82) 0%,
    rgba(10,25,15,0.5) 55%,
    rgba(10,25,15,0.15) 100%
  );
}

/* Fade gradient into page */
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to top, var(--cream), transparent);
  z-index: 2; pointer-events: none;
}

.hero-content {
  position: absolute;
  bottom: 8rem; left: 4rem;
  z-index: 3;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(200,135,26,0.2);
  border: 1px solid var(--ochre);
  color: var(--ochre-light);
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.4rem;
  animation: fadeUp 0.8s ease both;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 1.1rem;
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero h1 em { font-style: italic; color: var(--ochre-light); }
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s ease both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--ochre); color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 10px; font-weight: 700; font-size: 0.88rem;
  letter-spacing: 0.04em; transition: var(--ease);
}
.btn-primary:hover { background: var(--ochre-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,135,26,0.4); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1); color: #fff;
  padding: 0.9rem 1.8rem; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(10px); font-weight: 600; font-size: 0.88rem;
  transition: var(--ease);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

/* Hero floating stat cards (right side) */
.hero-stats-float {
  position: absolute;
  right: 3.5rem; top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex; flex-direction: column; gap: 0.9rem;
  animation: fadeLeft 0.9s 0.5s ease both;
}
.hero-stat-card {
  background: rgba(10,25,15,0.55);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  text-align: center; min-width: 130px;
}
.hero-stat-card .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem; font-weight: 900;
  color: var(--ochre-light); display: block; line-height: 1;
}
.hero-stat-card .lbl {
  font-size: 0.65rem; color: rgba(255,255,255,0.65);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
  margin-top: 0.3rem; display: block;
}

/* Slide indicators */
.hero-indicators {
  position: absolute;
  bottom: 2.5rem; left: 4rem;
  z-index: 3;
  display: flex; gap: 0.5rem;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 4px;
  background: rgba(255,255,255,0.35); border: none;
  cursor: pointer; transition: all 0.3s ease;
}
.hero-dot.active { width: 28px; background: var(--ochre); }

/* ================================================================
   QUICK SERVICES BAR  (WP: Options Page → Quick Links)
================================================================ */
.quick-services {
  background: var(--forest);
  padding: 1.1rem 2rem;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0.4rem;
}
.qsvc {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem; font-weight: 600;
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  letter-spacing: 0.03em;
  transition: var(--ease);
}
.qsvc .icon { font-size: 0.95rem; }
.qsvc:hover { background: rgba(255,255,255,0.1); color: var(--ochre-light); border-color: rgba(200,135,26,0.5); }

/* ================================================================
   STATISTICS SECTION  (from Template 2, restyled)
   (WP: ACF Block → Tourism Statistics)
================================================================ */
.statistics {
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 50%, #1B3A5C 100%);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.statistics::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(200,135,26,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.stats-inner {
  max-width: 1400px; margin: 0 auto;
  position: relative; z-index: 1;
}
.stats-header {
  text-align: center; margin-bottom: 3.5rem;
}
.stats-header .eyebrow {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ochre-light); font-weight: 700; margin-bottom: 0.6rem;
}
.stats-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff; font-weight: 700;
}
.stats-header h2 em { font-style: italic; color: var(--ochre-light); }
.stats-header p {
  color: rgba(255,255,255,0.6); margin-top: 0.6rem; font-size: 0.9rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.stat-item {
  text-align: center;
  padding: 2.5rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  transition: var(--ease);
}
.stat-item:hover {
  background: rgba(200,135,26,0.1);
  border-color: rgba(200,135,26,0.3);
  transform: translateY(-4px);
}
.stat-icon { font-size: 2rem; margin-bottom: 0.8rem; display: block; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 900;
  color: var(--ochre-light);
  display: block; line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  line-height: 1.4;
}
.stat-sub {
  font-size: 0.68rem; color: rgba(255,255,255,0.35);
  margin-top: 0.3rem; display: block;
}

/* ================================================================
   ABOUT STRIP  (WP: ACF Block → About Ministry)
================================================================ */
.about-strip {
  background: var(--savanna);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 100%;
}
.about-text-col {
  padding: 5rem 4rem 5rem 2rem;
  max-width: 700px;
}
.about-text-col .eyebrow {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ochre); font-weight: 700; margin-bottom: 0.5rem;
}
.about-text-col h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--forest); font-weight: 700; line-height: 1.2;
  margin-bottom: 1rem;
}
.about-text-col h2 em { font-style: italic; color: var(--ochre); }
.announce-bar {
  display: flex; align-items: center; gap: 0.8rem;
  background: rgba(200,135,26,0.1);
  border: 1px solid rgba(200,135,26,0.3);
  border-radius: 10px; padding: 0.8rem 1.1rem;
  margin: 1.2rem 0 1.5rem;
}
.announce-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ochre); flex-shrink: 0;
  animation: pulse 1.5s infinite;
}
.announce-bar p { font-size: 0.8rem; color: var(--text-dark); line-height: 1.5; }
.announce-bar p strong { color: var(--ochre); }
.announce-link {
  margin-left: auto; font-size: 0.75rem; color: var(--ochre);
  font-weight: 700; white-space: nowrap; flex-shrink: 0;
}
.announce-link:hover { color: var(--ochre-light); }
.about-text-col > p {
  font-size: 0.95rem; color: var(--text-mid); line-height: 1.8;
  margin-bottom: 0.9rem;
}
.about-actions { display: flex; gap: 0.8rem; margin-top: 1.5rem; flex-wrap: wrap; }
.btn-forest {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--forest); color: #fff;
  padding: 0.8rem 1.6rem; border-radius: 10px;
  font-weight: 700; font-size: 0.85rem; transition: var(--ease);
}
.btn-forest:hover { background: var(--forest-mid); transform: translateY(-2px); }
.btn-outline-forest {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1.5px solid var(--forest); color: var(--forest);
  padding: 0.8rem 1.6rem; border-radius: 10px;
  font-weight: 700; font-size: 0.85rem; transition: var(--ease);
}
.btn-outline-forest:hover { background: var(--forest); color: #fff; }

.about-image-col { position: relative; overflow: hidden; min-height: 480px; }
.about-image-col img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-image-col::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(200,135,26,0.25), transparent 60%);
}
.about-badge {
  position: absolute; bottom: 2rem; left: 2rem; z-index: 2;
  background: var(--forest); color: #fff;
  padding: 1rem 1.4rem; border-radius: 14px;
  box-shadow: var(--shadow-md);
}
.about-badge .big { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--ochre-light); display: block; line-height: 1; }
.about-badge .small { font-size: 0.72rem; opacity: 0.75; line-height: 1.4; margin-top: 0.2rem; }

/* ================================================================
   DESTINATIONS BENTO  (WP: ACF Block → Destinations Grid)
================================================================ */
.destinations { background: var(--cream); padding: 5rem 2rem; }
.section-header-flex {
  max-width: 1400px; margin: 0 auto 2.5rem;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.sh-left .eyebrow {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ochre); font-weight: 700; margin-bottom: 0.4rem;
}
.sh-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--forest); font-weight: 700;
}
.sh-left h2 em { font-style: italic; color: var(--ochre); }
.view-all {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border: 1.5px solid var(--forest); color: var(--forest);
  padding: 0.55rem 1.2rem; border-radius: 8px;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  transition: var(--ease); white-space: nowrap;
}
.view-all:hover { background: var(--forest); color: #fff; }

.destinations-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.65fr 1fr 1fr;
  grid-template-rows: 285px 285px;
  gap: 1rem;
}
.dest-card {
  position: relative; border-radius: 16px; overflow: hidden;
  cursor: pointer; display: block; text-decoration: none;
}
.dest-card:first-child { grid-row: 1 / 3; }
.dest-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.dest-card:hover img { transform: scale(1.07); }
.dest-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,25,15,0.88) 0%, transparent 55%);
}
.dest-info { position: absolute; bottom: 1.4rem; left: 1.4rem; right: 1.4rem; z-index: 1; }
.dest-category {
  font-size: 0.63rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ochre-light); font-weight: 700; margin-bottom: 0.3rem;
}
.dest-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: #fff; font-weight: 700;
}
.dest-card:first-child .dest-name { font-size: 1.85rem; }
.dest-desc { font-size: 0.76rem; color: rgba(255,255,255,0.72); margin-top: 0.3rem; line-height: 1.5; }
.dest-tag {
  display: inline-block; margin-top: 0.7rem;
  background: rgba(200,135,26,0.2); border: 1px solid var(--ochre);
  color: var(--ochre-light); font-size: 0.62rem; font-weight: 700;
  padding: 0.2rem 0.7rem; border-radius: 100px; letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ================================================================
   PILLARS / STRATEGIC PRIORITIES  (WP: ACF Block → Pillars)
================================================================ */
.pillars {
  background: var(--forest);
  padding: 5rem 2rem;
}
.pillars-inner { max-width: 1400px; margin: 0 auto; }
.pillars-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 2.5rem;
}
.pillars-header .sh-left h2 { color: #fff; }
.pillars-header .sh-left .eyebrow { color: var(--ochre-light); }
.pillars-desc { color: rgba(255,255,255,0.6); max-width: 360px; font-size: 0.88rem; line-height: 1.7; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.pillar-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 2rem 1.4rem;
  transition: var(--ease); text-decoration: none; display: block;
}
.pillar-card:hover {
  background: rgba(200,135,26,0.14);
  border-color: var(--ochre);
  transform: translateY(-4px);
}
.pillar-icon {
  width: 54px; height: 54px;
  background: rgba(200,135,26,0.15); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.2rem;
}
.pillar-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; color: #fff; font-weight: 700;
  margin-bottom: 0.6rem;
}
.pillar-card p { font-size: 0.8rem; color: rgba(255,255,255,0.55); line-height: 1.65; }
.pillar-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  color: var(--ochre-light); font-size: 0.76rem; font-weight: 700;
  margin-top: 1rem; letter-spacing: 0.04em;
}

/* ================================================================
   LEADERSHIP  (from Template 2, restyled)
   (WP: ACF Block → Leadership)
================================================================ */
.leadership {
  background: var(--savanna);
  padding: 5rem 2rem;
}
.leadership-inner { max-width: 1400px; margin: 0 auto; }
.section-header-center { text-align: center; margin-bottom: 3rem; }
.section-header-center .eyebrow {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ochre); font-weight: 700; margin-bottom: 0.5rem;
}
.section-header-center h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--forest); font-weight: 700;
}
.section-header-center h2 em { font-style: italic; color: var(--ochre); }
.section-header-center p {
  color: var(--text-light); margin-top: 0.6rem; font-size: 0.9rem; max-width: 560px; margin-inline: auto;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.leader-card {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--ease);
}
.leader-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
}
.leader-photo {
  height: 320px;
  background-size: cover; background-position: center top;
  position: relative; overflow: hidden;
}
.leader-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,25,15,0.6) 0%, transparent 50%);
}
.leader-body {
  padding: 1.6rem 1.8rem;
  border-top: 3px solid var(--ochre);
}
.leader-body .role {
  font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ochre); font-weight: 700; margin-bottom: 0.3rem;
}
.leader-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: var(--forest); font-weight: 700;
  margin-bottom: 0.5rem;
}
.leader-body p { font-size: 0.8rem; color: var(--text-light); line-height: 1.6; }
.leader-read-more {
  display: inline-flex; align-items: center; gap: 0.3rem;
  margin-top: 0.8rem;
  color: var(--ochre); font-size: 0.78rem; font-weight: 700;
}
.leader-read-more:hover { color: var(--ochre-light); gap: 0.6rem; }

/* ================================================================
   NEWS & UPDATES  (WP: WP_Query → Latest Posts)
================================================================ */
.news { background: var(--cream); padding: 5rem 2rem; }
.news-inner { max-width: 1400px; margin: 0 auto; }

.news-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
/* Feature news card */
.news-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--ease); text-decoration: none; display: block;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card-img {
  width: 100%; height: 220px; object-fit: cover; background: #ddd;
  display: block;
}
.news-card:first-child .news-card-img { height: 280px; }
.news-card-body { padding: 1.4rem; }
.news-tag {
  font-size: 0.63rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ochre); font-weight: 700; margin-bottom: 0.5rem;
}
.news-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; color: var(--text-dark); line-height: 1.4;
  margin-bottom: 0.5rem; font-weight: 700;
}
.news-card:first-child h3 { font-size: 1.3rem; }
.news-card p { font-size: 0.8rem; color: var(--text-light); line-height: 1.65; }
.news-meta { font-size: 0.7rem; color: #aaa; margin-top: 0.8rem; }
.news-meta .read-time::before { content: '·'; margin: 0 0.4rem; }

/* News list (compact) */
.news-list { display: flex; flex-direction: column; gap: 0.9rem; }
.news-list-item {
  display: flex; gap: 1rem; background: #fff;
  border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-sm); text-decoration: none;
  transition: var(--ease);
}
.news-list-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.news-list-thumb {
  width: 88px; height: 88px; object-fit: cover; flex-shrink: 0; background: #ddd;
}
.news-list-body { padding: 0.8rem 0.8rem 0.8rem 0; }
.news-list-body .tag {
  font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ochre); font-weight: 700; margin-bottom: 0.25rem;
}
.news-list-body h4 {
  font-size: 0.82rem; color: var(--text-dark); font-weight: 600; line-height: 1.4;
}
.news-list-body .date { font-size: 0.65rem; color: #aaa; margin-top: 0.3rem; }

/* ================================================================
   PROJECTS  (WP: Custom Post Type → Projects)
================================================================ */
.projects {
  background: var(--savanna);
  padding: 5rem 2rem;
}
.projects-inner { max-width: 1400px; margin: 0 auto; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.project-card {
  background: #fff; border-radius: 16px; padding: 2rem;
  border-left: 4px solid var(--ochre);
  box-shadow: var(--shadow-sm);
  transition: var(--ease); text-decoration: none; display: block;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; color: var(--ochre); font-weight: 900; opacity: 0.35; line-height: 1;
}
.project-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; color: var(--forest); margin: 0.4rem 0 0.7rem; font-weight: 700;
}
.project-card p { font-size: 0.8rem; color: var(--text-light); line-height: 1.65; }
.project-status {
  display: inline-block; margin-top: 0.9rem;
  font-size: 0.65rem; background: rgba(26,60,40,0.08);
  color: var(--forest-mid); padding: 0.25rem 0.75rem;
  border-radius: 100px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.project-status.active { background: rgba(46,160,80,0.1); color: #1a7a3a; }
.project-status.progress { background: rgba(200,135,26,0.1); color: var(--ochre); }
.project-status.planning { background: rgba(27,58,92,0.1); color: var(--sky); }

/* ================================================================
   PARTNER INSTITUTIONS  (WP: ACF Repeater → Institutions)
================================================================ */
.institutions { background: #fff; padding: 4.5rem 2rem; }
.institutions-inner { max-width: 1400px; margin: 0 auto; }
.inst-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.inst-card {
  border: 1.5px solid var(--border); border-radius: 14px;
  padding: 2rem 1.4rem; text-align: center;
  transition: var(--ease); text-decoration: none; display: block;
}
.inst-card:hover {
  border-color: var(--ochre); background: var(--savanna);
  transform: translateY(-4px); box-shadow: var(--shadow-md);
}
.inst-abbr {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 900; color: var(--forest); margin-bottom: 0.6rem;
}
.inst-card h4 { font-size: 0.82rem; color: var(--text-mid); font-weight: 700; line-height: 1.4; margin-bottom: 0.5rem; }
.inst-card p { font-size: 0.72rem; color: var(--text-light); line-height: 1.5; }

/* ================================================================
   EVENTS  (NEW — WP: Custom Post Type → Events)
================================================================ */
.events { background: var(--cream); padding: 5rem 2rem; }
.events-inner { max-width: 1400px; margin: 0 auto; }
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.event-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--ease);
  text-decoration: none; display: flex; flex-direction: column;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.event-card-top {
  background: var(--forest);
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.4rem;
}
.event-date-badge {
  display: flex; flex-direction: column; align-items: center;
  background: var(--ochre); border-radius: 10px;
  padding: 0.5rem 0.9rem; min-width: 54px; text-align: center;
}
.event-date-badge .dd {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 900; color: #fff; line-height: 1;
}
.event-date-badge .mon {
  font-size: 0.62rem; color: rgba(255,255,255,0.85); text-transform: uppercase;
  font-weight: 700; letter-spacing: 0.08em; margin-top: 1px;
}
.event-type {
  font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); font-weight: 700;
  background: rgba(255,255,255,0.1); padding: 0.3rem 0.7rem;
  border-radius: 100px;
}
.event-card-body { padding: 1.4rem; flex: 1; }
.event-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; color: var(--text-dark); font-weight: 700;
  line-height: 1.4; margin-bottom: 0.5rem;
}
.event-card p { font-size: 0.78rem; color: var(--text-light); line-height: 1.65; margin-bottom: 1rem; }
.event-location {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; color: var(--ochre); font-weight: 600;
}

/* ================================================================
   CTA BANNER  (WP: ACF Block → CTA Section)
================================================================ */
.cta-banner {
  background: linear-gradient(130deg, var(--forest) 0%, var(--forest-mid) 50%, var(--sky) 100%);
  padding: 5rem 2rem;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '🦍';
  position: absolute; right: 12%; top: 50%;
  transform: translateY(-50%);
  font-size: 12rem; opacity: 0.05; pointer-events: none;
}
.cta-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center;
}
.cta-text .eyebrow { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ochre-light); font-weight: 700; margin-bottom: 0.5rem; }
.cta-text h2 { font-size: clamp(2rem, 3.5vw, 3rem); color: #fff; font-weight: 700; line-height: 1.2; }
.cta-text h2 em { font-style: italic; color: var(--ochre-light); }
.cta-text p { color: rgba(255,255,255,0.65); margin-top: 0.8rem; max-width: 480px; line-height: 1.7; font-size: 0.92rem; }
.cta-buttons { display: flex; flex-direction: column; gap: 0.75rem; flex-shrink: 0; min-width: 220px; }
.cta-buttons .btn-primary { justify-content: center; }
.btn-glass {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1); color: #fff;
  padding: 0.9rem 1.8rem; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  font-weight: 600; font-size: 0.85rem; transition: var(--ease);
}
.btn-glass:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

/* ================================================================
   NEWSLETTER STRIP  (NEW — WP: Widget / Plugin)
================================================================ */
.newsletter {
  background: #C8871A;
  padding: 3.5rem 2rem;
}
.newsletter-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.newsletter-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; color: #fff; font-weight: 700;
}
.newsletter-text p { color: rgba(255,255,255,0.8); margin-top: 0.3rem; font-size: 0.88rem; }
.newsletter-form {
  display: flex; gap: 0; flex: 1; max-width: 480px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3); border-radius: 10px; overflow: hidden;
}
.newsletter-form input {
  flex: 1; background: none; border: none; outline: none;
  color: #fff; font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  padding: 0.9rem 1.2rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form button {
  background: var(--forest); color: #fff; border: none; padding: 0.9rem 1.4rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 700;
  cursor: pointer; transition: var(--ease); white-space: nowrap;
}
.newsletter-form button:hover { background: var(--forest-dark); }
.newsletter-note { font-size: 0.68rem; color: rgba(255,255,255,0.6); margin-top: 0.5rem; }

/* ================================================================
   FOOTER  (WP: Theme Footer Part)
================================================================ */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.55);
  padding: 4.5rem 2rem 2rem;
}
.footer-grid {
  max-width: 1400px; margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand .ministry { color: #fff; font-size: 1rem; }
.footer-brand p { font-size: 0.82rem; line-height: 1.75; margin-top: 1rem; color: rgba(255,255,255,0.5); }
.footer-brand .tagline { color: var(--ochre-light); }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; transition: var(--ease);
}
.footer-social a:hover { background: var(--ochre); color: #fff; }

.footer-col h5 {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; font-weight: 700; margin-bottom: 1.2rem;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.5);
  font-size: 0.82rem; padding: 0.3rem 0; transition: var(--ease);
}
.footer-col a:hover { color: var(--ochre-light); padding-left: 4px; }

.footer-bottom {
  max-width: 1400px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: 0.72rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: var(--ochre-light); }

/* ================================================================
   SHARED UTILITIES
================================================================ */
.max-w { max-width: 1400px; margin: 0 auto; }

/* ================================================================
   KEYFRAME ANIMATIONS
================================================================ */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { from { opacity: 0; transform: translateY(-50%) translateX(22px); } to { opacity: 1; transform: translateY(-50%) translateX(0); } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(200,135,26,0.2); }
  50%       { box-shadow: 0 0 0 8px rgba(200,135,26,0.08); }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1200px) {
  .stats-grid      { grid-template-columns: repeat(3, 1fr); }
  .pillars-grid    { grid-template-columns: 1fr 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .destinations-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .dest-card:first-child { grid-row: auto; }
  .content-sidebar { grid-template-columns: 260px 1fr; }
  .news-feature-img { width: 320px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 992px) {
  .hero-stats-float { display: none; }
  .about-strip      { grid-template-columns: 1fr; }
  .about-image-col  { min-height: 320px; }
  .leadership-grid  { grid-template-columns: 1fr 1fr; }
  .news-grid        { grid-template-columns: 1fr; }
  .news-list        { display: grid; grid-template-columns: 1fr 1fr; }
  .projects-grid    { grid-template-columns: 1fr 1fr; }
  .inst-grid        { grid-template-columns: 1fr 1fr; }
  .events-grid      { grid-template-columns: 1fr 1fr; }
  .cta-inner        { grid-template-columns: 1fr; }
  .header-search    { display: none; }
  .lang-select      { display: none; }
  .nav-links        { display: none; }
  .hamburger        { display: flex; }
  .about-text-col   { padding: 3.5rem 2rem; }
  .pillars-header   { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
@media (max-width: 768px) {
  .utility-bar          { justify-content: center; font-size: 0.68rem; }
  .utility-right        { display: none; }
  .gov-header           { padding: 0.8rem 1.2rem; }
  .logo-text .ministry  { font-size: 0.88rem; }
  .hero-content         { left: 1.5rem; right: 1.5rem; bottom: 6rem; }
  .hero-indicators      { left: 1.5rem; }
  .quick-services       { padding: 0.9rem 1rem; gap: 0.3rem; }
  .qsvc                 { font-size: 0.72rem; padding: 0.5rem 0.8rem; }
  .stats-grid           { grid-template-columns: 1fr 1fr; }
  .section-header-flex  { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .destinations-grid    { grid-template-columns: 1fr; grid-template-rows: auto; }
  .leadership-grid      { grid-template-columns: 1fr; }
  .events-grid          { grid-template-columns: 1fr; }
  .projects-grid        { grid-template-columns: 1fr; }
  .inst-grid            { grid-template-columns: 1fr 1fr; }
  .newsletter-inner     { flex-direction: column; align-items: flex-start; }
  .newsletter-form      { width: 100%; max-width: 100%; }
  .footer-grid          { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom        { flex-direction: column; text-align: center; }
  .news-list            { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stat-num { font-size: 2.2rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .inst-grid { grid-template-columns: 1fr; }
}

/* Print styles */
@media print {
  .utility-bar, .main-nav, .hero-stats-float,
  .quick-services, .newsletter, .hamburger { display: none; }
}
/* ================================================================
   NEWS ARCHIVE & SINGLE TEMPLATES
=============================================================== */
.news-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.news-single-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.page-hero {
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 50%, var(--forest-mid) 100%);
  padding: 56px 0 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.page-hero .container { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-bottom: 16px;
  opacity: 0.8;
  position: relative;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.8); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb .sep { color: rgba(255,255,255,0.5); }
.page-hero .hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  position: relative;
}
.page-hero p {
  font-size: 16px;
  opacity: 0.85;
  max-width: 540px;
  line-height: 1.6;
  position: relative;
}

.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
}
.breadcrumb-bar .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-light);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.breadcrumb-bar .breadcrumb a { color: var(--forest); font-weight: 500; }
.breadcrumb-bar .breadcrumb a:hover { color: var(--ochre); }
.breadcrumb-bar .breadcrumb .sep { color: var(--text-light); opacity: 0.5; }

.content-sidebar {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.sidebar { position: sticky; top: 20px; }
.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}
.sidebar-card-hdr {
  background: var(--forest);
  color: #fff;
  padding: 14px 18px;
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-card-hdr i { opacity: 0.7; }
.sidebar-card-body { padding: 16px 18px; }

/* CARDS (matching HTML prototype) */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; }
.card-meta { font-size: 12px; color: var(--text-light); margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.card-title { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 16px; margin-bottom: 8px; color: var(--text-dark); }
.card-excerpt { font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.card-footer { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }

/* FORM INPUT */
.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  background: #fff;
  transition: border-color 0.2s;
}
.form-input:focus { outline: none; border-color: var(--forest-mid); box-shadow: 0 0 0 3px rgba(45,94,62,0.12); }

/* GRID */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.filter-tab {
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-mid);
  background: #fff;
  cursor: pointer;
  transition: var(--ease);
  font-family: 'DM Sans', sans-serif;
}
.filter-tab:hover { border-color: var(--ochre); color: var(--ochre); }
.filter-tab.active { background: var(--forest); color: #fff; border-color: var(--forest); }

.badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-ochre { background: rgba(200,135,26,0.12); color: var(--ochre); }
.badge-forest { background: rgba(26,60,40,0.1); color: var(--forest-mid); }
.badge-blue { background: rgba(27,58,92,0.1); color: var(--sky); }
.badge-red { background: rgba(220,38,38,0.08); color: #b91c1c; }
.badge-purple { background: rgba(109,40,217,0.08); color: #6d28d9; }
.badge-teal { background: rgba(15,118,110,0.08); color: #0f766e; }
.badge-gray { background: rgba(100,116,139,0.08); color: #64748b; }
.badge-orange { background: rgba(234,88,12,0.08); color: #c2410c; }

.search-bar {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.search-bar:focus-within { border-color: var(--forest-mid); }
.search-bar input {
  flex: 1;
  border: none;
  padding: 0.65rem 0.9rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--text-dark);
  background: transparent;
}
.search-bar input:focus { outline: none; }
.search-bar button {
  background: var(--forest);
  color: #fff;
  border: none;
  padding: 0.65rem 1rem;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--ease);
}
.search-bar button:hover { background: var(--forest-mid); }

.tags-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--ease);
}
.tag:hover, .tag.active { background: var(--ochre-pale); border-color: var(--ochre); color: var(--ochre); }

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 1.25rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.results-count { font-size: 0.82rem; color: var(--text-light); }
.results-count b { color: var(--text-dark); }
.sort-select {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.4rem 0.7rem;
  font-size: 0.78rem;
  color: var(--text-mid);
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  cursor: pointer;
}

.news-feature-card {
  display: flex;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  transition: var(--ease);
}
.news-feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-feature-card a { text-decoration: none; color: inherit; }
.news-feature-img { width: 420px; flex-shrink: 0; object-fit: cover; display: block; }
.news-feature-body {
  padding: 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-feature-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 0.65rem;
  line-height: 1.25;
}
.news-feature-body h2 a { color: inherit; }
.news-feature-body h2 a:hover { color: var(--ochre); }
.news-feature-body p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.news-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-light);
  flex-wrap: wrap;
}
.news-meta-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.news-author { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: var(--text-mid); }
.news-author img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }

.news-grid-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--ease);
}
.news-grid-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-grid-card a { text-decoration: none; color: inherit; }
.news-grid-card-img { width: 100%; height: 200px; object-fit: cover; }
.news-grid-card .badge-row { padding: 0 1.1rem; margin-top: -0.6rem; position: relative; z-index: 1; }
.news-grid-card-body { padding: 1rem 1.1rem 1.2rem; }
.news-grid-card-body .card-meta { font-size: 0.72rem; color: var(--text-light); margin-bottom: 0.4rem; }
.news-grid-card-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 0.4rem;
}
.news-grid-card-body h3 a { color: inherit; }
.news-grid-card-body h3 a:hover { color: var(--ochre); }
.news-grid-card-body p {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.news-grid-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.1rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
}
.news-grid-card-footer a { color: var(--forest); }
.news-grid-card-footer a:hover { color: var(--ochre); }

.pagination-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 2.5rem;
}
.page-numbers {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-mid);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--ease);
}
a.page-numbers { text-decoration: none; }
.page-numbers:hover { border-color: var(--forest); color: var(--forest); }
.page-numbers.current { background: var(--forest); color: #fff; border-color: var(--forest); }
.page-numbers.dots { border: none; cursor: default; color: var(--text-light); }
.page-numbers.dots:hover { color: var(--text-light); }

.article-hero-img { width: 100%; height: 420px; object-fit: cover; border-radius: 14px; }
.article-hero-caption {
  font-size: 0.75rem;
  color: var(--text-light);
  margin: 0.4rem 0 1.5rem;
  font-style: italic;
}
.article-body { font-size: 0.95rem; line-height: 1.8; color: var(--text-mid); }
.article-body p { margin-bottom: 1.1rem; }
.article-body h2 { font-size: 1.5rem; font-weight: 700; color: var(--forest); margin: 2rem 0 0.8rem; }
.article-body h3 { font-size: 1.2rem; font-weight: 600; color: var(--forest-mid); margin: 1.5rem 0 0.6rem; }
.article-body blockquote {
  border-left: 4px solid var(--ochre);
  padding: 1rem 1.2rem;
  background: var(--savanna);
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  font-style: italic;
  font-size: 1rem;
}
.article-body blockquote cite {
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
  color: var(--forest);
  display: block;
  margin-top: 0.5rem;
}

.share-bar {
  background: var(--savanna);
  border: 1px solid rgba(200,135,26,0.2);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 2rem;
}
.share-bar-title { font-size: 0.85rem; font-weight: 700; color: var(--text-mid); margin-bottom: 0.8rem; }
.share-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: var(--ease);
}
.share-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.share-fb { background: #1877f2; }
.share-x { background: #000; }
.share-wa { background: #25d366; }
.share-li { background: #0a66c2; }
.share-copy { background: var(--text-light); }

.related-section {
  padding: 2.5rem 0;
  background: var(--savanna);
  border-top: 1px solid var(--border);
}
.related-inner { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.related-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--ease);
  text-decoration: none;
  display: block;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-card-img { width: 100%; height: 180px; object-fit: cover; }
.related-card-body { padding: 1rem; }
.related-card-body h4 { font-size: 0.9rem; font-weight: 700; color: var(--text-dark); line-height: 1.35; }

.sidebar-list-item {
  display: flex;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-list-item:last-child { border-bottom: none; }
.sidebar-list-img { width: 50px; height: 50px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.sidebar-list-date { font-size: 0.68rem; color: var(--text-light); margin-bottom: 0.2rem; }
.sidebar-list-title { font-size: 0.78rem; font-weight: 600; color: var(--text-dark); line-height: 1.35; }
.sidebar-list-title a { color: inherit; text-decoration: none; }
.sidebar-list-title a:hover { color: var(--ochre); }

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-light);
  flex-wrap: wrap;
}
.article-meta-author { display: flex; align-items: center; gap: 0.5rem; }
.article-meta-author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.article-meta-author-name { font-weight: 600; color: var(--text-dark); }
.article-meta-author-org { font-size: 0.68rem; color: var(--text-light); }

.sidebar-subscribe-text { font-size: 0.78rem; color: var(--text-light); margin-bottom: 0.75rem; line-height: 1.5; }

@media (max-width: 992px) {
  .content-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .card.news-featured { flex-direction: column !important; }
  .card.news-featured img { width: 100% !important; height: 280px; }
  .article-hero-img { height: 280px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .page-hero { padding: 2rem 1rem; }
  .card.news-featured img { height: 220px; }
  .article-hero-img { height: 220px; }
  .related-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .filter-tabs { gap: 0.35rem; }
  .filter-tab { padding: 0.35rem 0.8rem; font-size: 0.7rem; }
  .news-main, .news-single-content { padding: 2rem 1rem 3rem; }
  .breadcrumb-bar .breadcrumb, .page-hero .container { padding: 0 1rem; }
}
@media (max-width: 480px) {
  .article-hero-img { height: 200px; }
  .news-feature-body h2 { font-size: 1.1rem; }
}
