/*
Theme Name: Breathe-n-Smile Child Theme
Theme URI: https://breathe-n-smile.com
Description: A custom child theme for Breathe-n-Smile Psychology, designed to work with Themify Ultra.
Author: Manus AI
Author URI: https://manus.im
Template: themify-ultra
Version: 1.4.5
Text Domain: breathe-n-smile-child
*/

:root {
    --primary: #209cee;
    --primary-dark: #1a7bbd;
    --bg: #fdfbf7;
    --white: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --muted: #555555;
    --line: #e0e0e0;
    --light-blue: #e1f5fe;
    --soft-blue: #f0f8ff;
    --soft-grey: #f9f9f9;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-blue: 0 8px 25px rgba(32, 156, 238, 0.1);
    --step--1: clamp(0.9rem, 0.86rem + 0.2vw, 1rem);
    --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --step-1: clamp(1.15rem, 1.04rem + 0.55vw, 1.45rem);
    --step-2: clamp(1.45rem, 1.18rem + 1.35vw, 2.15rem);
    --step-3: clamp(1.85rem, 1.35rem + 2.5vw, 3.15rem);
    --step-4: clamp(2.25rem, 1.45rem + 4vw, 4.4rem);
}

*, *::before, *::after { box-sizing: border-box; }

img {
    max-width: 100%;
    height: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background-color: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.12;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); }

a { color: var(--primary); }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.bns-btn-primary .ui.button,
.bns-btn-primary a,
.button.primary,
.bns-btn-secondary .ui.button,
.bns-btn-secondary a,
.button.secondary {
    border-radius: 50px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    padding: 12px 25px !important;
    border: 2px solid var(--primary) !important;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block;
    text-align: center;
}

.bns-btn-primary .ui.button,
.bns-btn-primary a,
.button.primary {
    background: var(--primary) !important;
    color: var(--white) !important;
}

.bns-btn-secondary .ui.button,
.bns-btn-secondary a,
.button.secondary {
    background: transparent !important;
    color: var(--primary) !important;
}

.hero-ctas,
.cta-buttons,
.areas-content,
.journey-items {
    display: flex;
    flex-direction: column;
}

.hero-ctas { gap: 15px; }
.cta-buttons { gap: 15px; }
.areas-content { gap: 30px; }
.journey-items { gap: 25px; }

.bns-badge,
.badge,
.location-pills .pill {
    display: inline-block;
    background: var(--light-blue);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 600;
}

.bns-badge,
.badge {
    padding: 5px 15px;
    font-size: 14px;
    margin-bottom: 15px;
}

.location-pills .pill {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
}

.bns-card {
    background: var(--white) !important;
    padding: 30px !important;
    border-radius: 20px !important;
    box-shadow: var(--shadow) !important;
    transition: transform 0.3s !important;
}

.bns-card:hover { transform: translateY(-5px) !important; }

.bio-flex-container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.bio-image {
    flex: 0 0 320px;
    max-width: 100%;
    margin: 0 auto;
}

.bio-text {
    flex: 1;
    min-width: 300px;
}

#site-logo,
.site-logo {
    display: block !important;
    visibility: visible !important;
}

#site-logo img {
    max-height: 80px;
    width: auto;
}

#header #site-logo {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px !important;
    float: left !important;
}

#site-description {
    margin: 0 !important;
    display: inline-block !important;
    font-size: 14px !important;
    color: var(--text-light) !important;
    line-height: 1.2 !important;
}

.about-hero {
    background: linear-gradient(135deg, var(--bg) 0%, #f5f8fb 100%);
    padding: 60px 20px;
}

.about-hero-grid,
.areas-grid,
.neurodiversity-grid,
.journey-grid,
.cta-section .container {
    display: grid;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-hero-grid {
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.areas-grid,
.neurodiversity-grid,
.journey-grid,
.cta-section .container {
    grid-template-columns: 1fr 1fr;
}

.about-hero-image { flex-shrink: 0; }

.about-hero-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(32, 156, 238, 0.15);
    object-fit: cover;
}

.about-hero-content { max-width: 600px; }

.about-hero h1 {
    font-size: var(--step-4);
    margin: 15px 0;
    color: var(--text);
}

.about-hero .subtitle {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
    margin: 8px 0 15px;
}

.about-hero .hero-description,
.section-intro,
.neurodiversity-content p,
.journey-content > p,
.cta-content p {
    line-height: 1.8;
    color: var(--text-light);
}

.about-hero .hero-description,
.neurodiversity-content p,
.journey-content > p,
.cta-content p {
    font-size: 15px;
}

.about-hero .hero-description { color: var(--muted); margin: 15px 0 25px; }
.neurodiversity-content p { margin-bottom: 25px; }
.journey-content > p { margin-bottom: 30px; }
.cta-content p { margin-bottom: 30px; }

.location-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.approach-section,
.neurodiversity-section,
.credentials-section,
.fees-section {
    padding: 80px 20px;
    background: var(--white);
}

.areas-section,
.journey-section,
.testimonials-section,
.breadcrumb,
.fees-section.bg-light {
    background: var(--soft-grey);
}

.areas-section,
.journey-section,
.testimonials-section {
    padding: 80px 20px;
}

.approach-section h2,
.areas-section h2,
.credentials-section h2,
.testimonials-section h2,
.fees-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text);
}

