/*******************************************/
/*  Custom enhancements: nav bar & footer   */
/*  (kept separate from style.css so the    */
/*  original theme file stays untouched)    */
/*******************************************/

/* ---------- Global: prevent long admin-entered text from causing
   horizontal page overflow on narrow screens ---------- */
.about-text,
.about-text * {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Light, airy header instead of a dark/black bar - pale tan with dark
   charcoal text (navbar-light in the markup already gives Bootstrap's
   dark-on-light defaults for the toggler icon and nav links; this just
   pins the exact brand background). Applies at every width. */
.navbar.bg-light {
    background: #ffffff !important;
}

.navbar-light .navbar-nav .nav-link {
    color: #3D3A34;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    background: rgba(61, 58, 52, .08);
}

/* ---------- Nav bar: centered logo + toggle-only menu (desktop) ----------
   Desktop shows just a single CTA + a "more" (3-dot) button, both grouped
   on the right, with the logo centered. All links live in #navbarCollapse,
   which is hidden by default and opens as a dropdown panel from the
   3-dot button (overriding Bootstrap's forced-visible .navbar-collapse
   at the .navbar-expand-lg breakpoint). ---------- */
@media (min-width: 992px) {
    .navbar {
        /* Theme's default made this float transparently over the hero
           image (position:absolute, ~10% opacity background), which
           looked like a broken overlap once the hero became a single
           static photo. Make it a normal, solid bar instead - matches
           how it already behaves on mobile. */
        position: relative;
        top: 0;
        padding: 18px 60px;
        margin-bottom: 14px;
    }

    .navbar .container-fluid {
        position: relative;
    }

    .navbar-brand {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        z-index: 2;
    }

    .navbar-expand-lg .navbar-collapse {
        display: none !important;
    }

    .navbar-header-right {
        align-items: center;
        gap: 15px;
        margin-left: auto;
    }

    .navbar-expand-lg .navbar-collapse.show {
        display: block !important;
        position: absolute;
        right: 0;
        top: 100%;
        margin-top: 10px;
        width: 280px;
        max-height: 75vh;
        overflow-y: auto;
        background: rgba(255, 255, 255, .98);
        border-radius: 8px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, .18);
        padding: 10px 0;
    }

    .navbar-collapse .navbar-nav {
        flex-direction: column;
    }

    .navbar-collapse .navbar-nav .nav-link {
        color: #3D3A34;
        text-transform: none;
        letter-spacing: 0;
        padding: 10px 22px !important;
        font-size: 14px;
    }

    .navbar-collapse .navbar-nav .nav-link:hover,
    .navbar-collapse .navbar-nav .nav-link.active {
        background: #F3E3D0;
    }

    .navbar-collapse .nav-sublink {
        padding-left: 34px !important;
        font-size: 13px;
        color: #797979;
    }

    .navbar-collapse .dropdown-header {
        padding: 10px 22px 2px 22px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .5px;
        color: #A85A28;
    }

    .navbar-collapse .dropdown-divider {
        margin: 8px 0;
    }
}

.navbar-more-toggle {
    /* Overrides Bootstrap's .navbar-expand-lg .navbar-toggler{display:none} -
       this button is only ever rendered inside the desktop-only
       .navbar-header-right wrapper, so it should always show when its
       parent does. */
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0 !important;
    border: 1px solid rgba(61, 58, 52, .3) !important;
    border-radius: 50%;
    color: #3D3A34;
    font-size: 16px;
    background: transparent;
    transition: .25s;
}

.navbar-more-toggle:hover,
.navbar-more-toggle[aria-expanded="true"] {
    background: #CF7D48;
    border-color: #CF7D48;
    color: #3D3A34;
}

.nav-cta-header {
    padding: 10px 24px !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    color: #3D3A34 !important;
    background: #CF7D48;
    border-radius: 30px;
    transition: .3s;
}

.nav-cta-header:hover {
    background: #3D3A34;
    color: #ffffff !important;
}

/* ---------- Nav bar: mobile ---------- */
.navbar-brand-img {
    height: 50px;
}

@media (max-width: 575.98px) {
    .navbar-brand-img {
        height: 32px;
    }

    .navbar.navbar-expand-lg {
        padding: 10px !important;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .navbar-brand-img {
        height: 42px;
    }
}

.navbar-mobile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #CF7D48;
    color: #3D3A34 !important;
    font-size: 17px;
    flex-shrink: 0;
}

.nav-call-btn:hover,
.nav-call-btn:focus {
    background: #3D3A34;
    color: #ffffff !important;
}

@media (min-width: 992px) {
    .navbar-mobile-actions {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link,
    .navbar .navbar-nav .nav-item.dropdown > .nav-link {
        padding: 12px 5px;
        font-size: 16px;
    }

    .navbar .dropdown-item {
        padding: 12px 20px;
        font-size: 15px;
    }

    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-collapse .nav-sublink {
        padding-left: 25px !important;
        font-size: 14px !important;
        opacity: .85;
    }

    .navbar-collapse .dropdown-header {
        padding: 10px 5px 0 5px;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .5px;
        color: #CF7D48;
    }

    .navbar-collapse .dropdown-divider {
        border-color: rgba(255, 255, 255, .15);
        margin: 8px 0;
    }
}

/* ---------- Menu: tap-to-open groups ---------- */
.navbar-collapse .nav-group-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.navbar-collapse .nav-group-toggle .fa-chevron-down {
    font-size: 11px;
    transition: transform .25s ease;
}

.navbar-collapse .nav-group-toggle:not(.collapsed) .fa-chevron-down {
    transform: rotate(180deg);
}

.navbar-collapse .nav-group {
    padding-bottom: 6px;
}

.navbar-collapse .nav-group-grid.show {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.navbar-collapse .nav-group-grid .nav-sublink {
    padding-left: 22px !important;
    padding-right: 8px !important;
}

/* ---------- Nav bar ---------- */
.navbar .nav-cta {
    margin-left: 10px;
    padding: 8px 20px !important;
    background: #CF7D48;
    color: #3D3A34 !important;
    border-radius: 30px;
    font-weight: 600;
}

.navbar .nav-cta:hover {
    background: #ffffff;
    color: #3D3A34 !important;
}

@media (max-width: 991.98px) {
    .navbar .nav-cta {
        margin: 10px 0 0 0;
        display: inline-block;
    }
}

/* ---------- Hero banner (homepage) ---------- */
.hero-banner {
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

@media (min-width: 768px) {
    .hero-banner {
        min-height: 520px;
    }
}

@media (min-width: 992px) {
    .hero-banner {
        min-height: 620px;
    }
}

.hero-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroSlowZoom 22s ease-in-out infinite alternate;
}

@keyframes heroSlowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.09); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-banner-img {
        animation: none;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background: linear-gradient(180deg, rgba(61, 58, 52, .5), rgba(61, 58, 52, .65));
    pointer-events: none;
}

.hero-overlay-inner {
    max-width: 760px;
    pointer-events: auto;
    animation: heroFadeUp .9s ease-out both;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 30px;
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.hero-trust-badge .hero-trust-stars {
    display: inline-flex;
    gap: 1px;
}

.hero-trust-badge .hero-trust-stars i {
    color: #FBBC04;
    font-size: 12px;
}

@media (max-width: 575.98px) {
    .hero-trust-badge {
        font-size: 11.5px;
        padding: 7px 14px;
        margin-bottom: 18px;
    }
}

.hero-overlay h1 {
    color: #ffffff;
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.hero-overlay p {
    color: #f1f0f5;
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-overlay .hero-btn .btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: .3s;
    margin: 0 6px 10px 6px;
}

.hero-overlay .btn-primary-hero {
    color: #3D3A34;
    background: #CF7D48;
}

.hero-overlay .btn-primary-hero:hover {
    color: #ffffff;
    background: #3D3A34;
}

.hero-overlay .btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    background: transparent;
    border: 2px solid #ffffff;
}

.hero-overlay .btn-secondary-hero:hover {
    color: #3D3A34;
    background: #ffffff;
}

@media (max-width: 767.98px) {
    /* The badge + long headline + paragraph + two buttons don't reliably
       fit inside the fixed min-height banner on narrow screens - the
       absolutely-positioned overlay would get clipped by the banner's
       overflow:hidden. Let the banner grow to fit its content instead. */
    .hero-banner {
        min-height: 0;
    }

    .hero-overlay {
        position: relative;
        padding: 44px 20px;
    }

    .hero-overlay h1 {
        font-size: 30px;
    }

    .hero-overlay p {
        font-size: 15px;
        margin-bottom: 20px;
    }
}

/* ---------- Pricing cards: fix "Best Value" ribbon overflowing on
   narrow screens (theme's original -30px offset assumes desktop gutters) ---------- */
@media (max-width: 575.98px) {
    .price .price-status {
        text-align: center;
    }

    .price .price-status span {
        right: 0;
    }
}

/* ---------- Testimonials (homepage): styled like Google review cards,
   since these are real reviews copied from the Google Business listing.
   Initials avatars are used since no reviewer photos were saved. ---------- */
.google-rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #6B6357 !important;
    transition: color .2s;
}

.google-rating-summary:hover {
    color: #A85A28 !important;
}

.google-rating-summary-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 4px;
    padding-left: 10px;
    border-left: 1px solid #E7DECE;
    color: #A85A28;
    font-weight: 700;
}

