@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Goudy+Bookletter+1911&display=swap');

:root {
    --heading-font: "Bebas Neue", "Oswald", "Arial Narrow", Arial, sans-serif;
    --body-font: "Questrial", "DIN Pro", "DIN Alternate", "D-DIN", "Bahnschrift", "Poppins", Helvetica, Arial, sans-serif;
    --mainmenu-font: var(--body-font);
    --btn-font-family: var(--body-font);
    --dd-glass-btn-bg: rgba(255, 255, 255, 0.78);
    --dd-glass-btn-bg-hover: rgba(255, 255, 255, 0.92);
    --dd-glass-btn-border: rgba(31, 41, 55, 0.12);
    --dd-glass-btn-border-hover: rgba(31, 41, 55, 0.18);
    --dd-glass-btn-text: #1f2937;
    --dd-glass-btn-shadow: 0 10px 30px rgba(31, 41, 55, 0.08);
}

* {
    --primary-color: #333334;
    --primary-color-rgb: 51, 51, 52;
    --secondary-color: #333334;
    --secondary-color-rgb: 51, 51, 52;
    --bg-color-odd: #333334;
    --bg-dark-2: #333334;
}

/* Typography revision: Bebas for major headings, DIN for descriptive copy */
h1,
h2,
h3,
h4,
h5,
h6,
.subtitle,
.founder-heading {
    font-family: var(--heading-font);
    letter-spacing: 0em;
}

body,
p,
li,
a,
input,
textarea,
select,
button {
    font-family: var(--body-font);
}

html,
body,
#content {
    background: #F4F4F4 !important;
}

/* Keep subheader/breadcrumb area distinct from page background */
#subheader.bg-color-op-1 {
    background: #ECECEC !important;
    border-bottom: 1px solid rgba(49, 69, 68, 0.08);
}

/* Global button color revision */
a.btn-main,
.btn-main,
input[type=button].btn-main,
input[type=submit],
button,
a.btn-line,
.btn-plus,
.btn-cta-consultation {
    background: var(--dd-glass-btn-bg) !important;
    border: 1px solid var(--dd-glass-btn-border) !important;
    color: var(--dd-glass-btn-text) !important;
    font-weight: 400 !important;
    box-shadow: var(--dd-glass-btn-shadow) !important;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

a.btn-main:hover,
.btn-main:hover,
input[type=button].btn-main:hover,
input[type=submit]:hover,
button:hover,
a.btn-line:hover,
.btn-plus:hover,
.btn-cta-consultation:hover {
    background: var(--dd-glass-btn-bg-hover) !important;
    border-color: var(--dd-glass-btn-border-hover) !important;
    color: var(--dd-glass-btn-text) !important;
    box-shadow: 0 14px 34px rgba(31, 41, 55, 0.11) !important;
    transform: translateY(-1px);
}

a.btn-main span,
.btn-main span,
a.btn-line span,
.btn-cta-consultation span,
.btn-plus span,
.btn-plus i,
.btn-cta-consultation i {
    color: inherit !important;
}

/* Blog CTA button polish: "Contact Dentodream Today" */
.post-text a.btn-main.btn-lg[href="contact.html"] {
    border-radius: 12px !important;
    padding: 12px 28px !important;
    background: var(--dd-glass-btn-bg) !important;
    border: 1px solid var(--dd-glass-btn-border) !important;
    color: var(--dd-glass-btn-text) !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em !important;
    box-shadow: var(--dd-glass-btn-shadow) !important;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.post-text a.btn-main.btn-lg[href="contact.html"]:hover {
    background: var(--dd-glass-btn-bg-hover) !important;
    border-color: var(--dd-glass-btn-border-hover) !important;
    color: var(--dd-glass-btn-text) !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(31, 41, 55, 0.11) !important;
}

/* Footer color revision */
footer.section-dark,
footer.section-dark .subfooter {
    background: #333335 !important;
}

footer.section-dark .subfooter {
    background: #f5f5f5 !important;
}

/* Footer typography */
footer.section-dark h1,
footer.section-dark h2,
footer.section-dark h3,
footer.section-dark h4,
footer.section-dark h5,
footer.section-dark h6 {
    color: #cfd4db !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
}

footer.section-dark h4,
footer.section-dark h5,
footer.section-dark h6,
footer.section-dark h4.id-color,
footer.section-dark h5.id-color,
footer.section-dark h6.id-color {
    font-size: 18px !important;
    color: #cfd4db !important;
    letter-spacing: 0.01em !important;
}

footer.section-dark,
footer.section-dark p,
footer.section-dark li,
footer.section-dark a,
 footer.section-dark .text-dark {
    color: #b5bec9 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
}

footer.section-dark a:hover {
    color: #d8dee6 !important;
}

footer.section-dark .subfooter,
footer.section-dark .subfooter a,
footer.section-dark .subfooter .text-dark,
footer.section-dark .subfooter .menu-simple li a {
    color: #6f7a87 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

footer.section-dark .subfooter a:hover {
    color: #55616f !important;
}

footer.section-dark .fw-bold.text-dark,
footer.section-dark .fw-bold.text-dark a {
    font-weight: 400 !important;
    color: #c3cad3 !important;
    font-size: 15px !important;
}

/* Footer icons match global accent */
footer.section-dark i,
footer.section-dark .social-icons i,
footer.section-dark i.id-color {
    color: #ffffff !important;
}

@media (max-width: 767.98px) {
    footer.section-dark h4,
    footer.section-dark h5,
    footer.section-dark h6,
    footer.section-dark h4.id-color,
    footer.section-dark h5.id-color,
    footer.section-dark h6.id-color {
        font-size: 17px !important;
    }

    footer.section-dark,
    footer.section-dark p,
    footer.section-dark li,
    footer.section-dark a,
    footer.section-dark .text-dark {
        font-size: 14px !important;
        line-height: 1.75 !important;
    }
}

/* Utility override */
.bg-dark {
    background: #333334 !important;
    background-color: #333334 !important;
}

.bg-color {
    background: #f4c48c !important;
    background-color: #f4c48c !important;
}

.id-color {
    color: #333334 !important;
}

.subtitle {
    color: #777777 !important;
    font-weight: 400 !important;
}

.subtitle.id-color {
    color: #777777 !important;
    font-weight: 400 !important;
}

.icon-bar-side {
    position: fixed;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 5000;
}

.icon-bar-side a {
    display: block;
    text-align: center;
    padding: 10px;
    transition: all 1s ease;
    color: #3e5789;
    font-size: 15px;
    background: #333333d7;
    color: #fff;
}

.icon-bar-side a:hover {
    background-color: #455554d7;
    color: #fff;
}

.bg-instagram {
    background: linear-gradient(45deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5) !important;
}

.bg-facebook {
    background-color: #1877F2 !important;
}

.bg-whatsapp {
    background-color: #25D366 !important;
}

.bg-youtube {
    background-color: #FF0000 !important;
}

.bg-tiktok {
    background-color: #1e1d1d !important;
}

.icon-bar-side a,
.icon-bar-side a.bg-instagram,
.icon-bar-side a.bg-facebook,
.icon-bar-side a.bg-youtube,
.icon-bar-side a.bg-whatsapp {
    background: #d9d9dc !important;
    color: #1f2937 !important;
}

.icon-bar-side a:hover,
.icon-bar-side a.bg-instagram:hover,
.icon-bar-side a.bg-facebook:hover,
.icon-bar-side a.bg-youtube:hover,
.icon-bar-side a.bg-whatsapp:hover {
    background: #cfd1d6 !important;
    color: #1f2937 !important;
}


.whatsapp-hover-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 5000;
}

.icon-box-terapi {
    font-size: 50px;
}

@media only screen and (max-width: 767px) {
    .icon-bar-side {
        top: auto;
        left: 50%;
        right: auto;
        bottom: 14px;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 6px;
        border-radius: 18px;
        background: rgba(244, 244, 244, 0.92);
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }

    .icon-bar-side a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border-radius: 12px !important;
    }

    .whatsapp-hover-button {
        bottom: 86px;
    }
}

.text-light-grey {
    color: #bfbdbd !important;
}

.home-values-copy,
.home-values-list li {
    color: var(--body-font-color);
}

.home-values-copy {
    margin-bottom: 1.5rem;
}

.home-values-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f4f4f4;
    border-radius: 24px !important;
}