.credentials-section h2 { margin-bottom: 50px; }

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 16px;
}

.section-intro a,
.fees-hero a,
.price-note a,
.session-includes a,
.assessment-note a,
.funding-card .link,
.faq-item a,
.step a,
.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.section-intro a:hover,
.fees-hero a:hover,
.price-note a:hover,
.session-includes a:hover,
.assessment-note a:hover,
.funding-card .link:hover,
.faq-item a:hover,
.step a:hover,
.breadcrumb a:hover {
    text-decoration: underline;
}

.approach-cards,
.credentials-grid,
.assessment-cards,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.funding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.approach-card,
.pricing-card,
.funding-card,
.step {
    background: var(--bg);
    border-radius: 16px;
}

.approach-card {
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.approach-card:hover,
.pricing-card:hover {
    transform: translateY(-8px);
}

.approach-card:hover { box-shadow: var(--shadow-blue); }

.approach-card .card-icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary);
}

.approach-card h3,
.pricing-card h3,
.assessment-card h3,
.funding-card h3 {
    color: var(--text);
    font-weight: 600;
}

.approach-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.approach-card p,
.area-item p,
.journey-item p,
.credential p,
.funding-card p,
.faq-item p,
.step p {
    color: var(--text-light);
    line-height: 1.6;
}

.approach-card p,
.area-item p {
    font-size: 15px;
    line-height: 1.7;
}

.area-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text);
}

.areas-image img,
.neurodiversity-image img,
.journey-image img,
.cta-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.neurodiversity-content h2,
.journey-content h2,
.cta-content h2 {
    margin-bottom: 20px;
    color: var(--text);
}

.neurodiversity-list,
.price-list,
.session-includes ul,
.assessment-list,
.funding-details {
    list-style: none;
    padding: 0;
}

.neurodiversity-list { margin: 0; }
.price-list { margin: 20px 0; }
.session-includes ul { margin: 0; }
.assessment-list { margin: 15px 0 20px; }
.funding-details { margin: 15px 0; text-align: left; }

.neurodiversity-list li,
.session-includes li,
.assessment-list li,
.funding-details li {
    position: relative;
    color: var(--text-light);
}

.neurodiversity-list li {
    padding: 12px 0 12px 30px;
    font-size: 15px;
    line-height: 1.6;
}

.session-includes li {
    padding: 10px 0 10px 30px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.assessment-list li {
    padding: 8px 0 8px 25px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.funding-details li {
    padding: 6px 0 6px 20px;
    font-size: 13px;
}

.neurodiversity-list li::before,
.session-includes li::before,
.assessment-list li::before,
.funding-details li::before {
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.neurodiversity-list li::before,
.session-includes li::before,
.assessment-list li::before {
    content: "\2713";
}

.neurodiversity-list li::before { font-size: 18px; }
.session-includes li::before { font-size: 16px; }
.funding-details li::before { content: "\2022"; }

.journey-item h4,
.credential h4,
.faq-item h4,
.step h4 {
    color: var(--text);
    font-weight: 600;
}

.journey-item h4,
.credential h4,
.faq-item h4,
.step h4 {
    font-size: 16px;
}

.journey-item h4 { margin-bottom: 8px; }
.credential h4 { margin: 0 0 10px; }
.faq-item h4 { margin-bottom: 12px; }
.step h4 { margin-bottom: 10px; }

.journey-item p,
.credential p,
.faq-item p,
.step p {
    font-size: 14px;
}

.credential,
.pricing-card,
.assessment-card,
.funding-card,
.faq-item,
.step,
.testimonial-card,
.contact-form-wrapper {
    border-radius: 12px;
}

.credential {
    background: var(--bg);
    padding: 25px;
    border-left: 4px solid var(--primary);
}

.testimonial-card,
.assessment-card,
.faq-item,
.contact-form-wrapper {
    background: var(--white);
    box-shadow: var(--shadow);
}

.testimonial-card,
.faq-item {
    padding: 30px;
}

.testimonial-stars {
    color: #ffc107;
    font-size: 16px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--soft-blue) 100%);
}

.cta-buttons .button {
    padding: 14px 30px !important;
    font-size: 16px !important;
}

.breadcrumb {
    padding: 15px 20px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.breadcrumb a { margin: 0 5px; }
.breadcrumb span { color: var(--text-light); font-weight: 600; }

.fees-hero {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--soft-blue) 100%);
    padding: 80px 20px;
    text-align: center;
}