.google-rating-stars {
    display: inline-flex;
}

.google-rating-stars i {
    color: #FBBC04;
    font-size: 13px;
    margin: 0 1px;
}

.testimonial .testimonial-item {
    text-align: left;
}

.google-reviews-cta {
    text-align: center;
    margin-top: 34px;
}

.google-reviews-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #3D3A34 !important;
    border: 2px solid #3D3A34;
}

.google-reviews-btn i {
    color: #4285F4;
    font-size: 16px;
}

.google-reviews-btn:hover {
    background: #3D3A34;
    color: #ffffff !important;
}

.google-review-card {
    height: 100%;
    padding: 16px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(61, 58, 52, .08);
    border-left: 3px solid #CF7D48;
    box-shadow: 0 4px 16px rgba(61, 58, 52, .06);
}

.google-review-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.google-review-top .testimonial-avatar {
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 0;
    flex-shrink: 0;
}

.google-review-top .testimonial-avatar span {
    font-size: 15px;
}

.google-review-photo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.google-review-info {
    flex: 1;
    min-width: 0;
}

.google-review-info h3 {
    font-size: 14px;
    font-weight: 700;
    color: #3D3A34;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.google-review-badge {
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2px;
}

.testimonial-avatar-0 span {
    background: #A85A28;
}

.testimonial-avatar-1 span {
    background: #3D3A34;
}

.testimonial-avatar-2 span {
    background: #64984D;
}

.testimonial-avatar span {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
}

.testimonial-rating {
    margin: 0;
}

.testimonial-rating i {
    color: #FBBC04;
    font-size: 13px;
    margin-right: 2px;
}

.testimonial .testimonial-text {
    display: flex;
    flex-direction: column;
    height: 100px;
    margin: 0;
    padding: 0;
    text-align: left;
    background: transparent;
    border: 0;
}

.testimonial .testimonial-text p {
    white-space: pre-line;
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    margin: 0;
    color: #4A4740;
    font-size: 13px;
    line-height: 1.6;
    scrollbar-width: thin;
    scrollbar-color: #CF7D48 transparent;
}

/* Theme highlighted the carousel's centered/active slide with a dark
   background - not wanted on uniform Google-style review cards. */
.testimonial .owl-item.center .testimonial-text {
    background: transparent;
}

.testimonial .owl-item.center .testimonial-text p {
    color: #4A4740;
}

.testimonial-text p::-webkit-scrollbar {
    width: 5px;
}

.testimonial-text p::-webkit-scrollbar-thumb {
    background: #CF7D48;
    border-radius: 10px;
}

/* ---------- CTA banner (homepage, after Yoga For Health) ---------- */
.cta-banner {
    position: relative;
    padding: 55px 20px;
    background: #A85A28;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}

.cta-banner::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-banner p {
    color: #f8ead9;
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto 25px auto;
}

.cta-banner-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #A85A28;
    background: #ffffff;
    border-radius: 30px;
    transition: .3s;
}

.cta-banner-btn:hover {
    color: #ffffff;
    background: #3D3A34;
}

.cta-banner-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-banner-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #ffffff !important;
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 30px;
    transition: .3s;
}

.cta-banner-btn-outline:hover {
    color: #A85A28 !important;
    background: #ffffff;
}

@media (max-width: 575.98px) {
    .cta-banner h2 {
        font-size: 24px;
    }

    .cta-banner p {
        font-size: 15px;
    }
}

/* ---------- Founder bio page (Dr Prem Mehta) ---------- */
.founder-hero {
    padding: 45px 0;
}

/* Cropped to a 4:5 portrait so tall phone photos don't run off the page. */
.founder-hero-img img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 40%;
    border-radius: 6px;
}

.founder-tagline {
    font-size: 17px;
    color: #797979;
    margin-bottom: 25px;
}

.founder-btn,
.founder-btn-outline {
    display: inline-block;
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: .3s;
}

.founder-btn {
    color: #ffffff;
    background: #A85A28;
}

.founder-btn:hover {
    color: #ffffff;
    background: #3D3A34;
}

.founder-btn-outline {
    color: #A85A28;
    background: transparent;
    border: 1px solid #A85A28;
}

.founder-btn-outline:hover {
    color: #ffffff;
    background: #A85A28;
}

.founder-about {
    padding: 45px 0 30px;
}

.founder-about-text {
    max-width: 820px;
    margin: 0 auto 25px;
}

.founder-about-role {
    color: #3D3A34;
}

.founder-quote {
    padding: 50px 0;
    text-align: center;
    background: #F3E3D0;
}

.founder-quote i {
    font-size: 28px;
    color: #A85A28;
    margin-bottom: 15px;
}

.founder-quote p {
    max-width: 760px;
    margin: 0 auto;
    color: #3D3A34;
    font-size: 22px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.6;
}

.founder-stats {
    padding: 45px 0;
    background: #F3E3D0;
}

.founder-stats h2 {
    font-size: 42px;
    font-weight: 700;
    color: #A85A28;
    margin-bottom: 5px;
}

.founder-stats p {
    color: #3D3A34;
    font-weight: 600;
    letter-spacing: .5px;
    margin: 0;
}

@media (max-width: 767.98px) {
    .founder-stats .col-md-4 {
        margin-bottom: 20px;
    }

    .founder-stats .col-md-4:last-child {
        margin-bottom: 0;
    }
}

.founder-story {
    padding: 45px 0 15px 0;
}

.founder-story-text {
    max-width: 850px;
    margin: 0 auto;
}

.founder-expertise {
    padding: 15px 0 45px 0;
}

.founder-expertise-cta {
    margin-top: 30px;
}

.founder-credentials {
    padding: 15px 0 45px 0;
    background: #FAF6F0;
}

.credential-item {
    text-align: center;
    padding: 25px 15px;
    margin-bottom: 20px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 6px;
}

.credential-item i {
    font-size: 30px;
    color: #A85A28;
    margin-bottom: 15px;
    display: block;
}

.credential-item p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #3D3A34;
}

.founder-awards {
    padding: 15px 0 45px 0;
}

/* Award cards: photo slot (or trophy placeholder) with the year as a badge */
.award-card {
    height: calc(100% - 30px);
    margin-bottom: 30px;
    background: #ffffff;
    border: 1px solid rgba(168, 90, 40, .15);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(61, 58, 52, .06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.award-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(61, 58, 52, .12);
}

.award-card-media,
.event-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #FAF6F0;
}

.award-card-media img,
.event-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.award-card-media a:hover img,
.event-card-media a:hover img {
    transform: scale(1.04);
}

.award-card-placeholder,
.event-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 40%, #F3E3D0 0%, #FAF6F0 70%);
}