.home-values-media-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 24px !important;
}

@media (min-width: 992px) {
    .home-values-media {
        width: min(560px, 100%);
        margin-left: 0;
    }
}

@media (min-width: 1200px) {
    .home-values-media {
        width: min(620px, 100%);
        margin-left: 0;
    }
}

.home-values-list li {
    font-weight: 400;
}

.home-values-list li:before {
    color: #333334 !important;
}

.book-appointment-media {
    min-height: 620px;
    border-radius: 24px !important;
    overflow: hidden;
    background-size: cover !important;
    background-position: center center !important;
}

@media (min-width: 993px) {

    #menu-btn,
    #btn-extra {
        display: none !important;
    }
}

/* Mobilde navbar altında kalan hero başlığı için padding */
@media only screen and (max-width: 992px) {
    #section-intro {
        padding-top: 150px;
    }

    .book-appointment-media {
        min-height: 520px;
    }

    .home-values-media,
    .home-values-media-image {
        min-height: 0;
    }
}

@media only screen and (max-width: 767px) {
    .book-appointment-media {
        min-height: 420px;
        border-radius: 20px !important;
    }

    .home-values-media,
    .home-values-media-image {
        min-height: 0;
    }

    .home-values-media {
        aspect-ratio: 1 / 1;
    }

    .home-values-media-image {
        aspect-ratio: 1 / 1;
    }
}

#section-intro {
    position: relative;
    background:
        linear-gradient(90deg, rgba(247, 247, 244, 0.94) 0%, rgba(247, 247, 244, 0.90) 40%, rgba(247, 247, 244, 0.72) 100%),
        url("../images/general/dento-dream-turkey-4.webp") center center / cover no-repeat !important;
}

#section-intro .subtitle,
#section-intro h1,
#section-intro p,
#section-intro .me-3,
#section-intro .d-rating {
    color: #1f2937 !important;
}

#section-intro h1 {
    font-family: 'Goudy Bookletter 1911', serif !important;
    font-size: clamp(3rem, 6vw, 4.8rem) !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
}

#section-intro .text-light-grey {
    color: #6b7280 !important;
}

#section-intro .border-bottom {
    border-color: rgba(31, 41, 55, 0.16) !important;
}

/* Glass header (desktop): keep nav structure, change only visual style */
@media (min-width: 993px) {
    header.transparent.header-light {
        position: fixed;
        top: 12px;
        left: 0;
        width: 100%;
        z-index: 1100;
        background: transparent !important;
    }

    header.transparent.header-light .container {
        max-width: 1320px;
        padding-left: 26px;
        padding-right: 26px;
    }

    header.transparent.header-light .de-flex.sm-pt10 {
        min-height: 46px;
        padding: 1px 22px;
        border-radius: 26px;
        background: rgba(255, 255, 255, 0.55);
        border: 1px solid rgba(255, 255, 255, 0.65);
        box-shadow: 0 10px 30px rgba(9, 21, 39, 0.12);
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        backdrop-filter: blur(14px) saturate(140%);
    }

    header.transparent.header-light .de-flex.sm-pt10 > .de-flex-col:first-child {
        padding-right: 10px;
    }

    header.transparent.header-light .de-flex.sm-pt10 > .de-flex-col:last-child {
        padding-left: 10px;
    }

    header.transparent.header-light #logo img {
        max-width: calc(var(--logo-width) - 20px);
    }

    header.transparent.header-light #mainmenu > li > a,
    header.transparent.header-light #mainmenu > li.has-child:after {
        color: #1f2937 !important;
    }

    header.transparent.header-light #mainmenu > li > a span:not(.badge) {
        color: inherit !important;
        font-weight: 500;
    }

    /* Keep menu metrics identical in sticky/non-sticky states */
    header.transparent.header-light #mainmenu > li > a,
    header.transparent.header-light.smaller #mainmenu > li > a,
    header.transparent.header-light.autoshow.scrollOn #mainmenu > li > a {
        padding: var(--mainmenu-item-padding) !important;
    }

    header.transparent.header-light .menu_side_area .btn-main {
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.84) !important;
        color: var(--dd-glass-btn-text) !important;
        border: 1px solid var(--dd-glass-btn-border) !important;
        box-shadow: var(--dd-glass-btn-shadow) !important;
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
    }

    /* Keep the same glass look while sticky class toggles on scroll */
    header.transparent.header-light.smaller,
    header.transparent.header-light.autoshow.scrollOn {
        top: 12px;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    header.transparent.header-light.smaller .de-flex.sm-pt10,
    header.transparent.header-light.autoshow.scrollOn .de-flex.sm-pt10 {
        min-height: 46px;
        padding: 1px 22px;
        border-radius: 26px;
        background: rgba(255, 255, 255, 0.55);
        border: 1px solid rgba(255, 255, 255, 0.65);
        box-shadow: 0 10px 30px rgba(9, 21, 39, 0.12);
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        backdrop-filter: blur(14px) saturate(140%);
    }
}

