/* =============================================
   STUDY IN IRELAND — BLOG PAGE
   ============================================= */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&family=Oleo+Script:wght@400;700&family=Playfair+Display:ital,wght@0,700;0,900;1,400&display=swap");

:root {
  --emerald: #0d5c34;
  --emerald-deep: #063520;
  --emerald-mid: #1a7a48;
  --emerald-bright: #22a05a;
  --emerald-tint: #edf7f1;
  --amber: #e8930a;
  --amber-light: #f5b93e;
  --cream: #faf8f4;
  --white: #ffffff;
  --ink: #0e1e16;
  --ink-soft: #2d4a38;
  --muted: #6b8a75;
  --border: rgba(13, 92, 52, 0.14);
  --shadow-sm: 0 2px 12px rgba(13, 92, 52, 0.08);
  --shadow-md: 0 8px 32px rgba(13, 92, 52, 0.12);
  --shadow-lg: 0 20px 60px rgba(13, 92, 52, 0.16);
  --shadow-xl: 0 32px 80px rgba(13, 92, 52, 0.2);
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 40px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-oleo: "Oleo Script", cursive;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);

  /* Category colours */
  --cat-visa: #2563eb;
  --cat-university: #0d5c34;
  --cat-finance: #d97706;
  --cat-life: #7c3aed;
  --cat-career: #dc2626;
  --cat-exams: #0891b2;
  --cat-guide: #059669;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-pad {
  padding: 100px 0;
}
.section-pad-sm {
  padding: 60px 0 100px;
}
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--emerald-tint);
  color: var(--emerald);
  border: 1px solid rgba(13, 92, 52, 0.15);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--emerald-deep);
  margin-bottom: 14px;
  line-height: 1.2;
  font-weight: 700;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.8;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--emerald);
  color: var(--white);
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  transition: all 0.3s var(--ease);
  border: 2px solid var(--emerald);
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--emerald-deep);
  border-color: var(--emerald-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}
.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── Category colour helpers ── */
.cat-visa {
  background: rgba(37, 99, 235, 0.1);
  color: var(--cat-visa);
  border: 1px solid rgba(37, 99, 235, 0.2);
}
.cat-university {
  background: rgba(13, 92, 52, 0.1);
  color: var(--cat-university);
  border: 1px solid rgba(13, 92, 52, 0.2);
}
.cat-finance {
  background: rgba(217, 119, 6, 0.1);
  color: var(--cat-finance);
  border: 1px solid rgba(217, 119, 6, 0.2);
}
.cat-life {
  background: rgba(124, 58, 237, 0.1);
  color: var(--cat-life);
  border: 1px solid rgba(124, 58, 237, 0.2);
}
.cat-career {
  background: rgba(220, 38, 38, 0.1);
  color: var(--cat-career);
  border: 1px solid rgba(220, 38, 38, 0.2);
}
.cat-exams {
  background: rgba(8, 145, 178, 0.1);
  color: var(--cat-exams);
  border: 1px solid rgba(8, 145, 178, 0.2);
}
.cat-guide {
  background: rgba(5, 150, 105, 0.1);
  color: var(--cat-guide);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

/* ═══════════ NAVBAR ═══════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  isolation: isolate;
  transition: all 0.4s var(--ease);
}
.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6, 53, 32, 0.6), transparent);
  transition: opacity 0.4s;
}
.navbar.scrolled::before {
  display: none;
}
.navbar.scrolled {
  background: rgba(6, 53, 32, 0.95);
  backdrop-filter: blur(20px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}
.logo-text {
  font-family: var(--font-oleo);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 700;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.nav-links a.active {
  color: var(--amber-light);
}
.btn-partner {
  background: linear-gradient(135deg, #e8930a, #f5b93e) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 9px 22px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(232, 147, 10, 0.4) !important;
}
.btn-partner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 147, 10, 0.5) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 1100;
  isolation: isolate;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?w=1800&q=80")
    center/cover no-repeat;
  overflow: hidden;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(6, 53, 32, 0.96) 0%,
      rgba(6, 53, 32, 0.78) 55%,
      rgba(6, 53, 32, 0.4) 100%
    ),
    linear-gradient(to top, rgba(6, 53, 32, 0.7) 0%, transparent 40%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  animation: float linear infinite;
}
@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-20vh) rotate(360deg);
    opacity: 0;
  }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding-top: 150px;
  padding-bottom: 80px;
  animation: heroIn 1.1s var(--ease-out) both;
}
@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-family: var(--font-oleo);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 22px;
  font-weight: 700;
}
.hero-title span {
  color: var(--amber-light);
}
.hero-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.85;
  font-weight: 300;
}

.hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.scroll-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.scroll-arrow-wrap {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  animation: scrollPulse 2.4s ease infinite;
  transition: all 0.3s;
}
.hero-scroll:hover .scroll-arrow-wrap {
  background: rgba(232, 147, 10, 0.2);
  border-color: var(--amber);
  color: var(--amber-light);
}
@keyframes scrollPulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* ═══════════ STATS STRIP ═══════════ */
.stats-strip {
  background: var(--emerald-deep);
  padding: 40px 0;
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  padding: 12px 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: var(--font-oleo);
  font-size: 2rem;
  color: var(--amber-light);
  font-weight: 700;
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* ═══════════ FEATURED POST ═══════════ */
.featured-section {
  background: var(--white);
  position: relative;
}
.featured-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(13, 92, 52, 0.04) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 40%,
    transparent 100%
  );
}
.featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  background: var(--white);
  position: relative;
  z-index: 1;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 100px rgba(13, 92, 52, 0.2);
}
.featured-img {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.featured-card:hover .featured-img img {
  transform: scale(1.05);
}
.featured-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 53, 32, 0.35) 0%,
    transparent 60%
  );
}
.featured-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  color: var(--white);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(232, 147, 10, 0.4);
  z-index: 1;
}
.featured-body {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.post-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 700;
}
.post-date,
.post-read {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 5px;
}
.featured-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  color: var(--emerald-deep);
  line-height: 1.25;
  font-weight: 700;
}
.featured-excerpt {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
  font-weight: 300;
}
.featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  display: inline-block;
  background: var(--emerald-tint);
  color: var(--emerald);
  border: 1px solid rgba(13, 92, 52, 0.12);
  border-radius: 50px;
  padding: 3px 12px;
  font-size: 0.73rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}
