﻿:root {
    --tmj-teal: #2b8b84; /* accent */
    --tmj-teal-200: #dff0ee; /* quote bg */
    --tmj-text: #0f172a;
    --tmj-muted: #64748b;
    --tmj-teal: #2b8b84; /* title + quote color */
    --tmj-mint: #27d6c3; /* nav buttons */
    --tmj-quote-bg: #e5f2f0; /* card background */
    --teal: #04c2cc; /* heading + badge bg */
    --mint: #27d6c3; /* CTA button */
    --text: #0f172a;
    --muted: #5b6b7b;
    --card-bg: #ffffff;
    --font-Source: "Source Sans 3", sans-serif;
    --panel: #e8f4f3; /* panel bg */
    --wave-1: #dfeeee; /* thin upper wave */
    --wave-2: #bcdcdc; /* deeper lower wave */
    --cta: #04c2cc; /* button */
    --ctaText: #0b3e39;
    --teal-900: #04c2cc; /* dark background */
    --teal-700: #1b6b63; /* inactive tab bg */
    --aqua: #d4e9e9; /* active tab bg */
    --ink: #0e1b19; /* dark text */
    --muted: #475a58; /* muted text */
    --card: #ffffff; /* card bg */
    --radius: 10px;
    --shadow: 0 12px 30px rgba(0,0,0,.08);
    --primary-teal: #4ECDC4;
    --dark-teal: #2C5F5D;
    --light-gray: #F8F9FA;
    --mobBandH: 340px; /* height of the mobile image band */
    --hero-img: url('/img/banner.webp');
    --ink: #0b3e39;
}

html, body {
    height: auto !important;
    overflow-y: visible !important;
    font-family: var(--font-Source);
    padding: 0;
    margin: 0;
    box-sizing: content-box;
    /*    position: static !important;*/
}

/*NAv Bar*/

/* --- palette helpers --- */
.bg-teal-900 {
    background-color: var(--teal-900) !important;
}

.bg-aqua {
    background-color: var(--aqua) !important;
}

.text-ink {
    color: #000 !important;
}

.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-family: var(--font-Source)
}

/* top strip */
.top-cta {
    padding: .8rem 1rem; /* exact “bar” look */
    font-weight: 800;
    border: 0;
    border-radius: 0; /* squared ends like screenshot */
}

.top-cta2 {
    padding: .8rem 1rem; /* exact “bar” look */
    font-weight: 800;
    border: 0;
    border-radius: 0; /* squared ends like screenshot */
    padding-left: 20%;
    padding-right: 20%;
}

    .top-cta2:hover {
        background: #53B3A8 !important;
    }

/* main navbar – tidy spacing & weight */
.site-nav .nav-link {
    color: #000;
    font-weight: 600;
    padding: .75rem 1rem;
    font-size: 16px;
    font-family: var(--font-Source);
}

    .site-nav .nav-link:hover,
    .site-nav .nav-link:focus {
        color: #0f4f4a;
    }

    /* small underline for active link (optional) */
    .site-nav .nav-link.active {
        color: #0f4f4a;
    }

/* dropdown caret size closer to comp */
.site-nav .dropdown-toggle::after {
    margin-left: .35rem;
    vertical-align: .12em;
}

.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #0f4f4a;
}

.navbar-toggler i {
    font-size: -webkit-xxx-large;
}
/* logo placeholder sizing (replace with your image) */
/*.logo img {
    height: 44px;
}*/
/* compact top strip text */
.top-line {
    font-size: 15px;
}

.container-xxl {
    padding-left: 10px;
    padding-right: 0px;
}

.rating-star, rating-half-star {
    width: clamp(14px, 2.2vw, 18px);
    height: auto;
    display: block; /* avoids extra inline spacing */
}

.opacity-75 {
    color: #fff !important;
    font-weight: bold;
    font-size: 18px;
    opacity: 1 !important;
    margin-bottom: 0px !important
}

    .opacity-75 span {
        color: #fff !important;
        font-weight: 400;
        font-size: 18px;
        margin-bottom: 0px !important
    }

.gog {
    background-color: #fff;
    height: 22px;
    width: 22px;
    border-radius: 50%
}

/*NAv Bar*/
/*HERO Section*/
/* ============ DESKTOP/TABLET HERO ============ */
.hero {
    position: relative;
    min-height: 78vh;
    display: grid;
    align-items: center;
    color: #fff;
    overflow: hidden;
    /* overlay FIRST (on top), image SECOND (underlay) */
    /*        background: linear-gradient(90deg, rgb(15 79 74) 0%, rgb(15 79 74) 36%, rgb(18 66 61 / 28%) 62%, rgb(18 66 61 / 28%) 78%, rgb(18 66 61 / 76%) 100%), var(--hero-img) center / cover no-repeat;*/
    background: linear-gradient(90deg, rgba(18, 66, 61, 0.9) 0%, rgba(18, 66, 61, 0.9) 40%, #12423d66 40%, #12423D99 100%), var(--hero-img) center / cover no-repeat;
}

    .hero h1 {
        font-weight: 700;
        line-height: 1.1;
        /*        font-size: clamp(2rem, 2.6vw + 1.6rem, 4rem);*/
        font-size: 65px;
        letter-spacing: .2px;
        margin-bottom: .85rem;
    }

    .hero .accent {
        color: var(--aqua);
    }

    .hero .lead-text {
        color: #fff;
        max-width: 760px;
        font-weight: 400;
        font-size: 18px;
        font-family: var(--font-Source);
    }

.btn-cta {
    padding: .95rem 1.25rem;
    border-radius: 8px;
    font-weight: 800;
}

.btn-aqua {
    background: var(--aqua);
    color: #083c38;
    border: 0;
}

    .btn-aqua:hover {
        filter: brightness(.96);
        color: #083c38;
    }

.btn-outline-strong {
    background: transparent;
    color: #eaf8f6;
    border: 2px solid rgba(255,255,255,.65);
}

    .btn-outline-strong:hover {
        background: rgba(255,255,255,.08);
        color: #fff;
    }

/* Doctor badge (desktop bottom-right) */
.doc-badge1 {
    position: absolute;
    font-weight: 700;
    font-size: 21px;
    bottom: 20%;
    right: 6%;
    font-family: var(--font-Source);
    color: #fff;
    padding: .85rem 1rem;
    border-radius: 12px;
    display: flex;
    gap: .75rem;
    align-items: center;
    /*    backdrop-filter: blur(2px);*/
}

.doc-badge2 {
    font-weight: 700;
    font-size: 21px;
    font-family: var(--font-Source);
    color: #fff;
    padding: .85rem 1rem;
    border-radius: 12px;
    display: flex;
    gap: .75rem;
    align-items: center;
    justify-content: end;
    /*    backdrop-filter: blur(2px);*/
}

    .doc-badge1 .ic, .doc-badge2 .ic {
        width: 38px;
        height: 38px;
        border-radius: 9px;
        background: #39A89F;
        color: #083c38;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
    }

    .doc-badge1 .sub, .doc-badge2 .sub {
        text-transform: uppercase;
        letter-spacing: .08em;
        font-size: 15px;
        opacity: .9;
        font-weight: 400;
        font-family: var(--font-Source)
    }

@media (max-width: 320px) {
    .top-line {
        font-size: 12px;
    }

    .opacity-75 span {
        font-size: 15px;
    }

    .opacity-75 {
        font-size: 15px;
    }
}
/* ====== MOBILE (≤768px)
       - hero becomes solid teal
       - image band is drawn INSIDE the hero using ::after (so it can’t “come down”)
    ====== */


@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 1.25rem;
        padding-bottom: 250px; /* reserve space for the ::after band */
        background: #004448; /* solid teal on mobile */
    }

        .hero::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0px;
            height: 275px;
            background: linear-gradient(0deg, rgb(15 79 74 / 44%), rgb(15 79 74 / 44%)), var(--hero-img) center / cover no-repeat
        }
    /* put badge onto the band */
    .doc-badge1 {
        right: 16px;
        bottom: 25px; /* relative to hero bottom == on top of the band */
        z-index: 30;
        flex-direction: column-reverse;
        justify-content: flex-end;
        align-items: flex-end;
    }
}

@media (min-width: 992px) and (max-width:1600px) {
    .doc-badge1 {
        bottom: 20%;
        right: 10%;
    }
}
/*@media (min-width:1601px) {
    .doc-badge1 {
        bottom: 20%;
        right: 10%;
    }
}*/

@media (max-width: 575.98px) {
    .btn-cta {
        width: 100%;
    }
}
/* Services Section */
.services-section {
    padding: 0;
    margin-top: -50px;
    position: relative;
    top: -50px;
    z-index: 10;
}

