/*
Theme Name: SIF — Sustainability Innovation Forum
Theme URI: https://www.sif.ng
Author: Sustainability Innovation Forum
Author URI: https://www.sif.ng
Description: A clean, responsive, Elementor-ready WordPress theme built for the Sustainability Innovation Forum (SIF) — Nigeria's first Pan-African marketplace for green investment and sustainable development. Two-tone green system (deep forest + lime) on white, sticky header, full-width Elementor page templates, and an editable header/footer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sif
Tags: green, business, one-column, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, elementor
*/

/* =============================================================
   NOTE ON EDITING
   This file holds the SIF design system. Elementor pulls the same
   CSS variables below, so anything you build in Elementor inherits
   the brand automatically. Change a colour here once and it updates
   everywhere. Do not edit this file directly if you installed the
   theme from a zip — use a child theme or Appearance > Customize.
   ============================================================= */


  /* ============ TOKENS ============ */
  :root{
    --forest: #0B4A2E;
    --forest-dark: #082F1D;
    --forest-tint: #E7F0E9;
    --lime: #8CC63F;
    --lime-dark: #6FA82E;
    --lime-tint: #F1F8E6;
    --white: #FFFFFF;
    --cream: #F6F8F1;
    --ink: #12241C;
    --ink-soft: #3E534A;
    --sage: #4F6F64;
    --line: rgba(11,74,46,0.14);
    --shadow: 0 18px 40px rgba(8,47,29,0.14);
    --radius-s: 6px;
    --radius-m: 14px;
    --maxw: 1180px;
    --font-display: "Fraunces", serif;
    --font-body: "Public Sans", -apple-system, sans-serif;
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{animation-duration:0.001ms !important; transition-duration:0.001ms !important;}
  }
  body{
    margin:0; font-family:var(--font-body); color:var(--ink); background:var(--white);
    -webkit-font-smoothing:antialiased; line-height:1.6;
  }
  img{max-width:100%; display:block;}
  a{color:inherit; text-decoration:none;}
  h1,h2,h3,h4{font-family:var(--font-display); color:var(--forest-dark); line-height:1.12; margin:0;}
  h1{font-weight:600; letter-spacing:-0.01em;}
  h2{font-weight:600; letter-spacing:-0.01em;}
  p{margin:0;}
  ul{margin:0; padding:0; list-style:none;}
  button{font-family:inherit;}
  :focus-visible{outline:3px solid var(--lime-dark); outline-offset:3px;}

  .wrap{max-width:var(--maxw); margin:0 auto; padding:0 24px;}
  @media (max-width:640px){ .wrap{padding:0 20px;} }

  .eyebrow{
    font-family:var(--font-body); font-weight:700; font-size:0.8rem; letter-spacing:0.02em;
    color:var(--sage);
  }
  .lead{font-size:1.08rem; color:var(--ink-soft); max-width:52ch;}

  /* ============ BUTTONS ============ */
  .btn{
    display:inline-flex; align-items:center; gap:8px; padding:14px 26px; border-radius:999px;
    font-weight:700; font-size:0.98rem; border:2px solid transparent; cursor:pointer;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  }
  .btn-primary{ background:var(--lime); color:var(--forest-dark); }
  .btn-primary:hover{ background:var(--lime-dark); transform:translateY(-2px); box-shadow:0 10px 24px rgba(140,198,63,0.35); }
  .btn-outline{ background:transparent; border-color:rgba(255,255,255,0.55); color:var(--white); }
  .btn-outline:hover{ background:rgba(255,255,255,0.12); border-color:var(--white); }
  .btn-dark{ background:var(--forest); color:var(--white); }
  .btn-dark:hover{ background:var(--forest-dark); transform:translateY(-2px); }
  .btn-ghost{ background:transparent; border-color:var(--forest); color:var(--forest); }
  .btn-ghost:hover{ background:var(--forest); color:var(--white); }
  .btn-block{ width:100%; justify-content:center; }

  /* ============ HEADER ============ */
  header.site{
    position:sticky; top:0; z-index:100; background:rgba(255,255,255,0.92); backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
  }
  .nav-row{ display:flex; align-items:center; justify-content:space-between; height:76px; }
  .logo{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:700; font-size:1.35rem; color:var(--forest-dark);}
  .logo .mark{ width:38px; height:38px; flex:none; }

  /* Constrain an uploaded custom logo — WordPress doesn't cap the display
     size itself when the theme allows flexible width/height (needed so
     logos of any aspect ratio work), so this is what keeps it header-sized
     instead of showing at its full uploaded resolution. */
  .logo img,
  .logo .custom-logo-link img,
  .custom-logo{
    max-height:48px;
    width:auto;
    height:auto;
    display:block;
  }
  @media (max-width:640px){
    .logo img,
    .logo .custom-logo-link img,
    .custom-logo{ max-height:36px; }
  }
  .logo small{ display:block; font-family:var(--font-body); font-weight:600; font-size:0.6rem; letter-spacing:0.06em; color:var(--sage); }

  nav.primary{ display:flex; align-items:center; gap:36px; }
  nav.primary a{ font-weight:600; font-size:0.96rem; color:var(--ink-soft); position:relative; padding:6px 0; }
  nav.primary a::after{
    content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:var(--lime-dark);
    transform:scaleX(0); transform-origin:left; transition:transform .2s ease;
  }
  nav.primary a:hover, nav.primary a.active{ color:var(--forest-dark); }
  nav.primary a.active::after, nav.primary a:hover::after{ transform:scaleX(1); }

  .header-actions{ display:flex; align-items:center; gap:18px; }
  .burger{ display:none; background:none; border:none; padding:6px; cursor:pointer; }
  .burger span{ display:block; width:26px; height:2px; background:var(--forest-dark); margin:6px 0; transition:.2s; }

  @media (max-width:920px){
    nav.primary{
      position:fixed; inset:76px 0 0 0; background:var(--white); flex-direction:column; justify-content:flex-start;
      align-items:flex-start; padding:32px 28px; gap:22px; transform:translateX(100%); transition:transform .28s ease;
      overflow-y:auto;
    }
    nav.primary.open{ transform:translateX(0); }
    nav.primary a{ font-size:1.15rem; width:100%; }
    .header-actions .btn-dark{ display:none; }
    .burger{ display:block; }
    body.menu-open{ overflow:hidden; }
  }

  /* ============ LAYOUT ============ */
  main{ display:block; }

  section{ padding:88px 0; }
  @media (max-width:720px){ section{ padding:60px 0; } }
  .section-tight{ padding:64px 0; }

  .section-head{ max-width:640px; margin:0 0 44px; }
  .section-head h2{ font-size:clamp(1.9rem,3.4vw,2.6rem); margin-top:10px; }

  /* ============ HERO ============ */
  .hero{
    position:relative; color:var(--white); overflow:hidden;
    background: linear-gradient(120deg, rgba(8,47,29,0.94) 10%, rgba(11,74,46,0.82) 55%, rgba(11,74,46,0.55) 100%),
      url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1800&q=80') center/cover;
    padding:150px 0 110px;
  }
  .hero .ledger{ position:absolute; right:0; bottom:0; width:46%; opacity:0.5; pointer-events:none; }
  .hero-grid{ position:relative; display:grid; grid-template-columns:1.15fr 0.85fr; gap:50px; align-items:center; }
  .badge-ring{ display:inline-flex; align-items:center; gap:10px; background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.35);
    border-radius:999px; padding:8px 16px; font-size:0.82rem; font-weight:700; letter-spacing:0.02em; margin-bottom:22px; }
  .badge-ring svg{ width:16px; height:16px; }
  .hero h1{ color:var(--white); font-size:clamp(2.3rem,4.6vw,3.6rem); max-width:16ch; }
  .hero .lead{ color:rgba(255,255,255,0.86); margin:22px 0 34px; max-width:46ch; font-size:1.12rem; }
  .hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; }
  .hero-figure{ position:relative; }
  .ring-card{
    background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.25); border-radius:var(--radius-m);
    padding:28px; backdrop-filter:blur(4px);
  }
  .ring-card .stat{ font-family:var(--font-display); font-size:2.6rem; color:var(--lime); font-weight:600; }
  .ring-card .stat-label{ color:rgba(255,255,255,0.82); font-size:0.92rem; margin-top:4px; }
  .ring-card hr{ border:none; border-top:1px solid rgba(255,255,255,0.2); margin:20px 0; }
  @media (max-width:920px){ .hero-grid{ grid-template-columns:1fr; } .hero{ padding:120px 0 70px; } .hero .ledger{ display:none; } }

  /* trust strip */
  .trust{ background:var(--cream); padding:26px 0; border-bottom:1px solid var(--line); }
  .trust .wrap{ display:flex; flex-wrap:wrap; gap:14px 28px; align-items:center; justify-content:center; }
  .trust span{ font-size:0.86rem; font-weight:700; color:var(--sage); letter-spacing:0.01em; }
  .trust .dot{ width:5px; height:5px; border-radius:50%; background:var(--sage); opacity:0.5; }

  /* ============ BENEFITS ============ */
  .benefits-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
  @media (max-width:840px){ .benefits-grid{ grid-template-columns:1fr; } }
  .benefit{ border-left:3px solid var(--lime-dark); padding:6px 0 6px 22px; }
  .benefit .num{ font-family:var(--font-display); font-size:0.95rem; color:var(--sage); }
  .benefit h3{ font-size:1.25rem; margin:10px 0 10px; color:var(--forest-dark); }
  .benefit p{ color:var(--ink-soft); font-size:0.98rem; }

  /* ============ SERVICES PREVIEW / GRID ============ */
  .svc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
  @media (max-width:920px){ .svc-grid{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:600px){ .svc-grid{ grid-template-columns:1fr; } }
  .svc-card{
    background:var(--white); border:1px solid var(--line); border-radius:var(--radius-m); padding:30px;
    display:flex; flex-direction:column; gap:14px; transition:box-shadow .2s ease, transform .2s ease;
  }
  .svc-card:hover{ box-shadow:var(--shadow); transform:translateY(-4px); }
  .svc-icon{ width:46px; height:46px; border-radius:var(--radius-s); background:var(--forest); display:flex; align-items:center; justify-content:center; }
  .svc-icon svg{ width:24px; height:24px; stroke:var(--lime); }
  .svc-card h3{ font-size:1.18rem; }
  .svc-card p{ color:var(--ink-soft); font-size:0.95rem; }
  .svc-card a.more{ font-weight:700; font-size:0.9rem; color:var(--forest); margin-top:auto; }

  /* ============ TESTIMONIALS ============ */
  .testi-band{ background:var(--forest-dark); color:var(--white); position:relative; overflow:hidden;}
  .testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
  @media (max-width:920px){ .testi-grid{ grid-template-columns:1fr; } }
  .testi-card{ background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.14); border-radius:var(--radius-m); padding:28px; }
  .testi-card p.quote{ font-family:var(--font-display); font-style:italic; font-size:1.08rem; color:var(--white); }
  .testi-who{ margin-top:20px; display:flex; flex-direction:column; }
  .testi-who .name{ font-weight:700; }
  .testi-who .role{ font-size:0.85rem; color:rgba(255,255,255,0.65); }
  .testi-band .section-head .lead{ color:rgba(255,255,255,0.75); }
  .testi-band .section-head h2{ color:var(--white); }
  .testi-band .eyebrow{ color:var(--lime); }

  /* ============ ABOUT PREVIEW / STORY ============ */
  .about-preview{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:center; }
  @media (max-width:900px){ .about-preview{ grid-template-columns:1fr; } }
  .about-preview img{ border-radius:var(--radius-m); }
  .stat-strip{ display:flex; gap:32px; margin-top:26px; flex-wrap:wrap; }
  .stat-strip .item .n{ font-family:var(--font-display); font-size:1.9rem; color:var(--forest-dark); font-weight:600; }
  .stat-strip .item .l{ font-size:0.85rem; color:var(--sage); font-weight:600; }

  /* ============ FINAL CTA ============ */
  .cta-band{ background:var(--lime); border-radius:0; text-align:left; position:relative; overflow:hidden; }
  .cta-band .wrap{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; padding:64px 24px; }
  .cta-band h2{ color:var(--forest-dark); font-size:clamp(1.7rem,3vw,2.2rem); max-width:20ch; }
  .cta-band .actions{ display:flex; gap:14px; flex-wrap:wrap; }
  .cta-band .btn-outline{ border-color:var(--forest-dark); color:var(--forest-dark); }
  .cta-band .btn-outline:hover{ background:rgba(11,74,46,0.08); }
  .cta-band .btn-dark:hover{ background:#061f13; }

  /* ============ ABOUT PAGE ============ */
  .page-hero{
    background:var(--forest-dark); color:var(--white); padding:130px 0 70px; position:relative; overflow:hidden;
  }
  .page-hero .wrap{ position:relative; z-index:2; max-width:760px; }
  .page-hero h1{ color:var(--white); font-size:clamp(2.1rem,4vw,3rem); }
  .page-hero .lead{ color:rgba(255,255,255,0.82); margin-top:16px; }
  .page-hero .topo{ position:absolute; inset:0; opacity:0.18; }

  .story-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
  @media (max-width:900px){ .story-grid{ grid-template-columns:1fr; } }
  .story-grid img{ border-radius:var(--radius-m); position:sticky; top:110px; }
  @media (max-width:900px){ .story-grid img{ position:static; } }
  .story-grid .lead{ margin-bottom:16px; }
  .story-grid p + p{ margin-top:16px; color:var(--ink-soft); }

  .mission-band{ background:var(--forest); color:var(--white); }
  .mission-band h2{ color:var(--white); font-size:clamp(1.6rem,3vw,2.2rem); max-width:26ch; }
  .mission-band .lead{ color:rgba(255,255,255,0.82); }

  .diff-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
  @media (max-width:760px){ .diff-grid{ grid-template-columns:1fr; } }
  .diff-item{ display:flex; gap:16px; padding:22px; border:1px solid var(--line); border-radius:var(--radius-m); }
  .diff-item .leaf{ flex:none; width:34px; height:34px; }
  .diff-item h4{ font-size:1.08rem; margin-bottom:6px; }
  .diff-item p{ color:var(--ink-soft); font-size:0.94rem; }

  /* ============ SERVICES PAGE - STEPS ============ */
  .steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; position:relative; }
  @media (max-width:900px){ .steps{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:560px){ .steps{ grid-template-columns:1fr; } }
  .step{ position:relative; padding-top:8px; }
  .step .step-num{
    width:40px; height:40px; border-radius:50%; background:var(--forest); color:var(--lime);
    display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:600;
    margin-bottom:16px;
  }
  .step h4{ font-size:1.05rem; margin-bottom:8px; color:var(--forest-dark); }
  .step p{ color:var(--ink-soft); font-size:0.92rem; }

  /* ============ FAQ ============ */
  .faq{ max-width:760px; }
  .faq-item{ border-bottom:1px solid var(--line); }
  .faq-item summary{
    list-style:none; cursor:pointer; padding:20px 0; font-weight:700; color:var(--forest-dark);
    display:flex; justify-content:space-between; align-items:center; gap:16px; font-size:1.02rem;
  }
  .faq-item summary::-webkit-details-marker{ display:none; }
  .faq-item .plus{ flex:none; width:22px; height:22px; position:relative; }
  .faq-item .plus::before, .faq-item .plus::after{ content:""; position:absolute; background:var(--forest); border-radius:2px; }
  .faq-item .plus::before{ width:100%; height:2px; top:50%; margin-top:-1px; }
  .faq-item .plus::after{ height:100%; width:2px; left:50%; margin-left:-1px; transition:transform .2s ease; }
  .faq-item[open] .plus::after{ transform:rotate(90deg) scale(0); }
  .faq-item p{ padding:0 0 22px; color:var(--ink-soft); max-width:66ch; }

  /* ============ SIF 2026 PAGE ============ */
  .event-hero{
    background: linear-gradient(120deg, rgba(8,47,29,0.92), rgba(11,74,46,0.72)),
      url('https://images.unsplash.com/photo-1548337138-e87d889cc369?auto=format&fit=crop&w=1800&q=80') center/cover;
    color:var(--white); padding:140px 0 80px;
  }
  .event-meta{ display:flex; gap:28px; flex-wrap:wrap; margin-top:28px; }
  .event-meta .item{ display:flex; flex-direction:column; gap:4px; }
  .event-meta .item .l{ font-size:0.78rem; text-transform:uppercase; letter-spacing:0.06em; color:var(--lime); font-weight:700; }
  .event-meta .item .v{ font-weight:700; font-size:1.02rem; }

  .readiness{ background:var(--lime); }
  .readiness h2{ color:var(--forest-dark); }
  .readiness .lead{ color:#1f3a24; }
  .readiness-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; }
  @media (max-width:900px){ .readiness-grid{ grid-template-columns:1fr; } }
  .readiness ul{ display:flex; flex-direction:column; gap:14px; }
  .readiness ul li{ display:flex; gap:12px; align-items:flex-start; font-weight:600; color:#12241c; }
  .readiness ul li svg{ flex:none; width:22px; height:22px; margin-top:1px; }

  .pkg-heading{ color:var(--forest-dark); font-size:0.86rem; font-weight:800; letter-spacing:0.08em; }
  .pkg-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:26px; }
  @media (max-width:920px){ .pkg-grid{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:600px){ .pkg-grid{ grid-template-columns:1fr; } }
  .pkg-card{ background:var(--forest); color:var(--white); border-radius:var(--radius-m); padding:30px; display:flex; flex-direction:column; gap:14px; border:1px solid rgba(255,255,255,0.08); }
  .pkg-card.featured{ background:var(--forest-dark); box-shadow:var(--shadow); border:1px solid var(--lime); }
  .pkg-card .pkg-name{ font-family:var(--font-display); font-size:1.3rem; }
  .pkg-card .pkg-price{ color:var(--lime); font-family:var(--font-display); font-size:1.9rem; font-weight:600; }
  .pkg-card .pkg-price small{ font-family:var(--font-body); font-size:0.75rem; color:rgba(255,255,255,0.6); display:block; font-weight:600; margin-top:2px;}
  .pkg-card ul{ display:flex; flex-direction:column; gap:8px; margin:6px 0 8px; }
  .pkg-card ul li{ font-size:0.9rem; color:rgba(255,255,255,0.85); padding-left:18px; position:relative; }
  .pkg-card ul li::before{ content:""; position:absolute; left:0; top:8px; width:8px; height:8px; background:var(--lime); border-radius:50%; }

  .gov-band{ background:var(--forest-dark); color:var(--white); }
  .gov-band .pkg-card{ background:rgba(255,255,255,0.05); }

  .reg-section{ background:var(--cream); }
  .reg-shell{ display:grid; grid-template-columns:1fr 1fr; gap:0; background:var(--white); border-radius:var(--radius-m); overflow:hidden; box-shadow:var(--shadow); }
  @media (max-width:900px){ .reg-shell{ grid-template-columns:1fr; } }
  .reg-info{ background:var(--forest); color:var(--white); padding:44px; display:flex; flex-direction:column; justify-content:space-between; gap:24px; }
  .reg-info h3{ color:var(--white); font-size:1.5rem; }
  .reg-info .lead{ color:rgba(255,255,255,0.82); }
  .reg-info ul{ display:flex; flex-direction:column; gap:12px; margin-top:6px; }
  .reg-info ul li{ font-size:0.92rem; color:rgba(255,255,255,0.85); display:flex; gap:10px; }
  .reg-form{ padding:44px; }

  /* ============ FORMS ============ */
  .form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
  @media (max-width:560px){ .form-row{ grid-template-columns:1fr; } }
  .field{ margin-bottom:18px; }
  .field label{ display:block; font-weight:700; font-size:0.88rem; margin-bottom:7px; color:var(--forest-dark); }
  .field input, .field select, .field textarea{
    width:100%; padding:13px 14px; border:1.5px solid var(--line); border-radius:var(--radius-s);
    font-family:inherit; font-size:0.96rem; background:var(--white); color:var(--ink); transition:border-color .15s ease;
  }
  .field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--forest); }
  .field textarea{ resize:vertical; min-height:110px; }
  .form-note{ font-size:0.85rem; color:var(--sage); margin-top:10px; }
  .form-success{ display:none; background:var(--lime-tint); border:1px solid var(--lime); border-radius:var(--radius-s); padding:16px; margin-top:16px; font-weight:700; color:var(--forest-dark); }
  .form-success.show{ display:block; }

  /* ============ CONTACT PAGE ============ */
  .contact-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:50px; }
  @media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }
  .contact-info-card{ background:var(--forest-dark); color:var(--white); border-radius:var(--radius-m); padding:34px; }
  .contact-info-card h3{ color:var(--white); font-size:1.2rem; margin-bottom:18px; }
  .info-row{ display:flex; gap:14px; padding:14px 0; border-bottom:1px solid rgba(255,255,255,0.12); }
  .info-row:last-of-type{ border-bottom:none; }
  .info-row svg{ flex:none; width:20px; height:20px; stroke:var(--lime); margin-top:2px; }
  .info-row .l{ font-size:0.78rem; text-transform:uppercase; letter-spacing:0.05em; color:rgba(255,255,255,0.55); font-weight:700; }
  .info-row .v{ font-weight:600; }
  .social-row{ display:flex; gap:12px; margin-top:22px; }
  .social-row a{ width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,0.3); display:flex; align-items:center; justify-content:center; transition:.2s; }
  .social-row a:hover{ background:var(--lime); border-color:var(--lime); }
  .social-row a svg{ width:17px; height:17px; stroke:var(--white); }
  .social-row a:hover svg{ stroke:var(--forest-dark); }
  .map-wrap{ border-radius:var(--radius-m); overflow:hidden; margin-top:24px; border:1px solid var(--line); }
  .map-wrap iframe{ width:100%; height:260px; border:0; display:block; }

  /* ============ FOOTER ============ */
  footer.site{ background:var(--forest-dark); color:rgba(255,255,255,0.82); padding:64px 0 28px; }
  .footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; }
  @media (max-width:760px){ .footer-grid{ grid-template-columns:1fr; gap:32px; } }
  .footer-logo{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-size:1.3rem; color:var(--white); font-weight:700; }
  .footer-grid p{ color:rgba(255,255,255,0.6); font-size:0.92rem; margin-top:14px; max-width:32ch; }
  .footer-grid h4{ color:var(--white); font-family:var(--font-body); font-size:0.85rem; letter-spacing:0.04em; margin-bottom:16px; }
  .footer-grid ul{ display:flex; flex-direction:column; gap:10px; }
  .footer-grid ul a{ font-size:0.94rem; color:rgba(255,255,255,0.72); }
  .footer-grid ul a:hover{ color:var(--lime); }
  .footer-bottom{ border-top:1px solid rgba(255,255,255,0.14); margin-top:48px; padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:0.85rem; color:rgba(255,255,255,0.55); }

  /* utility */
  .center{ text-align:center; margin-left:auto; margin-right:auto; }
  .mt-40{ margin-top:40px; }
  .bg-cream{ background:var(--cream); }
  .visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* =============================================================
   WORDPRESS CORE + ELEMENTOR INTEGRATION
   ============================================================= */

