/*
Theme Name: Gilded - Child
Version: 1
Description: A child theme of DMM by Almina
Template: mts_schema
Text Domain: schema
*/

@import url("../mts_schema/style.css");

/* general */

html {
    scroll-behavior: smooth;
}

body.treehouse {
    font-family: "Didact Gothic", sans-serif;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: 0.04em;
    color: #333333;
    background: #ffffff;
    overflow-x: hidden;
}

body.th-menu-open {
    overflow: hidden;
}

a {
    color: var(--pColor);
    text-decoration: none;
    transition: color 0.3s, background 0.3s;
}

a:hover {
    color: var(--sColor);
}

/* undo the parent's heading / list / paragraph styles inside the theme blocks */
html :where(.th-header, .th-mobile-menu, .th-mobile-bar, .th-home, .th-footer) :is(h1, h2, h3, h4, h5, h6) {
    font-weight: 400;
    color: inherit;
    line-height: inherit;
}

html :where(.th-header, .th-mobile-menu, .th-mobile-bar, .th-home, .th-footer) :is(p, ul, li) {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    list-style: none;
}

:where(.th-header, .th-mobile-menu, .th-home, .th-footer) img {
    display: block;
    max-width: 100%;
}

:where(.th-header, .th-mobile-menu, .th-home) button {
    font-family: inherit;
}

#page.th-home {
    padding: 0;
}

.th-container {
    width: calc(100% - 60px);
    max-width: 1280px;
    margin: 0 auto;
}

.th-btn {
    display: inline-block;
    background: var(--pColor);
    color: #ffffff;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.1em;
    padding: 12px 25px;
    border-radius: 40px;
    text-transform: capitalize;
}

.th-btn:hover {
    background: var(--sColor);
    color: #ffffff;
}

.th-btn-small {
    font-size: 14px;
    padding: 9px 24px;
}

.th-eyebrow {
    font-size: 15px;
    letter-spacing: 0.12em;
    text-transform: capitalize;
    color: var(--sColor);
    margin-bottom: 16px;
}

.th-section-title {
    font-size: 45px;
    line-height: 1.08;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sColor);
}

.th-text {
    font-size: 16px;
    line-height: 1.25;
    color: #333333;
}

.th-text p + p {
    margin-top: 1em;
}

.th-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 36px 0 42px;
}

.th-divider-line {
    flex: 1;
    height: 2px;
    background: var(--pColor);
}

.th-divider-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.th-divider-right {
    margin-left: 60px;
    margin-right: -42px;
}

.th-divider-left {
    margin-left: -100px;
}

#site-header.th-header {
    position: relative;
    z-index: 50;
}

.th-topbar {
    background: #ffffff;
    height: 64px;
}

.th-topbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 36px;
    padding-right: 25.4%;
}

.th-topbar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--sColor);
}

.th-topbar-link i {
    color: var(--pColor);
    font-size: 18px;
}

.th-mobile-topbar {
    display: none;
}

.th-header-main {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
}

.th-logo-tab {
    position: absolute;
    top: -64px;
    left: 8%;
    width: 194px;
    height: 117px;
    background: #ffffff;
    border-radius: 0 0 18px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 14px 10px;
}

.th-logo-image {
    width: 100%;
    height: auto;
}

.th-nav-list {
    display: flex;
    justify-content: flex-end;
    gap: 50px;
    padding: 14px 9.3% 0 0;
}

.th-nav-list > li {
    position: relative;
}

.th-nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 16px;
    padding: 0 8px 13px;
    border-bottom: 1px solid transparent;
}

.th-nav-list .menu-item-has-children > a::after {
    font-family: "Font Awesome 5";
    font-weight: 900;
    content: "\f104";
    font-size: 12px;
    right: -1px;
    transform: rotate(270deg);
    top: 3px;
}

.th-nav-list .sub-menu .menu-item-has-children > a::after {
    content: "0da";
}

