/*
Theme Name: Explorer Helping Centre
Theme URI: https://explorerhelpingcentre.org
Author: Explorer Helping Centre
Author URI: https://explorerhelpingcentre.org
Description: A modern, classy WordPress theme for Explorer Helping Centre — a rehabilitation centre specialising in drug & alcohol addiction and mental health recovery. Built for appointment booking, treatment programs, aftercare & alumni, recovery stories, FAQs, professional profiles and the recovery process, in lime green and dark grey. Fully responsive.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: explorer-helping-centre
Tags: health, non-profit, medical, responsive, custom-menu, custom-colors, custom-logo, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. DESIGN TOKENS
   Palette pulled from the Explorer Helping Centre mark:
   - Lime  : the growth / hope accent (compass arrow, heart)
   - Teal  : the guiding hand — trust, calm, clinical steadiness
   - Grey  : the "Explorer" wordmark — grounded, professional
   Type: Fraunces (a warm, humane serif) for headlines paired with
   Work Sans for body/UI — legible, contemporary, not clinical-cold.
   ========================================================================== */
:root{
  --lime:        #8DC63F;
  --lime-dark:   #6FA52E;
  --lime-tint:   #EEF6DE;
  --teal:        #146275;
  --teal-dark:   #0D4A59;
  --teal-tint:   #E4EEF0;
  --grey-900:    #26262A;
  --grey-800:    #38383C;
  --grey-700:    #4C4C50;
  --grey-500:    #7A7A7E;
  --grey-300:    #C9CAC5;
  --grey-100:    #E9EAE4;
  --paper:       #F7F8F3;
  --white:       #FFFFFF;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 3px rgba(38,38,42,.08);
  --shadow-md: 0 10px 30px -10px rgba(20,98,117,.25);
  --shadow-lg: 0 24px 60px -20px rgba(38,38,42,.35);

  --container: 1200px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
}

/* ==========================================================================
   2. RESET
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--grey-900);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; height:auto; }
a{ color: var(--teal); text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4,h5{ font-family: var(--font-display); color: var(--grey-900); line-height:1.15; margin:0 0 .5em; font-weight:600; }
p{ margin:0 0 1.1em; }
button{ font-family: inherit; }
input,select,textarea{ font-family: inherit; font-size:1rem; }

:focus-visible{ outline: 3px solid var(--teal); outline-offset: 3px; }

.container{ max-width: var(--container); margin-inline:auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); }
.section{ padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-tight{ padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-paper{ background: var(--paper); }
.bg-white{ background: var(--white); }
.bg-dark{ background: var(--grey-900); color: var(--grey-100); }
.bg-dark h1, .bg-dark h2, .bg-dark h3{ color: var(--white); }
.bg-teal{ background: var(--teal); color: var(--white); }
.bg-teal h2, .bg-teal h3{ color: var(--white); }

.eyebrow{
  display:inline-flex; align-items:center; gap:.5em;
  font-size:.78rem; letter-spacing:.14em; text-transform:uppercase;
  color: var(--teal); font-weight:700; margin-bottom:.85em;
}
.eyebrow::before{
  content:""; width:22px; height:2px; background: var(--lime); display:inline-block;
}
.bg-dark .eyebrow, .bg-teal .eyebrow{ color: var(--lime); }

.lede{ font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--grey-700); max-width: 60ch; }
.bg-dark .lede, .bg-teal .lede{ color: var(--grey-100); }

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.6em;
  padding: .9em 1.7em; border-radius: 999px; font-weight:600; font-size:.98rem;
  border: 2px solid transparent; cursor:pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space:nowrap;
}
.btn-primary{ background: var(--lime); color: var(--grey-900); box-shadow: var(--shadow-sm); }
.btn-primary:hover{ background: var(--lime-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline{ background: transparent; border-color: currentColor; color: inherit; }
.btn-outline:hover{ background: rgba(255,255,255,.08); transform: translateY(-2px); }
.bg-white .btn-outline, .bg-paper .btn-outline{ border-color: var(--grey-900); color: var(--grey-900); }
.bg-white .btn-outline:hover, .bg-paper .btn-outline:hover{ background: var(--grey-900); color: var(--white); }
.btn-ghost{ background: transparent; color: var(--teal); padding-inline:0; border:none; }
.btn-ghost::after{ content:"→"; margin-left:.4em; transition: transform .18s ease; display:inline-block; }
.btn-ghost:hover::after{ transform: translateX(4px); }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.6; cursor:not-allowed; }

/* ==========================================================================
   4. SITE HEADER
   ========================================================================== */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(247,248,243,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-100);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled{ box-shadow: 0 4px 20px rgba(38,38,42,.08); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:1.5rem; padding-block: .85rem; }