.fees-hero h1 {
    font-size: var(--step-4);
    margin-bottom: 15px;
    color: var(--text);
}

.fees-hero p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.fees-section h2 {
    font-size: var(--step-3);
}

.pricing-card {
    padding: 40px 30px;
    border: 2px solid var(--light-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.pricing-card:hover {
    box-shadow: 0 12px 30px rgba(32, 156, 238, 0.15);
}

.pricing-card.highlight {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--soft-blue) 0%, var(--bg) 100%);
}

.pricing-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.price,
.price-range {
    font-weight: 700;
    color: var(--primary);
}

.price {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 5px;
}

.price-range {
    font-size: clamp(18px, 3vw, 24px);
    margin-bottom: 15px;
}

.price-detail {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.price-list li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}

.price-list li:last-child { border-bottom: none; }
.price-list strong { color: var(--primary); }

.price-note {
    font-size: 12px;
    color: #999999;
    margin-top: 15px;
    font-style: italic;
}

.session-includes,
.assessment-note {
    background: var(--light-blue);
    border-radius: 12px;
}

.session-includes {
    padding: 30px;
    margin: 40px auto 0;
    max-width: 800px;
}

.session-includes h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text);
}

.assessment-card {
    padding: 35px 30px;
    border-left: 4px solid var(--primary);
    transition: transform 0.3s ease;
}

.assessment-card:hover { transform: translateY(-5px); }

.assessment-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.assessment-detail {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 12px;
    text-transform: none;
    letter-spacing: 0;
}

.assessment-timeline {
    font-size: 13px;
    color: var(--text-light);
    margin: 15px 0;
    font-weight: 500;
}

.assessment-note {
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.assessment-note p {
    font-size: 14px;
    color: var(--text);
    margin: 0;
}

.assessment-note a { font-weight: 600; }

.funding-card {
    padding: 30px;
    border: 2px solid #f0f0f0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.funding-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-blue);
}

.funding-card.highlight {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--soft-blue) 100%);
    border-color: var(--primary);
}

.funding-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.funding-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.funding-highlight {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.funding-card p { font-size: 14px; margin-bottom: 15px; }

.funding-card .link {
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

.step {
    padding: 30px;
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.fees-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 20px;
    text-align: center;
}

.fees-cta h2 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: var(--step-3);
}

.fees-cta p {
    color: var(--light-blue);
    font-size: 16px;
    margin-bottom: 30px;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
}

.footer-notice {
    padding: 40px 20px;
    background: #2a2a2a;
    color: var(--white);
    text-align: center;
}

.footer-notice p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.6;
    color: #cccccc;
}

.footer-notice strong { color: var(--white); }

/* --- Breathe-n-Smile Visual Polish Layer --- */
:root {
    --section-warm: #fdfbf7;
    --section-white: #ffffff;
    --section-blue: #f0f8ff;
    --section-blue-strong: #e1f5fe;
    --card-border: #eef4f8;
    --card-shadow-soft: 0 6px 20px rgba(32, 156, 238, 0.06);
    --card-shadow-hover: 0 12px 28px rgba(32, 156, 238, 0.12);
}

body {
    background: var(--section-warm);
}

.bns-soft-section,
.section-soft {
    background: var(--section-warm) !important;
}

.bns-white-section,
.section-white {
    background: var(--section-white) !important;
}

.bns-blue-section,
.section-blue {
    background: linear-gradient(135deg, var(--section-blue-strong) 0%, var(--section-blue) 100%) !important;
}

.about-hero,
.fees-hero,
.cta-section,
.fees-cta-soft,
.bns-soft-cta {
    background: linear-gradient(135deg, var(--section-blue-strong) 0%, var(--section-blue) 100%) !important;
}

.approach-section,
.credentials-section,
.fees-section,
.bns-content-section {
    background: var(--section-white);
}

.areas-section,
.journey-section,
.testimonials-section,
.fees-section.bg-light,
.bns-support-section {
    background: var(--section-warm);
}

.bns-card,
.approach-card,
.pricing-card,
.assessment-card,
.funding-card,
.faq-item,
.step,
.credential,
.testimonial-card,
.contact-form-wrapper,
.bns-polished-card {
    border: 1px solid var(--card-border) !important;
    box-shadow: var(--card-shadow-soft) !important;
}

.bns-card:hover,
.approach-card:hover,
.pricing-card:hover,
.assessment-card:hover,
.funding-card:hover,
.bns-polished-card:hover {
    box-shadow: var(--card-shadow-hover) !important;
}

