/* ==========================================================================
   Willow Path Psychology — base stylesheet
   Palette sampled from desig-refrence/home.png: navy #2d3c51 / teals #0c5462,
   #338885, #164d54
   ========================================================================== */

:root {
    /* Sampled directly from the client's reference mockup (desig-refrence/home.png) */
    --navy: #2d3c51;       /* topbar / dark section / footer bg */
    --navy-light: #1e2a44; /* feature-bar block 1, brand mark */
    --teal: #0c5462;       /* primary buttons, feature-bar block 2 */
    --teal-light: #338885; /* hover states, feature-bar block 3 */
    --teal-deep: #164d54;  /* feature-bar block 4 */
    --accent: #4b8394;
    --bg: #f7f8f7;
    --text: #26313f;
    --text-muted: #5b6b7a;
    --border: #e2e6e9;
    --radius: 8px;
    --shadow: 0 4px 16px rgba(22, 40, 63, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* Unsized inline <svg> defaults to the replaced-element fallback size (300x150px) —
   this single rule is what keeps every icon() call from needing its own width/height. */
svg { width: 1em; height: 1em; vertical-align: middle; flex-shrink: 0; }

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-light); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--accent); color: #fff; }

.section { padding: 72px 0; }
.section-alt { background: var(--navy); color: #fff; }
.section-title {
    text-align: center;
    font-size: 2rem;
    margin: 0 0 12px;
    color: var(--navy);
}
.section-alt .section-title { color: #fff; }
.section-subtitle {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 48px;
    color: var(--text-muted);
}
.section-alt .section-subtitle { color: #cdd8e0; }

/* ---- Breadcrumb bar (Home > Section > Page) — toggle/label in Admin > Breadcrumbs ---- */
.nd-breadcrumb-bar { background: var(--bg); border-bottom: 1px solid var(--border); }
.nd-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 10px 0; font-size: 0.85rem; }
.nd-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.nd-breadcrumb a:hover { color: var(--teal); text-decoration: underline; }
.nd-breadcrumb span { color: var(--text); font-weight: 600; }
.nd-breadcrumb svg { width: 14px; height: 14px; color: var(--text-muted); opacity: 0.6; flex-shrink: 0; }

/* ---- Top bar ---- */
.topbar {
    background: var(--navy);
    color: #d8e2ea;
    font-size: 0.85rem;
}
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-cta {
    background: var(--teal);
    color: #fff;
    padding: 6px 16px;
    border-radius: 3px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.topbar-cta:hover { background: var(--teal-light); }

/* ---- Navbar ---- */
.navbar {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
    flex-shrink: 0;
}
.brand-mark {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}
.nav-links a {
    font-weight: 500;
    color: var(--text);
    font-size: 0.88rem;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal); border-bottom-color: var(--teal); }
/* .nav-links a's own color rule (class+element, more specific than a plain
   .btn-primary class selector) was winning over the button's white text —
   dark text on a dark teal button, nearly invisible. Also gave the button a
   bit more visual weight (shadow + lift on hover) so it reads as the page's
   primary call-to-action, not just another nav link. */
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover {
    color: #fff;
    border-bottom: none;
    box-shadow: 0 2px 8px rgba(12, 84, 98, 0.35);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.nav-cta {
    margin-left: 8px;
    flex-shrink: 0;
    white-space: nowrap;
}
.nav-cta:hover { box-shadow: 0 4px 12px rgba(12, 84, 98, 0.45); transform: translateY(-1px); }

/* ---- Nav dropdowns (How I Can Help / Therapy & Services / Locations) ---- */
.nav-dropdown { position: relative; flex-shrink: 0; }
.nav-dropdown-toggle {
    display: flex; align-items: center; gap: 6px;
    background: none; border: none; cursor: pointer;
    font-family: inherit; font-weight: 500; font-size: 0.88rem;
    color: var(--text); padding: 4px 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}
.nav-dropdown-toggle svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active { color: var(--teal); border-bottom-color: var(--teal); }
.nav-dropdown-menu {
    position: absolute;
    top: 100%; left: 0;
    background: #fff;
    border-radius: 6px;
    box-shadow: var(--shadow);
    min-width: 200px;
    padding: 8px;
    display: none;
    flex-direction: column;
    z-index: 200;
}
.nav-dropdown-menu a {
    padding: 10px 12px !important;
    border-radius: 4px;
    border-bottom: none !important;
    font-size: 0.9rem !important;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active { background: var(--bg); color: var(--teal) !important; }
.nav-dropdown.open .nav-dropdown-menu { display: flex; }
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
@media (min-width: 1101px) {
    .nav-dropdown:hover .nav-dropdown-menu { display: flex; }
}
@media (max-width: 1100px) {
    .nav-dropdown-menu { position: static; box-shadow: none; padding-left: 12px; }
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--navy);
    cursor: pointer;
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(100deg, rgba(30,42,68,0.88) 0%, rgba(30,42,68,0.45) 45%, rgba(12,84,98,0.35) 100%),
        linear-gradient(200deg, #7fae6b 0%, #5c9a72 35%, #3f8482 70%, #2d6470 100%);
    color: #fff;
}
.hero-photo { background-size: cover; background-position: center; }
.hero-content { max-width: 560px; }
.hero-content h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin: 0 0 16px;
}
.hero-content p {
    font-size: 1.1rem;
    color: #eef3f1;
    margin-bottom: 28px;
}

/* ---- Hero slider (rotating hero with per-slide headline/subtext/CTA) ---- */
.hero-slider { padding: 0; overflow: hidden; }
.hero-slider .slider-track { min-height: 480px; }
.hero-slider .slide {
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}
.hero-slider .slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(30,42,68,0.88) 0%, rgba(30,42,68,0.45) 45%, rgba(12,84,98,0.35) 100%);
    z-index: 0;
}
.hero-slider .slide .container { position: relative; z-index: 1; }
.hero-slider .slide.active { animation: heroKenBurns 7s ease-out forwards; transform-origin: center; }
@keyframes heroKenBurns {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}
.hero-slider .slider-arrow { background: rgba(255,255,255,0.18); color: #fff; }
.hero-slider .slider-arrow:hover { background: rgba(255,255,255,0.32); }
@media (prefers-reduced-motion: reduce) {
    .hero-slider .slide.active { animation: none; }
}

/* ---- Feature bar ----
   This is admin-editable (Admin > Feature Bar) so the item count isn't
   fixed at 4 — a rigid repeat(4, 1fr) grid left a large empty gap on the
   row whenever a 5th item wrapped onto it alone. auto-fit lets whatever
   number of items there are share the row evenly, and re-wraps cleanly
   with no leftover empty cells no matter how many an admin adds/removes. */
.feature-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.feature-item {
    background: var(--navy-light);
    color: #fff;
    padding: 28px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.feature-item:nth-child(4n+1) { background: var(--navy-light); }
.feature-item:nth-child(4n+2) { background: var(--teal); }
.feature-item:nth-child(4n+3) { background: var(--teal-light); }
.feature-item:nth-child(4n+4) { background: var(--teal-deep); }
.feature-item svg { width: 30px; height: 30px; }

/* ---- Services (intro column + card row, per reference) ---- */
.services-split {
    display: grid;
    grid-template-columns: 0.85fr 2fr;
    gap: 40px;
    align-items: start;
}
.services-intro h3 { font-size: 1.5rem; color: var(--navy); margin-top: 0; }
.services-intro p { color: var(--text-muted); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: left;
}
.service-photo {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--navy-light), var(--teal-light));
}
.service-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: 24px; }

