/* ============================================
   FFW Homepage Styles
   Extracted from Snippet 7 (Phase 2 consolidation)
   Loaded only on homepage (page ID 3550)
   ============================================ */

  /* ============================================
     2d) HOMEPAGE OVERRIDES
     ============================================ */

  /* Homepage: show header + nav */
  .page-id-3550 .nav-primary {
    display: flex !important;
  }

  /* Homepage: full-width sections need NO container constraint */
  .page-id-3550 .site-inner,
  .page-id-3550 .content-sidebar-wrap,
  .page-id-3550 .content,
  .page-id-3550 .entry,
  .page-id-3550 .entry-content,
  .page-id-3550 article {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    float: none !important;
    box-sizing: border-box !important;
  }

  /* Homepage sections must stretch full viewport */
  .page-id-3550 .sov-hero,
  .page-id-3550 .sov-newsletter,
  .page-id-3550 .sov-capabilities,
  .page-id-3550 .sov-reading,
  .page-id-3550 .sov-bio,
  .page-id-3550 .sov-footer {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: relative;
    left: 0;
  }

  /* Homepage footer still hidden (has its own .sov-footer) */
  .page-id-3550 .site-footer:not(.sov-footer) {
    display: none !important;
  }


  /* ============================================
     3) HOMEPAGE SECTIONS (Full-Width Backgrounds)
     ============================================

     Pattern: Outer wrapper = full width + background
              Inner wrapper = constrained to --ffw-container-max

     ============================================ */

  /* --- Section Outer Wrappers (Full-Width) --- */
  .sov-hero,
  .sov-newsletter,
  .sov-capabilities,
  .sov-reading,
  .sov-bio,
  .sov-footer {
    width: 100%;
    box-sizing: border-box;
  }

  /* --- Section Inner Wrappers (Constrained) --- */
  .sov-hero-inner,
  .sov-newsletter-inner,
  .sov-capabilities-inner,
  .sov-reading-inner,
  .sov-bio-inner,
  .sov-footer-inner {
    max-width: var(--ffw-container-max);
    margin: 0 auto;
    padding: 0 var(--ffw-gutter);
    box-sizing: border-box;
    width: 100%;
  }


  /* ============================================
     4) HERO SECTION
     ============================================ */

  .sov-hero {
    background: var(--ffw-primary);
    color: var(--ffw-white);
    text-align: center;
    padding: 4rem 0;
  }

  .sov-wordmark {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.9;
    margin: 0 0 1.25rem 0;
  }

  .sov-hero h1 {
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
    font-weight: 400;
    color: var(--ffw-white);
    margin: 0 0 0.75rem 0;
  }

  .sov-hero-sub {
    font-size: 1.05rem;
    opacity: 0.9;
    margin: 0;
  }


  /* ============================================
     5) NEWSLETTER CTA
     ============================================ */

  .sov-newsletter {
    background: var(--ffw-bg-warm);
    text-align: center;
    padding: 2.5rem 0;
  }

  .sov-newsletter p {
    margin: 0 0 1.25rem 0;
    font-size: 0.95rem;
  }

  .sov-form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .sov-input {
    flex: 0 1 280px;
    padding: 0.7rem 1rem;
    border: 1px solid #c5c5c5;
    border-radius: 4px;
    font-size: 0.95rem;
    background: var(--ffw-white);
  }

  .sov-input:focus {
    outline: none;
    border-color: var(--ffw-primary);
  }

  .sov-btn {
    background: var(--ffw-primary);
    color: var(--ffw-white);
    border: none;
    padding: 0.7rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
  }

  .sov-btn:hover {
    background: var(--ffw-primary-dark);
  }


  /* ============================================
     6) "WHAT YOU CAN DO HERE" – 2×2 GRID
     ============================================ */

  .sov-capabilities {
    background: var(--ffw-white);
    padding: var(--ffw-section-pad) 0;
  }

  /* Grid container */
  .sov-capabilities-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--ffw-gap);
  }

  /* Section label spans full width */
  .sov-section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ffw-text-muted);
    margin: 0 0 1rem 0;
  }

  .sov-capabilities .sov-section-label {
    grid-column: 1 / -1;
  }

  /* Desktop: 2×2 grid */
  @media (min-width: 780px) {
    .sov-capabilities-inner {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.75rem;
    }
  }

  /* Individual capability cards */
  .sov-capability {
    background: var(--ffw-bg-cream);
    border: 1px solid var(--ffw-divider);
    border-radius: var(--ffw-card-radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
  }

  .sov-capability h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.6rem 0;
  }

  .sov-capability-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0 0 0.6rem 0;
  }

  .sov-capability-tools {
    font-size: 0.8rem;
    color: var(--ffw-text-muted);
    margin: 0 0 0.4rem 0;
  }

  .sov-capability-tools strong {
    font-weight: 600;
    color: var(--ffw-text);
  }

  .sov-capability-outcome {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--ffw-text-muted);
    margin: 0;
  }

  /* CTA – aligned to bottom of card */
  .sov-capability-cta {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--ffw-divider);
  }

  .sov-capability-cta .sov-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ffw-primary);
  }

  .sov-capability-cta .sov-link:hover {
    text-decoration: underline;
  }


  /* ============================================
     7) "WORTH YOUR TIME" – EDITORIAL LIST
     ============================================ */

  .sov-reading {
    background: var(--ffw-bg-warm);
    padding: var(--ffw-section-pad) 0;
  }

  .sov-reading .sov-section-label {
    margin-bottom: 1.5rem;
  }

  .sov-reading-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  /* Each reading item */
  .sov-reading-row {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--ffw-divider);
    text-decoration: none;
  }

  .sov-reading-row:first-child {
    padding-top: 0;
  }

  .sov-reading-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .sov-reading-row:hover {
    text-decoration: none;
  }

  .sov-reading-title {
    font-family: Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ffw-text);
    display: block;
  }

  .sov-reading-row:hover .sov-reading-title {
    color: var(--ffw-primary);
  }

  .sov-reading-desc {
    font-size: 0.85rem;
    color: var(--ffw-text-muted);
    display: block;
    line-height: 1.45;
  }

  /* Desktop: 2-column layout */
  @media (min-width: 780px) {
    .sov-reading-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0 3rem;
    }

    .sov-reading-row {
      padding: 1rem 0;
    }

    .sov-reading-row:first-child {
      padding-top: 0;
    }
  }


  /* ============================================
     8) "I'M VERONICA" – ABOUT CAPSULE
     ============================================ */

  .sov-bio {
    background: var(--ffw-bg-cream);
    padding: var(--ffw-section-pad) 0;
  }

  .sov-bio-inner {
    background: var(--ffw-white);
    border: 1px solid var(--ffw-divider);
    border-radius: var(--ffw-card-radius);
    padding: 2.5rem;
  }

  .sov-bio-inner h3 {
    font-family: Georgia, serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin: 0 0 1rem 0;
  }

  .sov-bio-inner p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 0.85rem 0;
    max-width: 72ch;
  }

  .sov-bio-inner p:last-of-type {
    margin-bottom: 1.25rem;
  }

  .sov-bio-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ffw-primary);
  }

  .sov-bio-link:hover {
    text-decoration: underline;
  }


  /* ============================================
     9) FOOTER
     ============================================ */

  .sov-footer {
    background: var(--ffw-bg-warm);
    padding: 3.5rem 0 2rem;
    text-align: center;
  }

  .sov-footer h2 {
    font-family: Georgia, serif;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0 0 0.6rem 0;
  }

  .sov-footer-inner > p {
    font-size: 0.85rem;
    color: var(--ffw-text-muted);
    margin: 0 0 1.25rem 0;
  }

  .sov-footer .sov-btn {
    background: var(--ffw-text);
  }

  .sov-footer .sov-btn:hover {
    background: #1a1a1a;
  }

  /* Copyright – centered, aligned to container */
  .sov-copyright {
    max-width: var(--ffw-container-max);
    margin: 2.5rem auto 0;
    padding: 1.5rem var(--ffw-gutter) 0;
    border-top: 1px solid var(--ffw-divider);
    font-size: 0.75rem;
    color: var(--ffw-text-muted);
    text-align: center;
  }

  /* Hide Genesis footer credits if they appear */
  .site-footer .creds,
  .site-footer p:not(.sov-copyright) {
    display: none !important;
  }



  /* Homepage mobile (≤780px) */
  @media (max-width: 780px) {
    /* Hero */
    .sov-hero {
      padding: 3rem 0;
    }

    .sov-hero h1 {
      font-size: 1.5rem;
    }

    /* Form stacking */
    .sov-form {
      flex-direction: column;
      align-items: stretch;
    }

    .sov-input {
      flex: none;
      width: 100%;
      max-width: none;
    }

    /* Capability cards */
    .sov-capabilities-inner {
      grid-template-columns: 1fr;
    }

    .sov-capability {
      padding: 1.25rem;
    }

    /* Reading list */
    .sov-reading-list {
      grid-template-columns: 1fr;
    }

    /* Bio */
    .sov-bio-inner {
      padding: 1.5rem;
    }

    .sov-bio-inner h3 {
      font-size: 1.2rem;
    }
  }