/* Header menü: #mainmenu içinde Bootstrap sınıfları kullanılıyorsa tema ile uyumlu yap (border/çift ok kaldır) */
#mainmenu .nav-item.dropdown,
#mainmenu .nav-link.dropdown-toggle,
#mainmenu li.nav-item.dropdown > a {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
#mainmenu .dropdown-toggle::after {
    display: none !important;
}
#mainmenu .dropdown-menu {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-width: 0 !important;
    background: #fff;
    border-radius: 3px;
}
.dark-scheme #mainmenu .dropdown-menu {
    background: var(--bg-dark-1);
    border: solid 1px rgba(255,255,255,.1);
}
#mainmenu .dropdown-item {
    padding: 5px 15px !important;
    border-bottom: solid 1px rgba(0,0,0,.06) !important;
    border-radius: 0 !important;
    color: #606060;
}
.dark-scheme #mainmenu .dropdown-item {
    color: #fff;
    border-bottom-color: rgba(255,255,255,.1) !important;
}
#mainmenu .dropdown-item:hover {
    background: #f5f5f5 !important;
    color: #10244B !important;
}

header.header-light #mainmenu li li a:hover,
header.header-light #mainmenu ul li:hover > a,
header.header-light #mainmenu li ul.mega ul li a:hover,
header.header-light #mainmenu ul li a.menu-item:hover {
    background: #f5f5f5 !important;
    color: #10244B !important;
}

/* Treatments ve diğer çok seviyeli menüler: alt menü öğelerinde ok */
#mainmenu li li.has-child > a {
    padding-right: 24px;
}
#mainmenu li li.has-child > a:after {
    content: "\f105";
    font-family: "Font Awesome 6 Free", "FontAwesome";
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
}
.header-light #mainmenu li li.has-child > a:after {
    color: rgba(0,0,0,0.5);
}
.dark-scheme #mainmenu li li.has-child > a:after {
    color: rgba(255,255,255,0.7);
}

/* Mobilde tek ok: JS span kullanılıyor, CSS ::after gizle */
header.header-mobile #mainmenu li li.has-child > a:after {
    display: none !important;
}

/* CTA Consultation – yumuşak, klinik uyumlu renkler */
.cta-consultation {
    background: #ececec !important;
    color: #10244B !important;
}
.cta-consultation h2 {
    color: #10244B !important;
    font-weight: 600;
}
.cta-lead {
    color: #10244B !important;
    font-size: 1.05rem;
}
.cta-sub {
    color: #10244B !important;
    font-size: 0.95rem;
}

.cta-grey-strip {
    background: #ececec !important;
}

.cta-grey-strip h2,
.cta-grey-strip h3,
.cta-grey-strip p {
    color: #10244B !important;
}
.btn-cta-consultation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dd-glass-btn-text);
    background: var(--dd-glass-btn-bg);
    border: 1px solid var(--dd-glass-btn-border);
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease;
    box-shadow: var(--dd-glass-btn-shadow);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}
.btn-cta-consultation:hover {
    background: var(--dd-glass-btn-bg-hover);
    border-color: var(--dd-glass-btn-border-hover);
    color: var(--dd-glass-btn-text);
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(31, 41, 55, 0.11);
}
.btn-cta-consultation i {
    font-size: 1.15em;
}