.th-nav-list > li > a:hover,
.th-nav-list > li.current-menu-item > a {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.th-nav-list .sub-menu {
    position: absolute;
    min-width: 240px;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    display: none;
}

.th-nav-list > li > .sub-menu {
    top: 100%;
    left: 0;
}

.th-nav-list .sub-menu .sub-menu {
    top: -10px;
    left: 100%;
}

.th-nav-list .sub-menu li {
    position: relative;
}

.th-nav-list .sub-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 9px 20px;
    font-size: 15px;
    color: var(--sColor);
}

.th-nav-list .sub-menu a:hover {
    color: var(--pColor);
    background: var(--aColor);
}

.th-menu-toggle {
    display: none;
}

.th-header-spacer {
    display: none;
}

.th-header-main.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: headerDown 0.35s ease;
}

.th-header-main.is-fixed .th-logo-tab {
    position: static;
    width: 150px;
    height: auto;
    padding: 0;
    border-radius: 0;
}

.th-header-main.is-fixed .th-nav-list {
    padding: 0;
}

.th-header-main.is-fixed .th-nav-list > li > a {
    color: var(--sColor);
    padding: 10px 8px;
}

.th-header-main.is-fixed .th-nav-list > li > a:hover,
.th-header-main.is-fixed .th-nav-list > li.current-menu-item > a {
    color: var(--pColor);
    border-bottom-color: var(--pColor);
}

@keyframes headerDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.th-mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.th-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 340px;
    max-width: 88%;
    background: #ffffff;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.th-menu-open .th-mobile-menu {
    transform: translateX(0);
}

.th-menu-open .th-mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

.th-mobile-menu-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #e6e2dc;
}

.th-mobile-menu-logo {
    width: 130px;
}

.th-menu-close {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--aColor);
    color: var(--sColor);
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}

.th-mobile-nav {
    padding: 10px 0;
}

.th-mobile-nav li {
    position: relative;
}

.th-mobile-nav a {
    display: block;
    padding: 13px 64px 13px 24px;
    font-size: 16px;
    color: var(--sColor);
    border-bottom: 1px solid #f0ede8;
}

.th-mobile-nav .current-menu-item > a,
.th-mobile-nav a:hover {
    color: var(--pColor);
}

.th-mobile-nav a::after {
    display: none;
}

.th-mobile-nav ul {
    display: none;
    background: #f7f6f4;
}

.th-mobile-nav ul a {
    padding-left: 40px;
    font-size: 15px;
}

.th-mobile-nav ul ul a {
    padding-left: 56px;
    font-size: 14px;
}

.th-sub-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 52px;
    height: 48px;
    border: none;
    background: transparent;
    color: var(--pColor);
    font-size: 14px;
    cursor: pointer;
}

.th-sub-toggle i {
    transition: transform 0.3s;
}

.th-sub-toggle.open i {
    transform: rotate(45deg);
}

.th-mobile-menu-btn {
    margin: 24px;
    text-align: center;
}

.th-mobile-bar {
    display: none;
}

.th-hero {
    height: 90vh;
    min-height: 760px;
    max-height: 1180px;
    background: #3a3222 center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 60px 20px 110px;
}