.brand{ display:flex; align-items:center; gap:.7rem; }
.brand img{ height:44px; width:auto; }
.brand-fallback{ font-family: var(--font-display); font-weight:700; font-size:1.15rem; color: var(--grey-900); }
.brand-fallback strong{ color: var(--teal); }

.crisis-bar{ background: var(--grey-900); color:var(--white); font-size:.82rem; text-align:center; padding:.5em 1em; }
.crisis-bar a{ color: var(--lime); font-weight:700; }

.primary-nav ul{ display:flex; align-items:center; gap: 1.9rem; }
.primary-nav a{ color: var(--grey-800); font-weight:600; font-size:.95rem; position:relative; padding:.3em 0; }
.primary-nav a::after{ content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0; background: var(--lime); transition: width .18s ease; }
.primary-nav a:hover::after, .primary-nav .current-menu-item a::after{ width:100%; }
.header-cta{ display:flex; align-items:center; gap:1rem; }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:.4rem; }
.nav-toggle span{ display:block; width:26px; height:2px; background: var(--grey-900); margin:6px 0; transition: transform .2s ease, opacity .2s ease; }

@media (max-width: 900px){
  .primary-nav{
    position:fixed; inset: 0 0 0 30%; background: var(--white);
    transform: translateX(100%); transition: transform .28s ease;
    padding: 6rem 2rem 2rem; box-shadow: -20px 0 40px rgba(0,0,0,.15);
  }
  .primary-nav.is-open{ transform: translateX(0); }
  .primary-nav ul{ flex-direction:column; align-items:flex-start; gap: 1.4rem; }
  .nav-toggle{ display:block; z-index:101; }
  .nav-toggle.is-open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2){ opacity:0; }
  .nav-toggle.is-open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }
  .header-cta .btn-outline{ display:none; }
}

/* ==========================================================================
   5. HERO
   ========================================================================== */
.hero{ position:relative; overflow:hidden; background: var(--grey-900); color: var(--white); }
.hero-path{ position:absolute; inset:0; width:100%; height:100%; opacity:.5; pointer-events:none; }
.hero-inner{ position:relative; z-index:2; display:grid; grid-template-columns: 1.1fr .9fr; gap: var(--gap); align-items:center; padding-block: clamp(3.5rem,9vw,7rem); }
.hero h1{ font-size: clamp(2.3rem, 4.6vw, 3.7rem); color:var(--white); margin-bottom:.4em; }
.hero h1 em{ font-style:normal; color: var(--lime); }
.hero .lede{ color: var(--grey-300); max-width: 52ch; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:1rem; margin-top: 2rem; }
.hero-stats{ display:flex; gap: clamp(1.5rem,3vw,3rem); margin-top: 3rem; flex-wrap:wrap; }
.hero-stat b{ display:block; font-family: var(--font-display); font-size: 2rem; color: var(--lime); }
.hero-stat span{ font-size:.85rem; color: var(--grey-300); }
.hero-art{ position:relative; }
.hero-art img{ border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-card{
  position:absolute; bottom:-1.5rem; left:-1.5rem; background: var(--white); color: var(--grey-900);
  padding: 1.2rem 1.4rem; border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  display:flex; align-items:center; gap:.8rem; max-width: 240px;
}
.hero-card .dot{ width:12px; height:12px; border-radius:50%; background: var(--lime); flex-shrink:0; box-shadow:0 0 0 5px var(--lime-tint); }
@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-art{ order:-1; }
  .hero-card{ position:static; margin-top:1rem; max-width:none; }
}