/* Philosophy Section – marka ruhu, yumuşak arka plan */
.philosophy-section {
    background: linear-gradient(180deg, #f0eeef 0%, #f8f6f7 100%);
    color: #4a4a4a;
}
.philosophy-section h2 {
    color: #2d2d2d;
    font-weight: 600;
}
.philosophy-text {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
}
.philosophy-text em {
    color: #4a4a4a;
    font-style: italic;
}

/* Founder + Team Section – tek bölüm, temiz ve sade */
.founder-and-team {
    padding: 4rem 0;
    background: linear-gradient(180deg, #faf9f9 0%, #f2f0f1 50%, #faf9f9 100%);
}
.founder-block {
    padding: 0 0.5rem;
}
.founder-photo-wrap {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.founder-heading {
    color: #2d2d2d;
    font-weight: 600;
    font-size: 1.65rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.founder-name {
    color: #2d2d2d;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}
.founder-credentials {
    color: #6b6b6b;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.founder-quote {
    max-width: 36em;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color, #333334);
    text-align: left;
}
.founder-quote p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.team-subtitle {
    color: #6b6b6b;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}
.founder-card-link,
.founder-card-link:hover,
.team-card-link,
.team-card-link:hover {
    text-decoration: none;
    color: inherit;
}
.team-card {
    position: relative;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.team-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}
.team-card-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}
.team-card-caption {
    padding: 1rem;
    text-align: center;
    background: #fff;
}
.team-card-caption h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d2d2d;
}
.team-card-caption .small {
    color: #6b6b6b;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* Home team section refinement */
.team-highlight-grid .team-card {
    height: 100%;
    background: #333335;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.2);
}

.team-highlight-grid .team-card .team-card-caption {
    background: #333335;
}

.team-highlight-grid .team-card .team-card-caption h4,
.team-highlight-grid .team-card .team-card-caption .small {
    color: #f5f5f5 !important;
}

@media (min-width: 992px) {
    .team-highlight-grid {
        justify-content: center;
    }
}

.featured-team-card {
    background: #333335;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.2);
}

.featured-team-card .team-card-caption {
    background: #333335;
}

.featured-team-card .team-card-caption h4,
.featured-team-card .team-card-caption .small,
.featured-team-card .featured-note {
    color: #f5f5f5 !important;
}

.featured-team-card .featured-note {
    font-size: 0.88rem;
    line-height: 1.5;
    opacity: 0.9;
}

.featured-team-card .team-card-img {
    aspect-ratio: 3 / 4;
}

/* Mobile carousel controls for team cards */
.team-mobile-slider.owl-carousel .owl-nav {
    margin-top: 12px !important;
    text-align: center;
}

.team-mobile-slider.owl-carousel .owl-nav button.owl-prev,
.team-mobile-slider.owl-carousel .owl-nav button.owl-next {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px !important;
    border: 1px solid rgba(16, 36, 75, 0.15) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    color: #10244b !important;
    margin: 0 6px !important;
    line-height: 1 !important;
    padding: 0 !important;
}

.team-mobile-slider.owl-carousel .owl-nav button.owl-prev i,
.team-mobile-slider.owl-carousel .owl-nav button.owl-next i {
    line-height: 1 !important;
}

.team-mobile-slider.owl-carousel .owl-stage {
    display: flex;
}

.team-mobile-slider.owl-carousel .owl-item {
    display: flex;
    height: auto;
}

.team-mobile-slider.owl-carousel .owl-item > [class*="col-"] {
    width: 100%;
    max-width: 100%;
}

.team-mobile-slider.owl-carousel .owl-item .team-card-link,
.team-mobile-slider.owl-carousel .owl-item .team-card {
    width: 100%;
}

@media (min-width: 992px) {
    .team-mobile-slider.owl-carousel {
        padding: 0 42px;
    }

    .team-mobile-slider.owl-carousel .owl-nav {
        position: absolute;
        top: 50%;
        left: -6px;
        right: -6px;
        margin-top: 0 !important;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .team-mobile-slider.owl-carousel .owl-nav button.owl-prev,
    .team-mobile-slider.owl-carousel .owl-nav button.owl-next {
        pointer-events: auto;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.94) !important;
        border: 1px solid rgba(16, 36, 75, 0.14) !important;
        box-shadow: 0 10px 24px rgba(16, 36, 75, 0.08);
    }

    .team-mobile-slider.owl-carousel .owl-nav button.owl-prev {
        left: 0;
    }

    .team-mobile-slider.owl-carousel .owl-nav button.owl-next {
        right: 0;
    }
}

@media (max-width: 991.98px) {
    .team-mobile-slider {
        --bs-gutter-x: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .team-mobile-slider.owl-carousel .owl-item > [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Owl + Bootstrap column classes: force full-width slides on mobile */
    .team-mobile-slider.owl-carousel .col-6,
    .team-mobile-slider.owl-carousel .col-12,
    .team-mobile-slider.owl-carousel .col-md-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Keep all team cards visually identical on mobile */
    .team-mobile-slider .team-card-img {
        aspect-ratio: 3 / 4 !important;
    }

    .team-mobile-slider .team-card-caption {
        min-height: 120px;
    }

    .team-mobile-slider .featured-note {
        display: none;
    }

    .team-mobile-slider.owl-carousel .owl-dots {
        margin-top: 14px !important;
    }
}

/* Dentists page team cards */
.dentists-team-grid .bg-light {
    background: #333335 !important;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.2);
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.dentists-team-grid h3,
.dentists-team-grid .id-color {
    color: #f5f5f5 !important;
}

.dentists-team-grid > [class*="col-"] {
    display: flex;
}

.dentists-team-grid .team-card-link {
    width: 100%;
}

.dentists-team-grid .bg-light img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.dentists-team-grid .p-40 {
    padding: 1.1rem 1.1rem 1.2rem !important;
}

.dentists-team-grid h3 {
    font-size: clamp(1.08rem, 1.45vw, 1.24rem) !important;
    line-height: 1.3;
}

.dentists-team-grid .id-color {
    font-size: 0.92rem;
}

@media (min-width: 992px) {
    .dentists-team-grid > .col-lg-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

/* Site ici tedavi referanslari */
a.treatment-link {
    color: var(--primary-color, #333334) !important;
    font-weight: 700;
    text-decoration: none;
}
a.treatment-link:hover {
    color: var(--primary-color, #333334) !important;
    text-decoration: underline;
}
a.treatment-link strong {
    color: inherit;
    font-weight: 700;
}

/* Tedavi sayfası içerik görselleri: kocaman tek görsel yerine dengeli, şık dağılım */
.post-text .img-treatment {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}
.post-text .treatment-img-row {
    margin-bottom: 2rem;
}
.post-text .treatment-img-row .img-treatment {
    max-height: 260px;
}
.post-text .img-treatment-full {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    margin-bottom: 2rem;
}
@media (min-width: 992px) {
    .post-text .img-treatment { max-height: 300px; }
    .post-text .img-treatment-full { max-height: 380px; }
}

/* Treatments sayfası: tüm kartlar eşit yükseklik */
.treatment-cards-section .row > [class*="col-"] {
    display: flex;
}
.treatment-cards-section .hover {
    height: 100%;
    width: 100%;
    display: flex;
}
.treatment-cards-section .hover .bg-color-op-1 {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}
.treatment-cards-section .hover .relative {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.treatment-cards-section .hover .relative p {
    flex: 1;
    margin-bottom: 1rem;
}

/* ===== Treatment inner pages: visual variety (no cards) ===== */

/* Quote / callout block – border-left primary */
.post-text .treatment-callout {
    padding: 1rem 1rem 1rem 1.25rem;
    margin: 1.5rem 0;
    background: #f4f4f4;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
}

/* Steps section – numbered circles, no card */
.treatment-steps-wrap {
    padding: 2rem 0;
    margin: 2rem 0;
    background: #f8f9fa;
    border-radius: 0.5rem;
}

.treatment-steps-wrap .treatment-step-item {
    padding: 1.25rem 1rem;
    margin-bottom: 1rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.treatment-steps-wrap .treatment-step-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.treatment-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.treatment-step-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.treatment-step-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Vertical steps – no card, stacked vertically */
.treatment-steps-vertical {
    margin: 2rem 0;
}

.treatment-steps-vertical .treatment-step-vertical {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.treatment-steps-vertical .treatment-step-vertical:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.treatment-steps-vertical .treatment-step-num {
    flex-shrink: 0;
}

.treatment-steps-vertical .treatment-step-vertical h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.treatment-steps-vertical .treatment-step-vertical p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Considerations / warnings – left border + icon list */
.post-text .treatment-considerations {
    padding: 1.25rem 1.25rem 1.25rem 1.5rem;
    margin: 1.5rem 0;
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 0.5rem 0.5rem 0;
}

.post-text .treatment-considerations .list-icons-warning {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-text .treatment-considerations .list-icons-warning li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.post-text .treatment-considerations .list-icons-warning li:before {
    position: absolute;
    left: 0;
    font-family: "Font Awesome 6 Free", "FontAwesome";
    font-weight: 900;
    content: "\f071";
    color: var(--primary-color);
    font-size: 1rem;
}

/* Why choose – two columns, light boxes with check icons */
.treatment-why-row .treatment-why-box {
    padding: 1.25rem 1.25rem;
    height: 100%;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}

.treatment-why-box .list-icons-primary {
    list-style: none;
    padding: 0;
    margin: 0;
}

.treatment-why-box .list-icons-primary li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.treatment-why-box .list-icons-primary li:before {
    position: absolute;
    left: 0;
    font-family: "Font Awesome 6 Free", "FontAwesome";
    font-weight: 900;
    content: "\f00c";
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* Optional: list with explicit icon (when you want fa-check-circle) */
.post-text .list-icons-circle li:before {
    content: "\f058" !important;
}

/* ==================================================
   Content headings – readable, global standards, responsive
   Scoped to blog/treatment content so hero & subheader keep their size
   ================================================== */
.blog-read .post-text,
.blog-read .post-text p,
.blog-read .post-text li {
    font-size: 0.97rem;
    line-height: 1.72;
}

.blog-read .post-text h1,
.blog-read .post-text .h1 {
    font-size: clamp(1.4rem, 3.6vw, 1.8rem);
    line-height: 1.22;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.blog-read .post-text h2,
.blog-read .post-text .h2 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.blog-read .post-text h2:first-of-type {
    margin-top: 0;
}

.blog-read .post-text h3,
.blog-read .post-text .h3 {
    font-size: clamp(1.1rem, 2.2vw, 1.25rem);
    line-height: 1.35;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.blog-read .post-text h4,
.blog-read .post-text .h4 {
    font-size: clamp(1rem, 1.8vw, 1.08rem);
    line-height: 1.4;
    margin-top: 1.25rem;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.blog-read .post-text h5,
.blog-read .post-text .h5 {
    font-size: 1rem;
    line-height: 1.4;
    margin-top: 1rem;
    margin-bottom: 0.35rem;
    font-weight: 500;
}

.blog-read .post-text h6,
.blog-read .post-text .h6 {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

/* Treatment step/why-box h4 stay compact */
.blog-read .post-text .treatment-step-vertical h4,
.blog-read .post-text .treatment-steps-vertical h4,
.blog-read .post-text .treatment-why-box h4 {
    font-size: 1.1rem;
    margin-top: 0;
}

/* Subheader titles: keep TemplateEN and TemplateSide identical */
#subheader h1,
#subheader h2 {
    font-family: 'Goudy Bookletter 1911', serif !important;
}
#subheader h1,
#subheader h2.limit-2-line-css,
#subheader .row.justify-content-center h2 {
    font-size: clamp(2rem, 4.2vw, 2.8rem) !important;
    line-height: 1.12 !important;
    font-weight: 500 !important;
    margin: 0 !important;
    letter-spacing: 0 !important;
}

/* Non-main h2 in subheader can stay smaller */
#subheader h2,
#subheader.dark h2 {
    font-size: clamp(1.25rem, 2.6vw, 1.6rem) !important;
    line-height: 1.3;
    font-weight: 500;
}

/* Breadcrumb position: left and lower on inner pages */
#subheader .crumb-wrapper {
    left: 24px;
    right: auto;
    bottom: 12px;
    transform: none;
    text-align: left;
}

#subheader .crumb {
    margin-top: 0;
}

#subheader.s2 .crumb {
    float: none;
    margin-top: 12px;
}

/* Most inner pages use plain .crumb (without .crumb-wrapper) */
@media (min-width: 993px) {
    #subheader {
        padding: 105px 0 26px 0 !important;
    }

    #subheader.text-center,
    #subheader.text-center .container,
    #subheader.text-center .row,
    #subheader.text-center .col-lg-12,
    #subheader.text-center .col-lg-10 {
        text-align: left !important;
    }

    #subheader .container.relative.z-2 {
        position: relative;
        min-height: 170px;
    }

    #subheader .row,
    #subheader .row.align-items-center,
    #subheader .row.justify-content-center {
        align-items: flex-end !important;
        min-height: 170px;
    }

    #subheader .row > [class*="col-"] {
        max-width: 100%;
        flex: 0 0 100%;
    }

    #subheader .col-lg-12,
    #subheader .col-lg-10,
    #subheader .row > [class*="col-"] {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        gap: 8px;
        padding-bottom: 0;
    }

    #subheader .border-bottom {
        display: none !important;
    }

    #subheader .crumb {
        display: inline-flex;
        padding-left: 0;
        margin: 0 !important;
    }

    /* TemplateSide long blog titles: keep safe distance from glass navbar */
    #subheader .row.justify-content-center {
        min-height: 210px;
    }

    #subheader .row.justify-content-center > [class*="col-"] {
        padding-top: 20px;
    }
}

/* About page – location & intro text */
.about-lead {
    line-height: 1.7;
}

/* About page – expectation cards (reuse treatment-why-box) */
section.bg-light .treatment-why-box {
    padding: 1.5rem;
}
section.bg-light .treatment-why-box .rounded-circle {
    width: 56px;
    height: 56px;
    background: #e7e7e7 !important;
    color: #10244B !important;
}

/* Home sections: equal vertical rhythm */
.home-section {
    padding-top: 88px !important;
    padding-bottom: 88px !important;
}

#section-intro.home-section {
    padding-top: 148px !important;
    padding-bottom: 88px !important;
}

@media (max-width: 991.98px) {
    .home-section {
        padding-top: 72px !important;
        padding-bottom: 72px !important;
    }

    #section-intro.home-section {
        padding-top: 132px !important;
        padding-bottom: 72px !important;
    }
}

/* Home before-after carousel */
.before-after-showcase {
    overflow: hidden;
    background: #f7f7f4 !important;
    padding-top: 88px !important;
    padding-bottom: 88px !important;
}

.home-section-heading {
    margin-bottom: 32px;
}

.home-section h2, .heading-primary {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-family: 'Goudy Bookletter 1911', serif;
}

.home-section-heading .subtitle,
.home-section-heading h2 {
    text-align: left;
}

.before-after-showcase .subtitle {
    color: #6b7280 !important;
}

.before-after-showcase h2 {
    color: #1f2937 !important;
}

.before-after-showcase .text-light-grey {
    color: #6b7280 !important;
}

.before-after-carousel .item {
    padding: 10px 14px;
}

.before-after-slide {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    padding: 16px;
    background: #f4f4f4;
    border: 1px solid rgba(16, 36, 75, 0.08);
    box-shadow: 0 8px 22px rgba(16, 36, 75, 0.05);
}

.before-after-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 16px;
}

.before-after-carousel .owl-dots {
    margin-top: 12px !important;
}

.before-after-carousel .owl-dot span {
    width: 8px;
    height: 8px;
    background: #c5c5c5 !important;
}

.before-after-carousel .owl-dot.active span {
    background: var(--primary-color) !important;
}

@media (min-width: 992px) {
    .before-after-carousel .owl-dots {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .before-after-carousel .item {
        padding: 8px 10px;
    }

    .before-after-slide {
        padding: 12px;
        border-radius: 28px;
    }

    .before-after-slide img {
        border-radius: 14px;
    }
}

.home-quote-carousel .item {
    height: 100%;
    padding: 6px 0;
}

.home-quote-carousel .gradient-white-top {
    height: 100%;
    display: flex;
}

.home-quote-carousel blockquote {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 0;
    width: 100%;
}

.home-quote-carousel blockquote > i {
    color: #1f2937 !important;
}

.home-quote-carousel .home-quote-text:before,
.home-quote-carousel .home-quote-text:after {
    color: #1f2937;
    font-weight: 500;
}

.home-quote-carousel .home-quote-text:before {
    content: "“";
    margin-right: 0.08em;
}

.home-quote-carousel .home-quote-text:after {
    content: "”";
    margin-left: 0.08em;
}

.home-quote-carousel .de_testi_by {
    margin-top: auto;
    padding-top: 1rem;
}

.trusted-brands-strip {
    overflow: hidden;
}

.trusted-brands-strip > .d-flex {
    display: block !important;
    overflow: hidden;
    width: 100%;
    padding-inline: 32px;
    box-sizing: border-box;
}

.trusted-brands-strip .de-marquee-list {
    display: block !important;
    white-space: nowrap !important;
    animation: none !important;
    -webkit-animation: none !important;
}

.trusted-brands-strip .js-marquee-wrapper {
    white-space: nowrap !important;
}

.trusted-brands-strip .js-marquee {
    white-space: nowrap !important;
}

.trusted-brands-strip .de-marquee-list img,
.trusted-brands-strip .js-marquee img {
    display: inline-block !important;
    vertical-align: middle;
    width: auto !important;
    max-width: none;
    height: 52px !important;
    margin-inline: 22px;
}

@media (max-width: 767.98px) {
    .trusted-brands-strip > .d-flex {
        padding-inline: 18px;
    }

    .trusted-brands-strip .de-marquee-list img,
    .trusted-brands-strip .js-marquee img {
        height: 40px !important;
        margin-inline: 14px;
    }
}

/* Home Real Patient Reviews carousel arrows (mobile-friendly) */
.home-video-carousel .owl-nav {
    margin-top: 10px !important;
    text-align: center;
}

/* Home "Real Patient Reviews" heading-to-video spacing */
.home-section-heading + .home-video-carousel {
    margin-top: -0.35rem !important;
}

.home-section-heading + .home-video-carousel + .row.d-none.d-md-flex {
    margin-top: 0.45rem !important;
}

/* Force tighter spacing specifically for Home "Real Patient Reviews" block */
#content > section.home-section.pt-5 .home-section-heading {
    margin-bottom: 10px !important;
}

#content > section.home-section.pt-5 .row.g-4.d-none.d-md-flex.mt-4 {
    margin-top: 0.35rem !important;
}