/* Horizontal service row (services.php couples/corporate detail cards) */
.service-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.service-row .service-photo { border-radius: var(--radius); overflow: hidden; }
.service-row-body { padding: 24px 24px 24px 0; }
@media (max-width: 680px) {
    .service-row { grid-template-columns: 1fr; }
    .service-row-body { padding: 0 20px 20px; }
}
.service-card .icon-badge {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(47,122,120,0.1);
    color: var(--teal);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.service-card .icon-badge svg { width: 26px; height: 26px; }
.service-card h3 { margin: 0 0 10px; color: var(--navy); }
.service-card p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.95rem; }

/* ---- Approach + Modalities (merged 3-col band, per reference) ---- */
.approach-modalities-grid {
    display: grid;
    grid-template-columns: 0.8fr 1fr 1.1fr;
    gap: 40px;
    align-items: start;
}
.approach-photo {
    aspect-ratio: 3/4;
    border-radius: var(--radius);
    background: linear-gradient(160deg, #2d4a6b, #338885);
    overflow: hidden;
}
.approach-photo img { width: 100%; height: 100%; object-fit: cover; }
.approach-text h2 { font-size: 1.6rem; margin-top: 0; }
.approach-text p { color: #cdd8e0; font-size: 0.95rem; }

/* Mini icon-feature row (Our Approach intro, per ourapproch.png) */
.mini-features { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.mini-feature { display: flex; align-items: flex-start; gap: 14px; }
.mini-feature svg { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.mini-feature h4 { margin: 0 0 4px; color: #fff; font-size: 0.95rem; }
.mini-feature p { margin: 0; font-size: 0.85rem; color: #cdd8e0; }
@media (min-width: 700px) {
    .mini-features { flex-direction: row; gap: 24px; }
    .mini-feature { flex-direction: column; }
}

/* Standalone use on approach.php (photo + text only, no modalities column) */
.approach-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
}

/* ---- Modalities ---- */
.modalities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.modality-item {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 16px;
}
.modality-item h4 { margin: 0 0 6px; color: var(--accent); font-size: 1rem; }
.modality-item p { margin: 0; font-size: 0.85rem; color: #cdd8e0; }

/* Modalities used full-width (approach.php / modalities.php) get more breathing room.
   .modalities-full is applied directly on the .modalities-grid element itself. */
.modalities-grid.modalities-full { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.modalities-grid.modalities-full .modality-item { padding: 20px; }
.modalities-grid.modalities-full .modality-item p { font-size: 0.9rem; }
@media (max-width: 900px) {
    .modalities-grid.modalities-full { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Team + FAQ (merged 2-col band, per reference) ---- */
.team-faq-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: start;
}
.team-faq-grid .section-title,
.team-faq-grid .section-subtitle { text-align: left; margin: 0 0 24px; }
.team-faq-grid .faq-list { max-width: none; }

/* ---- Team ---- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.team-faq-grid .team-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team-faq-grid .team-photo { width: 90px; height: 90px; font-size: 1.4rem; }
.team-card { text-align: center; }
.team-photo {
    position: relative;
    overflow: hidden;
    width: 130px; height: 130px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: linear-gradient(160deg, var(--teal-light), var(--navy-light));
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 2rem;
    font-weight: 700;
    border: 4px solid #fff;
    box-shadow: var(--shadow);
}
.team-photo .initial { position: relative; z-index: 0; }
.team-photo img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}
.team-card h4 { margin: 0 0 4px; color: var(--navy); }
.team-card .role { font-size: 0.85rem; color: var(--teal); font-weight: 600; margin-bottom: 4px; }
.team-card .focus { font-size: 0.85rem; color: var(--text-muted); }

/* ---- Testimonials ---- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}
.testimonial-card .quote { font-style: italic; color: var(--text); margin-bottom: 16px; }
.testimonial-card .quote svg { width: 26px; height: 26px; display: block; margin-bottom: 10px; color: var(--teal); }
.testimonial-card .attribution { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    color: var(--navy);
}
.faq-question .chevron { width: 18px; height: 18px; transition: transform 0.2s ease; color: var(--teal); }
.faq-item.open .chevron { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    padding: 0 22px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.faq-item.open .faq-answer { padding-bottom: 18px; }

/* ---- Articles ---- */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.article-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.article-photo {
    height: 160px;
    background: linear-gradient(140deg, var(--navy-light), var(--teal));
}
.article-card .body { padding: 20px; }
.article-card h4 { margin: 0 0 8px; color: var(--navy); }
.article-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 14px; }
.article-card .read-more { color: var(--teal); font-weight: 600; font-size: 0.85rem; }

/* ---- Contact page ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
}
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: #cdd8e0; padding-top: 56px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-grid-4 { grid-template-columns: 1.2fr repeat(3, 1fr); }
.footer-details h3 { color: #fff; margin-top: 0; }
.footer-details p { margin: 6px 0; font-size: 0.95rem; }
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
}
.footer-social svg { width: 18px; height: 18px; }
.footer-social a:hover { background: var(--teal); }
.footer-links h4 { color: #fff; margin: 0 0 14px; font-size: 0.95rem; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #cdd8e0; font-size: 0.88rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 0;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
    text-align: center;
    font-size: 0.82rem;
    color: #9fb0bd;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .services-grid, .team-grid, .testimonial-grid, .articles-grid,
    .modalities-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .approach-split { grid-template-columns: 1fr; }
    .feature-bar { grid-template-columns: repeat(2, 1fr); }
    .services-split, .approach-modalities-grid, .team-faq-grid { grid-template-columns: 1fr; }
    .approach-photo { aspect-ratio: 16/9; }
    .team-faq-grid .team-grid { grid-template-columns: repeat(3, 1fr); }
    .team-faq-grid .section-title, .team-faq-grid .section-subtitle { text-align: center; }
}

/* Nav collapses to a hamburger well before 680px now — with 3 dropdown
   groups (How I Can Help / Therapy & Services / Locations) plus Resources/
   FAQs/Contact/Enquire Now, the full inline bar no longer fits at typical
   laptop widths and was wrapping/overflowing instead of collapsing. */
@media (max-width: 1100px) {
    .nav-links {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 24px;
        box-shadow: var(--shadow);
        display: none;
        gap: 16px;
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
}

@media (max-width: 680px) {
    /* The tagline/hours/CTA strip wraps to 3 cramped lines above the logo
       at phone widths — drop it there so the page starts with the navbar. */
    .topbar { display: none; }
    .services-grid, .team-grid, .testimonial-grid, .articles-grid,
    .modalities-grid, .footer-grid, .feature-bar { grid-template-columns: 1fr; }
    .team-faq-grid .team-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-content h1 { font-size: 2rem; }
}

/* ==========================================================================
   Scroll-reveal + entrance animations + image slider
   Shared, reusable across any page — inert unless the classes below are used.
   ========================================================================== */

/* Scroll-triggered reveal (JS toggles .is-visible via IntersectionObserver) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible { transition-delay: 0.1s; }
.reveal-delay-2.is-visible { transition-delay: 0.2s; }
.reveal-delay-3.is-visible { transition-delay: 0.3s; }
.reveal-delay-4.is-visible { transition-delay: 0.4s; }
.reveal-delay-5.is-visible { transition-delay: 0.5s; }

/* Immediate on-load entrance (e.g. hero heading/subtext/buttons), staggered by delay class */
@keyframes fadeUpIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { opacity: 0; animation: fadeUpIn 0.85s ease forwards; }
.animate-in-delay-1 { animation-delay: 0.15s; }
.animate-in-delay-2 { animation-delay: 0.32s; }
.animate-in-delay-3 { animation-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .animate-in { opacity: 1 !important; animation: none !important; }
}

/* Image slider (auto-rotating crossfade carousel) */
.image-slider { position: relative; border-radius: 12px; overflow: hidden; }
.slider-track { position: relative; width: 100%; height: 100%; }
.image-slider .slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1s ease;
}
.image-slider .slide.active { opacity: 1; z-index: 1; }
.image-slider .slide-caption {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 20px 24px; background: linear-gradient(0deg, rgba(0,0,0,0.65), transparent);
    color: #fff; font-weight: 600; font-size: 0.95rem;
}
.slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,0.9); color: #16283f;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s ease;
}
.slider-arrow:hover { background: #fff; }
.slider-arrow svg { width: 18px; height: 18px; }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.slider-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.55); border: none; cursor: pointer; padding: 0; }
.slider-dot.active { background: #fff; }

/* Long-form content pages (concern/location/service pages ported from
   docs/content.docx) — one shared prose style so 20+ pages stay consistent
   without hand-styling each one. See app/views/content-page-template.php. */
.content-body { max-width: 760px; margin: 0 auto; }
.content-body h2 { color: var(--navy); font-size: 1.5rem; margin: 40px 0 16px; }
.content-body h2:first-child { margin-top: 0; }
.content-body h3 { color: var(--navy); font-size: 1.2rem; margin: 32px 0 10px; }
.content-body h3:first-child { margin-top: 0; }
.content-body p { color: var(--text-muted); line-height: 1.7; margin: 0 0 16px; }
.content-body ul { color: var(--text-muted); line-height: 1.7; margin: 0 0 20px; padding-left: 22px; }
.content-body ul li { margin-bottom: 6px; }
.content-cta { text-align: center; margin-top: 40px; }
.content-page .hero { min-height: 220px; }

/* ---- Reusable components for long-form pages ----------------------------
   Built for the NDIS Psychology Services page, but they are plain classes:
   paste the same markup into any page's Body HTML (Admin > Content Pages).
   One accent variable drives every check-mark, chip, card edge and link —
   it follows the site's teal. To use a lime brand green instead, change the
   next line to:  --content-accent: #70B84D;  */
.content-body { --content-accent: var(--teal); }
.content-figure { margin: 0 0 32px; }
.content-figure img { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Check-mark list ("what it can help with") and the muted "not funded" variant */
.content-body .content-checklist, .content-body .content-chips { list-style: none; padding-left: 0; }
.content-body .content-checklist li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.content-checklist li::before {
    content: ""; position: absolute; left: 0; top: 0.2em;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--content-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.content-checklist--not li::before {
    background: #8a97a3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Pill row (functional-capacity areas, plan-management types) */
.content-body .content-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.content-body .content-chips li { margin: 0; padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
    color: var(--content-accent); background: rgba(12, 84, 98, 0.08); border: 1px solid rgba(12, 84, 98, 0.22); }

/* In-text links inside body paragraphs */
.content-body p a { color: var(--content-accent); font-weight: 600; text-decoration: underline; }
.content-body .content-cta-band a.btn { text-decoration: none; }

/* Location / info cards */
.content-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0 24px; }
.content-card { background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--content-accent); border-radius: var(--radius); padding: 18px 20px; }
.content-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.content-card p { margin: 0 0 4px; font-size: 0.92rem; }
.content-card a { display: inline-block; margin-top: 6px; color: var(--content-accent); font-weight: 600; font-size: 0.9rem; }

/* Call-to-action band */
.content-cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--content-accent) 100%); border-radius: var(--radius); padding: 32px; margin: 44px 0; }
.content-cta-band h2 { color: #fff; margin: 0 0 12px; }
.content-cta-band p { color: #e6eef0; }
.content-cta-band p strong { color: #fff; }
.content-cta-band .btn { background: #fff; color: var(--navy); border-color: #fff; }
.content-cta-band .btn:hover { background: #eef2f1; }

/* FAQ accordion — native <details>, no JavaScript. The question is an <h3>
   inside <summary> so it stays a real heading for SEO/accessibility. */
.content-faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; }
.content-faq summary { cursor: pointer; list-style: none; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.content-faq summary::-webkit-details-marker { display: none; }
.content-faq summary h3 { margin: 0; font-size: 1rem; }
.content-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--content-accent); flex-shrink: 0; }
.content-faq details[open] summary::after { content: "\2013"; }
.content-faq details[open] summary { border-bottom: 1px solid var(--border); }
.content-faq details p { padding: 14px 18px 2px; margin: 0 0 12px; }
@media (max-width: 600px) {
    .content-cards { grid-template-columns: 1fr; }
    .content-cta-band { padding: 24px 20px; }
}