.tag:hover {
  background: var(--emerald);
  color: var(--white);
}

/* ═══════════ BLOG LAYOUT ═══════════ */
.blog-main {
  background: var(--cream);
  position: relative;
}
.blog-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(13, 92, 52, 0.04) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  pointer-events: none;
}
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* ── Category filter bar ── */
.category-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.cat-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.cat-btn:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}
.cat-btn.active {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13, 92, 52, 0.28);
}

/* ── No results ── */
.no-results {
  text-align: center;
  padding: 80px 24px;
}
.no-results i {
  font-size: 3rem;
  color: var(--border);
  margin-bottom: 20px;
  display: block;
}
.no-results h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--emerald-deep);
  margin-bottom: 10px;
}
.no-results p {
  color: var(--muted);
  margin-bottom: 28px;
}

/* ── Articles grid ── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(13, 92, 52, 0.2);
}
.post-card-img-link {
  display: block;
}
.post-card-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}
.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.post-card:hover .post-card-img img {
  transform: scale(1.06);
}
.post-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  z-index: 1;
}
.post-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.post-card-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.post-card-meta span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 4px;
}
.post-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--emerald-deep);
  line-height: 1.35;
  font-weight: 700;
  flex: 1;
}
.post-card-title a {
  transition: color 0.2s;
}
.post-card-title a:hover {
  color: var(--emerald-bright);
}
.post-card-excerpt {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.75;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.post-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.post-read-more {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  transition:
    gap 0.2s,
    color 0.2s;
  flex-shrink: 0;
}
.post-read-more:hover {
  color: var(--emerald-bright);
  gap: 8px;
}
.post-card.hidden {
  display: none;
}

/* Load more */
.load-more-wrap {
  text-align: center;
  margin-top: 40px;
}
.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 36px;
  background: var(--white);
  color: var(--emerald);
  border: 2px solid var(--border);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.load-more-btn:hover {
  border-color: var(--emerald);
  background: var(--emerald-tint);
}
.load-more-btn.hidden {
  display: none;
}