.award-card-placeholder i,
.event-card-placeholder i {
    font-size: 54px;
    color: rgba(168, 90, 40, .35);
}

.award-card-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background: #A85A28;
    border-radius: 20px;
}

.award-card-body,
.event-card-body {
    padding: 18px 20px 20px 20px;
}

.award-card-body h3,
.event-card-body h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 600;
    color: #3D3A34;
}

.award-card-body p,
.event-card-body p {
    margin: 8px 0 0 0;
    font-size: 14px;
    color: #777777;
}

.founder-events {
    padding: 15px 0 45px 0;
    background: #FAF6F0;
}

.founder-events-intro {
    max-width: 750px;
    margin: 0 auto 30px auto;
    text-align: center;
}

/* Event cards: photo slot (or calendar placeholder) and date */
.event-card {
    height: calc(100% - 30px);
    margin-bottom: 30px;
    background: #ffffff;
    border: 1px solid rgba(168, 90, 40, .15);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(61, 58, 52, .06);
}

.event-card-date {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #A85A28;
}

/* Events page: grouped by year down a vertical line */
.events-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.events-year-group {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid rgba(168, 90, 40, .3);
}

.events-year {
    position: relative;
    display: inline-block;
    margin: 0 0 20px -46px;
    padding: 6px 16px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    background: #A85A28;
    border-radius: 20px;
}

.events-timeline-item .event-card {
    height: auto;
    margin-bottom: 25px;
}

@media (min-width: 768px) {
    .event-card-wide {
        display: flex;
    }

    .event-card-wide .event-card-media {
        flex: 0 0 38%;
        aspect-ratio: auto;
        min-height: 190px;
    }

    .event-card-wide .event-card-body {
        align-self: center;
        padding: 22px 25px;
    }
}

/* Events page: Upcoming / Past headings, upcoming badge and Register button */
.events-section-title {
    max-width: 900px;
    margin: 10px auto 22px auto;
    font-size: 22px;
    font-weight: 700;
    color: #3D3A34;
}

.events-section-title i {
    margin-right: 6px;
    color: #A85A28;
}

.events-upcoming,
.events-timeline-flat {
    max-width: 900px;
    margin: 0 auto 20px auto;
}

.events-timeline-flat .event-card {
    height: auto;
    margin-bottom: 25px;
}

.event-card-media {
    position: relative;
}

.event-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #ffffff;
    background: #A85A28;
    border-radius: 20px;
}

.event-card-upcoming {
    border-color: #A85A28;
    box-shadow: 0 8px 24px rgba(168, 90, 40, .15);
}

.event-card-venue {
    display: block;
    margin: -4px 0 8px 0;
    font-size: 13px;
    color: #777777;
}

.event-card-venue i {
    margin-right: 4px;
    color: #A85A28;
}

.event-register-btn {
    margin-top: 6px;
    padding: 7px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: #25D366;
    border-radius: 30px;
}

.event-register-btn:hover {
    color: #ffffff;
    background: #1EBE5A;
}

.events-empty {
    max-width: 600px;
    margin: 10px auto 0 auto;
    text-align: center;
    color: #777777;
}

/* Home page: next upcoming event, just under the hero */
.next-event-strip {
    padding: 25px 0;
    background: #FAF6F0;
}

.next-event-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
    padding: 18px 24px;
    background: #ffffff;
    border: 1px solid #A85A28;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(168, 90, 40, .12);
}

.next-event-date {
    flex: 0 0 68px;
    padding: 8px 0;
    text-align: center;
    color: #ffffff;
    background: #A85A28;
    border-radius: 8px;
    line-height: 1.1;
}

.next-event-day {
    display: block;
    font-size: 26px;
    font-weight: 700;
}

.next-event-month {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.next-event-text {
    flex: 1 1 auto;
    min-width: 0;
}

.next-event-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #A85A28;
}

.next-event-text h2 {
    margin: 2px 0 4px 0;
    font-size: 20px;
    font-weight: 700;
    color: #3D3A34;
}

.next-event-text p {
    margin: 0;
    font-size: 14px;
    color: #777777;
}

.next-event-text i {
    color: #A85A28;
}

.next-event-venue {
    margin-left: 12px;
}

.next-event-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.next-event-actions .event-register-btn {
    margin-top: 0;
    white-space: nowrap;
}

.next-event-more {
    font-size: 13px;
    font-weight: 600;
    color: #A85A28;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .next-event-inner {
        flex-wrap: wrap;
        padding: 16px;
        gap: 14px;
    }

    .next-event-text {
        flex-basis: calc(100% - 90px);
    }

    .next-event-text h2 {
        font-size: 17px;
    }

    .next-event-venue {
        display: block;
        margin: 2px 0 0 0;
    }

    .next-event-actions {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
}

/* Switch between the Awards and Events pages */
.founder-subpage-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 40px 0;
}

.founder-subpage-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #A85A28;
    border: 1px solid rgba(168, 90, 40, .35);
    border-radius: 30px;
    background: #ffffff;
}

.founder-subpage-tabs a.active,
.founder-subpage-tabs a:hover {
    color: #ffffff;
    background: #A85A28;
    border-color: #A85A28;
    text-decoration: none;
}

.founder-subpage-tabs span {
    padding: 1px 8px;
    font-size: 12px;
    border-radius: 10px;
    background: rgba(168, 90, 40, .12);
}

.founder-subpage-tabs a.active span,
.founder-subpage-tabs a:hover span {
    background: rgba(255, 255, 255, .25);
}

.founder-preview-cta {
    margin-top: 15px;
}

.founder-subpage {
    padding: 45px 0 60px 0;
}

.credential-note {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    font-style: italic;
    color: #a9a9a9;
}

/* ---------- Therapeutic Yoga highlight (homepage) ---------- */
.therapeutic-section {
    position: relative;
    width: 100%;
    padding: 15px 0 45px 0;
}

.therapeutic-text {
    font-size: 16px;
    color: #797979;
    margin-bottom: 20px;
}

.therapeutic-conditions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.condition-chip {
    display: inline-block;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #3D3A34;
    background: #F3E3D0;
    border-radius: 20px;
    text-decoration: none;
}

.condition-chip-link {
    transition: .25s;
}

.condition-chip-link:hover {
    color: #ffffff;
    background: #A85A28;
    text-decoration: none;
}

.therapeutic-btn {
    position: relative;
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    background: #A85A28;
    border-radius: 30px;
    transition: .3s;
}

.therapeutic-btn:hover {
    color: #ffffff;
    background: #3D3A34;
}

.therapeutic-img {
    position: relative;
    height: 100%;
}

.therapeutic-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

@media (max-width: 767.98px) {
    .therapeutic-img {
        margin-bottom: 30px;
        height: auto;
    }
}

/* ---------- Class schedule (pricing & schedule page) ---------- */
.schedule-section {
    position: relative;
    width: 100%;
    padding: 15px 0 30px 0;
}

.schedule-timeline {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding-left: 70px;
}

.schedule-timeline::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #F3E3D0;
}

.timeline-block {
    position: relative;
    margin-bottom: 35px;
}

.timeline-block:last-child {
    margin-bottom: 0;
}

/* Compact one-line-per-period schedule (home page) */
.schedule-summary {
    max-width: 640px;
    margin: 0 auto;
}

.schedule-summary-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
}

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

.schedule-summary-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #A85A28;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.schedule-summary-row strong {
    color: #3D3A34;
    margin-right: 8px;
}

.schedule-summary-time {
    font-weight: 600;
    color: #A85A28;
}

.schedule-summary-row small {
    display: block;
    color: #777777;
}

.schedule-summary-row small a,
.session-name a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(168, 90, 40, .4);
}

.schedule-summary-row small a:hover,
.session-name a:hover {
    color: #A85A28;
}

.schedule-extra-notes {
    max-width: 640px;
    margin: 20px auto 0;
    padding: 0;
    list-style: none;
}