.service-card {
    background: #04c2cc;
    padding: 15px 30px;
    height: 325px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .service-card > p:first-child {
        font-size: 30px;
        font-weight: 700;
        color: #000;
        /*        margin-bottom: 20px;*/
        line-height: 1.2;
        font-family: var(--font-Source);
    }

    .service-card p {
        font-weight: 400;
        color: #000;
        /*        margin-bottom: 30px;*/
        line-height: 1.6;
        font-size: 16px;
        font-family: var(--font-Source);
    }

.btn-service {
    background: transparent;
    border: 1px solid #000;
    color: #000;
    padding: 10px 28px;
    font-weight: 700;
    border-radius: 0px;
    transition: all 0.3s ease;
    align-self: flex-start;
    font-size: 18px;
    font-family: var(--font-Source);
}

    .btn-service:hover {
        background: #fff;
        color: #000;
        border: 1px solid #000;
    }

/* Offer Card */
.offer-card {
    background: linear-gradient(135deg, #E8F4F8 0%, #D1E7DD 100%);
    padding: 15px 30px;
    height: 325px;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: flex-end;
}

    /*    .offer-content {
        flex: 1;
        position: relative;
        left: 120px;
        z-index: 10;
    }*/

    .offer-card .free-text {
        font-size: 60px !important;
        font-weight: 400;
        color: #000;
        /*    margin-bottom: 10px;*/
        line-height: 1;
        font-family: var(--font-Source);
    }

    .offer-card > p:first-child {
        font-size: 21px;
        font-weight: 700;
        color: #333;
        margin-bottom: 8px;
        line-height: 21px;
    }

    .offer-card .exam-text {
        font-size: 16px;
        color: #000;
        margin-bottom: 25px;
        font-weight: 400;
        font-family: var(--font-Source);
    }

.btn-offer {
    /*    background: #333;*/
    border: 1px solid #000;
    color: #000;
    padding: 10px 28px;
    font-weight: 700;
    border-radius: 0px;
    transition: all 0.3s ease;
    font-size: 18px;
    font-family: var(--font-Source);
    line-height: 26px;
}

    .btn-offer:hover {
        background: #fff;
        color: #000;
        border: 1px solid #000;
    }

.offer-image {
    position: relative;
    right: 214px;
    top: 94%;
    transform: translateY(-50%);
    width: 180px;
    height: 440px;
    background-image: url('/img/man.webp');
    background-size: auto;
    background-repeat: no-repeat;
    /*    background-position: center;*/
    /*    border-radius: 15px;*/
}

/* Office Hours */
.office-hours {
    background: #004448;
    padding: 15px 30px;
    color: #fff;
    height: 325px;
    font-family: var(--font-Source);
}

    .office-hours p {
        font-size: 30px;
        font-weight: 700;
        font-family: var(--font-Source);
        margin-bottom: 0px;
    }

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15) !important;
    font-size: 16px;
    font-weight: 400;
    font-family: var(--font-Source);
}

    .hours-row:last-child {
        border-bottom: none;
    }

.hours-day {
    font-weight: 500;
}

.hours-time {
    font-weight: 400;
}

/* Content Section */
.content-section {
    padding: 40px 0;
    background: #fff;
}

.section-title {
    font-size: 2rem !important;
    font-weight: 600;
    color: #04c2cc;
    margin-bottom: 30px;
}

.content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #000;
    margin-bottom: 25px;
    font-weight: 400;
    font-family: var(--font-Source)
}

.symptoms-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

    .symptoms-list li {
        padding: 0;
        color: #000;
        position: relative;
        padding-left: 25px;
        font-size: 15px;
        line-height: 1.6;
        font-weight: 600;
    }

        .symptoms-list li:before {
            content: "•";
            color: #000;
            font-weight: bold;
            position: absolute;
            left: 0;
            font-size: 1.2rem;
        }

.content-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sleeping-couple-img,
.jaw-pain-man-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.jaw-img {
    height: 100%;
    width: 100%;
}

.offer-card {
    background: url(/img/man.webp) no-repeat,url(/img/Group-16.webp) center / cover no-repeat, linear-gradient(135deg, #E8F4F8 0%, #D1E7DD 100%);
}
/*{
    background: url(/img/Group-16.png) center / cover no-repeat, linear-gradient(90deg, #c4f3ef 0%, #e5f9f7 100%);
}*/

@media (min-width:425px) and (max-width: 550px) {
    .hero::after {
        height: 260px;
    }

    .hero {
        padding-bottom: 300px;
    }
}

@media (min-width:551px) and (max-width: 768px) {
    .hero::after {
        height: 320px;
    }

    .hero {
        padding-bottom: 360px;
    }
}
/* Responsive Design */
@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 50px 0;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: 400px;
        margin-top: 30px;
    }

    .doctor-info {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 30px;
        margin-bottom: 0;
    }

    .services-section {
        padding: 0;
        margin-top: 0px;
        position: relative;
        top: 0px;
        z-index: 10;
        margin-top: 30px;
    }

    .pt {
        padding-top: 30px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .service-card,
    .offer-card,
    .office-hours {
        height: auto;
        margin-bottom: 0;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        display: block;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }

    .offer-image {
        /*            position: relative;*/
        position: absolute;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 20px;
        width: 120px;
        height: 160px;
    }

    .offer-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .service-card,
    .offer-card,
    .office-hours {
        padding: 30px 20px;
    }
    /*        .offer-content {
            flex: 1;
            position: relative;
            left: 40px;
            
        }*/

}

@media(min-width:320px) and (max-width:375px) {
    .offer-image {
        width: 270px;
        height: 244px;
        margin-top: 0px;
    }
}

/*HERO Section Ends*/




/* Services section*/

/* Component tokens (tweak to match Figma exactly) */
.svc-section {
    background: #f5f7f7;
    padding: 70px 0px;
}

.svc-title {
    color: #04c2cc;
    font-size: 30px;
    font-weight: 600;
    font-family: var(--font-Source)
}
/* teal heading */
.svc-teal {
    color: #22a89a;
}

.svc-card {
    position: relative;
    background: #fff;
    height: 100%;
    border: 1px solid #e6e9ec;
    border-radius: 0px;
    padding: 28px 26px 26px;
    overflow: hidden;
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

    .svc-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0,0,0,.05);
        border: 1px solid #04c2cc;
    }

    .svc-card a:hover {
        color: #22a89a
    }
/* big watermark number */
.svc-num {
    position: absolute;
    inset: auto auto;
    left: 14px;
    top: 14px;
    font-weight: 800;
    font-size: 60px;
    line-height: 1;
    letter-spacing: .02em;
    color: #0f172a;
    opacity: .06;
    pointer-events: none;
    user-select: none;
}
/* top-right icon */
.svc-ico {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #22a89a;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .svc-ico svg {
        width: 22px;
        height: 22px;
    }
/* text */
.svc-h {
    font-weight: 700;
    margin: 8px 0 6px;
    font-size: 24px;
    font-family: var(--font-Source)
}

.svc-p {
    color: #475569;
    margin-bottom: 14px;
}

.svc-link {
    font-weight: 700;
    text-decoration: none;
    color: #04c2cc;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: 16px;
    font-family: var(--font-Source)
}

    .svc-link:hover {
        text-decoration: none;
    }

    .svc-link span {
        display: inline-block; /* so transform works */
        transition: transform .2s ease; /* smooth motion */
        will-change: transform; /* perf hint */
    }

    .svc-link:hover span,
    .svc-link:focus-visible span {
        transform: translateX(10px); /* move 10px to the right */
    }

.svc-ico {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #04c2cc;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .svc-ico i {
        font-size: 22px;
        line-height: 1;
    }


/*Service Section Ends*/

/*Testimonials*/

/* ====== section heading ====== */
.tmj-head {
    /*    font-weight: 700;*/
    text-align: center;
    color: #04c2cc;
    margin-bottom: 1.25rem;
    font-size: 30px;
    font-family: var(--font-Source)
}

/* ====== carousel layout & equal heights ====== */
.tmj-owl .owl-stage {
    display: flex;
}

.tmj-owl .owl-item {
    display: flex;
    padding: 0 18px;
}
/* card gap */
@media (max-width: 991.98px) {
    .tmj-owl .owl-item {
        padding: 0 10px;
    }
}

/* ====== testimonial card ====== */


