/*
Theme Name: HRFN — Halfway River First Nation
Theme URI: https://hrfn.ca
Author: HRFN Web Team
Author URI: https://hrfn.ca
Description: Official WordPress theme for Halfway River First Nation. Dane-Zaa community on Treaty 8 territory.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: hrfn
Tags: first-nation, indigenous, community, government
*/

/* ─────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────── */
:root {
  --brown:   #6C584C;
  --tea:     #F4FBF7;
  --olive:   #B7D4BF;
  --gray:    #4A5568;
  --lgray:   #E2E8F0;
  --text:    #1B2D3E;
}

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}
body::-webkit-scrollbar { width: 7px; }
body::-webkit-scrollbar-track { background: #FFF5F0; border-radius: 10px; }
body::-webkit-scrollbar-thumb { background: linear-gradient(180deg,#E76F51,#F4A261); border-radius: 50px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ─────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────── */
.hrfn-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid #F0E8E0;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  box-shadow: 0 4px 24px rgba(64,145,108,.1);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
}
.nav-brand img {
  height: 72px;
  width: auto;
  object-fit: contain;
}
.nav-brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #1B2D3E;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.nav-brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: #E76F51;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
}
.nav-links > li > a,
.nav-links > li > span {
  color: #374151;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: color .2s;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.nav-links > li > a:hover,
.nav-links > li > span:hover { color: #C05621; }
.nav-dropdown { position: relative; }
.nav-dropdown > a::after,
.nav-dropdown > span::after { content: ' ▾'; font-size: 10px; opacity: .5; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid #E2D8CC;
  border-radius: 12px;
  padding: 6px 0;
  min-width: 220px;
  box-shadow: 0 12px 40px rgba(45,106,79,.15);
  z-index: 300;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover { display: block; }
.nav-dropdown-menu a,
.nav-dropdown-menu span {
  display: block;
  padding: 11px 18px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  transition: all .15s;
  font-weight: 500;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu span:hover { background: #FFF5F0; color: #C05621; }
.nav-sub { position: relative; }
.nav-sub > a::after,
.nav-sub > span::after { content: ' ›'; float: right; opacity: .5; }
.nav-sub-menu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #fff;
  border: 1px solid #E2D8CC;
  border-radius: 12px;
  padding: 6px 0;
  min-width: 200px;
  box-shadow: 0 12px 40px rgba(45,106,79,.15);
}
.nav-sub:hover .nav-sub-menu { display: block; }
.nav-sub-menu a { display: block; padding: 11px 18px; font-size: 14px; color: #374151; transition: all .15s; font-weight: 500; }
.nav-sub-menu a:hover { background: #FFF5F0; color: #C05621; }
.nav-cta {
  background: linear-gradient(135deg,#2D6A4F,#40916C) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer;
  letter-spacing: .01em;
  box-shadow: 0 4px 12px rgba(45,106,79,.3);
  transition: all .2s;
}
.nav-cta:hover {
  background: linear-gradient(135deg,#1A4035,#2D6A4F) !important;
  box-shadow: 0 6px 20px rgba(45,106,79,.4) !important;
  transform: translateY(-1px);
}
/* mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #1B2D3E;
  border-radius: 2px;
  transition: all .3s;
}

/* ─────────────────────────────────────────────
   NEWS TICKER
───────────────────────────────────────────── */
.ticker {
  background: linear-gradient(135deg,#FFF3E0,#FFE0B2);
  border-bottom: 1px solid #F4A261;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ticker-label {
  background: linear-gradient(135deg,#2D6A4F,#40916C);
  color: #fff;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-track { overflow: hidden; flex: 1; }
.ticker-inner {
  display: flex;
  gap: 3rem;
  padding: 10px 1.5rem;
  animation: tick 36s linear infinite;
  white-space: nowrap;
}
@keyframes tick { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ticker-inner span {
  font-size: 14px;
  color: #7C3D12;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-weight: 500;
}
.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #E76F51;
  flex-shrink: 0;
  display: inline-block;
}

/* ─────────────────────────────────────────────
   LAYOUT HELPERS
───────────────────────────────────────────── */
.con { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }
.sec { padding: 5rem 0; }
.lbl {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #E76F51;
  margin-bottom: .75rem;
}
.title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem,3.5vw,2.8rem);
  font-weight: 800;
  color: #1B4332;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.desc { font-size: 17px; color: #4A5568; line-height: 1.8; margin-top: 1rem; font-weight: 400; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; }

/* ─────────────────────────────────────────────
   CARDS
───────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.75rem;
  transition: all .25s;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.card:hover {
  border-color: #40916C;
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(45,106,79,.12);
}

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  border: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: .01em;
  text-decoration: none;
}
.btn-brown {
  background: linear-gradient(135deg,#2D6A4F,#40916C);
  color: #fff;
  box-shadow: 0 4px 12px rgba(45,106,79,.25);
}
.btn-brown:hover {
  background: linear-gradient(135deg,#1A4035,#2D6A4F);
  box-shadow: 0 6px 20px rgba(45,106,79,.35);
  transform: translateY(-1px);
  color: #fff;
}
.btn-out {
  background: transparent;
  border: 1.5px solid #40916C;
  color: #2D6A4F;
}
.btn-out:hover { background: #F4FBF7; border-color: #2D6A4F; }
.btn-orange {
  background: linear-gradient(135deg,#E76F51,#F4A261);
  color: #fff;
  box-shadow: 0 4px 20px rgba(231,111,81,.4);
}
.btn-orange:hover {
  background: linear-gradient(135deg,#C1440E,#E76F51);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(231,111,81,.5);
  color: #fff;
}

/* ─────────────────────────────────────────────
   TAGS
───────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid;
}
.tag-g { background: #FFF3E0; color: #7C3D12; border-color: #F4A261; }
.tag-b { background: #EBF5FF; color: #1B4332; border-color: #93C5FD; }
.tag-o { background: #FFF0EB; color: #C1440E; border-color: #F4A261; }

/* ─────────────────────────────────────────────
   PAGE HERO BANNERS
───────────────────────────────────────────── */
.ph {
  position: relative;
  padding: 5rem 2.5rem;
  background: linear-gradient(135deg,#1B2D3E 0%,#2D3748 100%);
  overflow: hidden;
  text-align: center;
}
.ph::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='20' fill='none' stroke='%23fff' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='10' fill='none' stroke='%23fff' stroke-width='.5'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.ph-lbl {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #B7E4C7;
  margin-bottom: .75rem;
  position: relative;
  z-index: 1;
}
.ph h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem,4.5vw,3.4rem);
  color: #fff;
  font-weight: 800;
  position: relative;
  z-index: 1;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.ph p {
  font-size: 17px;
  color: rgba(255,255,255,.78);
  margin-top: .85rem;
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.ph-icon { font-size: 3.5rem; margin-bottom: .75rem; display: block; filter: drop-shadow(0 4px 12px rgba(0,0,0,.3)); position: relative; z-index: 1; }
/* Colourful dept banners */
.ph-about    { background: linear-gradient(135deg,#0d2137 0%,#1a3a54 50%,#2a5470 100%) !important; }
.ph-about    .ph-lbl { color: #80CBC4 !important; }
.ph-vision   { background: linear-gradient(135deg,#2d1b00 0%,#4a3000 50%,#6b4800 100%) !important; }
.ph-vision   .ph-lbl { color: #FFD54F !important; }
.ph-council  { background: linear-gradient(135deg,#0a1a0a 0%,#1a3020 50%,#2a4a30 100%) !important; }
.ph-council  .ph-lbl { color: #CFB53B !important; }
.ph-events   { background: linear-gradient(135deg,#0d1b2a 0%,#1b2a3d 50%,#2a3d56 100%) !important; }
.ph-events   .ph-lbl { color: #FF8A80 !important; }
.ph-jobs     { background: linear-gradient(135deg,#0a1a0a 0%,#1a2d1a 50%,#2a4a2a 100%) !important; }
.ph-jobs     .ph-lbl { color: #C5E1A5 !important; }
.ph-contact  { background: linear-gradient(135deg,#0f2027 0%,#203a43 50%,#2c5364 100%) !important; }
.ph-contact  .ph-lbl { color: #80DEEA !important; }
.ph-updates  { background: linear-gradient(135deg,#1a1200 0%,#2d2000 50%,#453400 100%) !important; }
.ph-updates  .ph-lbl { color: #FFCC80 !important; }
.ph-health   { background: linear-gradient(135deg,#1a1060 0%,#2d2080 50%,#4040a0 100%) !important; }
.ph-health   .ph-lbl { color: #B3D4FF !important; }
.ph-education { background: linear-gradient(135deg,#003459 0%,#00171F 50%,#007EA7 100%) !important; }
.ph-education .ph-lbl { color: #F4D03F !important; }
.ph-housing  { background: linear-gradient(135deg,#6b3a2a 0%,#8b4a35 50%,#a85c42 100%) !important; }
.ph-housing  .ph-lbl { color: #FFDDD2 !important; }
.ph-lands    { background: linear-gradient(135deg,#1a2a0e 0%,#2d4a1e 40%,#3d6b2a 100%) !important; }
.ph-lands    .ph-lbl { color: #A8D5A2 !important; }
.ph-band-manager { background: linear-gradient(135deg,#0F2027 0%,#203A43 50%,#2C5364 100%) !important; }
.ph-band-manager .ph-lbl { color: #FFD700 !important; }
.ph-finance  { background: linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%) !important; }
.ph-finance  .ph-lbl { color: #F4A261 !important; }
.ph-hr       { background: linear-gradient(135deg,#4a0e2d 0%,#6d2b47 50%,#8b4561 100%) !important; }
.ph-hr       .ph-lbl { color: #F8BBD0 !important; }
.ph-social   { background: linear-gradient(135deg,#2d1b69 0%,#3d2b7a 50%,#5040a0 100%) !important; }
.ph-social   .ph-lbl { color: #D4B8FF !important; }
.ph-fire     { background: linear-gradient(135deg,#5c1a1a 0%,#7a2e2e 50%,#a04040 100%) !important; }
.ph-fire     .ph-lbl { color: #FFAB91 !important; }
.ph-gallery  { background: linear-gradient(135deg,#1a0a2e 0%,#2d1a4a 50%,#3d2a5e 100%) !important; }
.ph-gallery  .ph-lbl { color: #CE93D8 !important; }
.ph-helpline { background: linear-gradient(135deg,#1a0a0a 0%,#2d1515 50%,#4a2020 100%) !important; }
.ph-helpline .ph-lbl { color: #FFAB91 !important; }

/* ─────────────────────────────────────────────
   HERO SLIDESHOW
───────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 920px;
  overflow: hidden;
  background: #2D6A4F;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.on { opacity: 1; }
.hs1 { background-image: url('https://hrfn.ca/wp-content/uploads/2024/02/maher-el-aridi-vBK7wUWczxk-unsplash-scaled.jpg'); }
.hs2 { background-image: url('https://hrfn.ca/wp-content/uploads/2024/02/nature-fire-bonfire-2588685.jpg'); }
.hs3 { background-image: url('https://hrfn.ca/wp-content/uploads/2024/02/cowboy-rodeo-horse-horse-6987389.jpg'); }
.hs4 { background-image: url('https://hrfn.ca/wp-content/uploads/2024/03/trees-winter-snow-4830285.jpg'); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,rgba(15,10,5,.78) 0%,rgba(20,15,8,.55) 45%,rgba(0,0,0,.08) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5rem;
  max-width: 820px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244,162,97,.15);
  border: 1px solid rgba(244,162,97,.45);
  border-radius: 100px;
  padding: 5px 14px 5px 8px;
  margin-bottom: 1.4rem;
  width: fit-content;
}
.hero-eyedot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F4A261;
  flex-shrink: 0;
}
.hero-eyebrow span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,220,180,.95);
}
.hero-content h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.8rem,5.5vw,4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.3rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.25);
  letter-spacing: -.03em;
}
.hero-content h1 em { font-style: normal; color: #F4A261; }
.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,.88);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.2);
  font-weight: 400;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-btn-primary {
  background: linear-gradient(135deg,#E76F51,#F4A261);
  color: #fff;
  padding: 15px 30px;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: .01em;
  box-shadow: 0 4px 20px rgba(231,111,81,.4);
  text-decoration: none;
}
.hero-btn-primary:hover {
  background: linear-gradient(135deg,#C1440E,#E76F51);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(231,111,81,.5);
  color: #fff;
}
.hero-btn-secondary {
  background: rgba(244,162,97,.14);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(244,162,97,.45);
  color: #fff;
  padding: 15px 30px;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  font-family: 'Inter', sans-serif;
  letter-spacing: .01em;
  text-decoration: none;
  display: inline-block;
}
.hero-btn-secondary:hover { background: rgba(221,229,182,.25); color: #fff; }
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; line-height: 0; }
.hero-wave svg { width: 100%; height: 75px; }
.hero-dots {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(221,229,182,.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .3s;
}
.hero-dot.on { background: #F4A261; transform: scale(1.3); }
.hero-stats {
  position: absolute;
  bottom: 82px;
  right: 3.5rem;
  z-index: 3;
  display: flex;
  gap: 1px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(221,229,182,.2);
}
.hero-stat {
  background: rgba(15,10,5,.55);
  backdrop-filter: blur(12px);
  padding: 1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #F4A261;
  line-height: 1;
  letter-spacing: -.01em;
}
.hero-stat-lbl {
  font-size: 11px;
  font-weight: 600;
  color: rgba(221,229,182,.85);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ─────────────────────────────────────────────
   PHOTO MOSAIC
───────────────────────────────────────────── */
.mosaic {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 240px 200px;
  gap: 10px;
  border-radius: 18px;
  overflow: hidden;
}
.mosaic .m1 { grid-row: 1/3; overflow: hidden; }
.mosaic div { overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.mosaic div:hover img { transform: scale(1.06); }

/* ─────────────────────────────────────────────
   DEPT CARDS
───────────────────────────────────────────── */
.dcard {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all .25s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  text-decoration: none;
  display: block;
}
.dcard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,#E76F51,#F4A261,#FFD08A);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.dcard:hover { border-color: #74C69D; transform: translateY(-5px); box-shadow: 0 16px 40px rgba(45,106,79,.14); }
.dcard:hover::before { transform: scaleX(1); }
.dcard-ico {
  font-size: 2rem;
  margin-bottom: .7rem;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dcard-name { font-size: 15px; font-weight: 700; color: #1B4332; margin-bottom: .4rem; letter-spacing: -.01em; font-family: 'Outfit', sans-serif; }
.dcard-desc { font-size: 14px; color: #4A5568; line-height: 1.5; }

/* ─────────────────────────────────────────────
   EVENT CARDS
───────────────────────────────────────────── */
.ecard {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  transition: all .25s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.ecard:hover { border-color: #40916C; transform: translateY(-6px); box-shadow: 0 20px 48px rgba(45,106,79,.16); }
.ecard-img { height: 190px; overflow: hidden; position: relative; }
.ecard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ecard:hover .ecard-img img { transform: scale(1.06); }
.ecard-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255,255,255,.95);
  color: #7C3D12;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #74C69D;
  backdrop-filter: blur(6px);
}
.ecard-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ecard-date { font-size: 12px; font-weight: 700; color: #E76F51; letter-spacing: .1em; text-transform: uppercase; }
.ecard-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: #1B4332; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.ecard-desc { font-size: 15px; color: #4A5568; line-height: 1.65; flex: 1; }
.ecard-more { font-size: 13px; font-weight: 700; color: #C05621; margin-top: 10px; cursor: pointer; letter-spacing: .02em; }
.ecard-more:hover { color: var(--brown); }

/* ─────────────────────────────────────────────
   NEWS / POST CARDS
───────────────────────────────────────────── */
.ncard {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  transition: all .25s;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
}
.ncard:hover { border-color: #40916C; transform: translateY(-4px); box-shadow: 0 16px 40px rgba(45,106,79,.14); }
.ncard-img { height: 200px; overflow: hidden; }
.ncard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ncard:hover .ncard-img img { transform: scale(1.06); }
.ncard-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.ncard-cat { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #E76F51; margin-bottom: .4rem; }
.ncard-title { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 700; color: #1B4332; line-height: 1.25; margin-bottom: .5rem; }
.ncard-exc { font-size: 14px; color: #4A5568; line-height: 1.65; flex: 1; }
.ncard-meta { font-size: 12px; color: #94A3B8; margin-top: .75rem; }
.ncard-more { font-size: 13px; font-weight: 700; color: #C05621; margin-top: .75rem; }

/* ─────────────────────────────────────────────
   JOB CARDS
───────────────────────────────────────────── */
.jcard {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all .2s;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  text-decoration: none;
}
.jcard:hover { border-color: #40916C; transform: translateX(5px); box-shadow: 0 6px 24px rgba(45,106,79,.12); }
.jcard-ico {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  background: linear-gradient(135deg,#D4EDDA,#B7E4C7);
}
.jcard-title { font-size: 17px; font-weight: 700; color: #1B4332; margin-bottom: 5px; letter-spacing: -.01em; }
.jcard-meta { font-size: 13px; color: var(--gray); display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: .75rem; }
.jcard-desc { font-size: 15px; color: var(--gray); line-height: 1.7; }

/* ─────────────────────────────────────────────
   PROSE CONTENT
───────────────────────────────────────────── */
.prose p { font-size: 16.5px; color: #374151; line-height: 1.9; margin-bottom: 1.35rem; }
.prose h2 { font-family: 'Outfit', sans-serif; font-size: 1.75rem; color: #1B4332; margin: 2.25rem 0 1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.prose h3 { font-size: 1.1rem; font-weight: 700; color: #2D6A4F; margin: 1.6rem 0 .5rem; font-family: 'Outfit', sans-serif; }
.prose ul { margin: .6rem 0 1rem 1.4rem; }
.prose ul li { font-size: 17px; color: #374151; line-height: 1.8; margin-bottom: .5rem; }
.prose img { border-radius: 12px; width: 100%; object-fit: cover; max-height: 360px; margin: 1.4rem 0; }
.prose blockquote {
  border-left: 4px solid #40916C;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg,#F4FBF7,#F0FDF4);
  border-radius: 0 12px 12px 0;
  margin: 1.75rem 0;
  font-style: italic;
  font-size: 18px;
  color: #1B4332;
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.7;
  font-weight: 600;
}
/* wp core blocks inside prose */
.entry-content p { font-size: 16.5px; color: #374151; line-height: 1.9; margin-bottom: 1.35rem; }
.entry-content h2 { font-family: 'Outfit', sans-serif; font-size: 1.75rem; color: #1B4332; margin: 2.25rem 0 1rem; font-weight: 800; }
.entry-content h3 { font-size: 1.2rem; font-weight: 700; color: #2D6A4F; margin: 1.5rem 0 .5rem; }
.entry-content ul { margin: .6rem 0 1rem 1.4rem; }
.entry-content ul li { font-size: 16px; line-height: 1.8; margin-bottom: .5rem; color: #374151; }
.entry-content blockquote {
  border-left: 4px solid #40916C;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg,#F4FBF7,#F0FDF4);
  border-radius: 0 12px 12px 0;
  margin: 1.75rem 0;
  font-style: italic;
  font-size: 18px;
  color: #1B4332;
  font-family: 'Cormorant Garamond', serif;
}
.entry-content img { border-radius: 12px; max-height: 400px; object-fit: cover; margin: 1.4rem 0; width: 100%; }
.entry-content a { color: #2D6A4F; text-decoration: underline; }
.entry-content a:hover { color: #C05621; }

/* ─────────────────────────────────────────────
   SECTION COLOUR BANDS
───────────────────────────────────────────── */
.band-green  { background: linear-gradient(135deg,#F4FBF7 0%,#E8F8EE 100%); }
.band-warm   { background: linear-gradient(135deg,#FFFBF5 0%,#FFF3E0 100%); }
.band-blue   { background: linear-gradient(135deg,#F0F9FF 0%,#E0F2FE 100%); }
.band-orange { background: linear-gradient(135deg,#FFF8F0 0%,#FFECD8 50%,#FFE0C4 100%); }
.band-white  { background: #fff; }

/* ─────────────────────────────────────────────
   COLOUR ICON VARIANTS
───────────────────────────────────────────── */
.ic-green   { background: linear-gradient(135deg,#E8F4FD,#BFD9F5) !important; }
.ic-teal    { background: linear-gradient(135deg,#FFF8E7,#FFE4B5) !important; }
.ic-amber   { background: linear-gradient(135deg,#FFF0D4,#FFD9A0) !important; }
.ic-rose    { background: linear-gradient(135deg,#FFE4E6,#FECDD3) !important; }
.ic-purple  { background: linear-gradient(135deg,#EDE9FE,#DDD6FE) !important; }
.ic-blue    { background: linear-gradient(135deg,#DBEAFE,#BFDBFE) !important; }
.ic-coral   { background: linear-gradient(135deg,#FFE4DC,#FFC9B8) !important; }
.ic-gold    { background: linear-gradient(135deg,#FEF9C3,#FDE68A) !important; }
.ic-earth   { background: linear-gradient(135deg,#E8F5E9,#C8E6C9) !important; }
.ic-lavender{ background: linear-gradient(135deg,#EDE9FE,#DDD6FE) !important; }
.ic-copper  { background: linear-gradient(135deg,#FFF3E0,#FFE0B2) !important; }
.ic-navy    { background: linear-gradient(135deg,#E3F2FD,#BBDEFB) !important; }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.site-footer {
  background: linear-gradient(135deg,#1B4332 0%,#2D6A4F 100%);
  padding: 3.5rem 0 2rem;
  color: rgba(212,237,218,.7);
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 1.5rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: .75rem;
}
.footer-logo img { height: 40px; filter: brightness(0) invert(1); opacity: .88; }
.footer-logo-name { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 700; color: rgba(212,237,218,.9); line-height: 1.3; }
.footer-desc { font-size: 14px; color: rgba(212,237,218,.65); line-height: 1.75; margin-bottom: 1rem; }
.footer-treaty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(212,237,218,.55);
  letter-spacing: .05em;
}
.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(212,237,218,.9);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .45rem; }
.footer-links li a,
.footer-links li span {
  font-size: 14px;
  color: rgba(212,237,218,.6);
  cursor: pointer;
  transition: color .2s;
}
.footer-links li a:hover,
.footer-links li span:hover { color: #F4A261; }
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: 13px;
  color: rgba(212,237,218,.45);
}

/* ─────────────────────────────────────────────
   BACK TO TOP
───────────────────────────────────────────── */
#btt {
  display: none;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg,#2D6A4F,#40916C);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(45,106,79,.35);
  transition: all .2s;
}
#btt.vis { display: flex; }
#btt:hover { background: linear-gradient(135deg,#1A4035,#2D6A4F); transform: translateY(-2px); }

/* ─────────────────────────────────────────────
   SCROLL ANIMATION TARGETS
───────────────────────────────────────────── */
.anim-ready {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.anim-ready.anim-in {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────
   PAGINATION
───────────────────────────────────────────── */
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid #E2E8F0;
  color: #374151;
  transition: all .2s;
}
.pagination a:hover,
.pagination .current {
  background: #2D6A4F;
  color: #fff;
  border-color: #2D6A4F;
}

/* ─────────────────────────────────────────────
   CONTACT FORM
───────────────────────────────────────────── */
.cform input,
.cform textarea,
.cform select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #CBD5E0;
  border-radius: 10px;
  background: #FAFEFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  transition: border .2s;
  color: #1B2D3E;
}
.cform input:focus,
.cform textarea:focus {
  outline: none;
  border-color: #40916C;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(64,145,108,.1);
}
.cform label { font-size: 14px; font-weight: 600; color: #1B4332; margin-bottom: 6px; display: block; letter-spacing: .01em; }
.cform .frow { margin-bottom: 1.2rem; }

/* ─────────────────────────────────────────────
   SINGLE POST LAYOUT
───────────────────────────────────────────── */
.single-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.single-meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid #E2E8F0; }
.single-meta span { font-size: 13px; color: #64748B; }
.single-featured { width: 100%; max-height: 480px; object-fit: cover; border-radius: 16px; margin-bottom: 2.5rem; }
.sidebar-card { background: var(--tea); border: 1px solid var(--olive); border-radius: 14px; padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-card-title { font-size: 13px; font-weight: 700; color: #1B4332; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }

/* ─────────────────────────────────────────────
   404
───────────────────────────────────────────── */
.error-404 { text-align: center; padding: 8rem 2rem; }
.error-404 .error-num { font-family: 'Outfit', sans-serif; font-size: 9rem; font-weight: 800; color: #E2E8F0; line-height: 1; }
.error-404 h1 { font-family: 'Outfit', sans-serif; font-size: 2rem; color: #1B4332; margin-bottom: 1rem; }
.error-404 p { color: #4A5568; font-size: 17px; margin-bottom: 2rem; }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .g2, .g3, .g4, .mosaic { grid-template-columns: 1fr; }
  .mosaic { grid-template-rows: auto; }
  .mosaic .m1 { grid-row: auto; }
  .hero-content { padding: 0 1.5rem; }
  .hero-stats { display: none; }
  .hrfn-nav .nav-links { display: none; }
  .hrfn-nav .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 96px; left: 0; right: 0; background: #fff; padding: 1rem 2.5rem 2rem; border-bottom: 2px solid #F0E8E0; box-shadow: 0 8px 24px rgba(0,0,0,.1); gap: .5rem; }
  .nav-toggle { display: flex; }
  .single-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .con { padding: 0 1.25rem; }
  .hero-content h1 { font-size: 2.4rem; }
}
@media (max-width: 600px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hrfn-nav { padding: 0 1.25rem; height: 78px; }
  .nav-brand img { height: 52px; }
  .nav-brand-name { font-size: 16px; }
  .hero-content { padding: 0 1rem; }
  .hero-content h1 { font-size: 2rem; }
  .sec { padding: 3rem 0; }
  .ph { padding: 3.5rem 1.25rem; }
  .ph h1 { font-size: 2rem; }
}