.schedule-extra-notes li {
    padding: 4px 0;
    color: #4A7A36;
    font-weight: 600;
}

.schedule-extra-notes i {
    margin-right: 6px;
}

.schedule-extra-notes a {
    color: inherit;
    text-decoration: underline;
}

.course-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin: 25px 0;
}

.course-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    background: #ffffff;
    /* Menu links jump to a card: keep it clear of the sticky header. */
    scroll-margin-top: 110px;
}

/* Highlight the card a menu link jumped to. */
.course-card:target {
    border-color: #A85A28;
    box-shadow: 0 0 0 3px rgba(168, 90, 40, .15);
}

.course-card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #A85A28;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
    color: #3D3A34;
}

.course-card p {
    flex-grow: 1;
    margin-bottom: 12px;
    font-size: 15px;
    color: #777777;
}

/* Membership page: labelled WhatsApp button instead of the round icon */
.price-card-btn.price-card-btn-text {
    width: 100%;
    height: auto;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 30px;
    font-weight: 600;
}

.other-services {
    padding: 10px 0 60px;
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.other-service-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(61, 58, 52, .08);
}

.other-service-card h3 {
    margin-bottom: 8px;
    font-size: 19px;
}

.other-service-card h3 a {
    color: #3D3A34;
}

.other-service-card h3 a:hover {
    color: #A85A28;
}

.other-service-card p {
    flex-grow: 1;
    margin-bottom: 12px;
    font-size: 15px;
    color: #777777;
}

.other-service-fee {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #A85A28;
}

.course-card-link {
    font-weight: 600;
    color: #1DA851;
}

.course-card-link:hover {
    color: #25D366;
}

.schedule-trial {
    max-width: 640px;
    margin: 20px auto 0;
    padding: 18px 20px;
    border-radius: 12px;
    background: rgba(74, 122, 54, .08);
    text-align: center;
}

.schedule-trial p {
    margin-bottom: 12px;
    color: #3D3A34;
    font-weight: 600;
}

.schedule-trial .class-contact-whatsapp-btn {
    display: inline-flex;
    width: auto;
    padding: 10px 24px;
}

.timeline-icon {
    position: absolute;
    left: -70px;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #A85A28;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1;
}

.timeline-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.timeline-hours {
    margin: -8px 0 15px;
    color: #4A7A36;
    font-size: 15px;
    font-weight: 600;
}

.timeline-hours i {
    margin-right: 4px;
}

.timeline-hours + .timeline-note {
    margin-top: -10px;
}

.timeline-note {
    margin: -8px 0 15px;
    color: #8A8477;
    font-size: 14px;
    font-style: italic;
}

.timeline-session {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 18px;
    margin-bottom: 10px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 6px;
    transition: .3s;
}

.timeline-session:last-child {
    margin-bottom: 0;
}

.timeline-session:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}

.timeline-session .session-time {
    font-weight: 700;
    color: #3D3A34;
    min-width: 150px;
}

.timeline-session .session-name {
    color: #797979;
    flex: 1;
    min-width: 160px;
}