.th-hero-eyebrow {
    font-size: 15px;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.th-hero-title {
    font-size: 80px;
    line-height: 1.1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.th-features {
    background: var(--aColor);
    padding-bottom: 100px;
}

.th-features-grid {
    width: 77%;
    margin: -170px auto 0;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 19px;
    position: relative;
}

.th-feature-card {
    background: #ffffff;
    border-radius: 26px;
    padding: 40px 32px 34px;
    min-height: 316px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.th-feature-title {
    font-size: 17px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sColor);
    margin-bottom: 18px;
}

.th-feature-text {
    font-size: 16.5px;
    line-height: 1.2;
    margin-bottom: 36px;
}

.th-feature-card .th-btn {
    margin-top: auto;
}

.th-doctors {
    background: var(--aColor);
}

.th-doctors-inner {
    display: grid;
    grid-template-columns: 616px minmax(0, 1fr);
    gap: 50px;
    align-items: start;
    background: #ffffff;
    padding: 196px max(30px, calc((100% - 1280px) / 2)) 114px;
    border-radius: 50% 50% 0 0 / 150px 150px 0 0;
}

.th-doctors-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 21px;
}

.th-doctor-photo {
    width: 100%;
    height: 500px !important;
    object-fit: cover;
    border-radius: 29px;
}

.th-doctors-text {
    max-width: 618px;
    padding-top: 6px;
}

.th-doctors-text .th-btn {
    margin-top: 42px;
}

.th-affiliations {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 18px;
    padding: 0 8px;
}

.th-affiliations img {
    height: 58px;
    width: auto;
    min-width: 0;
    object-fit: contain;
}

.th-services {
    background: var(--pColor) url("assets/leaf-pattern.jpg") left top / 640px auto repeat;
    padding: 96px 0 80px;
    color: #ffffff;
}

.th-section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.th-head-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.th-services .th-eyebrow,
.th-services .th-section-title,
.th-testimonials .th-eyebrow,
.th-testimonials .th-section-title {
    color: #ffffff;
}

.th-slider {
    position: relative;
    margin-top: 40px;
}

.th-slider-window {
    overflow: hidden;
    padding: 0 10px;
}

.th-slider-track {
    display: flex;
    gap: 29px;
}

.th-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #333333;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.th-slider-arrow:hover {
    background: var(--aColor);
}

.th-services-slider .th-slider-arrow {
    top: calc(50% - 28px);
}

.th-slider-prev {
    left: 0;
}

.th-slider-next {
    right: 0;
}

.th-service-card {
    position: relative;
    flex: 0 0 calc((100% - 58px) / 3);
    height: 502px;
    border-radius: 26px;
    overflow: hidden;
    background: #5c4b3c;
}

.th-service-card-empty {
    background: linear-gradient(160deg, #8a7866 0%, #5c4b3c 70%);
}

.th-service-image {
    width: 100%;
    height: 72% !important;
    object-fit: cover;
}

.th-service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(92, 75, 60, 0) 35%, rgba(92, 75, 60, 0.85) 62%, #5c4b3c 78%);
}

.th-service-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 22px 22px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.th-service-title {
    font-size: 17px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.th-service-text {
    font-size: 16px;
    line-height: 1.2;
    min-height: 58px;
    margin-bottom: 18px;
}

.th-slider-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 29px;
}

.th-slider-dot {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.th-slider-dot.active {
    background: #ffffff;
}

.th-financing {
    padding: 66px 0 80px;
}

.th-financing-inner {
    padding-left: 130px;
}

.th-financing .th-divider {
    max-width: 1070px;
    margin-top: 24px;
    margin-bottom: 40px;
}

.th-financing .th-text {
    margin-bottom: 34px;
}

.th-why {
    background: var(--aColor);
    padding: 117px 0 125px;
    border-radius: 50% 50% 0 0 / 106px 106px 0 0;
    margin-top: 12px;
}

.th-why-inner {
    display: grid;
    grid-template-columns: 602px minmax(0, 1fr);
    gap: 69px;
    align-items: start;
}

.th-why-image {
    width: 100%;
    height: 648px !important;
    object-fit: cover;
    border-radius: 26px;
}

.cta_fixed_button {
    display: none !important;
}

.th-why-text {
    max-width: 592px;
    padding-top: 4px;
}

.th-why-list {
    display: flex;
    flex-direction: column;
    gap: 21px;
    margin-top: 29px;
}

.th-why-item {
    display: flex;
    gap: 19px;
    align-items: flex-start;
}

.th-why-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--pColor);
    flex-shrink: 0;
}

.th-why-title {
    font-size: 26px;
    letter-spacing: 0.05em;
    color: var(--sColor);
    margin-bottom: 8px;
}