.bns-image-panel img,
.areas-image img,
.neurodiversity-image img,
.journey-image img,
.cta-image img,
.about-hero-image img {
    box-shadow: 0 10px 28px rgba(32, 156, 238, 0.1);
}

.bns-hero-with-image {
    position: relative;
    background-position: center;
    background-size: cover;
}

.bns-hero-with-image::before {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(255, 255, 255, 0.86);
}

.bns-hero-with-image > * {
    position: relative;
    z-index: 1;
}

.bns-privacy-note,
.bns-soft-note {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.65;
}

@media (min-width: 768px) {
    .hero-ctas { flex-direction: row; }
}

@media (max-width: 1024px) {
    .about-hero-grid {
        grid-template-columns: 250px 1fr;
        gap: 30px;
    }

    .about-hero-image img { max-width: 250px; }
}

@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .bio-flex-container,
    .bio-text h2 {
        text-align: center !important;
    }

    .about-hero,
    .fees-section,
    .fees-hero {
        padding: 40px 20px;
    }

    .approach-section,
    .areas-section,
    .neurodiversity-section,
    .journey-section,
    .credentials-section,
    .testimonials-section,
    .cta-section {
        padding: 60px 20px;
    }

    .about-hero-grid,
    .areas-grid,
    .neurodiversity-grid,
    .journey-grid,
    .cta-section .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-hero-grid {
        gap: 25px;
        align-items: flex-start;
    }

    .about-hero-image {
        max-width: 280px;
        margin: 0 auto;
    }

    .about-hero-image img { max-width: 280px; }

    .location-pills { flex-direction: column; }

    .location-pills .pill,
    .cta-buttons,
    .cta-buttons .button {
        width: 100%;
    }

    .location-pills .pill,
    .cta-buttons .button {
        text-align: center;
    }

    .approach-cards,
    .pricing-cards,
    .assessment-cards,
    .funding-grid,
    .faq-grid,
    .steps {
        gap: 20px;
    }

    .pricing-card { padding: 20px !important; }
    .pricing-card h4 { font-size: 16px; }

    .breadcrumb { font-size: 12px; }
    .breadcrumb a,
    .breadcrumb span {
        margin: 0 3px;
    }
}

@media (max-width: 480px) {
    h1, h2, h3, h4, h5, h6 {
        hyphens: auto;
    }

    #header #site-logo {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 5px !important;
    }

    .about-hero,
    .fees-section,
    .fees-hero {
        padding: 30px 16px;
    }

    .about-hero-image img { max-width: 220px; }

    .pricing-card,
    .assessment-card,
    .funding-card,
    .faq-item {
        padding: 25px 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}


/* Global FAQ buttons: prevent Themify's black hover style */
button[class*="faq-button"]:hover,
button[class*="faq-button"]:focus {
    background-color: var(--white, #ffffff) !important;
    color: var(--text, #333333) !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Keep an opened FAQ visually highlighted */
button[class*="faq-button"][aria-expanded="true"],
button[class*="faq-button"][aria-expanded="true"]:hover,
button[class*="faq-button"][aria-expanded="true"]:focus {
    background-color: var(--light-blue, #e1f5fe) !important;
    color: var(--primary, #209cee) !important;
}

/* Accessible keyboard focus */
button[class*="faq-button"]:focus-visible {
    outline: 3px solid rgba(32, 156, 238, 0.38);
    outline-offset: 2px;
}

/* ============================================
   MERGED FROM WORDPRESS ADDITIONAL CSS
   Move these rules here, then clear the Additional CSS box to avoid duplicates.
   ============================================ */

/* ============================================
   GLOBAL PAGE CLEANUP
   ============================================ */

/* Hide default WordPress/Themify page title when the page body has its own H1. */
body.page .page-title,
body.page .entry-title,
body.page h1.page-title,
body.page h1.entry-title {
  display: none !important;
}

/* Make standard pages use the full content width instead of a sidebar layout.
   Keep this if your pages are built with custom sections and do not need a sidebar. */
body.page:not(.home) #sidebar,
body.page:not(.home) .sidebar,
body.page:not(.home) aside#sidebar {
  display: none !important;
}

body.page:not(.home) #content,
body.page:not(.home) .content,
body.page:not(.home) .themify_builder_content {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
}

body.page:not(.home) #layout {
  width: 100% !important;
  max-width: none !important;
}

/* ============================================
   HEADER / TOP BAR
   ============================================ */

/* Keep the header compact: logo + practice name, no visible tagline. */
#site-description {
  display: none !important;
}

#header #site-logo,
#site-logo,
.site-logo {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  visibility: visible !important;
}

#site-logo a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: var(--primary, #209cee) !important;
	font-family: "Poppins", sans-serif !important;
  font-size: clamp(16px, 1.7vw, 20px) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

#site-logo a::after {
  content: "Breathe-n-Smile Psychology";
}

#site-logo img {
  width: 48px !important;
  height: 48px !important;
  max-height: 48px !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}