.timeline-session .session-days {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    background: #F3E3D0;
    color: #3D3A34;
    border-radius: 20px;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .schedule-timeline {
        padding-left: 55px;
    }

    .schedule-timeline::before {
        left: 19px;
    }

    .timeline-icon {
        left: -55px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .timeline-session .session-time {
        min-width: 100%;
    }
}

.price-section-note {
    max-width: 600px;
    margin: -30px auto 45px;
    color: #6B6357;
    font-size: 14px;
}

.schedule-note-section {
    padding-top: 0;
}

.schedule-note {
    margin-top: 25px;
    padding: 20px 25px;
    background: #F3E3D0;
    color: #3D3A34;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.schedule-note i {
    color: #A85A28;
    font-size: 22px;
}

.schedule-note strong {
    color: #A85A28;
}

.schedule-note-link {
    color: #A85A28 !important;
    text-decoration: underline;
    font-weight: 600;
}

/* ---------- Footer ----------
   Theme's default footer is a dark bar (pure black #000000 base, plus a
   gradient over a footer-bg.png that no longer exists in this project,
   which painted inconsistently). Replaced with the same light, airy pale
   tan as the header, so the whole site avoids a dark/black band - text,
   icons and dividers below are all re-themed dark-on-light to match. */
.footer {
    background: #ffffff !important;
}

.footer .container-fluid {
    background: #ffffff !important;
}

/* Footer social icons in each network's own colour. */
.footer .footer-social a i {
    color: #3D3A34;
    transition: transform .2s, opacity .2s;
}

.footer .footer-social a[aria-label="Facebook"] i { color: #1877F2; }
.footer .footer-social a[aria-label="YouTube"] i { color: #FF0000; }
.footer .footer-social a[aria-label="LinkedIn"] i { color: #0A66C2; }
.footer .footer-social a[aria-label="Twitter"] i { color: #1DA1F2; }
.footer .footer-social a[aria-label="WhatsApp"] i { color: #25D366; }

.footer .footer-social a[aria-label="Instagram"] i {
    color: #E1306C;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer .footer-social a:hover i {
    transform: translateY(-2px);
    opacity: .8;
}

.footer .copyright .row {
    border-top: 1px solid rgba(61, 58, 52, .12);
}

.footer .copyright p {
    color: #6B6357;
}

.footer-cols {
    text-align: left;
    padding-bottom: 40px;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-col h3 {
    color: #3D3A34;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #64984D;
}

.footer-col-about .footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-col-about .footer-logo img {
    height: 55px;
}

.footer-about-text {
    color: #6B6357;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-links,
.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #6B6357;
    transition: .3s;
}

.footer-links li a:hover {
    color: #CF7D48;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    color: #6B6357;
    line-height: 1.6;
}

.footer-contact li i {
    color: #64984D;
    margin-right: 12px;
    margin-top: 4px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact li a {
    color: #6B6357;
}

.footer-contact li a:hover {
    color: #CF7D48;
}

@media (max-width: 991.98px) {
    .footer-cols {
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-contact li i {
        margin-top: 6px;
    }
}

.footer-concerns {
    padding-top: 35px;
    margin-top: 10px;
    border-top: 1px solid rgba(61, 58, 52, .08);
    text-align: center;
}

.footer-concerns h3 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #3D3A34;
    margin-bottom: 18px;
}

.footer-concerns-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.footer-concern-chip {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #3D3A34;
    background: #F3E3D0;
    border-radius: 20px;
    transition: .25s;
}

.footer-concern-chip:hover {
    color: #ffffff;
    background: #A85A28;
}

/* ---------- Floating action buttons (all pages) ---------- */
.floating-actions {
    position: fixed;
    left: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.whatsapp-float {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 28px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    transition: transform .25s;
}

.whatsapp-float {
    background: #25D366;
}

.whatsapp-float:hover {
    color: #ffffff;
    transform: scale(1.08);
}

/* Instagram and Google review buttons stacked above WhatsApp - a little
   smaller so WhatsApp stays the main call to action. */
.floating-actions {
    align-items: center;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 22px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
    transition: transform .25s;
}

.floating-btn:hover {
    transform: scale(1.08);
}

.instagram-float,
.instagram-float:hover {
    color: #ffffff;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.google-float,
.google-float:hover {
    color: #4285F4;
    background: #ffffff;
}

@media (max-width: 575.98px) {
    .floating-actions {
        left: 14px;
        bottom: 14px;
        gap: 10px;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .floating-btn {
        width: 40px;
        height: 40px;
        font-size: 19px;
    }
}

/* The nav menu (mobile in-flow, desktop dropdown panel) can scroll tall
   enough that its own "Book Your 2-Day Free Trial" link lands right where
   the fixed floating buttons sit - hide the floating buttons while the
   menu is open to avoid the two overlapping. */
body:has(.navbar-collapse.show) .floating-actions {
    display: none;
}

/* ---------- Blog cards: modern card style (used on the homepage
   carousel, the blog listing grid and related-posts) ---------- */
.blog-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(61, 58, 52, .08);
    transition: transform .3s, box-shadow .3s;
}

.blog-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(61, 58, 52, .14);
}

.blog-icon-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #FAF6F0, #F3E3D0);
}

.blog-thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-icon-badge {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #A85A28;
    font-size: 26px;
    box-shadow: 0 6px 16px rgba(61, 58, 52, .08);
    transition: transform .3s;
}

.blog-item:hover .blog-icon-badge {
    transform: scale(1.08);
}

.blog-icon-header-lg {
    aspect-ratio: 21 / 9;
    border-radius: 14px;
    margin-bottom: 20px;
}

.blog-icon-header-lg .blog-icon-badge {
    width: 84px;
    height: 84px;
    font-size: 34px;
}

.post-img-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FAF6F0, #F3E3D0);
    border-radius: 10px;
}

.post-img-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #A85A28;
    font-size: 24px;
}

.blog-category-chip {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 4px 11px;
    font-size: 11px;
    font-weight: 600;
    color: #3D3A34;
    background: rgba(255, 255, 255, .95);
    border-radius: 20px;
    text-transform: capitalize;
}

.blog .blog-text {
    padding: 16px 18px;
    border: 0;
}

.blog .blog-meta {
    color: #8A8477;
    font-size: 12px;
    margin-bottom: 8px;
}

.blog .blog-meta span {
    display: inline-flex;
    align-items: center;
}

.blog .blog-meta i {
    margin-right: 6px;
    color: #A85A28;
}

.blog .blog-text h2 {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 6px;
}

.blog .blog-text h2 a {
    color: #3D3A34;
    transition: .2s;
}

.blog .blog-text h2 a:hover {
    color: #A85A28;
}

.blog .blog-text p {
    color: #6B6357;
    line-height: 1.55;
    font-size: 13px;
    margin-bottom: 12px;
}

.blog-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: none !important;
    color: #A85A28 !important;
    transition: gap .25s;
}

.blog-readmore i {
    transition: transform .25s;
}

.blog-readmore:hover {
    gap: 12px;
    color: #A85A28 !important;
}

.blog-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6B6357;
}

.blog-empty-state i {
    font-size: 40px;
    color: #CF7D48;
    margin-bottom: 14px;
    display: block;
}

.blog-empty-state p {
    font-size: 15px;
    margin: 0;
}

/* ---------- Blog listing pagination ---------- */
.blog-pagination-wrap {
    margin-top: 20px;
    text-align: center;
}

.blog-pagination-count {
    color: #8A8477;
    font-size: 13px;
    margin-bottom: 18px;
}

.blog-pagination-wrap nav > .pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.blog-pagination-wrap .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 6px;
    border: 1px solid #E7DECE;
    border-radius: 50%;
    background: #ffffff;
    color: #3D3A34;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    transition: .25s;
}

.blog-pagination-wrap .page-item:not(.disabled):not(.active) .page-link:hover {
    background: #F3E3D0;
    border-color: #CF7D48;
    color: #A85A28;
    transform: translateY(-2px);
}

.blog-pagination-wrap .page-item.active .page-link {
    background: #A85A28;
    border-color: #A85A28;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(168, 92, 50, .3);
}

.blog-pagination-wrap .page-item.disabled .page-link {
    background: #FAF6F0;
    border-color: #E7DECE;
    color: #C7BFAF;
}

.blog-pagination-wrap .page-item:first-child .page-link,
.blog-pagination-wrap .page-item:last-child .page-link {
    font-size: 18px;
    color: #A85A28;
    background: #F3E3D0;
    border-color: #F3E3D0;
}

.blog-pagination-wrap .page-item:first-child.disabled .page-link,
.blog-pagination-wrap .page-item:last-child.disabled .page-link {
    background: #FAF6F0;
    color: #C7BFAF;
}

.blog .owl-nav .owl-prev,
.blog .owl-nav .owl-next {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #3D3A34;
    font-size: 16px;
    box-shadow: 0 4px 14px rgba(61, 58, 52, .15);
}

.blog .owl-nav .owl-prev:hover,
.blog .owl-nav .owl-next:hover {
    background: #A85A28;
    color: #ffffff;
}

/* ---------- Why Choose Us ---------- */
.why-choose {
    padding: 50px 0;
    background: #FAF6F0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 10px;
}

@media (min-width: 576px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .why-choose-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.why-choose-item {
    padding: 24px 22px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(61, 58, 52, .06);
    transition: transform .3s, box-shadow .3s;
}

.why-choose-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(61, 58, 52, .12);
}

.why-choose-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #F3E3D0;
    color: #A85A28;
    font-size: 20px;
}

.why-choose-item h3 {
    font-size: 17px;
    font-weight: 700;
    color: #3D3A34;
    margin-bottom: 8px;
}

.why-choose-item p {
    color: #6B6357;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ---------- SEO landing pages (yoga-classes-jaipur and friends) ----------
   Minimal centered hero: no stock photo banner, just a slim breadcrumb
   line followed by a generously-spaced, centered intro. Visual interest
   comes from the Why Choose cards etc. below rather than a hero image. */
.seo-breadcrumb {
    padding: 18px 0;
    background: #FAF6F0;
    border-bottom: 1px solid rgba(61, 58, 52, .08);
    font-size: 14px;
}

.seo-breadcrumb a {
    color: #6B6357;
    transition: .2s;
}

.seo-breadcrumb a:hover {
    color: #A85A28;
}

.seo-breadcrumb span {
    color: #A85A28;
    margin: 0 6px;
}

.seo-breadcrumb span:last-child {
    color: #3D3A34;
    font-weight: 600;
    margin: 0;
}

.seo-landing-intro {
    padding: 70px 0 50px;
    text-align: center;
}

.seo-landing-text {
    display: flex;
    justify-content: center;
}

.seo-landing-text p {
    max-width: 700px;
    color: #6B6357;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.seo-landing-intro .therapeutic-conditions {
    justify-content: center;
    margin-bottom: 30px;
}

.seo-landing-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 35px;
}

/* One-on-one note on landing pages: keep it the same width as the intro
   text, with the icon beside the text instead of wrapping onto its own line. */
.seo-landing-intro .schedule-note {
    max-width: 700px;
    margin: 0 auto;
    flex-wrap: nowrap;
    text-align: left;
}

@media (max-width: 575.98px) {
    .seo-landing-actions .btn {
        width: 100%;
    }
}

.seo-landing-image {
    max-width: 720px;
    margin: 25px auto 35px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(61, 58, 52, .12);
}

.seo-landing-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

/* Shown in place of .seo-landing-image when a page has no photo: the page's
   chosen icon on a soft brand-coloured panel, same footprint as the photo. */
.seo-landing-banner {
    position: relative;
    max-width: 720px;
    height: 340px;
    margin: 25px auto 35px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 30px;
    text-align: center;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .55) 0, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(168, 90, 40, .14) 0, transparent 50%),
        linear-gradient(135deg, #F3E3D0 0%, #F8EFE4 100%);
    box-shadow: 0 12px 30px rgba(61, 58, 52, .12);
}

.seo-landing-banner::before,
.seo-landing-banner::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(168, 90, 40, .18);
    border-radius: 50%;
}

.seo-landing-banner::before {
    width: 260px;
    height: 260px;
}

.seo-landing-banner::after {
    width: 380px;
    height: 380px;
}

.seo-landing-banner-icon {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #A85A28;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(168, 90, 40, .18);
}

/* The page name is the banner's main content. */
.seo-landing-banner-title {
    position: relative;
    color: #3D3A34;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
}