@media (max-width: 767.98px) {
    .home-section-heading {
        margin-bottom: 24px;
    }
}

/* ==================================================
   Global radius reduction (cards + images)
   ================================================== */
:root {
    --rounded-1: 10px;          /* previously visually larger */
    --dd-card-radius: 10px;
    --dd-media-radius: 8px;
}

/* General cards */
#content .bg-white.rounded-1,
#content .bg-light.rounded-1,
#content .pricing-s1,
#content .treatment-why-box,
#content .team-card,
#content .doctor-bio-card,
#content .review-story-card,
#content .composite-article-card,
#content .composite-gallery-card,
#content .widget,
#content .accordion.s2 .accordion-section-title {
    border-radius: var(--dd-card-radius) !important;
}

/* General media/image corners */
#content img.rounded-1,
#content .before-after-slide,
#content .review-story-image,
#content .composite-article-image,
#content .composite-article-gallery-image,
#content .doctor-bio-photo {
    border-radius: var(--dd-media-radius) !important;
}

.home-video-carousel .owl-nav button.owl-prev,
.home-video-carousel .owl-nav button.owl-next {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px !important;
    border: 1px solid rgba(16, 36, 75, 0.15) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    color: #10244b !important;
    margin: 0 6px !important;
    line-height: 1 !important;
    padding: 0 !important;
}