.tmj-quote-card {
    position: relative;
    padding-top: 44px; /* adjust if your image is taller */
    background: #f2f8ff;
    border-radius: 0px;
    padding: 46px 36px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .tmj-quote-card::before {
        content: ""; /* required for ::before to render */
        position: absolute;
        left: 36px;
        top: 20px;
        width: 33px; /* set nonzero size */
        height: 26px;
        display: block; /* makes it box-like */
        background-image: url("/img/quote-open.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        pointer-events: none;
        z-index: 1; /* keep above the card bg */
    }

.tmj-quote {
    margin: 18px 0 16px;
    font-size: 21px;
    color: #0f172a;
    font-weight: 400;
    font-family: var(--font-Source);
}

figcaption {
    position: absolute;
    bottom: 20px;
}

.tmj-author {
    font-family: var(--font-Source);
    font-weight: 700;
    font-size: 16px;
    font-style: bold;
    color: #12423D;
}

.tmj-source {
    color: #12423D;
    font-style: italic;
    margin-top: 2px;
    font-size: 16px;
    font-weight: 400;
}

/* ====== custom nav buttons ====== */
.tmj-nav {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: 50px;
}

.tmj-nav-btn {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 4px;
    background: #04c2cc;
    color: #063d39;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: filter .15s ease, transform .1s ease;
}

    .tmj-nav-btn:hover {
        filter: brightness(.95);
    }

    .tmj-nav-btn:active {
        transform: translateY(1px);
    }

    .tmj-nav-btn svg {
        width: 16px;
        height: 16px;
        display: block;
    }

hr {
    margin-top: 3rem;
    height: 2px !important
}

.aff-strip {
    padding: 18px 0;
    background: #fff;
}

.aff-logos img {
    max-height: 56px; /* keep logos visually even */
    width: auto;
    filter: grayscale(100%);
    opacity: .85;
    transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}

    .aff-logos img:hover {
        filter: none;
        opacity: 1;
    }

@media (min-width: 992px) {
    .aff-strip {
        padding: 24px 0;
    }
}


/*################# Why Choose the TMJ Section#######################*/

.why-wrap {
    background: #f6f7f7;
    padding: 40px 0;
}

.why-title {
    color: #04c2cc;
    font-weight: 600;
    text-align: center;
    margin-bottom: .5rem;
    font-size: 30px;
    font-family: var(--font-Source);
    font-style: normal;
}

.why-lead {
    max-width: 870px;
    margin: 0 auto 28px;
    color: #000;
    text-align: center;
    font-weight: 400;
    font-size: 16px;
    font-family: var(--font-Source);
}

/* Left info panel (photo + details) */
.doctor-card {
    background: var(--card-bg);
    border: 1px solid #e6e9ec;
    border-radius: 0px;
    padding: 52px 18px;
    font-family: var(--font-Source);
}

.doc-photo {
    width: 150px;
    max-width: 100%;
    border-radius: 6px;
    object-fit: cover;
}

.doc-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .25rem;
}

.doc-badge {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: #04c2cc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
}

    .doc-badge img {
        width: 26px;
        height: auto;
        display: block;
    }

.doc-name {
    margin: 0;
    font-weight: 700;
    color: #04c2cc;
    text-transform: uppercase;
    font-size: 21px;
    font-family: var(--font-Source);
}

.doc-role {
    margin: 0;
    color: #04c2cc;
    font-weight: 400;
    font-size: 15px;
    font-family: var(--font-Source);
}

.doc-list {
    margin: .75rem 0 0 0;
    font-size: 16px;
    font-weight: 400;
    font-family: var(--font-Source);
}

    .doc-list li {
        margin-bottom: .35rem;
        color: var(--text);
    }

/* Right long text */
.why-text p {
    margin-bottom: 1rem;
    color: #1f2937;
    font-family: var(--font-Source);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
}

/* CTA */
.why-cta {
    padding-top: 18px;
}

.btn-cta {
    background: #45E2D4;
    color: #073b35;
    font-weight: 800;
    border: 0;
    border-radius: 0px;
    padding: .9rem 1.3rem;
    font-family: var(--font-Source);
}

    .btn-cta:hover {
        filter: brightness(.95);
        color: #062f2a;
        background: var(--tmj-mint);
    }

.btn-cta2 {
    background: #fff;
    color: #266E66;
    font-weight: 800;
    border: 1px solid #000;
    border-radius: 0px;
    padding: .9rem 1.3rem;
    font-family: var(--font-Source);
}

    .btn-cta2:hover {
        filter: brightness(.95);
        color: #062f2a;
        background: #27d6c312;
        transition: all 0.3s ease;
        border: 1px solid #000;
    }

.btn-cta3 {
    height: 45px;
    color: #fff;
    font-weight: 700;
    border: 1px solid #fff;
    border-radius: 0px;
    font-family: var(--font-Source);
    font-size: 18px
}

    .btn-cta3:hover {
        filter: brightness(.95);
        color: #fff;
        background: #27d6c312;
        transition: all 0.3s ease;
        border: 1px solid #fff;
    }

.ls {
    letter-spacing: 3px;
}
/* small tweaks */
@media (max-width: 991.98px) {
    .doc-photo {
        width: 180px;
    }
}

/*###################################################*/

/*Sleep Apena and TMJ Doctor Near You Section*/
/*.tmj-hero {
        position: relative;
        background: var(--teal-900);
        color: #fff;
        padding: 50px 0 18px;
        overflow: hidden;
    }

        .tmj-hero::before,
        .tmj-hero::after {*/ /* subtle angled shapes like design */
/*content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            background: linear-gradient(120deg, transparent 60%, rgba(255,255,255,.06) 60% 72%, transparent 0), linear-gradient(150deg, transparent 65%, rgba(255,255,255,.05) 65% 78%, transparent 0);
            transform: translateY(-30%);
        }

        .tmj-hero h2 {
            font-weight: 800;
            text-align: center;
            margin: 0;
        }*/

/* Desktop tabs */
/*.tmj-tabnav .nav-link {
        border-radius: 8px;
        font-weight: 800;
        color: #eef7f6;
        background: var(--teal-700);
        padding: .9rem 1.25rem;
    }

        .tmj-tabnav .nav-link.active {
            background: var(--aqua);
            color: #083c38;
        }*/

/* Card */
/*.tmj-card {
        background: var(--card);
        box-shadow: var(--shadow);
        padding: 22px;
    }

        .tmj-card h3 {
            color: #2b8b84;
            font-weight: 800;
        }

        .tmj-card p {
            color: var(--ink);
        }

        .tmj-card .lead-muted {
            color: var(--muted);
        }

    .tmj-img {
        width: 100%;
        object-fit: cover;
    }

    .img-center {
        display: flex;
        justify-content: center;
        z-index: 10;
    }*/

/* Mobile accordion headers */
/*.tmj-acc .accordion-button {
        border-radius: 8px;
        background: var(--aqua);
        color: #073b36;
        font-weight: 800;
    }

        .tmj-acc .accordion-button.collapsed {
            background: #1b6b63;
            color: #eef7f6;
        }

    .tmj-acc .accordion-item {
        background: transparent;
        border: 0;
        margin-bottom: .75rem;
    }

    .tmj-acc .accordion-body {
        padding: 1rem;
        background: #fff;
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    .pad {
        padding: 10px 20px;
    }

    .tmj-tabs .nav-link {
        background: #266E66 !important;
        color: #fff !important;
    }

        .tmj-tabs .nav-link:hover,
        .tmj-tabs .nav-link:focus {
            background: #45E2D4 !important;*/ /* slight hover tint */
/*color: #000 !important;
        }

        .tmj-tabs .nav-link.active,
        .tmj-tabs .nav-link.active:hover,
        .tmj-tabs .nav-link.active:focus {
            background: #45E2D4 !important;
            color: #000 !important;
        }*/
/*#################################################*/
/*  Breath Sleep And Live Better*/
.cta-hero {
    position: relative;
    /*        background: var(--panel);*/
    background: url("/img/bg-xl.webp") center/cover no-repeat;
    overflow: visible; /* allow desktop pop-out */
    padding: 1.25rem 1.25rem;
    min-height: 320px; /* ensures a nice base height */
}

@media (min-width:768px) {
    .cta-hero {
        padding: 1.75rem 2rem;
    }

    .logo img {
        height: 80px;
    }

    .pills-center {
        display: flex;
        justify-content: center
    }
}

/* Waves */
.cta-waves {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
/* Person image: bottom anchored, pops above on desktop */
.cta-person {
    position: absolute;
    z-index: 1;
    bottom: 0; /* touch the bottom */
    left: 2%; /* sit near the left edge */
    height: calc(100% + var(--img-pop)); /* pop 200px above top */
    width: auto;
    max-width: none;
    display: block;
    pointer-events: none;
}

/* Content block */
.cta-content {
    position: relative;
    z-index: 2;
    padding: 0
}

.cta-title {
    font-weight: 700;
    line-height: 1.1;
    color: #000;
    /*        font-size: clamp(1.9rem, 2.2vw + 1.2rem, 3rem);*/
    font-size: 50px;
    margin-bottom: 1rem;
    padding-top: 44px;
    font-family: var(--font-Source);
}

.btn-cta {
    background: var(--cta);
    color: var(--ctaText);
    border: 0;
    font-weight: 800;
    border-radius: 0px;
    padding: .8rem 1.1rem;
    font-family: var(--font-Source);
}

    .btn-cta:hover {
        filter: brightness(.95);
        color: var(--ctaText);
    }

.breath-margin {
    margin-top: 130px;
    margin-bottom: 60px;
}
/* Mobile layout like your screenshot */
@media (max-width:767.98px) {
    .cta-hero {
        min-height: 520px; /* tall card look */
        overflow: hidden; /* no pop-out on mobile */
    }

    .cta-person {
        left: 50%;
        transform: translateX(-50%);
        height: 58%; /* keep headroom; still touches bottom via bottom:0 */
        --img-pop: 0; /* disable pop-out */
    }

    .cta-title {
        text-align: center;
    }

    .btn-cta {
        display: inline-block;
        margin: 0 auto;
    }

    .cta-actions {
        text-align: center;
    }

    .breath-margin {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .service-part {
        background: var(--light);
        padding: 0px !important;
    }

    #blog-page .tl-dr-service h2 {
        font-size: 26px !important;
        font-weight: 600;
        color: var(--primary-color);
    }
}

@media(min-width:1200px) {
    .tmj-img {
        width: 50%;
        object-fit: cover;
    }
}

/*END   Breath Sleep And Live Better*/

/*######### Footer Sub Section###############*/

.cu-hero {
    position: relative;
}

.cu-map {
    width: 100%;
    height: 673px;
    border: 0;
    display: block;
}

@media (max-width: 991.98px) {
    .cu-map {
        height: 360px;
    }
}

@media (min-width: 992px) and (max-width:1082px) {
    .cu-map {
        height: 737px !important;
    }
}

@media (min-width: 1083px) and (max-width:1187px) {
    .cu-map {
        height: 722px !important;
    }
}

@media (min-width: 1188px) {
    .cu-map {
        height: 700px;
    }
}


/**/
/* Panel: static (mobile), absolute overlay (desktop) */
.cu-panel {
    background: #029d9b; /* teal with slight transparency */
    color: #eaf6f5;
    border-radius: 0px;
    padding: 30px 50px;
    box-shadow: 0 18px 36px rgba(0,0,0,.25);
    z-index: 2; /* above the map */
    margin-top: 1rem; /* mobile: separate below map */
}

    .cu-panel .tel-phone {
        color: #fff !important;
        font-family: var(--font-Source);
        text-decoration: none;
    }

.appointment-btn-wrapper {
    text-align: center;
    margin-top: 20px;
}

.appointment-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #000; /* teal tone matching your section */
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid #ffffff;
    padding: 8px 105px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

    .appointment-btn:hover {
        background-color: #12423d;
        color: #ffffff;
        border-color: #12423d;
    }

.cu-title {
    font-weight: 700;
    margin: 0 0 8px;
    font-size: 30px;
    font-family: var(--font-Source)
}

    .cu-title + .cu-underline {
        width: 72px;
        height: 3px;
        background: #005b60;
        border-radius: 2px;
        margin: 6px 0 16px;
    }

.cu-headline {
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px;
    font-size: 24px;
    font-family: var(--font-Source)
}

/* Icon rows */
.cu-row {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    margin-bottom: .6rem;
}

    .cu-row p {
        margin: 0;
        font-weight: 400;
        font-size: 15px;
        font-family: var(--font-Source)
    }

.cu-ico {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    color: #1f6e67;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
}

    .cu-ico svg {
        width: 16px;
        height: 16px;
        display: block;
    }

/* Hours table */
.cu-hours {
    margin: 8px 0 12px;
    /*        border-top: 1px solid rgba(255,255,255,.2);*/
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.cu-hr {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: .5rem;
    padding: .55rem 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

    .cu-hr:last-child {
        border-bottom: 0;
    }

.cu-day {
    color: #d6eeea;
    font-weight: 400;
    font-size: 16px;
    font-family: var(--font-Source)
}

.cu-time {
    text-align: right;
    color: #ffffff;
    font-size: 16px;
    font-family: var(--font-Source)
}

.cu-closed {
    color: #cfe6e3;
    font-weight: 700;
}

@media (max-width:575.98px) {
    .cu-hr {
        grid-template-columns: 1fr auto;
    }

    .cu-hero .container {
        padding: 0 !important;
    }
}

.cu-cta, .blog_btn {
    height: 45px;
    background: var(--cta);
    color: #000 !important;
    font-weight: 700;
    /*   border: 1px solid #000;*/
    border-radius: 0px;
    /*  padding: .85rem 1rem;*/
    font-size: 18px;
    font-family: var(--font-Source);
}

    .cu-cta:hover, .blog_btn:hover {
        filter: brightness(.95);
        color: #073c38;
        background: var(--tmj-mint);
    }

/* Desktop overlay placement: align to site container’s left edge */
@media (min-width: 992px) {
    .cu-hero > .container {
        position: absolute;
        inset: 0;
        pointer-events: none;
    }
    /* overlay layer */
    .cu-panel {
        position: absolute;
        top: 0px;
        left: 0;
        width: min(520px, 38vw);
        margin-top: 0;
        pointer-events: auto; /* clickable inside overlay layer */
        height: 100%;
    }
}

/*########### END Footer Sub Section##################*/

/*########Footer Section ############*/

.ft-wrap {
    background: #12423D;
    color: #eaf6f5;
}

.ft-top {
    padding: 34px;
}

/* Brand block */
.ft-brand-card {
    background: #ffffff;
    border-radius: 0px;
    padding: 14px 16px;
    display: inline-block;
    font-weight: 400;
    font-size: 14px;
    font-family: var(--font-Source)
}

.ft-desc {
    color: #d8efec;
    max-width: 425px;
    margin-top: 10px;
}

/* Section heads */
.ft-head {
    font-weight: 700;
    margin: 22px 0 6px;
    color: #fff;
    font-size: 24px;
    font-family: var(--font-Source);
}

.ft-underline {
    width: 96px;
    height: 4px;
    background: var(--aqua);
    border-radius: 2px;
    margin: 6px 0 14px;
}

/* Links */
.ft-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .ft-list li {
        margin: .45rem 0;
    }

.ft-link {
    color: #eaf6f5;
    text-decoration: none;
}

    .ft-link:hover {
        color: #fff;
        text-decoration: none;
    }

/* Socials — outlined circles (as in your mobile shot) */
.ft-socials {
    display: flex;
    gap: .7rem;
    align-items: center;
    margin-top: .5rem;
}

.ft-sq {
    width: 36px;
    height: 36px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .12s ease, opacity .12s ease;
}

    .ft-sq:hover {
        transform: translateY(-1px);
        opacity: .95;
    }

    .ft-sq svg {
        width: 18px;
        height: 18px;
        display: block;
    }

/* Bottom bar */
.ft-bar {
    background: rgba(0,0,0,.18);
    color: #fff;
    padding: 12px 0;
    font-size: 18px;
    font-weight: 400;
    font-family: var(--font-Source)
}

/* ---- Mobile-first layout tweaks ---- */
@media (max-width: 575.98px) {
    .ft-wrap container {
        padding: 0px !important;
    }

    .ft-top {
        padding: 28px;
    }

    .ft-head {
        margin-top: 24px;
    }

    .ft-underline {
        width: 86px;
        margin-left: 0;
    }
}

.modal-header {
    background-color: #266E66;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
}

    .modal-header .btn-close {
        color: #fff !important
    }

.modal-body {
    background-color: #E7F4F3
}

.modal-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.card-subtitle {
    font-family: var(--font-Source);
    font-size: 20px;
    font-weight: bold;
}

.tel-phone {
    color: #000 !important;
    font-family: var(--font-Source);
    text-decoration: none;
    font-size: 16px;
}

@media(max-width:425px) {
    .hero h1 {
        font-weight: 700;
        line-height: 1.1;
        /*        font-size: clamp(2rem, 2.6vw + 1.6rem, 4rem);*/
        font-size: 36px;
        letter-spacing: .2px;
        margin-bottom: .85rem;
    }

    .service-card > p:first-child {
        font-size: 24px;
        font-weight: 700;
        color: #000;
        /* margin-bottom: 20px; */
        line-height: 1.2;
        font-family: var(--font-Source);
    }

    .office-hours p {
        font-size: 24px;
        font-weight: 700;
        font-family: var(--font-Source);
        /* margin-bottom: 30px; */
    }

    h2.section-title {
        font-weight: 600;
        color: #3C867E;
        letter-spacing: .2px;
        font-family: var(--font-Source);
        font-size: 24px;
    }

    .svc-title {
        color: #3C867E;
        font-size: 24px;
        font-weight: 600;
        font-family: var(--font-Source);
    }

    .tmj-head {
        /*        font-weight: 700;*/
        text-align: center;
        color: var(--tmj-teal);
        margin-bottom: 1.25rem;
        font-size: 24px;
        font-family: var(--font-Source);
    }

    .why-title {
        color: var(--teal);
        font-weight: 600;
        text-align: center;
        margin-bottom: .5rem;
        font-size: 24px;
        font-family: var(--font-Source);
        font-style: normal;
    }

    .section-title {
        font-size: 21px;
        font-weight: 700;
        color: var(--dark-teal);
        margin-bottom: 30px;
    }

    .cta-title {
        font-weight: 700;
        line-height: 1.1;
        color: #000;
        /* font-size: clamp(1.9rem, 2.2vw + 1.2rem, 3rem); */
        font-size: 35px;
        margin-bottom: 1rem;
        padding-top: 44px;
        font-family: var(--font-Source);
    }

    .cu-title {
        font-weight: 700;
        margin: 0 0 8px;
        font-size: 24px;
        font-family: var(--font-Source);
    }

    .cu-headline {
        font-weight: 600;
        color: #fff;
        margin: 0 0 10px;
        font-size: 21px;
        font-family: var(--font-Source);
    }

    .ft-head {
        font-weight: 700;
        margin: 22px 0 6px;
        color: #fff;
        font-size: 24px;
        font-family: var(--font-Source);
    }

    .img-center {
        justify-content: center !important;
    }

    .top-cta2 {
        padding: .8rem 1rem; /* exact “bar” look */
        font-weight: 800;
        border: 0;
        border-radius: 0; /* squared ends like screenshot */
    }

    .ls {
        letter-spacing: 1px;
    }
}


/*######################### Service Page ############*/
#blog-page p {
    font-size: 18px;
    font-family: var(--font-Source)
}

.service-part .float-img {
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
    max-width: 250px; /* adjust size */
    height: auto;
}

.service-part {
    background: var(--light);
    padding: 20px 30px 20px 20px;
}

    .service-part h2 {
        font-size: 30px;
        font-weight: 600;
        color: var(--primary-color);
    }

    .service-part p, ol li {
        font-size: 21px;
        font-weight: 400 !important;
        color: var(--black);
    }

    .service-part #SharingFeatures .hideshare-wrap {
        padding: 0;
    }


/* FAq    */
#blog-page .accordion-button::after {
    display: none;
}

#blog-page .faq-icon {
    display: block;
    width: 20px;
    height: 20px;
    position: relative;
}

    #blog-page .faq-icon .verticle-line,
    #blog-page .faq-icon .horizontal-line {
        position: absolute;
        background-color: #fff;
        transition: all 0.3s ease-in-out;
    }

    #blog-page .faq-icon .verticle-line {
        width: 2px;
        height: 20px;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        opacity: 1;
    }

    #blog-page .faq-icon .horizontal-line {
        width: 20px;
        height: 2px;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        opacity: 1;
    }