.seo-landing-banner-title small {
    display: block;
    margin-bottom: 4px;
    color: #A85A28;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.seo-landing-banner-label {
    position: relative;
    color: #6B6357;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media (max-width: 575.98px) {
    .seo-landing-image img {
        height: 220px;
    }

    .seo-landing-banner {
        height: 220px;
        gap: 12px;
    }

    .seo-landing-banner::before {
        width: 180px;
        height: 180px;
    }

    .seo-landing-banner::after {
        width: 260px;
        height: 260px;
    }

    .seo-landing-banner {
        gap: 10px;
        padding: 0 16px;
    }

    .seo-landing-banner-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .seo-landing-banner-title {
        font-size: 26px;
    }

    .seo-landing-banner-title small {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .seo-landing-banner-label {
        font-size: 11px;
    }
}

.seo-related-links {
    padding: 50px 0 60px;
    background: #FAF6F0;
}

.seo-related-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.seo-related-chip {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #3D3A34;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 4px 14px rgba(61, 58, 52, .08);
    transition: .25s;
}

.seo-related-chip:hover {
    color: #ffffff;
    background: #A85A28;
}

/* ---------- Membership pricing cards (modern replacement for the old
   sharp-cornered, heavy-bordered ribbon-badge cards) ---------- */
.price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 15px;
}

@media (max-width: 991.98px) {
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ---------- Homepage Programs section ---------- */
.programs-section {
    padding: 40px 0;
}

/* Compact: every program in one row on desktop, two small tiles per row on phones. */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

@media (max-width: 575.98px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* An odd last tile spans the row instead of sitting alone. */
    .programs-grid .program-card:last-child:nth-child(odd) {
        grid-column: span 2;
    }

    .programs-grid .program-card p,
    .programs-grid .program-card-link {
        display: none;
    }
}

.programs-view-all {
    text-align: center;
    margin-top: 24px;
}

.programs-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #3D3A34 !important;
    border: 2px solid #3D3A34;
}

.programs-view-all-btn:hover {
    background: #3D3A34;
    color: #ffffff !important;
}

.program-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 16px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(61, 58, 52, .08);
    text-align: center;
    transition: transform .3s, box-shadow .3s;
}

.program-card:hover {
    text-decoration: none;
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(61, 58, 52, .14);
}

.program-card-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F3E3D0;
    color: #A85A28;
    font-size: 20px;
}

.program-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #3D3A34;
}

/* Short preview of the blurb: three lines at most. */
.program-card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
    color: #6B6357;
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 10px;
}

@media (max-width: 575.98px) {
    .program-card {
        padding: 16px 10px;
    }

    .program-card-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 8px;
        font-size: 17px;
    }

    .program-card h3 {
        margin-bottom: 0;
        font-size: 14px;
    }
}

.program-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #A85A28;
    transition: gap .25s;
}

.program-card-link:hover {
    gap: 12px;
    color: #A85A28;
}

/* ---------- Homepage Location section ---------- */
.location-section {
    padding: 55px 0;
    /* Deliberately no tinted background here - it sits directly above the
       FAQ section, which already uses #FAF6F0; keeping this one plain
       avoids the two merging into one indistinct block. */
}

.location-line {
    color: #6B6357;
    font-size: 15px;
    margin-bottom: 14px;
}

.location-line i {
    width: 22px;
    color: #A85A28;
}

.location-line a {
    color: #3D3A34;
    font-weight: 600;
}

.location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.location-btn-primary {
    background: #A85A28;
    color: #ffffff !important;
}

.location-btn-primary:hover {
    background: #64984D;
}

.location-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #3D3A34 !important;
    border: 2px solid #3D3A34;
}

.location-btn-outline:hover {
    background: #3D3A34;
    color: #ffffff !important;
}

.location-map {
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(61, 58, 52, .1);
}

.location-map iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 991.98px) {
    .location-map {
        margin-top: 30px;
        height: 300px;
    }
}

.price-card {
    position: relative;
    padding: 36px 28px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(61, 58, 52, .08);
    text-align: center;
    transition: transform .3s, box-shadow .3s;
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(61, 58, 52, .14);
}

.price-card-featured {
    background: #3D3A34;
    color: #ffffff;
}

.price-card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 18px;
    background: #CF7D48;
    color: #3D3A34;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: 20px;
    white-space: nowrap;
}

.price-card-title {
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 14px;
    color: inherit;
}

.price-card-discount-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 14px;
    background: #64984D;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: 20px;
}

.price-card-original {
    font-size: 18px;
    font-weight: 600;
    color: #8A8477;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.price-card-featured .price-card-original {
    color: rgba(255, 255, 255, .55);
}

.price-card-amount {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #A85A28;
}

.price-card-featured .price-card-amount {
    color: #CF7D48;
}

.price-card-featured .price-card-amount:has(+ .price-card-permonth) {
    margin-bottom: 4px;
}

.price-card-permonth {
    margin: -20px 0 22px;
    color: #8A8477;
    font-size: 14px;
    font-weight: 600;
}

.price-card-featured .price-card-permonth {
    margin-top: 0;
    color: rgba(255, 255, 255, .8);
}

.price-card-currency {
    font-size: 20px;
    font-weight: 600;
    vertical-align: top;
    margin-right: 2px;
}

.price-card-features {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    text-align: left;
}

.price-card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(61, 58, 52, .08);
    font-size: 14px;
    color: #6B6357;
}

.price-card-features li:last-child {
    border-bottom: 0;
}

.price-card-features li i {
    color: #64984D;
    font-size: 15px;
    flex-shrink: 0;
}

.price-card-featured .price-card-features li {
    border-bottom-color: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .85);
}

.price-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 4px auto 0;
    padding: 0;
    color: #ffffff !important;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(37, 211, 102, .35);
    transition: transform .25s, background .25s;
}

.price-card-btn i {
    font-size: 24px;
}

.price-card-btn:hover {
    color: #ffffff !important;
    background: #1EBE5A;
    transform: scale(1.08);
}

.price-card-featured .price-card-btn:hover {
    background: #ffffff;
    color: #25D366 !important;
}

/* ---------- Contact page: modern cards + form (replaces the old
   square-cornered, thin-outline-icon layout) ---------- */
.contact {
    padding: 15px 0 60px;
}

.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

@media (max-width: 991.98px) {
    .contact-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .contact-card-grid {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    padding: 28px 22px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(61, 58, 52, .06);
    text-align: center;
    transition: transform .3s, box-shadow .3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(61, 58, 52, .12);
}

.contact-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #F3E3D0;
    color: #A85A28;
    font-size: 22px;
}

.contact-card-icon-whatsapp {
    background: #25D366;
    color: #ffffff;
}

.contact-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #3D3A34;
    margin-bottom: 8px;
}

.contact-card p {
    color: #6B6357;
    font-size: 14px;
    margin: 0;
    word-break: break-word;
}

.contact-card p a {
    color: #6B6357;
    transition: .2s;
}

.contact-card p a:hover {
    color: #A85A28;
}

.contact-map-frame {
    height: 100%;
    min-height: 350px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(61, 58, 52, .08);
}

@media (max-width: 991.98px) {
    .contact-map-frame {
        margin-top: 30px;
        min-height: 300px;
    }
}

.contact-map-frame-full {
    min-height: 450px;
    margin-top: 10px;
}

/* ---------- 404 error page ---------- */
.error-404 {
    padding: 100px 20px;
    background: #FAF6F0;
}

.error-404-code {
    font-size: 110px;
    font-weight: 800;
    line-height: 1;
    color: #CF7D48;
    margin-bottom: 0;
}

.error-404 h1 {
    font-size: 28px;
    color: #3D3A34;
    margin: 10px 0 14px;
}

.error-404-text {
    color: #6B6357;
    font-size: 15px;
    max-width: 480px;
    margin: 0 auto 30px;
}

.error-404-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.error-404-btn {
    background: #A85A28;
    color: #ffffff !important;
}

.error-404-btn:hover {
    background: #64984D;
}

.error-404-btn-outline {
    background: transparent;
    color: #A85A28 !important;
    border: 2px solid #A85A28;
}

.error-404-btn-outline:hover {
    background: #A85A28;
    color: #ffffff !important;
}

.error-404-lotus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 10px;
    vertical-align: middle;
    font-size: 48px;
    color: #ffffff;
    background: #A85A28;
    border-radius: 50%;
}