.th-testimonials {
    background: #56422a right top / auto 100% no-repeat;
    padding: 48px 0 34px;
}

.th-testimonials .th-section-title {
    margin-bottom: 26px;
}

.th-reviews-slider {
    margin-top: 21px;
}

.th-reviews-slider .th-slider-window {
    padding: 0 16px;
}

.th-reviews-slider .th-slider-track {
    gap: 19px;
    align-items: flex-start;
}

.th-reviews-slider .th-slider-arrow {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

.th-reviews-slider .th-slider-prev {
    left: -10px;
}

.th-reviews-slider .th-slider-next {
    right: -10px;
}

.th-review-card {
    flex: 0 0 calc((100% - 57px) / 4);
    background: #ffffff;
    border-radius: 8px;
    padding: 18px 17px;
    min-height: 239px;
    font-family: "Poppins", sans-serif;
    letter-spacing: 0;
    display: flex;
    flex-direction: column;
}

.th-review-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.th-review-name {
    font-size: 14px;
    font-weight: 600;
    color: #222222;
}

.th-review-google {
    font-size: 17px;
    background: conic-gradient(from -40deg, #ea4335 0 25%, #fbbc05 0 45%, #34a853 0 70%, #4285f4 0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.th-review-stars {
    color: #f7b500;
    font-size: 17px;
    letter-spacing: 1px;
    margin: 10px 0 8px;
}

.th-review-text {
    font-size: 13.5px;
    line-height: 1.4;
    color: #222222;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.th-review-card.expanded .th-review-text {
    display: block;
}

.th-review-more {
    align-self: flex-start;
    border: none;
    background: none;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    color: #909090;
    margin-top: 8px;
    cursor: pointer;
}

.th-review-more:hover {
    color: var(--pColor);
}

.th-healthiest {
    padding: 53px 0 48px;
}

.th-healthiest-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 648px;
    gap: 53px;
    align-items: start;
    max-width: 1260px;
}

.th-healthiest-text {
    max-width: 460px;
    padding-top: 40px;
}

.th-healthiest .th-divider {
    width: calc(100% + 68px);
    max-width: 452px;
    margin: 29px 0 32px -68px;
}

.th-healthiest .th-text {
    margin-bottom: 26px;
}

.th-healthiest-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
}

.th-healthiest-photo {
    width: 100%;
    height: 400px !important;
    object-fit: cover;
    border-radius: 26px;
}

.th-healthiest-photo:nth-child(2) {
    margin-top: 50px;
}

.th-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 424px;
    background: var(--aColor);
}

.th-cta-text {
    padding: 77px 53px 60px 10.5%;
}

.th-cta-text .th-eyebrow {
    margin-bottom: 26px;
}

.th-cta .th-divider {
    max-width: 720px;
    margin: 40px 0 40px -112px;
}

.th-cta .th-text {
    margin-bottom: 18px;
}

.th-cta-image {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.th-footer {
    background: var(--pColor);
    color: #ffffff;
    position: relative;
}

.th-footer-main {
    width: calc(100% - 60px);
    max-width: 1406px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 395px minmax(0, 1fr);
    gap: 50px;
}

.th-footer-col {
    padding-top: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.th-footer-title {
    font-size: 16px;
    letter-spacing: 0.1em;
    text-transform: capitalize;
    padding-bottom: 24px;
    margin-bottom: 24px;
    position: relative;
}

.th-footer-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 93px;
    height: 1px;
    background: rgba(255, 255, 255, 0.7);
    transform: translateX(-50%);
}

.th-footer-contact {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.15;
    white-space: nowrap;
    margin-bottom: 24px;
    min-width: 240px;
}

.th-footer-contact:hover {
    color: #e3dccf;
}

.th-footer-contact i {
    font-size: 21px;
    width: 21px;
    text-align: center;
}

.th-footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -58px;
}

.th-footer-logo {
    width: 395px;
    height: 218px;
    background: #ffffff;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 50px;
}