@media (max-width: 420px) {
  #site-logo a::after {
    content: "Breathe-n-Smile";
  }

  #site-logo img {
    width: 42px !important;
    height: 42px !important;
    max-height: 42px !important;
  }
}

#footer .site-logo,
#footer #site-logo,
#footer .footer-logo,
#footer-logo,
.footer-logo {
  font-family: "Poppins", Arial, sans-serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: #209cee !important;
  letter-spacing: 0 !important;
}

#footer .site-logo a,
#footer #site-logo a,
#footer .footer-logo a,
#footer-logo a,
.footer-logo a {
  font-family: "Poppins", Arial, sans-serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: #26323b !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
}

.bns-footer-details {
  width: min(100%, 900px);
  margin: 18px auto 0;
  padding: 0 20px;
  color: #666666;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  text-align: center;
}

.bns-footer-details p {
  margin: 0;
}

.bns-footer-details p + p {
  margin-top: 6px;
}

.bns-footer-details a {
  color: var(--primary-dark, #1a7bbd);
  font-weight: 600;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.bns-footer-details a:hover {
  color: var(--primary, #209cee);
}

.bns-footer-details a:focus-visible {
  border-radius: 3px;
  outline: 3px solid rgba(32, 156, 238, 0.35);
  outline-offset: 3px;
}

@media (max-width: 680px) {
  .bns-footer-details {
    margin-top: 14px;
    padding: 0 12px;
    font-size: 14px;
  }

  .bns-footer-details .bns-footer-separator {
    display: none;
  }

  .bns-footer-details .bns-footer-contact-link {
    display: block;
  }
}

/* ============================================
   BLOG POST SPECIFIC STYLES
   ============================================ */

/* Centre Themify post headers without affecting WordPress pages. */
body.single-post.single-fullwidth-layout .featured-area .post-content {
  width: min(100%, 1180px);
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
}

body.single-post.single-fullwidth-layout .featured-area .post-title,
body.single-post.single-fullwidth-layout .featured-area .post-meta {
  text-align: center;
}

/*
 * If a post supplies its own H1 inside the main entry content, hide the
 * Themify/WordPress post title. Posts without an entry-content H1 continue
 * to use the centred WordPress post title above.
 */
body.single-post:has(#content .entry-content h1) .featured-area .post-title {
  display: none;
}

/* TL;DR Summary Box (answer-first SEO) */
.post-tldr-box {
  background: var(--light-blue, #e1f5fe);
  padding: 25px 30px;
  border-left: 5px solid var(--primary, #209cee);
  border-radius: 12px;
  margin: 15px 0 35px;
  box-shadow: var(--shadow, 0 4px 15px rgba(0, 0, 0, 0.05));
}

.post-tldr-box strong {
  color: var(--primary-dark, #1a7bbd);
  font-size: 1.1em;
}

/* Author Bio Box */
.post-author-box {
  background: var(--bg, #fdfbf7);
  border: 1px solid var(--line, #e0e0e0);
  padding: 25px;
  border-radius: 12px;
  display: flex;
  gap: 22px;
  align-items: center;
  margin: 0 0 35px;
}

.post-author-box img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  object-fit: cover;
  box-shadow: var(--shadow, 0 4px 15px rgba(0, 0, 0, 0.05));
  flex: 0 0 auto;
}

.post-author-box p {
  margin: 0;
  font-size: 14px;
  color: var(--text-light, #666666);
  line-height: 1.65;
}

.post-author-box h4 {
  margin: 0 0 5px;
  font-size: 18px;
}

@media (max-width: 560px) {
  .post-author-box {
    align-items: flex-start;
    padding: 20px;
  }

  .post-author-box img {
    width: 64px;
    height: 64px;
  }
}

/* Clinical note box, only used when a post explicitly includes it. */
.post-disclaimer {
  background: var(--soft-grey, #f9f9f9);
  padding: 20px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-light, #666666);
  font-style: italic;
  border: 1px solid #f0f0f0;
  margin-top: 40px;
}

/* Clean up list spacing in posts. */
.single-post .entry-content ul,
.single-post .entry-content ol {
  margin-bottom: 30px;
}

.single-post .entry-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}


/* Global Back To Top button - bottom right */
.bns-back-to-top {
    position: fixed !important;
    right: 16px !important;
    left: auto !important;
    bottom: calc(18px + env(safe-area-inset-bottom)) !important;
    z-index: 9998 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border: 2px solid #209cee !important;
    border-radius: 999px !important;
    background: #209cee !important;
    color: #ffffff !important;
    box-shadow: 0 10px 28px rgba(32, 156, 238, 0.24) !important;
    font-family: Arial, sans-serif !important;
    font-size: 23px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
}

.bns-back-to-top.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.bns-back-to-top:hover,
.bns-back-to-top:focus {
    background: #1a7bbd !important;
    color: #ffffff !important;
    outline: 3px solid rgba(32, 156, 238, 0.24) !important;
    outline-offset: 3px !important;
}

@media (max-width: 768px) {
    .bns-back-to-top {
        right: 14px !important;
        left: auto !important;
        bottom: calc(16px + env(safe-area-inset-bottom)) !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 22px !important;
    }
}
/* ============================================
   REUSABLE PAGE OPENING
   ============================================ */

.bns-page-opening {
    max-width: 820px;
    margin: 18px 0 24px;
    padding: 16px 18px;
    border-left: 4px solid #f2b36d;
    border-radius: 0 12px 12px 0;
    background: #fff8ee;
    color: var(--text, #333333);
    font-size: clamp(17px, 2.4vw, 20px);
    line-height: 1.65;
    font-weight: 500;
    box-shadow: 0 8px 22px rgba(120, 85, 40, 0.06);
}

.bns-page-opening strong {
    color: #8a5a20;
    font-weight: 700;
}

@media (max-width: 768px) {
    .bns-page-opening {
        margin: 16px 0 22px;
        padding: 14px 16px;
        font-size: 17px;
        line-height: 1.6;
    }
}


/* ============================================
   REUSABLE SECTION BACKGROUNDS
   ============================================ */

.bns-section {
    padding: 72px 20px;
    background: #ffffff;
}

.bns-section-soft {
    padding: 72px 20px;
    background: #f0f8ff;
}

.bns-section-warm {
    padding: 72px 20px;
    background: #fff8ee;
}

.bns-section-muted {
    padding: 72px 20px;
    background: #f8f9fb;
}

.bns-section-blue {
    padding: 72px 20px;
    background: #e1f5fe;
}

.bns-section-cta {
    padding: 72px 20px;
    background: linear-gradient(135deg, #e1f5fe 0%, #ffffff 100%);
}

.bns-section .container,
.bns-section-soft .container,
.bns-section-warm .container,
.bns-section-muted .container,
.bns-section-blue .container,
.bns-section-cta .container {
    max-width: 1180px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .bns-section,
    .bns-section-soft,
    .bns-section-warm,
    .bns-section-muted,
    .bns-section-blue,
    .bns-section-cta {
        padding: 52px 18px;
    }
}

@media (max-width: 480px) {
    .bns-section,
    .bns-section-soft,
    .bns-section-warm,
    .bns-section-muted,
    .bns-section-blue,
    .bns-section-cta {
        padding: 42px 16px;
    }
}

/* ============================================
   MOBILE HEADING SIZE FIX
   Added conservatively: only adjusts H1/H2 scale
   on mobile so hero titles feel less oversized.
   ============================================ */

@media (max-width: 768px) {
    h1,
    .about-hero h1,
    .fees-hero h1,
    .bns-home-hero h1,
    .bns-page-hero h1,
    .bns-ndis-hero h1,
    .bns-funded-hero h1 {
        font-size: clamp(30px, 8vw, 42px) !important;
        line-height: 1.14 !important;
    }

    h2,
    .bns-home-section h2,
    .bns-page-hero h2,
    .bns-section h2,
    .bns-section-soft h2,
    .bns-section-warm h2,
    .bns-section-muted h2,
    .bns-section-blue h2,
    .bns-section-cta h2 {
        font-size: clamp(24px, 6vw, 34px) !important;
        line-height: 1.18 !important;
    }
}

@media (max-width: 480px) {
    h1,
    .about-hero h1,
    .fees-hero h1,
    .bns-home-hero h1,
    .bns-page-hero h1,
    .bns-ndis-hero h1,
    .bns-funded-hero h1 {
        font-size: clamp(28px, 8.2vw, 38px) !important;
        line-height: 1.15 !important;
    }

    h2,
    .bns-home-section h2,
    .bns-page-hero h2,
    .bns-section h2,
    .bns-section-soft h2,
    .bns-section-warm h2,
    .bns-section-muted h2,
    .bns-section-blue h2,
    .bns-section-cta h2 {
        font-size: clamp(22px, 6.4vw, 30px) !important;
        line-height: 1.2 !important;
    }
}

/* ============================================
   GLOBAL TEXT CASE FIX
   Keep labels, pills, FAQ buttons and small headings readable.
   This prevents theme/page CSS from forcing all-caps styling.
   Note: if text is typed in ALL CAPS inside the page HTML, change
   the text itself to title/sentence case in that page.
   ============================================ */

.bns-badge,
.badge,
.location-pills .pill,
.assessment-detail,
.assessment-timeline,
.bns-page-kicker,
.bns-kicker,
.bns-label,
.bns-pill,
.bns-chip,
.bns-tag,
.bns-summary-card h3,
.bns-summary-item h3,
.bns-summary-strip strong,
.bns-service-snapshot strong,
.bns-funding-summary-grid h3,
.bns-autism-service-snapshot h3,
.bns-home-at-a-glance span,
.bns-quick-links a,
.bns-jump-card strong,
.bns-card h3,
.approach-card h3,
.assessment-card h3,
.funding-card h3,
.faq-item h3,
.faq-item h4,
.accordion-header,
button.accordion-header,
.faq-button,
.bns-faq-button,
button[class*="faq-button"],
button[class*="accordion"] {
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.bns-badge,
.badge,
.location-pills .pill,
.bns-page-kicker,
.bns-kicker,
.bns-label,
.bns-pill,
.bns-chip,
.bns-tag {
    font-variant-caps: normal !important;
}

/* ============================================
   REUSABLE DIRECT-CONTACT CTA
   Add the matching .bns-contact-cta HTML block
   near the end of relevant pages and posts.
   ============================================ */

.bns-contact-cta {
    width: min(100%, 960px);
    margin: 40px auto 0;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid rgba(32, 156, 238, 0.22);
    border-left: 5px solid var(--primary, #209cee);
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        var(--soft-blue, #f0f8ff) 0%,
        var(--white, #ffffff) 100%
    );
    box-shadow: var(--shadow-blue, 0 8px 25px rgba(32, 156, 238, 0.1));
    color: var(--text, #333333);
}

.bns-contact-cta h2 {
    margin: 0 0 12px;
    color: var(--text, #333333) !important;
    font-size: clamp(24px, 3vw, 32px) !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.bns-contact-cta p {
    margin: 0;
    color: var(--text-light, #666666);
    font-size: var(--step-0, 1rem);
    line-height: 1.7;
}

.bns-contact-cta p + p {
    margin-top: 10px;
}

.bns-contact-cta a {
    display: inline-block;
    color: var(--primary-dark, #1a7bbd);
    font-weight: 700;
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.bns-contact-cta a:hover {
    color: var(--primary, #209cee);
}

.bns-contact-cta a:focus-visible {
    border-radius: 4px;
    outline: 3px solid rgba(32, 156, 238, 0.35);
    outline-offset: 4px;
}

.bns-contact-cta-note {
    max-width: 760px;
    color: var(--muted, #555555) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

@media (max-width: 680px) {
    .bns-contact-cta {
        margin-top: 30px;
        padding: 22px 20px;
        border-left-width: 4px;
        border-radius: 14px;
    }

    .bns-contact-cta h2 {
        font-size: 24px !important;
    }

    .bns-contact-cta p {
        font-size: 16px;
    }
}


/* Respect visitors who request reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .bns-btn-primary .ui.button,
  .bns-btn-primary a,
  .button.primary,
  .bns-btn-secondary .ui.button,
  .bns-btn-secondary a,
  .button.secondary,
  .bns-card,
  .approach-card,
  .pricing-card,
  .assessment-card,
  .funding-card,
  .bns-polished-card,
  .bns-back-to-top {
    transition: none !important;
  }

  .bns-card:hover,
  .approach-card:hover,
  .pricing-card:hover,
  .assessment-card:hover,
  .funding-card:hover,
  .bns-polished-card:hover {
    transform: none !important;
  }
}


/* Cleaner background for blog posts only */
body.single-post,
body.single-post #pagewrap,
body.single-post #body {
  background-color: #f7fafc !important;
}

/* ============================================
   REUSABLE GUIDE / ARTICLE LAYOUT
   Use one .bns-guide wrapper around the visible,
   static page or post content. Keep page-specific
   scripts, JSON-LD and style elements outside it.
   ============================================ */

.bns-guide {
  --bns-guide-blue: #1379b8;
  --bns-guide-aqua: #29b6d8;
  --bns-guide-ink: #2c3e50;
  --bns-guide-muted: #617184;
  --bns-guide-line: #d7eaf2;
  --bns-guide-pale: #f3fafd;
  --bns-guide-warm: #fff8ee;
  max-width: 1040px;
  margin: auto;
  padding: 28px 24px 56px;
  color: var(--bns-guide-ink);
  background: #f7fafc;
  font: 17px/1.75 "Poppins", "Segoe UI", Arial, sans-serif;
  box-sizing: border-box;
}

.bns-guide *,
.bns-guide *::before,
.bns-guide *::after {
  box-sizing: border-box;
}

.bns-guide .wide {
  max-width: 920px;
  margin-inline: auto;
}

.bns-guide .text {
  max-width: 760px;
  margin-inline: auto;
}

.bns-guide .label {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bns-guide-aqua);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bns-guide .meta {
  margin: 12px 0 18px;
  color: var(--bns-guide-muted);
  font-size: 13px;
}

.bns-guide .bns-reading-time {
  display: inline-block;
  white-space: nowrap;
}

.bns-guide .hero {
  display: block;
  width: min(100%, 760px);
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin: 20px auto 28px;
}

.bns-guide .author {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--bns-guide-line);
  border-radius: 8px;
  background: var(--bns-guide-pale);
  margin-bottom: 26px;
}

.bns-guide .author img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.bns-guide .author p {
  margin: 0;
  color: var(--bns-guide-muted);
  font-size: 14px;
  line-height: 1.55;
}

.bns-guide .tldr,
.bns-guide .plain {
  padding: 20px 23px;
  border-left: 5px solid var(--bns-guide-aqua);
  border-radius: 8px;
  background: #e8f7fc;
  margin: 0 0 25px;
}

.bns-guide .tldr ul {
  margin: 8px 0 0;
  padding-left: 21px;
}

.bns-guide .toc {
  padding: 18px 22px;
  border: 1px solid var(--bns-guide-line);
  border-radius: 8px;
  background: #fff;
  margin: 26px 0 30px;
}

.bns-guide .toc ol,
.bns-guide .toc ul {
  columns: 2;
  column-gap: 34px;
  margin: 8px 0 0;
  padding-left: 21px;
}

.bns-guide .toc li {
  break-inside: avoid;
}

.bns-guide h2,
.bns-guide h3 {
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.bns-guide h2 {
  color: var(--bns-guide-blue);
  font-size: 1.48rem;
  line-height: 1.3;
  margin: 38px 0 13px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e1f5fe;
  scroll-margin-top: 25px;
}

.bns-guide h3 {
  font-size: 1.1rem;
  margin: 24px 0 7px;
}

.bns-guide p {
  max-width: 72ch;
  margin: 0 0 17px;
}

.bns-guide li {
  margin-bottom: 8px;
}

.bns-guide a {
  color: var(--bns-guide-blue);
  font-weight: 600;
  text-underline-offset: 3px;
}

.bns-guide a:focus-visible {
  border-radius: 3px;
  outline: 3px solid rgba(32, 156, 238, 0.35);
  outline-offset: 3px;
}

.bns-guide .evidence,
.bns-guide .checklist {
  padding: 20px 23px;
  border: 1px solid var(--bns-guide-line);
  border-radius: 8px;
  background: #fff;
  margin: 22px 0;
}

.bns-guide .evidence h3,
.bns-guide .checklist h3 {
  margin-top: 0;
}

.bns-guide .note {
  padding: 19px 21px;
  background: var(--bns-guide-warm);
  border: 1px solid #f1dfbf;
  border-radius: 8px;
  margin: 22px 0;
}

.bns-guide .faq {
  padding: 20px 22px;
  border-bottom: 1px solid var(--bns-guide-line);
  background: #fff;
}

.bns-guide .faq:first-of-type {
  border-radius: 8px 8px 0 0;
}

.bns-guide .faq:last-of-type {
  border-bottom: 0;
  border-radius: 0 0 8px 8px;
}

.bns-guide .faq h3 {
  margin-top: 0;
}

.bns-guide .cta {
  padding: 25px;
  background: #dff4fb;
  border-radius: 8px;
  margin-top: 36px;
  text-align: center;
}

.bns-guide .cta h2 {
  border: 0;
  margin: 0 0 8px;
  padding: 0;
}

.bns-guide .button {
  display: inline-block;
  margin: 8px 5px 0;
  padding: 11px 18px;
  border-radius: 6px;
  background: var(--bns-guide-blue);
  color: #fff !important;
  text-decoration: none;
}

.bns-guide .button.secondary {
  background: #fff;
  color: var(--bns-guide-blue) !important;
  border: 1px solid var(--bns-guide-blue);
}

.bns-guide .refs {
  color: var(--bns-guide-muted);
  font-size: 14px;
  margin-top: 34px;
}

.bns-guide .refs li {
  margin-bottom: 10px;
}

@media (max-width: 680px) {
  .bns-guide {
    padding: 20px 16px 42px;
    font-size: 16px;
  }

  .bns-guide .toc ol,
  .bns-guide .toc ul {
    columns: 1;
  }

  .bns-guide .author {
    align-items: flex-start;
  }

  .bns-guide h2 {
    font-size: 1.3rem;
  }

  .bns-guide .button {
    display: block;
    width: 100%;
    margin: 9px 0 0;
  }
}