/* ═══════════ SIDEBAR ═══════════ */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--emerald-deep);
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--emerald-tint);
  position: relative;
}
.widget-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--emerald);
  border-radius: 2px;
}
.sidebar-search {
  display: flex;
  gap: 8px;
}
.sidebar-search input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--cream);
  outline: none;
  transition: all 0.25s;
}
.sidebar-search input:focus {
  border-color: var(--emerald);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(13, 92, 52, 0.08);
}
.sidebar-search button {
  width: 40px;
  height: 40px;
  background: var(--emerald);
  color: var(--white);
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s;
  flex-shrink: 0;
}
.sidebar-search button:hover {
  background: var(--emerald-deep);
}
.widget-cats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.widget-cat-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
  transition: all 0.2s;
}
.widget-cat-link:hover,
.widget-cat-link.active {
  background: var(--emerald-tint);
  color: var(--emerald);
  font-weight: 500;
}
.widget-cat-link i {
  width: 18px;
  text-align: center;
  font-size: 0.8rem;
}
.widget-cat-link span {
  margin-left: auto;
  background: var(--emerald-tint);
  color: var(--emerald);
  border-radius: 50px;
  padding: 1px 8px;
  font-size: 0.72rem;
  font-weight: 700;
}
.widget-cat-link.active span {
  background: var(--emerald);
  color: var(--white);
}
.popular-posts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.popular-post {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: opacity 0.2s;
}
.popular-post:hover {
  opacity: 0.8;
}
.popular-post-img {
  width: 60px;
  height: 60px;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.popular-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.popular-post-body {
  flex: 1;
}
.popular-post-cat {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 3px;
}
.popular-post-body h5 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--emerald-deep);
  font-weight: 700;
  line-height: 1.35;
}
.widget-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.widget-tag {
  display: inline-block;
  background: var(--cream);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}
.widget-tag:hover {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}
.sidebar-cta {
  background: linear-gradient(135deg, var(--emerald-deep), var(--emerald));
  border-color: transparent;
  text-align: center;
}
.sidebar-cta-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--amber-light);
  margin: 0 auto 16px;
}
.sidebar-cta h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.sidebar-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 18px;
}
.sidebar-cta .btn-primary {
  background: var(--amber);
  border-color: var(--amber);
  font-size: 0.85rem;
  padding: 11px 20px;
}
.sidebar-cta .btn-primary:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
}
.sidebar-cta-link {
  display: block;
  margin-top: 12px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  transition: color 0.2s;
}
.sidebar-cta-link:hover {
  color: var(--white);
}
.sidebar-newsletter {
  background: var(--emerald-tint);
  border-color: rgba(13, 92, 52, 0.15);
}
.sidebar-newsletter-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-bright));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(13, 92, 52, 0.2);
}
.sidebar-newsletter h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--emerald-deep);
  font-weight: 700;
  margin-bottom: 6px;
}
.sidebar-newsletter p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 16px;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.newsletter-form input {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: all 0.25s;
}
.newsletter-form input:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(13, 92, 52, 0.08);
}
.newsletter-form .btn-primary {
  font-size: 0.88rem;
  padding: 11px 20px;
}
.newsletter-success {
  display: none;
  background: var(--white);
  color: var(--emerald);
  padding: 12px;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  text-align: center;
  font-weight: 500;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(13, 92, 52, 0.2);
}

/* ═══════════ CTA BANNER ═══════════ */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: url("https://images.unsplash.com/photo-1549918864-48ac978761a4?w=1800&q=75")
    center/cover no-repeat;
}
.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(6, 53, 32, 0.95) 0%,
    rgba(6, 53, 32, 0.82) 60%,
    rgba(6, 53, 32, 0.55) 100%
  );
}
.cta-banner-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--white);
  margin-bottom: 18px;
  font-weight: 700;
}
.cta-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.75;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════ CONTACT ═══════════ */
.contact {
  background: var(--cream);
  position: relative;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(13, 92, 52, 0.05) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.contact-item i {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-bright));
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(13, 92, 52, 0.25);
}
.contact-item strong {
  font-size: 0.85rem;
  color: var(--emerald-deep);
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.contact-item p {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
}
.contact-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.contact-social a {
  width: 40px;
  height: 40px;
  background: var(--white);
  color: var(--emerald);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  transition: all 0.25s;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.contact-social a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--ink);
  background: var(--cream);
  transition: all 0.25s;
  outline: none;
  font-weight: 300;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--emerald);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(13, 92, 52, 0.08);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.form-success {
  display: none;
  background: var(--emerald-tint);
  color: var(--emerald);
  padding: 16px;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  text-align: center;
  font-weight: 500;
  border: 1px solid rgba(13, 92, 52, 0.2);
  align-items: center;
  gap: 8px;
}

/* =============================================
   APPROVED BY & MEMBER OF — REDESIGNED
   ============================================= */

.affiliations-section {
  background: var(--white);
  padding: 80px 0;
}

.affiliations-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