/* --- accessibility --- */
.screen-reader-text{
  border:0; clip:rect(1px,1px,1px,1px); clip-path:inset(50%); height:1px; margin:-1px;
  overflow:hidden; padding:0; position:absolute !important; width:1px; word-wrap:normal !important;
}
.screen-reader-text:focus{
  background:var(--white); border-radius:var(--radius-s); box-shadow:var(--shadow); clip:auto !important;
  clip-path:none; color:var(--forest-dark); display:block; font-weight:700; height:auto; left:12px;
  padding:14px 22px; top:12px; width:auto; z-index:100000;
}

/* --- WordPress admin bar offset for the sticky header --- */
.admin-bar header.site{ top:32px; }
@media screen and (max-width:782px){ .admin-bar header.site{ top:46px; } }

/* --- core content alignment classes --- */
.alignleft{ float:left; margin:0 24px 18px 0; }
.alignright{ float:right; margin:0 0 18px 24px; }
.aligncenter{ margin-left:auto; margin-right:auto; display:block; }
.alignwide{ max-width:1180px; margin-left:auto; margin-right:auto; }
.alignfull{ width:100vw; max-width:100vw; margin-left:calc(50% - 50vw); }
.wp-caption{ max-width:100%; }
.wp-caption-text, figcaption{ font-size:0.85rem; color:var(--sage); margin-top:8px; }
.sticky{ position:relative; }

