:root {
  --forest: #2f6b50;
  --forest-dark: #235740;
  --clay: #b96532;
  --cream: #f5f3ed;
  --paper: #fff;
  --ink: #272525;
  --muted: #625f59;
  --line: rgba(39, 37, 37, .14);
  --radius: 8px;
  --shadow: 0 18px 50px rgba(31, 45, 36, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 20px; top: 20px; z-index: 1000; background: #fff; padding: 10px 14px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.site-header { position: relative; z-index: 80; background: #fff; color: var(--ink); }
.topbar { position: relative; z-index: 95; background: var(--forest-dark); color: #fff; font-size: .93rem; }
.topbar-inner { display: flex; align-items: stretch; justify-content: space-between; min-height: 36px; }
.top-primary-menu ul,
.primary-menu ul,
.footer-main ul,
.footer-bottom ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.top-primary-menu { margin-left: auto; }
.top-primary-menu > ul { display: flex; align-items: stretch; height: 100%; }
.top-primary-menu li { position: relative; }
.top-primary-menu a,
.language-link {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 18px;
  color: inherit;
  font-size: .93rem;
  font-weight: 500;
  text-transform: none;
}
.top-primary-menu a { padding-inline: 13px; font-size: .88rem; }
.top-primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: -9999px;
  z-index: 110;
  min-width: 220px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
  opacity: 0;
  transition: opacity .18s ease;
}
.top-primary-menu li:hover > .sub-menu,
.top-primary-menu li:focus-within > .sub-menu,
.top-primary-menu li.submenu-open > .sub-menu {
  left: 0;
  opacity: 1;
}
.top-primary-menu .sub-menu a {
  min-height: auto;
  padding: 12px 16px;
  color: var(--ink);
  white-space: nowrap;
}
.top-primary-menu .sub-menu a:hover,
.top-primary-menu .sub-menu .current-menu-item > a,
.top-primary-menu .sub-menu .current_page_item > a {
  background: #fff;
  color: var(--ink);
}
.top-primary-menu .current-menu-item > a,
.top-primary-menu .current_page_item > a,
.top-primary-menu a:hover,
.language-link:hover {
  background: var(--cream);
  color: var(--ink);
}
.language-link { margin-left: auto; }

.mainnav {
  position: relative;
  z-index: 70;
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}
.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: auto;
}
.site-title {
  display: inline-block;
  max-width: 250px;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 950;
  line-height: .72;
  letter-spacing: -.06em;
  text-transform: uppercase;
}
.site-description {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .95rem;
}
.custom-logo { max-height: 68px; width: auto; }
.menu-toggle,
.menu-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
}
.menu-toggle { display: none; }
.menu-toggle span[aria-hidden="true"],
.menu-toggle span[aria-hidden="true"]::before,
.menu-toggle span[aria-hidden="true"]::after {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  margin-inline: auto;
}
.menu-toggle span[aria-hidden="true"] { position: relative; }
.menu-toggle span[aria-hidden="true"]::before,
.menu-toggle span[aria-hidden="true"]::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span[aria-hidden="true"]::before { top: -8px; }
.menu-toggle span[aria-hidden="true"]::after { top: 8px; }