/* ==========================================================================
   6. BANNER SLIDER (homepage rollup — 4 slides, captions)
   ========================================================================== */
.banner-slider{
  position: relative; overflow: hidden;
  height: clamp(380px, 55vw, 560px);
}
.slider-viewport{ width:100%; height:100%; overflow:hidden; }
.slider-track{
  display:flex; height:100%;
  width: calc(var(--slide-count, 4) * 100%);
  transition: transform .6s cubic-bezier(.65,0,.35,1);
}
@media (prefers-reduced-motion: reduce){
  .slider-track{ transition: none; }
}
.slide{
  position:relative; width: calc(100% / var(--slide-count, 4)); height:100%; flex-shrink:0;
  display:flex; align-items:flex-end;
  background-size: cover; background-position:center;
}
.slide::before{
  content:""; position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(38,38,42,.88) 0%, rgba(38,38,42,.35) 55%, rgba(38,38,42,.15) 100%);
}
.slide.has-image::before{
  background: linear-gradient(0deg, rgba(20,20,22,.92) 0%, rgba(20,20,22,.5) 50%, rgba(20,20,22,.2) 100%);
}
.slide::after{
  content:""; position:absolute; inset:0; opacity:.9; mix-blend-mode: normal;
}
/* Fallback gradients — used only when a slide has no featured image set */
.slide-1{ background-image: radial-gradient(circle at 20% 20%, #1B7A8F 0%, #146275 45%, #26262A 100%); }
.slide-2{ background-image: radial-gradient(circle at 80% 25%, #8DC63F 0%, #4C7A26 45%, #26262A 100%); }
.slide-3{ background-image: radial-gradient(circle at 25% 75%, #146275 0%, #1E4D57 45%, #38383C 100%); }
.slide-4{ background-image: radial-gradient(circle at 75% 70%, #6FA52E 0%, #2E4D1A 45%, #26262A 100%); }
.slide.has-image{ background-image: none; } /* inline style sets the real photo; this clears the gradient class */

.slide-caption{
  position:relative; z-index:2; color: var(--white);
  padding: clamp(1.75rem,4vw,4rem); max-width: 640px;
}
.slide-caption .eyebrow{ color: var(--lime); }
.slide-caption h2{ color: var(--white); font-size: clamp(1.5rem, 3vw, 2.3rem); margin-bottom:.4em; }
.slide-caption p{ color: var(--grey-100); max-width: 52ch; margin-bottom: 1.3em; }

.slider-arrow{
  position:absolute; top:50%; transform: translateY(-50%); z-index:3;
  width:46px; height:46px; border-radius:50%; border: 1px solid rgba(255,255,255,.4);
  background: rgba(38,38,42,.35); backdrop-filter: blur(4px); color: var(--white);
  font-size:1.6rem; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition: background .18s ease, transform .18s ease;
}
.slider-arrow:hover{ background: var(--lime); color: var(--grey-900); border-color: var(--lime); }
.slider-prev{ left: clamp(.75rem, 3vw, 2rem); }
.slider-next{ right: clamp(.75rem, 3vw, 2rem); }

.slider-dots{
  position:absolute; z-index:3; bottom: clamp(1rem, 3vw, 1.75rem); left:50%; transform: translateX(-50%);
  display:flex; gap:.6rem;
}
.slider-dots button{
  width:10px; height:10px; border-radius:50%; border: 1.5px solid rgba(255,255,255,.7);
  background: transparent; padding:0; cursor:pointer; transition: background .18s ease, width .18s ease;
}
.slider-dots button.is-active{ background: var(--lime); border-color: var(--lime); width:26px; border-radius:6px; }

@media (max-width: 640px){
  .banner-slider{ height: 480px; }
  .slider-arrow{ width:38px; height:38px; font-size:1.3rem; }
  .slide-caption{ max-width:none; padding: 1.5rem 3.25rem 2.75rem; }
}

/* ==========================================================================
   7. CARDS / GRIDS
   ========================================================================== */
.grid{ display:grid; gap: var(--gap); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px){ .grid-3, .grid-4{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; } }

.section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:2rem; margin-bottom: 2.75rem; flex-wrap:wrap; }
.section-head h2{ font-size: clamp(1.7rem, 3vw, 2.5rem); max-width: 20ch; }

.card{
  background: var(--white); border-radius: var(--radius-md); padding: 2rem;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid var(--grey-100);
}
.card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-md); }

.service-card .icon{
  width:54px; height:54px; border-radius: var(--radius-sm); background: var(--lime-tint);
  display:flex; align-items:center; justify-content:center; margin-bottom:1.2rem;
}
.service-card .icon svg{ width:28px; height:28px; stroke: var(--teal); }
.service-card h3{ font-size:1.2rem; }
.service-card a.card-link{ font-weight:700; font-size:.9rem; color: var(--teal); }

.program-card{ display:flex; flex-direction:column; height:100%; }
.program-card .tag{
  align-self:flex-start; background: var(--teal-tint); color: var(--teal); font-size:.72rem;
  font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:.35em .8em; border-radius:999px; margin-bottom:1rem;
}
.program-card ul{ margin: 1rem 0; display:flex; flex-direction:column; gap:.5rem; }
.program-card li{ display:flex; gap:.6em; font-size:.92rem; color: var(--grey-700); }
.program-card li::before{ content:"✓"; color: var(--lime-dark); font-weight:700; }
.program-card .btn{ margin-top:auto; align-self:flex-start; }

/* Process / stepper — legitimate sequence, so numbered waypoints */
.process-path{ position:relative; }
.process-steps{ display:grid; grid-template-columns: repeat(6,1fr); gap: 1.5rem; counter-reset: step; position:relative; }
.process-steps::before{
  content:""; position:absolute; top:28px; left:5%; right:5%; height:2px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 10px, transparent 10px 18px);
}
@media (max-width: 900px){ .process-steps{ grid-template-columns: repeat(2,1fr); } .process-steps::before{ display:none; } }
@media (max-width: 480px){ .process-steps{ grid-template-columns: 1fr; } }
.process-step{ position:relative; padding-top: 4.2rem; }
.process-step .waypoint{
  position:absolute; top:0; left:0; width:56px; height:56px; border-radius:50%;
  background: var(--grey-900); color: var(--lime); display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:700; font-size:1.2rem; box-shadow: var(--shadow-sm); z-index:2;
}
.process-step h3{ font-size:1.05rem; margin-bottom:.4em; }
.process-step p{ font-size:.92rem; color: var(--grey-700); }

/* Professionals */
.profile-card{ text-align:center; }
.profile-card .photo{ width:100%; aspect-ratio: 1/1; border-radius: var(--radius-md); overflow:hidden; margin-bottom:1.1rem; background: var(--teal-tint); }
.profile-card .photo img{ width:100%; height:100%; object-fit:cover; }
.profile-card h3{ font-size:1.1rem; margin-bottom:.15em; }
.profile-card .role{ color: var(--teal); font-weight:600; font-size:.85rem; text-transform:uppercase; letter-spacing:.05em; margin-bottom:.6em; }
.profile-card .bio{ font-size:.9rem; color: var(--grey-700); }
.profile-card .creds{ font-size:.78rem; color: var(--grey-500); margin-top:.5em; }

/* Recovery stories */
.story-card{ position:relative; padding-top:2.6rem; }
.story-card .quote-mark{ font-family: var(--font-display); font-size:3.4rem; color: var(--lime); line-height:0; position:absolute; top:1.5rem; left:2rem; }
.story-card blockquote{ margin:0 0 1.3rem; font-family: var(--font-display); font-size:1.08rem; color: var(--grey-900); font-weight:500; }
.story-card footer{ display:flex; align-items:center; gap:.8rem; }
.story-card .avatar{ width:42px; height:42px; border-radius:50%; background: var(--teal); color:var(--white); display:flex; align-items:center; justify-content:center; font-weight:700; }
.story-card cite{ font-style:normal; font-weight:700; font-size:.9rem; display:block; }
.story-card .meta{ font-size:.78rem; color: var(--grey-500); }

/* Stat strip */
.stat-strip{ display:grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); text-align:center; }
@media (max-width: 700px){ .stat-strip{ grid-template-columns: repeat(2,1fr); } }
.stat-strip b{ display:block; font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.6rem); color: var(--lime); }
.stat-strip span{ font-size:.85rem; color: var(--grey-300); }

/* FAQs */
.faq-filter{ display:flex; flex-wrap:wrap; gap:.6rem; margin-bottom: 2rem; }
.faq-filter button{
  border: 1px solid var(--grey-300); background: var(--white); color: var(--grey-700);
  padding: .5em 1.1em; border-radius: 999px; font-weight:600; font-size:.85rem; cursor:pointer; transition:.18s ease;
}
.faq-filter button.is-active, .faq-filter button:hover{ background: var(--grey-900); color: var(--white); border-color: var(--grey-900); }
.faq-item{ border-bottom: 1px solid var(--grey-100); }
.faq-question{
  width:100%; text-align:left; background:none; border:none; padding: 1.3rem 0; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:1rem; font-family: var(--font-display); font-size:1.05rem; font-weight:600; color: var(--grey-900);
}
.faq-question .plus{ flex-shrink:0; width:28px; height:28px; border-radius:50%; background: var(--lime-tint); color: var(--teal); display:flex; align-items:center; justify-content:center; transition: transform .2s ease; font-weight:700; }
.faq-item.is-open .faq-question .plus{ transform: rotate(45deg); }
.faq-answer{ max-height:0; overflow:hidden; transition: max-height .28s ease; }
.faq-answer-inner{ padding-bottom: 1.4rem; color: var(--grey-700); font-size:.95rem; max-width: 70ch; }

/* Testimonial / logos strip */
.marquee-track{ display:flex; gap: 3rem; align-items:center; }

/* ==========================================================================
   7. FORMS — Appointment booking & Contact
   ========================================================================== */
.form-shell{ background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(1.6rem,4vw,3rem); }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width:640px){ .form-row{ grid-template-columns: 1fr; } }
.field{ margin-bottom: 1.2rem; }
.field label{ display:block; font-weight:600; font-size:.88rem; margin-bottom:.45em; color: var(--grey-800); }
.field .required{ color: var(--teal); }
.field input, .field select, .field textarea{
  width:100%; padding: .85em 1em; border-radius: var(--radius-sm); border: 1.5px solid var(--grey-300);
  background: var(--paper); transition: border-color .18s ease, background .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--teal); background: var(--white); outline:none; }