.faq-item.active .faq-icon .verticle-line {
    opacity: 0;
}

.faq-item.active .faq-icon .horizontal-line {
    transform: rotate(0deg);
}

#blog-page .accordion-button {
    justify-content: space-between;
    color: #fff;
    /*    font-weight: 400;*/
}

    #blog-page .accordion-button:not(.collapsed) {
        color: #fff;
        /*        background-color: #e5f2f0;*/
    }

        #blog-page .accordion-button:not(.collapsed) .faq-icon .verticle-line {
            transform: rotate(90deg);
        }

#blog-page .accordion-button, #blog-page .accordion-body {
    background-color: #266e67;
}

#blog-page .accordion-item {
    border: none;
    border-bottom: 1px solid #3333;
    color: #fff;
}

#blog-page .accordion-body {
    border-bottom: 1px solid #222;
}

    #blog-page .accordion-body p {
        color: #fff !important
    }

#blog-page .accordion-button:focus {
    z-index: 3;
    border-color: #45e2d4;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgb(69 226 212);
}

#contact-us {
    background-color: #d9ebea;
}

    #contact-us .details {
        color: #000;
        font-family: var(--font-Source);
        font-weight: 400;
        font-size: 18px
    }

.blog_grid {
    /*    border: 1px solid #dce7ec;*/
    /*    box-shadow: 0 0 21px rgba(0,0,0,.05) inset;*/
    display: inline-block;
    margin: 0 0 30px;
    padding: 20px;
    width: 100%
}


/*Forms*/
#team {
    background: #f4ffff;
    padding: 25px;
}