/* Vertical divider between the two cards */
.affiliation-divider {
  width: 1px;
  height: 160px;
  background: var(--border);
  margin: 0 60px;
  flex-shrink: 0;
}

.affiliation-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  width: 280px;
}

.affiliation-logo-wrap {
  width: 180px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.affiliation-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.affiliation-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--emerald);
  padding: 4px 16px;
  border-radius: 999px;
}

.affiliation-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 680px) {
  .affiliation-divider {
    width: 80px;
    height: 1px;
    margin: 32px auto;
  }
  .affiliations-grid {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════
   FOOTER — BEAUTIFUL REDESIGN
   ═══════════════════════════════════════════ */

.footer {
  background: linear-gradient(160deg, #041c0e 0%, #063520 45%, #041c0e 100%);
  color: rgba(255, 255, 255, 0.65);
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow in top-left */
.footer::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(34, 160, 90, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}
/* Subtle radial glow in bottom-right */
.footer::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 440px;
  height: 440px;
  background: radial-gradient(
    circle,
    rgba(34, 160, 90, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* ── Wave top ── */
.footer-wave {
  line-height: 0;
  overflow: hidden;
}
.footer-wave svg {
  width: 100%;
  height: 72px;
  display: block;
}

/* ── Brand strip ── */
.footer-brand-strip {
  padding: 52px 0 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}
.footer-brand-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.footer-logo-block {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.footer-logo {
  height: 62px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}
.footer-tagline {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-left: 2px solid var(--emerald-bright);
  padding-left: 16px;
}
.footer-tagline-main {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.footer-tagline-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--emerald-bright);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  max-width: 380px;
}
.footer-brand-social {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.footer-social-pill {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #fff;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
  flex-shrink: 0;
}
.footer-social-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.footer-social-pill.fb {
  background: #1877f2;
}
.footer-social-pill.ig {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}
.footer-social-pill.yt {
  background: #ff0000;
}
.footer-social-pill.li {
  background: #0a66c2;
}
.footer-social-pill.wa {
  background: #25d366;
}

/* ── Thin emerald accent stripe ── */
.footer-stripe {
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--emerald-bright),
    var(--emerald-mid),
    var(--emerald-bright),
    transparent
  );
  opacity: 0.35;
}

/* ── Main 4-column grid ── */
.footer-cols {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr 1.1fr;
  gap: 52px;
  padding: 64px 0 56px;
  position: relative;
  z-index: 1;
}

/* Column heading */
.footer-col-heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-bright);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col-heading i {
  font-size: 0.7rem;
  opacity: 0.8;
}

/* ── Contact list ── */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
}
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.footer-contact-icon-wrap {
  width: 32px;
  height: 32px;
  background: rgba(34, 160, 90, 0.12);
  border: 1px solid rgba(34, 160, 90, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--emerald-bright);
  font-size: 0.75rem;
  margin-top: 1px;
}
.footer-contact-row div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-contact-row strong {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
.footer-contact-row a,
.footer-contact-row span {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  transition: color 0.2s;
}
.footer-contact-row a:hover {
  color: var(--white);
}

/* ── Quick links ── */
.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
}
.footer-nav-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.55);
  transition:
    color 0.2s,
    gap 0.2s;
}
.footer-nav-list li a i {
  font-size: 0.6rem;
  color: var(--emerald-bright);
  opacity: 0.6;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.footer-nav-list li a:hover {
  color: var(--white);
  gap: 12px;
}
.footer-nav-list li a:hover i {
  opacity: 1;
  transform: translateX(2px);
}

/* ── Community cards ── */
.footer-community-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-community-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-md);
  text-decoration: none;
  transition:
    background 0.22s,
    border-color 0.22s,
    transform 0.22s;
}
.footer-community-card:hover {
  background: rgba(34, 160, 90, 0.1);
  border-color: rgba(34, 160, 90, 0.3);
  transform: translateX(4px);
}
.footer-community-icon {
  width: 34px;
  height: 34px;
  background: #1877f2;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.82rem;
  flex-shrink: 0;
}
.footer-community-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.footer-community-text strong {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--white);
}
.footer-community-text span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-community-arrow {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  transition: color 0.2s;
}
.footer-community-card:hover .footer-community-arrow {
  color: var(--emerald-bright);
}