.field textarea{ resize: vertical; min-height:110px; }
.field-hint{ font-size:.78rem; color: var(--grey-500); margin-top:.35em; }
.consent{ display:flex; gap:.6em; align-items:flex-start; font-size:.85rem; color: var(--grey-700); }
.consent input{ width:auto; margin-top:.25em; }
.form-msg{ padding: .9em 1.1em; border-radius: var(--radius-sm); font-size:.9rem; margin-bottom:1.2rem; display:none; }
.form-msg.is-success{ display:block; background: var(--lime-tint); color: var(--teal-dark); }
.form-msg.is-error{ display:block; background:#FBEAEA; color:#A33A3A; }
.appointment-side{ display:flex; flex-direction:column; gap:1.4rem; }
.info-pill{ display:flex; gap:1rem; align-items:flex-start; }
.info-pill .ico{ width:44px; height:44px; border-radius:50%; background: rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.info-pill h4{ color:var(--white); font-size:1rem; margin-bottom:.2em; }
.info-pill p{ color: var(--grey-300); font-size:.9rem; margin:0; }

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.site-footer{ background: var(--grey-900); color: var(--grey-300); }
.footer-top{ padding-block: clamp(3rem,6vw,5rem); display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--gap); }
@media (max-width: 900px){ .footer-top{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-top{ grid-template-columns: 1fr; } }
.footer-brand img{ height:40px; margin-bottom:1rem; }
.footer-col h4{ color: var(--white); font-size:.9rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:1.1rem; }
.footer-col ul{ display:flex; flex-direction:column; gap:.7rem; }
.footer-col a{ color: var(--grey-300); font-size:.92rem; }
.footer-col a:hover{ color: var(--lime); }
.social-row{ display:flex; gap:.7rem; margin-top:1.2rem; }
.social-row a{ width:38px; height:38px; border-radius:50%; border:1px solid var(--grey-700); display:flex; align-items:center; justify-content:center; }
.social-row a:hover{ background: var(--lime); border-color: var(--lime); color: var(--grey-900); }
.footer-bottom{ border-top:1px solid var(--grey-800); padding: 1.4rem 0; display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; font-size:.82rem; color: var(--grey-500); }

/* ==========================================================================
   9. GENERIC PAGE / SINGLE / BLOG
   ========================================================================== */
.page-hero{ background: var(--grey-900); color: var(--white); padding-block: clamp(3rem,6vw,4.5rem); }
.page-hero h1{ color: var(--white); font-size: clamp(2rem,4vw,3rem); margin-bottom:.3em; }
.breadcrumb{ font-size:.85rem; color: var(--grey-300); }
.breadcrumb a{ color: var(--grey-300); }
.breadcrumb a:hover{ color: var(--lime); }

.content-columns{ display:grid; grid-template-columns: 2fr 1fr; gap: var(--gap); }
@media (max-width: 900px){ .content-columns{ grid-template-columns: 1fr; } }
.entry-content h2{ margin-top:1.6em; font-size:1.5rem; }
.entry-content h3{ margin-top:1.3em; font-size:1.2rem; }
.entry-content ul{ list-style:disc; padding-left:1.3em; margin-bottom:1.1em; }
.entry-content ul li{ margin-bottom:.4em; }
.entry-content img{ border-radius: var(--radius-md); margin: 1.5em 0; }
.widget{ background: var(--white); border-radius: var(--radius-md); padding: 1.6rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); }
.widget h3{ font-size:1rem; text-transform:uppercase; letter-spacing:.05em; margin-bottom:1rem; }

.cta-band{ text-align:center; }
.cta-band h2{ max-width: 20ch; margin-inline:auto; }
.cta-band .btn{ margin-top:1.5rem; }

.pagination{ display:flex; justify-content:center; gap:.6rem; margin-top: 3rem; }
.pagination a, .pagination span{ width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; border:1px solid var(--grey-300); font-size:.9rem; }
.pagination .current{ background: var(--grey-900); color:var(--white); border-color: var(--grey-900); }

.tabs{ display:flex; gap:.5rem; flex-wrap:wrap; margin-bottom:2rem; border-bottom:1px solid var(--grey-100); }
.tabs button{ background:none; border:none; padding: .9em 1.2em; font-weight:600; color: var(--grey-500); cursor:pointer; border-bottom: 3px solid transparent; }
.tabs button.is-active{ color: var(--teal); border-color: var(--lime); }

/* animations */
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

/* skip link */
.skip-link{ position:absolute; left:-999px; top:auto; background:var(--grey-900); color:var(--white); padding:1em 1.4em; z-index:999; border-radius: 0 0 var(--radius-sm) 0; }
.skip-link:focus{ left:0; top:0; }

/* alignments used by WP core blocks */
.alignwide{ max-width: 1000px; margin-inline:auto; }
.alignfull{ width:100%; max-width:none; }