.home-video-carousel .owl-nav button.owl-prev i,
.home-video-carousel .owl-nav button.owl-next i {
    line-height: 1 !important;
}

.home-video-carousel .owl-nav button.owl-prev:hover,
.home-video-carousel .owl-nav button.owl-next:hover {
    background: #f5f5f5 !important;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 8px;
    margin-bottom: 1.5rem;
}

@media (max-width: 767.98px) {
    .logo-wrapper {
        margin-bottom: 2rem;
    }
}

/* Doctor biography pages */
.doctor-bio-section {
    padding: 80px 0;
}

.doctor-bio-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 430px;
    margin-right: auto;
}

.doctor-bio-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}

.doctor-bio-card-body {
    padding: 1.5rem;
}

.doctor-bio-card-body h2 {
    margin-bottom: 0.35rem;
}

.doctor-bio-role {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 1rem;
}

.ratings {
    color: #333334 !important;
}

.doctor-bio-meta {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doctor-bio-meta li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
    line-height: 1.45;
}

.doctor-bio-meta li i {
    margin-top: 0.15rem;
}

.doctor-bio-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #4b5567;
}

.doctor-bio-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .doctor-bio-section {
        padding: 56px 0;
    }

    .doctor-bio-card {
        max-width: 500px;
        margin-left: auto;
    }

    .doctor-bio-photo {
        aspect-ratio: 4 / 3;
    }
}