.th-footer-logo img {
    width: 100%;
    height: auto;
}

.th-socials .social-icons {
    display: flex;
    gap: 9px;
    margin-top: 16px;
}

.th-socials .social-icons a {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: #c3bca8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.th-socials .social-icons a:hover {
    background: var(--sColor);
    color: #ffffff;
}

/* social_media_dm() prints "fa fa-facebook" etc, brand icons need the brands font */
.th-socials .social-icons .fa {
    font-family: "Font Awesome 5 Brands";
    font-weight: 400;
}

.th-hours ul {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    font-size: 15px;
    padding-left: 40px;
}

.th-map {
    width: calc(100% - 60px);
    max-width: 1281px;
    height: 151px;
    margin: 40px auto -114px;
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: #f1f1f1;
}

.th-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.th-footer-bottom {
    background: #ffffff;
    padding: 144px 20px 22px;
    text-align: center;
}

.th-footer-bottom .bottom-footer p {
    font-size: 15px;
    letter-spacing: 0.1em;
    color: #333333;
    margin-bottom: 24px;
}

.th-footer-bottom .bottom-footer p:first-child,
.th-footer-bottom .bottom-footer p:last-child {
    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 0;
    color: #222222;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.th-footer-bottom .bottom-footer a {
    color: #333333;
}

.th-footer-bottom .bottom-footer a:hover {
    color: var(--pColor);
}

@media (max-width: 1600px) {
    .th-features-grid {
        width: calc(100% - 120px);
        max-width: 1480px;
    }

    .th-nav-list {
        gap: 34px;
        padding-right: 6%;
    }

    .th-topbar-inner {
        padding-right: 6%;
    }

    .th-logo-tab {
        left: 6%;
    }
}

@media (max-width: 1366px) {
    .th-section-title {
        font-size: 40px;
    }

    .th-hero-title {
        font-size: 70px;
    }

    .th-doctors-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .th-doctor-photo {
        height: 440px;
    }

    .th-why-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 50px;
    }

    .th-healthiest-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .th-nav-list {
        gap: 22px;
    }

    .th-nav-list > li > a {
        font-size: 15px;
    }

    .th-feature-card {
        padding: 34px 26px 30px;
    }

    .th-feature-text {
        font-size: 15.5px;
    }
}