/* --- editorial content (blog posts, non-Elementor pages) --- */
.entry-content{ max-width:760px; }
.entry-content > * + *{ margin-top:20px; }
.entry-content p, .entry-content li{ color:var(--ink-soft); }
.entry-content h2{ font-size:1.7rem; margin-top:44px; }
.entry-content h3{ font-size:1.3rem; margin-top:32px; }
.entry-content ul, .entry-content ol{ padding-left:22px; list-style:disc; }
.entry-content ol{ list-style:decimal; }
.entry-content li{ margin-bottom:8px; }
.entry-content a{ color:var(--forest); font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.entry-content a:hover{ color:var(--lime-dark); }
.entry-content blockquote{
  border-left:3px solid var(--lime); padding:6px 0 6px 22px; font-family:var(--font-display);
  font-style:italic; font-size:1.15rem; color:var(--forest-dark);
}
.entry-content img{ border-radius:var(--radius-m); }
.entry-content table{ width:100%; border-collapse:collapse; }
.entry-content th, .entry-content td{ border:1px solid var(--line); padding:10px 12px; text-align:left; }
.entry-content code, .entry-content pre{ background:var(--cream); border-radius:var(--radius-s); padding:2px 6px; font-size:0.92rem; }
.entry-content pre{ padding:18px; overflow-x:auto; }

.entry-meta{ font-size:0.86rem; color:var(--sage); font-weight:600; margin-top:12px; }

/* --- archive / blog grid --- */
.post-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
@media (max-width:920px){ .post-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .post-grid{ grid-template-columns:1fr; } }
.post-card{
  border:1px solid var(--line); border-radius:var(--radius-m); overflow:hidden; background:var(--white);
  display:flex; flex-direction:column; transition:box-shadow .2s ease, transform .2s ease;
}
.post-card:hover{ box-shadow:var(--shadow); transform:translateY(-4px); }
.post-card .thumb img{ width:100%; height:200px; object-fit:cover; }
.post-card .body{ padding:24px; display:flex; flex-direction:column; gap:10px; flex:1; }
.post-card h2{ font-size:1.2rem; }
.post-card p{ color:var(--ink-soft); font-size:0.95rem; }
.post-card .more{ margin-top:auto; font-weight:700; font-size:0.9rem; color:var(--forest); }

/* --- pagination --- */
.sif-pagination{ margin-top:48px; display:flex; gap:8px; flex-wrap:wrap; }
.sif-pagination .page-numbers{
  display:inline-flex; align-items:center; justify-content:center; min-width:42px; height:42px; padding:0 12px;
  border:1px solid var(--line); border-radius:var(--radius-s); font-weight:700; color:var(--forest-dark);
}
.sif-pagination .page-numbers.current,
.sif-pagination .page-numbers:hover{ background:var(--forest); border-color:var(--forest); color:var(--white); }

/* --- comments --- */
.comment-list{ list-style:none; }
.comment-list li{ padding:22px 0; border-bottom:1px solid var(--line); }
.comment-author{ font-weight:700; color:var(--forest-dark); }
.comment-meta{ font-size:0.82rem; color:var(--sage); }
.comment-respond{ margin-top:40px; }

/* --- widgets (footer / sidebar areas) --- */
.sif-widget-area .widget + .widget{ margin-top:28px; }
.sif-widget-area .widget-title{
  font-family:var(--font-body); font-size:0.85rem; font-weight:700; letter-spacing:0.04em;
  color:var(--white); margin-bottom:16px;
}
.sif-widget-area ul{ display:flex; flex-direction:column; gap:10px; }
.sif-widget-area a{ color:rgba(255,255,255,0.72); font-size:0.94rem; }
.sif-widget-area a:hover{ color:var(--lime); }

/* --- Elementor: let the theme's design system flow into Elementor widgets --- */
.elementor-widget-heading .elementor-heading-title{ font-family:var(--font-display); color:var(--forest-dark); }
.elementor-button{ border-radius:999px; font-weight:700; }
.elementor-page .site-content-inner{ max-width:none; padding:0; }
.elementor-section.elementor-section-boxed > .elementor-container{ max-width:var(--maxw); }
/* Stop Elementor's default container padding fighting the theme's .wrap padding */
.sif-elementor-full .wrap{ max-width:none; padding:0; }

/* --- 404 / search --- */
.sif-blank{ padding:120px 0; text-align:center; }
.sif-blank h1{ font-size:clamp(2rem,4vw,3rem); }
.sif-blank p{ color:var(--ink-soft); margin:16px auto 30px; max-width:48ch; }
.sif-search-form{ display:flex; gap:10px; max-width:440px; margin:0 auto; }
.sif-search-form input[type="search"]{
  flex:1; padding:13px 14px; border:1.5px solid var(--line); border-radius:var(--radius-s); font-family:inherit; font-size:0.96rem;
}
.sif-search-form input[type="search"]:focus{ border-color:var(--forest); outline:none; }

/* --- form feedback (shortcode forms) --- */
.form-error{
  background:#fdecec; border:1px solid #e0a3a3; border-radius:var(--radius-s); padding:16px;
  margin-bottom:16px; font-weight:600; color:#8a2a2a;
}

/* --- Elementor native widgets: inherit the SIF type scale --- */
.elementor-widget-text-editor{ color:var(--ink-soft); font-size:1rem; }
.elementor-widget-text-editor p{ margin:0; }
.elementor-widget-text-editor p + p{ margin-top:16px; }
.elementor-widget-text-editor .lead{ font-size:1.08rem; }
.elementor-widget-text-editor .eyebrow{ display:block; margin-bottom:12px; }
.elementor-widget-heading .elementor-heading-title{ line-height:1.12; letter-spacing:-0.01em; }
.elementor-widget-image img{ border-radius:var(--radius-m); }
/* Dark sections: flip native widget colours */
.sif-on-dark .elementor-widget-heading .elementor-heading-title{ color:var(--white); }
.sif-on-dark .elementor-widget-text-editor{ color:rgba(255,255,255,0.8); }