/* Reviews page */
.review-story-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.review-story-card {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 2rem;
    align-items: stretch;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.review-story-media {
    min-height: 280px;
}

.review-story-image {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: block;
    object-fit: cover;
    border-radius: 14px;
}

.review-story-placeholder {
    min-height: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 14px;
    border: 1.5px dashed rgba(21, 53, 99, 0.28);
    background:
        radial-gradient(circle at top left, rgba(182, 224, 245, 0.9), transparent 45%),
        linear-gradient(135deg, rgba(244, 248, 252, 0.98), rgba(232, 240, 247, 0.98));
    color: #153563;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-align: center;
    text-transform: uppercase;
}

.review-story-content {
    min-width: 0;
}

.review-story-name {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    line-height: 1.2;
    font-family: 'Goudy Bookletter 1911', serif;
    letter-spacing: 0;
}

.review-story-copy {
    color: #4b5567;
    line-height: 1.9;
    white-space: pre-line;
}

@media (max-width: 991.98px) {
    .review-story-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .review-story-media {
        min-height: 220px;
    }

    .review-story-image {
        min-height: 220px;
    }
}

@media (max-width: 575.98px) {
    .review-story-card {
        padding: 1.25rem;
    }

    .review-story-name {
        font-size: 1.2rem;
    }

    .review-story-copy {
        line-height: 1.8;
    }
}

/* Composite bonding article */
.composite-article-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.composite-article-card {
    padding: 2rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.composite-article-card h2,
.composite-article-card h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.composite-article-card p {
    color: #4b5567;
    line-height: 1.9;
}

.composite-article-card p:last-child {
    margin-bottom: 0;
}

.composite-article-image,
.composite-article-gallery-image {
    width: 100%;
    display: block;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
}

.composite-article-image {
    aspect-ratio: 16 / 10;
}

.composite-article-gallery-image {
    aspect-ratio: 4 / 3;
}

.composite-article-list {
    margin: 0;
    padding-left: 1.1rem;
    color: #4b5567;
}

.composite-article-list li {
    margin-bottom: 0.75rem;
    line-height: 1.9;
}

.composite-article-list li:last-child {
    margin-bottom: 0;
}

.composite-gallery-card {
    height: 100%;
    padding: 0.75rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 250, 0.98));
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

@media (max-width: 767.98px) {
    .composite-article-card {
        padding: 1.35rem;
    }
}

/* FAQ Layout Adjustment */
@media (min-width: 992px) {
    .de-tab.plain {
        padding-right: 15%;
    }
}

/* ==================================================
   Page 1 (Home) polish - structure safe visual refinements
   ================================================== */

/* Consistent text rhythm across all pages */
body {
    letter-spacing: 0.01em;
}

p,
li {
    line-height: 1.8;
}

.heading-primary,
h2.heading-primary {
    letter-spacing: -0.01em;
}

/* Home video and social embeds */
.home-video-carousel .relative,
.home-instagram-carousel .relative {
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.home-video-carousel iframe,
.home-instagram-carousel iframe {
    display: block;
}

/* Home treatment cards */
#content .home-section .shadow-1.bg-white {
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

#content .home-section .shadow-1.bg-white:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1) !important;
}

#content .home-section .shadow-1.bg-white h4 a {
    color: #1f2937 !important;
}

#content .home-section .shadow-1.bg-white h4,
#content .home-section .shadow-1.bg-white h4 a {
    font-family: 'Goudy Bookletter 1911', serif !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
}

#content .home-section .shadow-1.bg-white p {
    color: #5b6373;
}

/* Home "Book appointment" form */
#content .home-section form#contact_form .form-control {
    min-height: 48px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#content .home-section form#contact_form textarea.form-control {
    min-height: 132px;
}

#content .home-section form#contact_form .form-control:focus {
    border-color: rgba(16, 36, 75, 0.4);
    box-shadow: 0 0 0 3px rgba(16, 36, 75, 0.08);
}

/* FAQ accordion polish */
.accordion.s2 .accordion-section-title {
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    margin-bottom: 10px;
    padding: 1rem 2.75rem 1rem 1.25rem !important;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.accordion.s2 .accordion-section-title:hover {
    background: #f8fafc;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
}

.accordion.s2 .accordion-section-content {
    border-left: 2px solid rgba(16, 36, 75, 0.12);
    padding: 0.35rem 0 0.2rem 1rem;
    margin: 0 0 12px 10px;
    color: #4b5567;
}

/* Better visual hierarchy for key home statements */
#content #section-intro p,
#content .home-values-copy,
#content .cta-lead,
#content .cta-sub {
    color: #495468 !important;
}