@media (max-width: 1100px) {
    .th-topbar,
    .th-nav {
        display: none;
    }

    .th-mobile-topbar {
        display: flex;
        background: var(--pColor);
    }

    .th-mobile-topbar-link {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 12px 10px;
        color: #ffffff;
        font-size: 15px;
        letter-spacing: 0.08em;
    }

    .th-mobile-topbar-link + .th-mobile-topbar-link {
        border-left: 1px solid rgba(255, 255, 255, 0.35);
    }

    .th-mobile-topbar-link:hover {
        color: #ffffff;
        background: var(--sColor);
    }

    .th-header-main {
        position: relative;
        top: 0;
        background: #ffffff;
        height: 84px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 30px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }

    .th-logo-tab {
        position: static;
        width: 150px;
        height: auto;
        padding: 0;
        border-radius: 0;
    }

    .th-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        border: none;
        border-radius: 50%;
        background: var(--pColor);
        color: #ffffff;
        font-size: 20px;
        cursor: pointer;
    }

    .th-menu-toggle:hover {
        background: var(--sColor);
    }

    .th-header-main.is-fixed {
        height: 84px;
        padding: 0 30px;
    }

    .th-header-spacer.active {
        display: block;
        height: 84px;
    }

    .th-hero {
        height: auto;
        min-height: 640px;
        padding: 80px 30px 150px;
    }

    .th-hero-title {
        font-size: 58px;
    }

    .th-section-title {
        font-size: 36px;
    }

    .th-features-grid {
        width: calc(100% - 60px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: -150px;
    }

    .th-features {
        padding-bottom: 70px;
    }

    .th-doctors-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 50px;
        padding-top: 130px;
        padding-bottom: 90px;
        border-radius: 50% 50% 0 0 / 90px 90px 0 0;
    }

    .th-doctors-photos {
        max-width: 640px;
        width: 100%;
        margin: 0 auto;
    }

    .th-doctors-text {
        max-width: none;
    }

    .th-divider-right {
        margin-left: 0;
        margin-right: 0;
    }

    .th-divider-left,
    .th-cta .th-divider,
    .th-healthiest .th-divider {
        margin-left: 0;
    }

    .th-healthiest .th-divider {
        width: 100%;
    }

    .th-financing-inner {
        padding-left: 0;
    }

    .th-service-card {
        flex-basis: calc((100% - 29px) / 2);
    }

    .th-why {
        padding: 90px 0;
        border-radius: 50% 50% 0 0 / 70px 70px 0 0;
    }

    .th-why-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .th-why-image {
        height: 520px;
    }

    .th-why-text {
        max-width: none;
    }

    .th-review-card {
        flex-basis: calc((100% - 38px) / 3);
    }

    .th-healthiest-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .th-healthiest-text {
        max-width: none;
        padding-top: 20px;
    }

    .th-cta {
        grid-template-columns: minmax(0, 1fr);
    }

    .th-cta-text {
        padding: 70px 30px 60px;
    }

    .th-cta-image {
        min-height: 340px;
    }

    .th-footer-main {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 20px 40px;
        padding-bottom: 20px;
    }

    .th-footer-center {
        grid-column: 1 / -1;
        order: -1;
        margin-top: -58px;
    }

    .th-footer-logo {
        width: 340px;
        height: 190px;
    }

    .th-hours ul {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    body.treehouse {
        padding-bottom: 62px;
    }

    .th-container {
        width: calc(100% - 40px);
    }

    .th-mobile-bar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 80;
        background: var(--pColor);
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
    }

    .th-mobile-bar-link {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 62px;
        color: #ffffff;
        font-size: 22px;
    }

    .th-mobile-bar-link + .th-mobile-bar-link {
        border-left: 1px solid rgba(255, 255, 255, 0.25);
    }

    .th-mobile-bar-link:hover {
        color: #ffffff;
        background: var(--sColor);
    }

    .th-header-main {
        height: 74px;
        padding: 0 20px;
    }

    .th-header-main.is-fixed {
        height: 74px;
        padding: 0 20px;
    }

    .th-header-spacer.active {
        height: 74px;
    }

    .th-logo-tab {
        width: 124px;
    }

    .th-hero {
        min-height: 520px;
        padding: 60px 20px 120px;
    }

    .th-hero-eyebrow {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .th-hero-title {
        font-size: 38px;
        margin-bottom: 22px;
    }

    .th-section-title {
        font-size: 28px;
    }

    .th-eyebrow {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .th-text {
        font-size: 16px;
    }

    .th-btn {
        font-size: 15px;
        padding: 12px 24px;
    }

    .th-divider {
        margin: 24px 0 26px;
    }

    .th-divider-icon {
        width: 34px;
        height: 34px;
    }

    .th-features-grid {
        width: calc(100% - 40px);
        grid-template-columns: minmax(0, 1fr);
        margin-top: -110px;
        gap: 16px;
    }

    .th-feature-card {
        min-height: 0;
        padding: 30px 24px;
    }

    .th-features {
        padding-bottom: 50px;
    }

    .th-doctors-inner {
        padding: 90px 20px 70px;
        gap: 36px;
        border-radius: 50% 50% 0 0 / 50px 50px 0 0;
    }

    .th-doctors-photos {
        gap: 12px;
    }

    .th-doctor-photo {
        height: 300px;
        border-radius: 20px;
    }

    .th-doctors-text .th-btn {
        margin-top: 30px;
    }

    .th-affiliations {
        gap: 12px;
        padding: 0;
    }

    .th-affiliations img {
        height: 40px;
        flex: 1;
    }

    .th-services {
        padding: 70px 0 60px;
    }

    .th-slider-window {
        padding: 0;
    }

    .th-service-card {
        flex-basis: 100%;
        height: 460px;
    }

    .th-slider-prev {
        left: -12px;
    }

    .th-slider-next {
        right: -12px;
    }

    .th-slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .th-slider-dot {
        width: 13px;
        height: 13px;
    }

    .th-financing {
        padding: 56px 0 60px;
    }

    .th-why {
        padding: 70px 0;
        border-radius: 50% 50% 0 0 / 40px 40px 0 0;
    }

    .th-why-image {
        height: 380px;
        border-radius: 20px;
    }

    .th-why-icon {
        width: 64px;
        height: 64px;
    }

    .th-why-title {
        font-size: 22px;
    }

    .th-testimonials {
        padding: 50px 0 40px;
        background-size: auto 60%;
    }

    .th-reviews-slider .th-slider-window {
        padding: 0 6px;
    }

    .th-review-card {
        flex-basis: 100%;
    }

    .th-healthiest {
        padding: 50px 0;
    }

    .th-healthiest-photos {
        gap: 16px;
    }

    .th-healthiest-photo {
        height: 260px;
        border-radius: 20px;
    }

    .th-healthiest-photo:nth-child(2) {
        margin-top: 30px;
    }

    .th-cta-text {
        padding: 56px 20px 50px;
    }

    .th-cta-image {
        min-height: 240px;
    }

    .th-footer-main {
        width: calc(100% - 40px);
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
    }

    .th-footer-center {
        margin-top: -40px;
    }

    .th-footer-logo {
        width: 280px;
        height: 160px;
        padding: 24px 36px;
    }

    .th-footer-col {
        padding-top: 30px;
    }

    .th-footer-contact {
        min-width: 0;
        white-space: normal;
        text-align: left;
    }

    .th-hours ul {
        align-items: center;
    }

    .th-map {
        width: calc(100% - 40px);
        height: 220px;
        margin-top: 30px;
        margin-bottom: -110px;
        border-radius: 20px;
    }

    .th-footer-bottom {
        padding-top: 136px;
    }
}

@media (max-width: 420px) {
    .th-hero-title {
        font-size: 32px;
    }

    .th-section-title {
        font-size: 25px;
    }

    .th-doctor-photo {
        height: 240px;
    }

    .th-healthiest-photo {
        height: 200px;
    }
}


section.th-hero > video {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
    opacity: 0.6;
}

section.th-hero {
    position: relative;
    background: #000;
}

.th-hero-content {
    position: relative;
    z-index: 1;
}

h3 {
	color: var(--pColor) !important;
}

.dental-specials {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
	max-width: 900px;
	margin: 40px auto;
}

.dental-special-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 16px;
	padding: 38px 30px;
	text-align: center;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.dental-special-card:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: #2f6f68;
}

.dental-special-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 38px rgba(0, 0, 0, 0.13);
}

.special-price {
	font-size: 54px;
	line-height: 1;
	font-weight: 800;
	color: #2f6f68;
	margin-bottom: 15px;
}

.dental-special-card h3 {
	font-size: 24px;
	line-height: 1.3;
	margin: 0 0 25px;
	color: #222;
	font-weight: 700;
}

.special-btn {
	display: inline-block;
	background: #2f6f68;
	color: #fff !important;
	text-decoration: none;
	padding: 13px 28px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 700;
	transition: all 0.3s ease;
}

.special-btn:hover {
	background: #244f4a;
	color: #fff !important;
	transform: translateY(-2px);
}

@media (max-width: 700px) {
	.dental-specials {
		grid-template-columns: 1fr;
	}

	.special-price {
		font-size: 46px;
	}
}

body:not(.home) nav.th-nav > ul > li > a {
    color: #000;
}

body:not(.home) .th-topbar {
    height: 106px;
}