/* ── CTA column ── */
.footer-cta-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-cta-text {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  background: var(--emerald-bright);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
  transition:
    background 0.22s,
    transform 0.22s;
}
.footer-cta-btn:hover {
  background: var(--emerald-mid);
  transform: translateY(-2px);
}
.footer-cta-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  background: transparent;
  border: 1.5px solid rgba(34, 160, 90, 0.4);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  text-align: center;
  transition:
    border-color 0.22s,
    color 0.22s,
    background 0.22s;
}
.footer-cta-btn-ghost:hover {
  border-color: var(--emerald-bright);
  color: var(--white);
  background: rgba(34, 160, 90, 0.1);
}

/* Mini stat row inside CTA col */
.footer-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.footer-mini-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-sm);
  padding: 10px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-mini-val {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--emerald-bright);
}
.footer-mini-lbl {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
}

/* ── Bottom bar ── */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0;
  position: relative;
  z-index: 1;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}
.footer-copy strong {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
}
.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s;
}
.footer-bottom-links a:hover {
  color: var(--white);
}
.footer-dot {
  color: rgba(255, 255, 255, 0.15);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .footer-brand-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-brand-desc {
    max-width: 100%;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 680px) {
  .footer-brand-strip {
    padding: 40px 0 32px;
  }
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 0 40px;
  }
  .footer-logo-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-tagline {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid var(--emerald-bright);
    padding-top: 10px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ── Back to top ── */
.back-to-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 999;
  width: 48px;
  height: 48px;
  background: var(--emerald);
  color: var(--white);
  border: none;
  border-radius: 14px;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-lg);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--emerald-deep);
  transform: translateY(-4px);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════ ARTICLE MODAL (Read More overlay) ═══════════ */
body.modal-open {
  overflow: hidden;
}
.article-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}
.article-modal.open {
  display: flex;
}
.article-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 53, 32, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.article-modal.open .article-modal-backdrop {
  opacity: 1;
}
.article-modal-panel {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  transition:
    transform 0.32s var(--ease-out),
    opacity 0.32s var(--ease-out);
}
.article-modal.open .article-modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.article-modal-scroll {
  overflow-y: auto;
}
.article-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s var(--ease);
}
.article-modal-close:hover {
  background: var(--emerald);
  color: var(--white);
  transform: rotate(90deg);
}
.article-modal-img-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  flex-shrink: 0;
}
.article-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-modal-cat {
  position: absolute;
  bottom: 16px;
  left: 24px;
  background: var(--emerald);
  color: var(--white);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 700;
}
.article-modal-body {
  padding: 36px 44px 48px;
}
.article-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--emerald-deep);
  line-height: 1.25;
  font-weight: 700;
  margin: 16px 0 18px;
}
.article-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.article-modal-content {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 400;
}
.article-modal-content p {
  margin-bottom: 20px;
}
.article-modal-content p:last-child {
  margin-bottom: 0;
}
.article-modal-cta {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.article-modal-cta p {
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1100px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1024px) {
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-img {
    min-height: 280px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
@media (max-width: 768px) {
  .section-pad {
    padding: 72px 0;
  }
  .section-pad-sm {
    padding: 48px 0 72px;
  }
  .container {
    padding: 0 20px;
  }
  .hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 53, 32, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px;
    z-index: 999;
    backdrop-filter: blur(20px);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 14px 24px;
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
    border-radius: var(--r-md);
  }
  .stats-grid {
    gap: 0;
  }
  .stat-item {
    padding: 12px 24px;
  }
  .stat-divider {
    height: 24px;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-content {
    padding-top: 110px;
  }
  .article-modal {
    padding: 0;
  }
  .article-modal-panel {
    max-width: 100%;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
  }
  .article-modal-img-wrap {
    height: 200px;
  }
  .article-modal-body {
    padding: 28px 22px 36px;
  }
  .article-modal-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .stats-grid {
    flex-direction: column;
  }
  .stat-divider {
    width: 40px;
    height: 1px;
  }
  .category-bar {
    gap: 4px;
  }
  .cat-btn {
    font-size: 0.78rem;
    padding: 7px 14px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ═══════════ LOADING SKELETON ═══════════ */
.skeleton-card {
  pointer-events: none;
}
.skeleton {
  background: linear-gradient(90deg, #e8f0eb 25%, #d4e5da 50%, #e8f0eb 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 8px;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.skeleton-img {
  width: 100%;
  height: 200px;
  border-radius: 0;
}
.skeleton-line {
  height: 14px;
  margin: 10px 14px;
}
.skeleton-line.short {
  width: 40%;
  height: 10px;
}
.skeleton-line.shorter {
  width: 60%;
}