.primary-menu {
  position: fixed;
  inset: 36px 0 0;
  z-index: 90;
  min-height: calc(100vh - 36px);
  max-height: calc(100vh - 36px);
  background: var(--cream);
  color: var(--ink);
  padding-top: 74px;
  padding-bottom: 48px;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity .22s ease, transform .22s ease;
}
.primary-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.menu-close {
  position: absolute;
  top: 28px;
  right: max(18px, calc((100vw - 1160px) / 2));
  color: var(--forest-dark);
}
.menu-close span[aria-hidden="true"],
.menu-close span[aria-hidden="true"]::after {
  display: block;
  width: 34px;
  height: 2px;
  background: currentColor;
}
.menu-close span[aria-hidden="true"] { transform: rotate(45deg); margin-inline: auto; }
.menu-close span[aria-hidden="true"]::after { content: ""; transform: rotate(90deg); }
.menu-panel { border-top: 2px solid #fff; }
.menu-section {
  padding: 34px 0;
  border-bottom: 2px solid #fff;
}
.menu-section a {
  display: inline-block;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  font-weight: 850;
  line-height: 1.35;
}
.menu-section-primary ul,
.menu-section-websites ul { display: grid; gap: 14px; }
.menu-section-primary a,
.menu-section-websites a { font-size: 1.06rem; }
.menu-section-primary .sub-menu {
  margin: 10px 0 2px 18px;
  display: grid;
  gap: 8px;
}
.menu-section-primary .sub-menu a { font-size: .96rem; font-weight: 700; }
.menu-section-social h2,
.footer-main h2 {
  margin: 0 0 12px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.social-links { display: flex; gap: 14px; align-items: center; }
.social-links a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  border-radius: 5px;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}
.social-links svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero {
  min-height: 680px;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--forest-dark);
  color: white;
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(16, 37, 28, .86), rgba(16, 37, 28, .34)),
    radial-gradient(circle at 80% 20%, rgba(199, 111, 53, .45), transparent 28%),
    linear-gradient(135deg, #13281f, #315f46 55%, #76451e);
}
.hero-content { position: relative; padding: 0 0 86px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  font-weight: 900;
  color: var(--clay);
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 6.8rem);
  line-height: .92;
  max-width: 900px;
  margin: 14px 0 20px;
  letter-spacing: -.04em;
}
.hero p { font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 650px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clay);
  color: #fff;
  border-radius: 0;
  min-height: 54px;
  padding: 14px 24px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: .93rem;
}
.button-ghost { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); }
.button-light { background: #fff; color: var(--forest-dark); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

.feature-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: -54px; position: relative; z-index: 2; }
.feature-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; min-height: 150px; display: flex; flex-direction: column; justify-content: end; border: 1px solid var(--line); }
.feature-card span,
.group { display: block; color: var(--muted); font-size: .86rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.feature-card strong { font-size: 1.45rem; line-height: 1.1; margin-top: 8px; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 90px 0; }
.intro h2,
.section-heading h2,
.story-panel h2,
.footer-guide h2,
.page-hero h1 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.035em; margin: .2em 0; }
.intro p { font-size: 1.15rem; color: #394239; }
.filter-panel { background: var(--cream); border-radius: var(--radius); padding: 12px; display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 38px; }
.filter-chip { border: 0; border-radius: 0; padding: 12px 18px; background: #fff; color: var(--forest-dark); font-weight: 900; cursor: pointer; }
.filter-chip.active { background: var(--forest-dark); color: #fff; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 24px; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.popular-sections-grid { margin-bottom: 56px; }
.page-card,
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.page-image,
.post-thumb { display: block; height: 230px; background: linear-gradient(135deg, #1d3c2d, #6d8a54); overflow: hidden; }
.page-image img,
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.placeholder { display: block; width: 100%; height: 100%; background: radial-gradient(circle at 30% 20%, #e9c28b, transparent 24%), linear-gradient(135deg, #183d2b, #82a35e); }
.page-image-faq {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(35, 87, 64, .88), rgba(47, 107, 80, .74)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.14) 0 2px, transparent 2px 16px);
  color: #fff;
}
.faq-thumb { display: grid; gap: 8px; text-align: center; }
.faq-thumb strong { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1; letter-spacing: .04em; }
.faq-thumb small { font-size: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.page-card-body,
.post-card > div,
.post-card { padding: 22px; }
.page-card h3,
.post-card h2 { font-size: 1.25rem; line-height: 1.15; margin: 8px 0; }
.page-card p,
.post-card p { color: var(--muted); }
.page-card a:not(.page-image) { font-weight: 900; color: var(--forest-dark); }
.posts-grid .news-pagination {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, .75fr) 1.25fr;
  gap: 22px;
  align-items: center;
  margin-top: 34px;
  margin-bottom: 56px;
  padding: 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.news-pagination-intro h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1;
  letter-spacing: -.03em;
}
.news-pagination-intro p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}
.news-pagination-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.news-pagination .page-numbers {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--forest-dark);
  font-weight: 900;
}
.news-pagination .current {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
  color: #fff;
}
.news-pagination .prev,
.news-pagination .next {
  min-width: 156px;
  background: var(--forest-dark);
  border-color: var(--forest-dark);
  color: #fff;
  text-transform: uppercase;
  font-size: .86rem;
}
.news-pagination .page-numbers:not(.current):hover {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}
.split-story { margin-top: 90px; background: var(--forest-dark); color: white; padding: 90px 0; }
.split-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.story-panel p { font-size: 1.1rem; color: rgba(255,255,255,.76); }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-cards a { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 28px; font-weight: 900; }
.sponsor-strip {
  padding: 78px 0;
  background: var(--forest-dark);
  color: #fff;
}
.sponsor-intro {
  max-width: 720px;
  margin: -6px 0 28px;
  color: rgba(255,255,255,.76);
  font-size: 1.08rem;
}
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}
.sponsor-logo {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 4px;
}
.sponsor-logo-wide { grid-column: span 2; }
.sponsor-logo img {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
}
.sponsor-strip .button {
  background: #fff;
  color: var(--forest-dark);
}
.content-page .sponsor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}
.content-page .sponsor-logo {
  min-height: 150px;
  padding: 24px;
}
.content-page .sponsor-logo img { max-height: 104px; }

.site-footer { background: #fff; }
.footer-top {
  background: linear-gradient(90deg, #c7c6bf 0 50%, #e2e3c8 50% 100%);
}
.footer-top-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
}
.footer-assistance,
.footer-guide {
  display: grid;
  align-items: center;
  gap: 34px;
  padding-block: 56px;
}
.footer-assistance {
  grid-template-columns: minmax(260px, 360px);
  justify-content: end;
  padding-right: clamp(28px, 5vw, 78px);
  background: #c7c6bf;
}

.footer-assistance-copy,
.footer-guide-copy { text-align: center; }
.footer-assistance h2,
.footer-guide h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1;
  letter-spacing: -.035em;
}
.footer-assistance p {
  max-width: 360px;
  margin: 0 auto 20px;
  font-size: 1.1rem;
  line-height: 1.1;
}
.footer-guide {
  grid-template-columns: minmax(220px, 300px);
  justify-content: start;
  padding-left: clamp(28px, 5vw, 78px);
  background: #e2e3c8;
}

.footer-guide-copy strong {
  display: block;
  margin: 12px 0 20px;
  font-size: 1.12rem;
}
.footer-main-wrap { background: var(--forest-dark); color: #fff; }
.footer-main {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 70px;
  padding-block: 38px 58px;
}
.footer-brand .custom-logo,
.footer-brand .site-title { margin-bottom: 26px; }
.footer-brand .custom-logo {
  max-width: 210px;
  max-height: 90px;
  width: auto;
  height: auto;
}
.footer-main .site-title { color: #fff; }
.footer-main a { color: #fff; font-weight: 500; }
.footer-main nav ul { display: grid; gap: 10px; }
.footer-main h2 {
  color: #fff;
  margin: 0 0 18px;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.footer-main .social-links a { background: #fff; color: var(--forest-dark); }
.footer-bottom {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 34px 0 26px;
  color: var(--ink);
  font-size: .82rem;
  text-align: center;
}

.page-hero { padding: 95px 0 45px; }
.content-page { font-size: 1.08rem; max-width: 860px; padding-bottom: 70px; }
.content-page a { text-decoration: underline; }
.news-page-content { padding-top: 0; }
.news-page-content iframe { max-width: 100%; }
/* Facebook feed refresh test: remove this block to restore the previous unframed iframe styling. */
.facebook-feed {
  max-width: 540px;
  margin: 36px auto 70px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.facebook-feed iframe {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
.single-header { padding: 80px 0 30px; }
.single-image { border-radius: var(--radius); margin-top: 24px; }
input[type=search] { border: 1px solid var(--line); border-radius: 0; padding: 14px 18px; min-width: 280px; }
input[type=submit],
button[type=submit] { border: 0; border-radius: 0; background: var(--forest-dark); color: white; padding: 14px 18px; font-weight: 900; }

@media (max-width: 1120px) {
  .topbar { display: none; }
  .menu-toggle { display: block; }
  .primary-menu {
    inset: 0;
    min-height: 100vh;
    max-height: 100vh;
  }
}

@media (max-width: 920px) {
  .top-primary-menu a,
  .language-link { padding-inline: 12px; font-size: .86rem; }
  .primary-menu { padding-top: 70px; }
  .feature-links,
  .intro,
  .split-grid,
  .footer-top-inner,
  .footer-assistance,
  .footer-guide,
  .footer-main { grid-template-columns: 1fr; }
  .sponsor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .content-page .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 620px; }
  .footer-main { gap: 30px; }
  .footer-assistance,
  .footer-guide {
    justify-content: center;
    padding-inline: 28px;
  }
  .posts-grid .news-pagination { grid-template-columns: 1fr; }
  .news-pagination-links { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1160px); }
  .topbar { overflow: visible; }
  .topbar-inner { width: 100%; overflow-x: auto; overflow-y: visible; }
  .top-primary-menu .sub-menu {
    position: fixed;
    top: 36px;
    left: 14px;
    right: 14px;
    z-index: 140;
    min-width: 0;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
  }
  .top-primary-menu li:not(:hover):not(:focus-within):not(.submenu-open) > .sub-menu {
    left: -9999px;
    right: auto;
  }
  .mainnav { min-height: 86px; }
  .site-title { font-size: 1.55rem; }
  .site-description { font-size: .86rem; }
  .card-grid,
  .mini-cards,
  .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sponsor-logo-wide { grid-column: auto; }
  .content-page .sponsor-grid { grid-template-columns: 1fr; }
  .content-page .sponsor-logo {
    min-height: 132px;
    padding: 20px;
  }
  .hero h1 { font-size: 3rem; }
  .feature-links { margin-top: 20px; }
  .intro { padding: 56px 0; }
  .sponsor-strip .section-heading {
    display: block;
  }
  .sponsor-strip .section-heading h2 {
    margin-top: 8px;
  }
  .page-image { height: 210px; }
  .news-pagination .prev,
  .news-pagination .next { width: 100%; }
}