.content.sub-page ul {
    padding-left: 40px;
    font-size: 20px;
}

#review-page .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    #review-page .card:hover {
        transform: scale(1.1); /* zoom out */
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

.educational-video {
    display: contents;
}

/*BLOG Section*/

/* Scope & container */
.tmj-blog .cx-container {
    width: min(92%, 1200px);
    margin: 0 auto;
}

/* Banner background (placeholders) */
.tmj-blog .cx-hero {
    position: relative;
    min-height: 42vh;
    background: url('/img/tmj-hero.webp') center/cover no-repeat #000;
    color: #fff;
    overflow: hidden;
}

@media (max-width: 567px) {
    .tmj-blog .cx-hero {
        background: url('/img/tmj-2-sm.webp') center/cover no-repeat #000;
    }
}

/* Readability overlay */
.tmj-blog .cx-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient( 180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.72) 100% );
    /*    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, #45e2d426 65%, #45e2d44d 100%)*/
}

/* Layout: stack by default, side-by-side ≥425px */
.tmj-blog .cx-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr; /* text on top, image below (mobile) */
    gap: clamp(16px, 3vw, 32px);
    padding: clamp(24px, 6vw, 72px) 0;
    align-items: center;
}

/* Text block */
.tmj-blog .cx-copy {
    text-align: left;
    /*    max-width: 60ch;*/
}

/* Right image (600x314 target, responsive) */
.tmj-blog .cx-visual__img {
    display: block;
    width: min(92vw, 300px); /* mobile: scale down, cap at 600px */
    height: auto; /* keeps aspect ratio */
    aspect-ratio: 300 / 300; /* extra safety for consistent ratio */
    object-fit: cover;
    animation: cx-dance 3.5s ease-in-out infinite;
    transform-origin: 50% 100%;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.35));
    margin-top: 4px; /* breathing room under text on small screens */
    border: 5px solid #fff;
}

/* Side-by-side from 425px up; image column maxes at 600px */
@media (min-width: 768px) {
    .tmj-blog .cx-hero__inner {
        grid-template-columns: 1fr min(50vw, 300px); /* text | image */
    }

    .tmj-blog .cx-visual {
        justify-self: end;
    }

    .tmj-blog .cx-visual__img {
        width: min(50vw, 300px); /* scales until it reaches 600px */
        margin-top: 0;
    }
}

/* Optional: slightly taller hero on very small devices */
@media (max-width: 575.98px) {
    .tmj-blog .cx-hero {
        min-height: 40vh;
    }
}

/* Dancing effect (respects reduced motion) */
@keyframes cx-dance1 {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    15% {
        transform: translateY(-4px) rotate(-1.6deg) scale(1.02);
    }

    35% {
        transform: translateY(0) rotate(0.8deg) scale(1.01);
    }

    55% {
        transform: translateY(5px) rotate(1.6deg) scale(1);
    }

    75% {
        transform: translateY(0) rotate(-0.8deg) scale(1.01);
    }

    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tmj-blog .cx-visual__img {
        animation: none;
    }
}


/*BLOG Section*/



@media(max-width:425px) {
    .img-center {
        display: flex;
        justify-content: center;
    }

    .service-part h2 {
        font-size: 26px;
        font-weight: 600;
        color: var(--primary-color);
    }
}



















/*####################################################################################*/





/*======== nav pill section : near you ==========*/
:root {
    --header-dark: #0f3e3a;
    --teal: #0f4f49;
    --pill-bg: #1aaea7;
    --card-bg: #ffffff;
    --orange: #f26222;
    --primary-color: #3c867E;
    --bs-font-montserrat: "Montserrat", serif;
    --bs-font-archivo: "Archivo Black", serif;
    --light-orange-shade: #fff3e6;
    --blue: #87d6f7;
    --text-color: #3c3c3c;
    --light-gray: #ededed;
    --bs-font-sans-serif: 'Poppins', sans-serif;
    --dark-blue: #0079ca;
    --gray: #909091;
    --light-gray: #efefef;
    --text-color-gray: #292f36;
    --text-color-dark-gray: #292f36;
    --light: #f4ffff;
    --info: #0075ba;
    --warning: #f9aa0b;
    --white: #fff;
    --black: #000;
    --text-dark: #212529;
    --google: #ea4335;
    --facebook: #1877f2;
    --twitter: #1da1f2;
    --youtube: #ff0000;
    --linkedin: #0077b5;
    --pinterest: #e60023;
    --instagram: #e1306c;
    --yelp: #af0606;
    --sharecare: #1aba9c;
    --healthgrades: #0202ea;
    --covid-info-bg: #ffed76;
    --covid-info-color: #8a6d3b;
    --implants-gray-color: #808184;
    --guru-gray-color: #6d6e70;
    --screw-gray-color: #58595b;
    --gray-6c6c6c: #6c6c6c;
    --Carattere-font: 'Carattere', cursive;
}

#blog-page a {
    /*    text-decoration: none;*/
    color: #0F6161;
    text-decoration: none;
    word-break: break-word;
}

    #blog-page a:hover {
        color: #000;
    }

/* PAGE BACKGROUND with left image (responsive + z-index) */
main {
    background: var(--header-dark);
    position: relative;
    /* needed for ::before positioning */
    overflow: hidden;
    /* hide any overspill from the bg image */
    isolation: isolate;
    /* start a new stacking context for safe z-index */
}

/* Top bar that holds the pills */
.pills-bar {
    padding: .5rem .75rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
    /* above the bg image */
}

/* Card wrapper */
.content-wrap {
    background: var(--card-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    overflow: hidden;
    position: relative;
    z-index: 1;
    /* above the bg image */
}

    .content-wrap p {
        font-size: 16px;
        font-weight: 400;
        font-family: var(--font-Source)
    }

/* .near-you .nav-link2{
      background: #266e66;
    color: #ffffff;
    border: none !important;
    border-radius: 0px;
    padding: 15px 50px;
    font-size: 20px;
    } */

/* Nav pills styling */
.nav-pills .nav-link {
    color: #d8fff9;
    font-weight: 700;
    padding: .6rem 1.1rem;
    border-radius: .5rem;
    background: transparent;
}

    .nav-pills .nav-link:hover {
        color: #ffffff;
        opacity: .95;
    }

    .nav-pills .nav-link.active {
        color: #072725;
        background-color: var(--pill-bg);
        box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08);
    }

.section-pad {
    padding: 2rem 1.25rem;
}

h2.section-title {
    font-weight: 600;
    color: #029D9B;
    letter-spacing: .2px;
    font-family: var(--font-Source);
    font-size: 30px;
}

.media-frame {
    /*    overflow: hidden;
    background: #f7fffe;
    border: 8px solid #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    border-radius: .5rem;*/
}

.pills-bar {
    padding: 0px;
}

    .pills-bar .nav-item, .pills-bar .nav-pills {
        flex: 1;
    }

        .pills-bar .nav-item .nav-link {
            width: 100%
        }

@media (max-width: 991px) {

    /* Mobile accordion “bars” */
    .mobile-accordion {
        position: relative;
        z-index: 1;
    }

    .accordion-item {
        border: none;
        /*        border-radius: .75rem;*/
        overflow: hidden;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
        margin-bottom: .75rem;
        background: var(--card-bg);
    }

    .accordion-button {
        font-weight: 700;
        padding: .9rem 1.1rem;
        background: #005b60;
        color: #fff !important;
        font-size: 24px;
    }

    .accordion-button {
        display: flex;
        justify-content: center;
    }

        .accordion-button.collapsed {
            color: #e8fffa;
        }

        /* make the chevron turn white on dark bar */
        .accordion-button::after {
            filter: invert(0);
            opacity: .9;
        }

        .accordion-button.collapsed::after {
            filter: invert(1);
        }

    .accordion-body {
        padding: 1.25rem 1.1rem;
    }

    /* Headings + image frame (kept simple) */
    h2.section-title {
        font-weight: 800;
        color: #1b665f;
    }

    .media-frame {
        border: 8px solid #fff;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
        border-radius: .5rem;
        overflow: hidden;
    }

    .accordion-button:not(.collapsed) {
        color: #fdfcff;
        background-color: #1aaea7;
        box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
    }
}









@media (min-width: 992px) {
    main::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        /* top:0 right:auto bottom:0 left:0 */
        width: clamp(240px, 38vw, 720px);
        /* responsive width of the left graphic */
        background-image: url("/img/sleep-back.webp");
        /* path to your left-side image */
        background-repeat: no-repeat;
        background-position: left center;
        background-size: cover;
        /* fill the ::before area */
        z-index: 0;
        /* behind everything in main */
        pointer-events: none;
        /* never catch clicks */
    }
}

@media (min-width: 992px) {
    .section-pad {
        padding: 2.25rem;
    }
}

/* === Desktop/Tablet ONLY: image-based nav pills === */
@media (min-width: 768px) {
    /* Base (normal) state */
    .near-you .nav-link {
        /* your normal-state image */
        background-image: url("/img/pill-normal.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
        /* override Bootstrap pill look */
        background-color: #266e66 !important;
        border: 0;
        border-radius: 0; /* use the image's shape */
        color: #ffffff; /* text color on normal image */
        font-weight: 600;
        min-width: 218px; /* adjust to your image width */
        height: 56px; /* adjust to your image height */
        padding: 0; /* image handles the padding */
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 24px;
        font-family: var(--font-Source)
    }

        /* Hover/focus tweaks */
        .near-you .nav-link:hover,
        .near-you .nav-link:focus {
            filter: brightness(1.03);
        }

        /* Active state */
        .near-you .nav-link.active {
            /* your active-state image */
            background-color: #04c2cc !important;
            color: #072725;
            box-shadow: none !important;
            font-size: 24px;
            font-weight: 600;
            font-family: var(--font-Source)
        }

        /* Optional: keep keyboard focus visible */
        .near-you .nav-link:focus-visible {
            outline: 2px solid rgba(255,255,255,.6);
            outline-offset: 2px;
        }
}


/*======== nav pill section : near you ==========*/








#blog-page .fa-circle {
    color: #00aff1;
    font-size: 25px;
}