/* Breathing circle: grows for 4s (in), shrinks for 4s (out) */
.error-404-breath {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-404-breath-circle {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 152, 77, .35) 0%, rgba(100, 152, 77, .12) 70%);
    animation: error-404-breathe 8s ease-in-out infinite;
}

.error-404-breath span {
    position: absolute;
    font-size: 13px;
    font-weight: 600;
    color: #3D3A34;
    animation: error-404-breath-label 8s ease-in-out infinite;
}

.error-404-breath .error-404-breath-out {
    animation-delay: -4s;
}

@keyframes error-404-breathe {
    0%, 100% { transform: scale(.6); }
    50% { transform: scale(1); }
}

@keyframes error-404-breath-label {
    0%, 45% { opacity: 1; }
    50%, 95% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .error-404-breath-circle,
    .error-404-breath span {
        animation: none;
    }

    .error-404-breath .error-404-breath-out {
        display: none;
    }
}

.error-404-explore {
    max-width: 760px;
    margin: 0 auto 30px;
}

.error-404-explore h2 {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #A85A28;
}

.error-404-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.error-404-chips a {
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 600;
    color: #3D3A34;
    background: #ffffff;
    border: 1px solid rgba(168, 90, 40, .25);
    border-radius: 20px;
}

.error-404-chips-light a {
    font-weight: 400;
    background: transparent;
}

.error-404-chips a:hover {
    color: #ffffff;
    background: #A85A28;
    border-color: #A85A28;
    text-decoration: none;
}

.error-404-links {
    color: #8A8477;
    font-size: 14px;
}

.error-404-links a {
    color: #3D3A34;
    font-weight: 600;
}

.error-404-links a:hover {
    color: #A85A28;
}

.error-404-links span {
    margin: 0 8px;
    color: #C7BFAF;
}

@media (max-width: 575.98px) {
    .error-404 {
        padding: 70px 20px;
    }

    .error-404-code {
        font-size: 80px;
    }

    .error-404-lotus {
        width: 72px;
        height: 72px;
        margin: 0 6px;
        font-size: 34px;
    }
}

/* Page-level H1s that reuse the .section-header component (price, blogs,
   contact) need the same styling .section-header h2 gets elsewhere -
   tag-specific in the base theme, so mirrored here rather than changed
   there, to avoid affecting every other .section-header h2 sitewide. */
.section-header h1 {
    margin: 0;
    position: relative;
    font-size: 40px;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .section-header h1 {
        font-size: 30px;
    }
}

/* ---------- Blog sidebar: Explore Our Programs widget ---------- */
.sidebar-program-links {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.sidebar-program-links li {
    border-bottom: 1px solid #EFE9DF;
}

.sidebar-program-links li:last-child {
    border-bottom: 0;
}

.sidebar-program-links a {
    display: block;
    padding: 10px 0;
    color: #3D3A34;
    font-weight: 600;
    font-size: 14px;
    transition: color .2s;
}

.sidebar-program-links a:hover {
    color: #A85A28;
}

.sidebar-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #A85A28;
    color: #ffffff !important;
}

.sidebar-cta-btn:hover {
    background: #64984D;
}

/* ---------- Class detail page: modern minimal redesign ---------- */
.class-detail {
    padding: 50px 0 70px;
}

.class-detail-chip {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 16px;
    background: #F3E3D0;
    color: #A85A28;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 30px;
}

.class-detail-title {
    margin-bottom: 30px;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 767.98px) {
    .class-detail-title {
        font-size: 28px;
        margin-bottom: 22px;
    }
}

.class-detail-carousel {
    margin-bottom: 35px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(61, 58, 52, .12);
}

.class-detail-carousel .carousel-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.class-detail-carousel .carousel-indicators {
    margin-bottom: 14px;
}

.class-detail-carousel .carousel-indicators li {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .6);
    border: none;
    opacity: 1;
}

.class-detail-carousel .carousel-indicators .active {
    background: #ffffff;
    width: 22px;
    border-radius: 4px;
    transition: width .25s;
}

.class-detail-carousel .carousel-control-prev,
.class-detail-carousel .carousel-control-next {
    width: 44px;
    height: 44px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 16px;
    background: rgba(61, 58, 52, .35);
    border-radius: 50%;
    opacity: 0;
    transition: opacity .25s;
}

.class-detail-carousel:hover .carousel-control-prev,
.class-detail-carousel:hover .carousel-control-next {
    opacity: 1;
}

.class-detail-carousel .carousel-control-prev-icon,
.class-detail-carousel .carousel-control-next-icon {
    width: 18px;
    height: 18px;
}

/* ---------- Class detail page: body copy typography ---------- */
.class-detail-body {
    color: #6B6357;
    font-size: 16px;
    line-height: 1.8;
}

.class-detail-body p {
    margin-bottom: 18px;
}

.class-detail-body h2,
.class-detail-body h3 {
    margin: 34px 0 16px;
    font-size: 24px;
    font-weight: 700;
    color: #3D3A34;
}

.class-detail-body h3 {
    font-size: 20px;
}

.class-detail-body ul,
.class-detail-body ol {
    margin-bottom: 18px;
    padding-left: 20px;
}

.class-detail-body li {
    margin-bottom: 8px;
}

.class-detail-body strong {
    color: #3D3A34;
}

.class-detail-cta {
    margin-top: 30px;
    padding: 24px;
    background: #FAF6F0;
    border-radius: 14px;
    text-align: center;
}

.class-detail-cta-btn {
    background: #A85A28;
    color: #ffffff !important;
    border-radius: 30px;
}

.class-detail-cta-btn:hover {
    background: #64984D;
}

/* ---------- Class detail page: sidebar info cards ---------- */
.class-detail-sidebar {
    position: sticky;
    top: 24px;
}

@media (max-width: 991.98px) {
    .class-detail-sidebar {
        position: static;
        margin-top: 40px;
    }
}

.class-info-card {
    margin-bottom: 24px;
    padding: 28px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(61, 58, 52, .08);
    overflow: hidden;
}

.class-info-card:last-child {
    margin-bottom: 0;
}

.class-info-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    padding-bottom: 14px;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid #F3E3D0;
}

.class-info-card-title i {
    color: #A85A28;
}

/* ---------- Class detail page: "Other Classes" sidebar list ---------- */
.other-classes-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.other-classes-list li + li {
    border-top: 1px solid #F3E3D0;
}

.other-classes-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: #3D3A34;
    font-size: 15px;
    font-weight: 600;
}

.other-classes-list a:hover {
    color: #A85A28;
}

.other-classes-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FAF6F0;
    color: #A85A28;
    font-size: 15px;
}

.other-classes-list a span:nth-child(2) {
    flex: 1;
}

.other-classes-arrow {
    font-size: 12px;
    color: #C9BFAE;
    transition: transform .2s;
}

.other-classes-list a:hover .other-classes-arrow {
    transform: translateX(3px);
    color: #A85A28;
}

/* ---------- Class detail page: "Get In Touch" sidebar card ---------- */
.class-contact-card {
    background: #FAF6F0;
    box-shadow: none;
}

.class-contact-lede {
    margin: 0 0 18px;
    color: #6B6357;
    font-size: 14px;
    line-height: 1.6;
}

.class-contact-list {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.class-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #3D3A34;
}

.class-contact-list li:last-child {
    margin-bottom: 0;
}

.class-contact-list li i {
    margin-top: 3px;
    color: #A85A28;
}

.class-contact-list li a {
    color: #3D3A34;
}

.class-contact-list li a:hover {
    color: #A85A28;
}

.class-contact-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #25D366;
    color: #ffffff !important;
    border-radius: 30px;
}

.class-contact-whatsapp-btn:hover {
    background: #1DA851;
}

/* ---------- Welcome popup (first visit / first session) ---------- */
.welcome-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(61, 58, 52, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.welcome-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

body.welcome-popup-open {
    overflow: hidden;
}

.welcome-popup {
    position: relative;
    width: 100%;
    max-width: 430px;
    background: #FAF6F0;
    border-radius: 22px;
    padding: 44px 34px 34px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .35);
    transform: scale(.92) translateY(10px);
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
    overflow: hidden;
}