/* Keep spacing balanced on mobile */
@media (max-width: 767.98px) {
    #content .home-section .shadow-1.bg-white {
        padding: 1.25rem !important;
    }

    .accordion.s2 .accordion-section-title {
        padding-top: 0.95rem;
        padding-bottom: 0.95rem;
    }
}

/* ==================================================
   Inner pages polish (TemplateEN + TemplateSideEN)
   ================================================== */

/* Subheader readability and elegance */
#subheader h1,
#subheader h2,
#subheader .crumb {
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.35);
}

#subheader .crumb li,
#subheader .crumb li a {
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}

/* Generic section cards used in many pages */
.home-section .bg-light.rounded-1,
.home-section .bg-color-op-1.rounded-1,
.home-section .p-40.bg-color-op-1.rounded-1 {
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

/* Content page typography */
.blog-read .post-text {
    color: #4b5567;
}

.blog-read .post-text h2,
.blog-read .post-text h3,
.blog-read .post-text h4 {
    color: #1f2937;
    letter-spacing: -0.01em;
}

.blog-read .post-text strong {
    color: #243042;
}

/* Article media quality */
.blog-read .post-text img,
.blog-read .post-text iframe {
    border-radius: 12px;
}

/* Tables on treatment/blog pages */
.blog-read .post-text .table {
    border-radius: 12px;
    overflow: hidden;
    border-color: rgba(15, 23, 42, 0.12);
}

.blog-read .post-text .table > :not(caption) > * > * {
    padding: 0.9rem 0.8rem;
    vertical-align: top;
}

.blog-read .post-text .table thead th {
    color: #1f2937;
    font-weight: 600;
}

/* Sidebar widgets (TemplateSideEN) */
.widget {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 1rem 1rem 1.1rem;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.widget + .widget,
.widget + h4,
h4 + .widget.widget_tags {
    margin-top: 1rem;
}

.widget h4 {
    color: #1f2937;
    margin-bottom: 0.85rem;
}

.widget ul li a {
    color: #4b5567;
    transition: color 0.2s ease;
}

.widget ul li a:hover {
    color: #10244b;
}

/* Keep footer widgets on dark background (do not inherit white card style) */
footer.section-dark .widget {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

footer.section-dark .widget + .widget,
footer.section-dark .widget + h4,
footer.section-dark h4 + .widget.widget_tags {
    margin-top: 0 !important;
}

/* Contact and form-heavy pages */
.form-control {
    border-radius: 10px;
}

.form-control::placeholder {
    color: #8c94a4;
}

/* FAQ page accordion consistency */
.accordion-section .accordion-section-title {
    font-weight: 500;
    color: #1f2937;
}

.accordion-section .accordion-section-content {
    color: #4b5567;
}

@media (max-width: 991.98px) {
    .widget {
        padding: 0.9rem;
    }

    .blog-read .post-text .table > :not(caption) > * > * {
        padding: 0.7rem 0.6rem;
        font-size: 0.92rem;
    }
}

/* ==================================================
   Global standardization (site-wide, template-safe)
   - heading sizes
   - paragraph sizes
   - section vertical spacing
   ================================================== */
:root {
    --dd-fs-h1: clamp(2rem, 4.2vw, 2.85rem);
    --dd-fs-h2: clamp(1.7rem, 3.4vw, 2.3rem);
    --dd-fs-h3: clamp(1.35rem, 2.5vw, 1.7rem);
    --dd-fs-h4: clamp(1.15rem, 1.9vw, 1.35rem);
    --dd-fs-h5: 1.05rem;
    --dd-fs-h6: 0.98rem;
    --dd-fs-body: 1rem;
    --dd-lh-body: 1.8;
    --dd-section-space-y: 84px;
    --dd-section-space-y-mobile: 64px;
}

/* Standard paragraph/list text scale for all content pages */
#content p,
#content li {
    font-size: var(--dd-fs-body);
    line-height: var(--dd-lh-body);
}

/* Standard heading scale for all content areas */
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
    line-height: 1.3;
    letter-spacing: -0.01em;
}

#content h1 {
    font-size: var(--dd-fs-h1);
}

#content h2 {
    font-size: var(--dd-fs-h2);
}

#content h3 {
    font-size: var(--dd-fs-h3);
}

#content h4 {
    font-size: var(--dd-fs-h4);
}

#content h5 {
    font-size: var(--dd-fs-h5);
}

#content h6 {
    font-size: var(--dd-fs-h6);
}

/* Blog/treatment content follows same body standard */
.blog-read .post-text,
.blog-read .post-text p,
.blog-read .post-text li {
    font-size: var(--dd-fs-body) !important;
    line-height: var(--dd-lh-body) !important;
}

/* Section spacing standardized site-wide (except hero/subheader/special cases) */
#content > section:not(#subheader):not(#section-intro),
body > section.home-section:not(#section-intro),
section.home-section:not(#section-intro):not(#subheader) {
    padding-top: var(--dd-section-space-y) !important;
    padding-bottom: var(--dd-section-space-y) !important;
}

@media (max-width: 991.98px) {
    #content > section:not(#subheader):not(#section-intro),
    body > section.home-section:not(#section-intro),
    section.home-section:not(#section-intro):not(#subheader) {
        padding-top: var(--dd-section-space-y-mobile) !important;
        padding-bottom: var(--dd-section-space-y-mobile) !important;
    }
}

/* Prices page: treatment headings use quoted serif font */
#content .pricing-s1 h4 {
    font-family: 'Goudy Bookletter 1911', serif !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
}

/* Contact page: "Get In Touch" labels in quoted serif font */
#content > section.home-section .row.g-4 > .col-lg-6:first-child > .subtitle,
#content > section.home-section .p-40.bg-color-op-1.rounded-1 > h3 {
    font-family: 'Goudy Bookletter 1911', serif !important;
    letter-spacing: 0 !important;
}