#blog-page .primary-text-color {
    color: #000;
    transition: linear 0.2s;
}

#blog-page .btn1 {
    background: var(--orange);
    color: var(--white);
    border-radius: 30px;
    border: 2px solid var(--orange);
    font-weight: 600;
}

#blog-page .btn2 {
    background: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
    border-radius: 30px;
    font-weight: 600;
}

#blog-page .btn1:hover {
    background: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
    border-radius: 30px;
    transition: all 0.5s ease !important;
}

#blog-page .btn2:hover {
    background: var(--orange);
    color: var(--white);
    border-radius: 30px;
    border: 2px solid var(--orange);
    transition: all 0.5s ease !important;
}




/* ---- Tokens (match to your Figma) ---- */
#blog-page .bh-teal {
    color: #23b7a7;
}
/* text helper */
#blog-page .bh-pill-bg {
    background: #23b7a7;
}
/* pill bg */
#blog-page .bh-muted {
    color: #0F6161;
    font-size: 15px;
    font-family: var(--font-Source)
}
/* breadcrumb muted */
#blog-page .bh-border {
    border-color: #e5e7eb;
}
/* light border */

/* ---- Breadcrumb Bar ---- */
#blog-page .bh-crumbs {
    background: #f8fafc;
    border-top: 1px solid var(--bh-b, #e5e7eb);
    border-bottom: 1px solid var(--bh-b, #e5e7eb);
}

    #blog-page .bh-crumbs .breadcrumb {
        margin: 0;
        padding: .75rem 0;
    }

        #blog-page .bh-crumbs .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
            content: "/";
            color: #0F6161;
            padding: 0 .4rem;
        }

#blog-page breadcrumb-item active text-body {
    color: #0F6161 !important;
}

#blog-page > div > div > nav > ol > li.breadcrumb-item.active.text-body {
    color: #39d9c9 !important;
    font-size: 15px;
    font-family: var(--font-Source);
}

#blog-page .bh-home-ico {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
}

/* ---- Blog Hero ---- */
#blog-page .bh-hero {
    position: relative;
    min-height: 42vh;
    background: #000;
    color: #fff;
    display: grid;
    align-items: center;
    overflow: hidden;
}

    #blog-page .bh-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        /*        background: var(--bh-img, url('/img/tmj-hero.png')) center/cover no-repeat;*/
        transform: scale(1.02);
    }

#blog-page .bh-hero {
    background: url('/img/tmj-hero.webp') center/cover no-repeat;
}

@media(max-width:567px) {
    #blog-page .bh-hero {
        background: url('/img/tmj-2-sm.webp') center/cover no-repeat;
    }
}

#blog-page .bh-hero::after {
    /* top-to-bottom soft darkening like screenshot */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.55) 65%, rgba(0, 0, 0, 0.72) 100% ), url("/img/Mask group.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background: rgb(0,0,0,0.5)
}

#blog-page .bh-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 56px 0;
}

#blog-page .bh-pill, .cx-pill {
    display: inline-block;
    padding: .35rem .75rem;
    border-radius: 999px;
    font-weight: 700;
    color: #fff;
    background: #23b7a7;
    letter-spacing: .02em;
    margin-bottom: 20px;
}

#blog-page h1 {
    font-weight: bold !important;
}

#blog-page .bh-title, cx-title {
    font-weight: bold !important;
    margin: .75rem 0 .5rem;
    font-size: clamp(1.75rem, 2.2rem + 1.2vw, 3.2rem);
    line-height: 1.1;
}

#blog-page .bh-date, cx-date {
    color: #e2e8f0;
    font-weight: 500;
}

/*#blog-page .content strong {
    text-decoration: underline;
}*/

.hideshare-wrap .hideshare-list {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.hideshare-wrap, .input-group-btn > .btn {
    position: relative;
}

/*.hideshare-wrap {
    padding: 20px 0px;
}*/
#SharingFeatures {
    padding-top: 10px !important;
    padding-bottom: 20px !important;
}

.share-icon {
    width: 25px;
    height: 30px;
    object-fit: contain;
    display: block;
}


@media (max-width: 575.98px) {
    #blog-page .bh-hero {
        min-height: 52vh;
    }
}


/* layout-content-part */

/*.layout-content-part{
    padding-left:150px !important;
}*/
#blog-page .tl-dr {
    background: var(--light);
    border-left: 3px solid var(--primary-color);
    padding: 20px 30px 20px 20px;
}

    #blog-page .tl-dr > p:first-child {
        font-size: 30px;
        font-weight: 600;
        color: var(--primary-color) !important;
    }

    #blog-page .tl-dr p, ol li {
        font-size: 21px;
        font-weight: 400 !important;
        color: var(--black);
    }

#blog-page .tl-dr-service {
    background: var(--light);
    /*    border-left: 3px solid var(--primary-color);*/
    /*    padding: 20px 30px 20px 20px;*/
    padding: 10px;
}

    #blog-page .tl-dr-service h2 {
        font-size: 30px;
        font-weight: 600;
        color: var(--primary-color);
    }

    #blog-page .tl-dr-service p, ol li {
        font-size: 18px;
        font-weight: 400 !important;
        color: var(--black);
    }

#blog-page .layout-content-part .content p, ul li, ol li {
    font-size: 18px;
    font-weight: 400;
    color: var(--black);
}

#blog-page .layout-content-part .content h2 {
    font-size: 30px;
    font-weight: 600;
    color: var(--primary-color);
}


/*other blogs*/

#blog-page .rel-sections {
    padding-left: 150px;
    padding-right: 150px;
}

    #blog-page .rel-sections h1 {
        color: #004448;
    }

#blog-page .rel-section h2 {
    font-weight: 400;
    font-size: 30px;
    margin: 0;
    font-family: var(--font-Source)
}

#blog-page .rel-viewall {
    white-space: nowrap;
    text-decoration: none;
    font-weight: 700;
    color: var(--rel-ink);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

    #blog-page .rel-viewall .chev {
        transition: transform .15s ease;
    }

    #blog-page .rel-viewall:hover .chev {
        transform: translateX(3px);
    }

#blog-page .rel-card .rel-thumb {
    width: 100%;
    aspect-ratio: 4/3; /* consistent crop like your mock */
    border-radius: .25rem;
    background: #e5e7eb;
    overflow: hidden;
}

    #blog-page .rel-card .rel-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

#blog-page .rel-date {
    color: #4C4C4C;
    font-size: 15px;
    margin-top: .65rem;
    font-family: var(--font-Source)
}

#blog-page .rel-title {
    font-weight: 700;
    margin: .2rem 0 0;
    line-height: 1.25;
    font-size: 21px;
    font-family: var(--font-Source);
}

/*table-of-content*/

#blog-page .table-of-content {
    background: #D4E9E9;
}

#blog-page .list-unstyled a {
    text-decoration: underline;
}
/*.subsection-1 {
 
    margin-left: 80px;
}*/
#blog-page .subsection-1 ul {
    line-height: 50px;
}

#blog-page .sp-btn {
    background: #45E2D4;
    /*margin-right: 80px;*/
}

    #blog-page .sp-btn p {
        font-size: 16px
    }

#blog-page .btn-1 {
    border: 1px solid #000;
    font-weight: 700;
    background: transparent;
    font-size: 18px;
    font-family: var(--font-Source);
    color: #000;
}

    #blog-page .btn-1:hover {
        border: 1px solid #000;
        font-weight: 700;
        background: #fff;
    }

#blog-page .subsection-2 {
    background: #F7F7F7;
}

#blog-page .offer-section {
    background: rgb(108, 175, 167);
}

#blog-page .offer-section {
    /*    background: linear-gradient(90deg, #c4f3ef 0%, #e5f9f7 100%);*/
    background: url(/img/Group-16.png) center / cover no-repeat, linear-gradient(90deg, #c4f3ef 0%, #e5f9f7 100%);
    overflow: hidden;
}

    #blog-page .offer-section img {
        position: relative;
        right: 300px;
    }

#blog-page .subsection-2 .text-part {
    z-index: 1;
}

#blog-page .row1 {
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
    margin-top: var(--bs-gutter-y);
}

#blog-page ol li:has(h1,h2,h3)::marker {
    font-size: 24px !important
}

.well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}

.sleep-text {
    color: #fff;
    text-align: center;
    font-weight: 600;
    font-size: 30px;
    font-family: var(--font-Source);
    padding-top: 20px;
    padding-bottom: 35px;
    position: relative;
}

#tab_testimonial .bubble {
    margin-bottom: 50px;
}

    #tab_testimonial .bubble blockquote {
        margin: 10px 10px 0;
        background: #fff;
        padding: 60px;
        position: relative;
        border: none;
        border-radius: 8px;
        font-size: 1em;
        color: #23877e;
    }

blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 17.5px;
    border-left: 5px solid #eee;
}

#tab_testimonial .bubble div {
    width: 0;
    height: 0;
    /*     border-left: 0 solid transparent; */
    border-right: 20px solid transparent;
    border-top: 20px solid #fff;
    margin: 0 0 10px 60px;
}

#tab_testimonial .bubble {
    position: relative;
    background: #22716a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}


    #tab_testimonial .bubble cite {
        padding-left: 20px;
        color: #fff;
        font-weight: 400;
    }

    #tab_testimonial .bubble blockquote:before {
        top: 0;
        left: 10px;
    }

    #tab_testimonial .bubble blockquote:before, .bubble blockquote:after {
        content: "\201C";
        position: absolute;
        font-size: 80px;
        padding: 10px;
        line-height: 1;
        color: rgb(56 169 157 / 50%);
    }

    #tab_testimonial .bubble blockquote:after {
        content: "\201D";
        right: 10px;
        bottom: -.5em;
    }

    #tab_testimonial .bubble blockquote:before, .bubble blockquote:after {
        /*    content: "\201C";*/
        position: absolute;
        font-size: 80px;
        padding: 10px;
        line-height: 1;
        color: rgb(56 169 157 / 50%);
    }