.welcome-popup-overlay.show .welcome-popup {
    transform: scale(1) translateY(0);
}

.welcome-popup-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #CF7D48, #A85A28, #64984D);
}

.welcome-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: #ffffff;
    color: #3D3A34;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(61, 58, 52, .12);
    transition: .2s;
}

.welcome-popup-close:hover {
    background: #3D3A34;
    color: #ffffff;
    transform: rotate(90deg);
}

.welcome-popup-icon-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 6px auto 20px;
}

.welcome-popup-icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #A85A28;
    animation: welcomePopupPulse 2.2s ease-out infinite;
}

.welcome-popup-icon {
    position: relative;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #CF7D48, #A85A28);
    color: #ffffff;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(168, 92, 50, .3);
}

@keyframes welcomePopupPulse {
    0% { transform: scale(1); opacity: .6; }
    70% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}

.welcome-popup-eyebrow {
    color: #A85A28;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.welcome-popup h3 {
    font-size: 24px;
    color: #3D3A34;
    margin-bottom: 12px;
    line-height: 1.3;
}

.welcome-popup-text {
    color: #6B6357;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.welcome-popup-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
    padding: 10px 14px;
    background: #F3E3D0;
    border-radius: 30px;
    color: #3D3A34;
    font-size: 12.5px;
    font-weight: 600;
}

.welcome-popup-stars {
    display: inline-flex;
    gap: 1px;
}

.welcome-popup-stars i {
    color: #FBBC04;
    font-size: 12px;
}

.welcome-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.welcome-popup-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(37, 211, 102, .3);
    transition: transform .2s, background .2s, box-shadow .2s;
}

.welcome-popup-btn-primary:hover {
    background: #1EBE5A;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(37, 211, 102, .38);
}

.welcome-popup-btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    color: #3D3A34;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #E7DECE;
    border-radius: 30px;
    transition: .2s;
}

.welcome-popup-btn-secondary:hover {
    color: #A85A28;
    border-color: #A85A28;
    background: #ffffff;
}

#concernPopupOverlay .welcome-popup {
    max-width: 480px;
}

.concern-popup-chips {
    justify-content: center;
}

@media (max-width: 575.98px) {
    .welcome-popup-overlay {
        align-items: flex-start;
        padding: 16px 12px;
    }

    .welcome-popup {
        padding: 34px 20px 22px;
        border-radius: 18px;
    }

    .welcome-popup h3 {
        font-size: 20px;
    }

    .welcome-popup-trust {
        font-size: 11.5px;
    }

    .welcome-popup-icon-wrap {
        width: 56px;
        height: 56px;
        margin: 4px auto 14px;
    }

    .welcome-popup-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .concern-popup-chips {
        gap: 8px;
        margin-bottom: 18px;
    }

    .concern-popup-chips .condition-chip {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* ---------- FAQ accordion ---------- */
.faq-section {
    background: #FAF6F0;
    padding: 60px 0;
    scroll-margin-top: 100px;
}

.faq-accordion {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(61, 58, 52, .06);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 20px 24px;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: #3D3A34;
    cursor: pointer;
    transition: color .2s;
}

.faq-question:hover {
    color: #A85A28;
}

.faq-question i {
    flex-shrink: 0;
    font-size: 14px;
    color: #A85A28;
    transition: transform .3s;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer p {
    margin: 0;
    padding: 0 24px 22px;
    color: #6B6357;
    font-size: 14.5px;
    line-height: 1.7;
}

.faq-answer p a {
    color: #A85A28;
    font-weight: 600;
    text-decoration: underline;
}

.faq-see-all {
    text-align: center;
    margin-top: 30px;
}

.faq-see-all-btn {
    background: #A85A28;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.faq-see-all-btn:hover {
    background: #64984D;
}

@media (max-width: 575.98px) {
    .faq-section {
        padding: 50px 0;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 14.5px;
    }

    .faq-answer p {
        padding: 0 18px 18px;
        font-size: 14px;
    }
}


/* ---------- Blog article: author box, call-to-action, share buttons ---------- */
.article-author {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-top: 40px;
    padding: 25px;
    background: #F3E3D0;
    border-radius: 8px;
}

.article-author-img {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
}

.article-author-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #A85A28;
}

.article-author h3 {
    margin: 4px 0 2px;
    font-size: 20px;
    color: #3D3A34;
}

.article-author p {
    margin-bottom: 8px;
    color: #3D3A34;
}

.article-author .article-author-title {
    font-size: 14px;
    font-weight: 600;
    opacity: .75;
}

.article-author-link {
    font-weight: 600;
    color: #A85A28;
}

.article-author-link:hover {
    color: #3D3A34;
}

.article-cta {
    margin-top: 25px;
    padding: 30px 25px;
    text-align: center;
    color: #ffffff;
    background: #A85A28;
    border-radius: 8px;
}

.article-cta h3 {
    margin-bottom: 8px;
    font-size: 22px;
    color: #ffffff;
}

.article-cta p {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .9);
}

.article-cta-btn {
    display: inline-block;
    padding: 12px 26px;
    font-weight: 600;
    color: #A85A28 !important;
    background: #ffffff;
    border-radius: 30px;
}

.article-cta-btn:hover {
    color: #ffffff !important;
    background: #3D3A34;
}

.article-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0 10px;
}

.article-share-label {
    margin-right: 5px;
    font-weight: 600;
    color: #3D3A34;
}

.article-share-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 17px;
    color: #ffffff !important;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: .3s;
}

.article-share-btn:hover {
    opacity: .85;
}

.article-share-whatsapp { background: #25D366; }
.article-share-facebook { background: #1877F2; }
.article-share-copy { background: #3D3A34; }

.article-share-copied {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 8px;
    font-size: 12px;
    white-space: nowrap;
    color: #ffffff;
    background: #3D3A34;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

.article-share-copy.is-copied .article-share-copied {
    opacity: 1;
}

@media (max-width: 575.98px) {
    .article-author {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Studio logo in the box under blog articles: show the whole logo, not a round crop. */
.article-author-logo {
    object-fit: contain;
    padding: 10px;
    background: #ffffff;
}


/* ---------- "Follow us on Instagram" strip above the footer ---------- */
.instagram-strip {
    padding: 28px 0;
    background: #F3E3D0;
}

.instagram-strip-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.instagram-strip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    font-size: 28px;
    color: #ffffff;
    border-radius: 16px;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.instagram-strip-text {
    flex: 1;
    min-width: 0;
}

.instagram-strip-text h3 {
    margin: 0 0 4px;
    font-size: 20px;
    color: #3D3A34;
}

.instagram-strip-text p {
    margin: 0;
    color: #3D3A34;
}

.instagram-strip-handle {
    font-weight: 600;
    color: #A85A28;
}

.instagram-strip-handle:hover {
    color: #3D3A34;
}

.instagram-strip-btn {
    flex-shrink: 0;
    padding: 11px 24px;
    font-weight: 600;
    color: #ffffff !important;
    background: #A85A28;
    border-radius: 30px;
}

.instagram-strip-btn:hover {
    background: #3D3A34;
}

/* ---------- Instagram feed (homepage) ---------- */
.instagram-feed {
    padding: 45px 0;
}

.instagram-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.instagram-feed-item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    background: #FAF6F0;
}

.instagram-feed-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.instagram-feed-type {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ffffff;
    font-size: 16px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

.instagram-feed-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: #ffffff;
    background: rgba(61, 58, 52, .45);
    opacity: 0;
    transition: opacity .3s ease;
}

.instagram-feed-item:hover img {
    transform: scale(1.05);
}

.instagram-feed-item:hover .instagram-feed-overlay {
    opacity: 1;
}

.instagram-feed-cta {
    margin-top: 30px;
}

@media (max-width: 575.98px) {
    .instagram-feed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (max-width: 767.98px) {
    .instagram-strip-inner {
        flex-direction: column;
        text-align: center;
    }
}