.service-part ul li .nav-link {
    color: #3c867e !important;
}

    .service-part ul li .nav-link:hover {
        background-color: #45e2d4 !important;
        color: #fff !important;
    }

.blog_grid a {
    color: #3c867e;
    text-decoration: none;
}

.blog_grid p {
    color: #000;
    font-size: 18px;
    font-family: var(--font-Source);
}

.pull-left {
    float: left !important;
}

.blog_grid {
    border-left: 3px solid var(--primary-color);
    /*    box-shadow: 0 0 21px rgba(0, 0, 0, .05) inset;*/
    display: inline-block;
    margin: 0 0 30px;
    padding: 20px;
    width: 100%;
    background: #f4ffff;
}

/*.blog_grid_section {
    border-left: 3px solid var(--primary-color);*/
/*    box-shadow: 0 0 21px rgba(0, 0, 0, .05) inset;*/
/*display: inline-block;
    margin: 0 0 30px;
    padding: 20px;
    width: 100%;
    background: #f4ffff;
}*/
.content.sub-page p {
    color: #000;
    font-size: 20px;
    text-align: justify;
    margin: 10px 0;
}

.post_title {
    margin-top: 10px;
    margin-bottom: 10px
}

.blog-img {
    display: flex;
    justify-items: center;
}

.thumbnail {
    display: block;
    padding: 4px;
    margin-bottom: 20px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: border .2s ease-in-out;
    -o-transition: border .2s ease-in-out;
    transition: border .2s ease-in-out;
}

#pagination_blog {
    /*    background-color: #f4ffff*/
}

.page-link {
    color: #000
}

    .page-link:hover {
        color: #fff;
        background-color: #25cbb9
    }

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #3C867E;
    border-color: #3C867E;
}

.blog-part .content strong a {
    text-decoration: none !important;
}

#backToTop {
    position: fixed;
    bottom: 10px;
    right: 10px;
    color: var(--primary-color);
    z-index: 10;
}

#share-wrapper {
    background-color: #fff;
    z-index: 10;
}

    #share-wrapper a {
        color: #fff;
        background-color: #3c867e;
        padding: 5px
    }

#acess-icons li i {
    color: var(--primary-color) !important
}

#acess-icons .accessibility-footer a.btn-link {
    color: var(--primary-color) !important
}

#recaptcha1 > div {
    transform: translateX(-14px) scale(.8)
}

#recaptcha2 > div {
    transform: translateX(-40px) scale(.8)
}

.contact-text {
    color: var(--primary-color);
    font-family: var(--font-Source);
    font-size: 28px;
    font-weight: bold;
}

.iti-mobile .modal-open {
    padding-right: 0px !important
}

.modal-open {
    padding-right: 0px !important
}

.intl-tel-input {
    display: block !important;
}

.btn-offer a, .btn-service a {
    color: #000;
    text-decoration: none
}

#accessibility-button i {
    color: var(--primary-color) !important
}

.error {
    color: red;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #ff0000;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgb(255 255 255 / 25%);
}

.secure {
    font-size: 10px !important
}

.cu-map2 {
    height: 450px;
    width: 100%
}

.contact-map {
    width: 100%;
    height: 192px;
}

.free-text {
    font-size: 30px !important;
}

.section-label-host:empty {
    min-height: 1em;
    display: inline-block;
}


@media (max-width: 767px) {
    #blog-page .rel-sections {
        padding-left: 50px;
        padding-right: 50px;
    }

    .accordion-button:not(.collapsed) {
        color: #000 !important;
        background: #04c2cc;
    }

    .section-title {
        font-size: 25px !important;
        font-weight: 600;
        color: #029d9b;
        margin-bottom: 30px;
    }

    .accordion-body {
        padding: 0px;
    }

    #blog-page .sleep-text {
        color: #fff;
        text-align: center;
        font-weight: 600;
        font-size: 24px;
        font-family: var(--font-Source);
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {


    #blog-page .layout-content-part .blog-part, .service-part {
        margin-left: 80px;
    }

    #blog-page .rel-sections {
        padding-left: 100px;
        padding-right: 100px;
    }
}

@media (min-width: 1440px) {

    #blog-page .layout-content-part .blog-part, .service-part {
        margin-left: 100px;
        margin-right: 100px;
    }
}






@media (min-width: 768px) and (max-width: 1023px) {
    #blog-page .rel-sections {
        padding-left: 60px;
        padding-right: 60px;
    }

    #blog-page .layout-content-part {
        padding: 50px;
    }
}


@media (min-width: 1440px) {
    .sticky-image {
        position: sticky;
        top: 170px;
    }
}

@media (min-width: 992px) {
    .sticky-image {
        position: sticky;
        top: 0px; /* adjust to your fixed header height */
        align-self: flex-start; /* prevents column stretch */
    }
}

/* 3) The inner box is not sticky anymore */
.table-of-content.sticky-top {
    position: static;
    top: auto;
}

.rel-section {
    background: #f7f7f7;
    /*    margin-top: 50px;*/
    padding: 10px 0px;
}

.owl-nav {
    display: none;
}

@media (max-width:567px) {
    #blog-page .btn-1 {
        border: 2px solid #000;
        font-weight: 700;
        background: transparent;
        font-size: 17px;
        font-family: var(--font-Source);
        color: #000;
    }

    #recaptcha1 > div {
        transform: translateX(-40px) scale(.8)
    }
}

@media (min-width:992px) and (max-width:1200px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-left: 6px;
        padding-right: 6px;
        font-size: 18px;
    }
}

@media (min-width:1201px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-left: 15px;
        padding-right: 15px;
        font-size: 18px;
    }
}
/* Desktop: show nav-pills, hide accordion */
/*@media (min-width: 768px) {
    .accordion {
        display: none !important;
    }
}*/

/* Mobile: show accordion, hide tab pills */
/*@media (max-width: 767.98px) {
    .nav-pills, .tab-content {
        display: none !important;
    }
}*/

.service-part.blog-page {
    background: #fff !important;
}

    .service-part.blog-page > .tl-dr-service {
        background: #fff !important;
    }





.services-scroll {
    max-height: 500px; /* adjust height as needed */
    overflow-y: auto; /* enables vertical scroll */
    overflow-x: hidden; /* disables horizontal scroll */
    padding-right: 10px; /* avoids text clipping behind scrollbar */
}

    /* Optional: smooth scrollbar styling for better aesthetics */
    .services-scroll::-webkit-scrollbar {
        width: 6px;
    }

    .services-scroll::-webkit-scrollbar-thumb {
        background-color: #005b60;
        border-radius: 3px;
    }

    .services-scroll::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

.sm-tb {
    background: #004448;
}

    .sm-tb span {
        color: #fff !important;
        font-size: 16px;
        font-weight: 800;
    }

    .sm-tb i {
        color: #04c2cc !important;
    }


.sm-tb2 {
    background: #04c2cc;
}

    .sm-tb2 a {
        color: #004448 !important;
        font-size: 16px;
        font-weight: 800;
    }

    .sm-tb2 i {
        color: #04c2cc !important;
    }

@media (max-width:767px) {
    .appointment-btn {
        display: inline-block;
        background-color: #ffffff;
        color: #000;
        font-weight: 600;
        text-transform: uppercase;
        border: 2px solid #ffffff;
        padding: 8px 35px;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }
}

/*all-post*/
.all-post {
    background: #fff;
}

.card-img-top {
    height: 220px;
    object-fit: cover;
}

.all-post .card-title {
    font-size: 21px;
    font-weight: 700;
    color: #000;
}

.all-post .duration {
    font-size: 15px;
    font-weight: 700;
    color: #3c867e;
}

.card-text {
    line-height: 1.5;
}

.pagination .page-link {
    color: #0f6161;
}

.pagination .page-item.active .page-link {
    background-color: #0f6161;
    border-color: #0f6161;
}
/* Custom Pagination */
.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
    font-size: 15px;
}

    .custom-pagination .page-item {
        list-style: none;
    }

    .custom-pagination .page-link {
        border: none;
        color: #000;
        background: transparent;
        padding: 6px 10px;
        border-radius: 4px;
        transition: 0.3s;
    }

    .custom-pagination .page-item.active .page-link {
        background-color: #00bcd4; /* teal blue */
        color: #fff;
    }

    .custom-pagination .page-link:hover {
        background-color: #00bcd4;
        color: #fff;
    }

    .custom-pagination .page-link:focus {
        box-shadow: none;
    }

@media (max-width: 576px) {
    .custom-pagination {
        font-size: 13px;
        gap: 5px;
    }
}

.custom-search {
    position: relative;
    width: 280px;
}

    .custom-search input {
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 8px 35px 8px 12px;
        width: 100%;
        font-size: 15px;
        transition: border-color 0.3s;
    }

        .custom-search input:focus {
            border-color: #00bcd4;
            box-shadow: none;
            outline: none;
        }

    .custom-search button {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        border: none;
        background: transparent;
        color: #555;
        font-size: 16px;
    }

        .custom-search button:hover {
            color: #00bcd4;
        }

/* Responsive layout */
@media (max-width: 767.98px) {
    .post-header {
        flex-direction: column;
        align-items: stretch !important;
    }

    .custom-search {
        width: 100%;
    }

    .post-header h2 {
        margin-bottom: 10px !important;
    }
}

@media (max-width: 424px) {
    .hero::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0px;
        height: 238px;
        background: linear-gradient(0deg, rgb(15 79 74 / 44%), rgb(15 79 74 / 44%)), var(--hero-img) center / cover no-repeat;
    }
}

/* ========== Mobile–Medium CTA Bar ========== */
.cta-bar {
    display: flex;
    width: 100%;
    min-height: 44px; /* tweak if you want taller */
    line-height: 1;
    font-weight: 600;
}

.cta-item {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: .5rem;
}

/* Left: phone */
.cta-call {
    background: #0f6161; /* teal */
    color: #ffffff;
    position: relative;
}

    .cta-call .icon {
        height: 100%;
        display: flex;
        align-items: center;
        padding: 0 .75rem;
        /* background: #0a4a4b;*/ /* darker strip behind icon */
        border-right: 1px solid rgba(255,255,255,.12);
    }

        .cta-call .icon i {
            font-size: 1rem;
        }

    .cta-call:hover {
        filter: brightness(0.95);
        color: #fff;
    }

/* Right: schedule */
.cta-book {
    background: #10cfd8; /* aqua / cyan */
    color: #0b2b2b; /* dark ink */
    text-align: center;
    border-left: 1px solid rgba(0,0,0,.08);
}

    .cta-book:hover {
        filter: brightness(0.95);
        color: #0b2b2b;
    }

/* Optional: make the whole bar fixed to top on phones */
/*
@media (max-width: 991.98px){
  .cta-bar{ position:sticky; top:0; z-index:1030; }
}
*/
.anc-str a {
    font-weight: 700;
}

/*faqs*/
/* ===============================
   FAQ "Rail Timeline" — H3-as-trigger compatible
   Works with:
   - <button class="accordion-button">…</button>
   - <h3 class="accordion-header" data-bs-toggle="collapse" … itemprop="name">…</h3>
=================================*/

.accordion:is(.bh-faq, #faqAccordion) {
    --faq-ink: #0c2f2f;
    --faq-muted: #516565;
    --faq-rail: #e6f1f1;
    --faq-accent: #0f6161;
    --faq-accent-2: #0fb8ad;
    --faq-card: #ffffff;
    --faq-shadow: 0 10px 30px rgba(15,97,97,.10);
    --faq-shadow-sm: 0 6px 18px rgba(15,97,97,.08);
    position: relative;
    counter-reset: faq;
    padding-left: 2.25rem; /* space for rail + badges */
}

    /* Vertical rail running behind all items */
    .accordion:is(.bh-faq, #faqAccordion)::before {
        content: "";
        position: absolute;
        left: 1.25rem;
        top: .5rem;
        bottom: .5rem;
        width: 2px;
        background: linear-gradient(#dff1f1,#eaf6f6);
        border-radius: 2px;
    }

    /* Card container */
    .accordion:is(.bh-faq, #faqAccordion) .accordion-item {
        counter-increment: faq;
        background: var(--faq-card);
        border: 1px solid #edf6f6;
        border-radius: 14px;
        margin: 0 0 14px;
        box-shadow: var(--faq-shadow-sm);
        overflow: hidden;
        position: relative;
        transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }

        .accordion:is(.bh-faq, #faqAccordion) .accordion-item:hover {
            transform: translateY(-1px);
            box-shadow: var(--faq-shadow);
        }

        /* Number badge pinned to the rail */
        .accordion:is(.bh-faq, #faqAccordion) .accordion-item::before {
            content: counter(faq, decimal-leading-zero);
            position: absolute;
            left: -2.25rem; /* sits over the rail */
            top: 14px;
            width: 2.1rem;
            height: 2.1rem;
            display: grid;
            place-items: center;
            font: 700 0.85rem/1 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
            color: #fff;
            background: linear-gradient(135deg, var(--faq-accent), var(--faq-accent-2));
            border-radius: 10px;
            box-shadow: 0 6px 16px rgba(15,184,173,.25);
        }

    /* Reset default heading spacing */
    .accordion:is(.bh-faq, #faqAccordion) .accordion-header {
        margin: 0;
    }

    /* TRIGGER: style either <button.accordion-button> or <h3.accordion-header> */
    .accordion:is(.bh-faq, #faqAccordion) :is(.accordion-button, h3.accordion-header) {
        background: #fff;
        color: var(--faq-ink) !important;
        padding: 1.1rem 3.25rem 1.1rem 1.25rem;
        font-weight: 700;
        line-height: 1.35;
        border: 0;
        box-shadow: none;
        position: relative;
        display: block;
        cursor: pointer;
        font-size: 18px;
    }

        /* Focus ring (button or h3) */
        .accordion:is(.bh-faq, #faqAccordion) :is(.accordion-button, h3.accordion-header):focus {
            outline: none;
            box-shadow: 0 0 0 4px rgba(15,184,173,.18);
        }

        /* Active header gradient strip */
        .accordion:is(.bh-faq, #faqAccordion) :is(.accordion-button, h3.accordion-header):not(.collapsed) {
            background: linear-gradient(90deg, rgba(15,184,173,.08), rgba(255,255,255,0));
            color: var(--faq-ink) !important;
            border-bottom: 1px dashed var(--faq-rail);
        }

        /* Replace Bootstrap chevron with a caret on the trigger (button or h3) */
        .accordion:is(.bh-faq, #faqAccordion) :is(.accordion-button, h3.accordion-header)::after {
            background-image: none !important; /* kill default icon if present */
            content: "";
            position: absolute;
            right: 1.1rem;
            top: 50%;
            width: .55rem;
            height: .55rem;
            border-right: 2px solid var(--faq-accent);
            border-bottom: 2px solid var(--faq-accent);
            transform: translateY(-50%) rotate(-45deg);
            transition: transform .2s ease, border-color .2s ease;
        }

        .accordion:is(.bh-faq, #faqAccordion) :is(.accordion-button, h3.accordion-header):not(.collapsed)::after {
            transform: translateY(-50%) rotate(135deg);
            border-color: var(--faq-accent-2);
        }

    /* Body */
    .accordion:is(.bh-faq, #faqAccordion) .accordion-collapse {
        background: linear-gradient(180deg, #ffffff 0%, #fbfefe 100%);
    }

    .accordion:is(.bh-faq, #faqAccordion) .accordion-body {
        padding: 1rem 1.25rem 1.25rem 1.25rem;
        color: var(--faq-muted);
        font-weight: 500;
    }

        .accordion:is(.bh-faq, #faqAccordion) .accordion-body p {
            margin-bottom: .75rem;
        }

            .accordion:is(.bh-faq, #faqAccordion) .accordion-body p:last-child {
                margin-bottom: 0;
            }

    /* Tighten borders when expanded */
    .accordion:is(.bh-faq, #faqAccordion) .accordion-collapse.collapse.show {
        border-top: 1px dashed var(--faq-rail);
    }

/* Compact on small screens */
@media (max-width: 575.98px) {
    .accordion:is(.bh-faq, #faqAccordion) {
        padding-left: 1.9rem;
    }

        .accordion:is(.bh-faq, #faqAccordion) .accordion-item::before {
            left: -1.9rem;
            top: 12px;
            width: 1.9rem;
            height: 1.9rem;
            border-radius: 9px;
            font-size: .8rem;
        }

        .accordion:is(.bh-faq, #faqAccordion) :is(.accordion-button, h3.accordion-header) {
            padding: .95rem 2.75rem .95rem 1rem;
            font-weight: 700;
            color: #000 !important;
        }

            .accordion:is(.bh-faq, #faqAccordion) :is(.accordion-button, h3.accordion-header)::after {
                right: .9rem;
            }
}


/* SOC = Smiles Of Cary custom accordion */
.soc-accordion {
    margin-top: 1rem;
}

.soc-acc-item {
    border: 1px solid #e6eaee;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(0,0,0,0.04);
}

.soc-acc-header {
    margin: 0;
}

.soc-acc-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between; /* space for chevron */
    gap: .75rem;
    padding: 1rem 1.125rem;
    /*   font-weight: 600;*/
    background: #ffffff;
    color: #1f2a37;
    border: 0;
    cursor: pointer;
    text-align: left;
    position: relative;
    transition: background-color .2s ease, color .2s ease;
    font-size: 20px;
}

/* Title + optional left icon dot */
.soc-acc-title {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
}

.soc-acc-icon {
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
    background: #0f6161;
    opacity: .9;
    display: inline-block;
}

/* Right chevron built with borders (no icon font dependency) */
.soc-acc-btn::after {
    content: "";
    width: .65rem;
    height: .65rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform .2s ease;
}

/* Expanded state styles (driven by aria-expanded) */
.soc-acc-btn[aria-expanded="true"] {
    color: #0f6161;
    background: #f0f7f7;
}

    .soc-acc-btn[aria-expanded="true"]::after {
        transform: rotate(135deg);
    }

.soc-acc-btn:focus {
    outline: none;
    box-shadow: 0 0 0 .2rem rgba(15,97,97,0.18);
    border-radius: 10px;
}

.soc-acc-collapse {
    background: #fff;
}

.soc-acc-body {
    padding: 1rem 1.125rem 1.25rem;
    line-height: 1.7;
    color: #374151;
}

/* Hover affordance */
.soc-acc-btn:hover {
    background: #f7fbfb;
}

/* Reduce radius on very small screens to match tighter UI */
@media (max-width: 575.98px) {
    .soc-acc-item {
        border-radius: 10px;
    }

    .soc-acc-btn {
        padding: .9rem .95rem;
    }
}
.dpe-part {
    background: #effafa;
    padding-top:50px;
    padding-bottom:50px;
}

.blog-main .card-title a {
    color: #000;
    text-decoration: none;
}

    .blog-main .card-title a:hover {
        color: #029d9b;
        text-decoration: none;
    }

#tldr {
    margin-top: 2em;
    margin-bottom: 2em;
    width: 75%;
    font-weight: 600;
    background-color: rgb(244, 255, 255) !important;
    padding: 1em;
    border-left: 4px solid rgb(2, 157, 155);
}