/*
Theme Name: Dentaire Custom
Theme URI: https://example.com/dentaire-custom
Author: Custom Build
Author URI: https://example.com
Description: Custom WordPress theme based on the Dentaire HTML template.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: dentaire-custom
*/

.page ul,
.single ul,
.archive ul,
.blog ul {
    padding-left: 0;
}

html,
body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

header.main-header {
    margin-top: 0 !important;
}

.page:not(.home),
.blog,
.single,
.archive,
.search,
.error404 {
    background: #f9f9f9;
}

.page-header {
    background: transparent;
    padding: 70px 0 64px;
}

.page-header-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.page-header-box .page-header-breadcrumbs {
    width: 100%;
}

.page-header-box .page-header-breadcrumbs .breadcrumb {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.page-header-box .page-header-breadcrumbs .breadcrumb-item {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 14.77px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(21, 20, 16, 0.25);
}

.page-header-box .page-header-breadcrumbs .breadcrumb-item a {
    color: inherit;
    text-decoration: none;
}

.page-header-box .page-header-breadcrumbs .breadcrumb-item.active {
    color: #151410;
}

.page-header-box .page-header-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    padding-right: 10px;
    color: #d8a2aa;
    opacity: 1;
}

.page-header-box .page-header-title,
.page-header-box h1 {
    max-width: 860px;
    margin: 0;
    font-family: 'Unbounded', sans-serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 48px;
    letter-spacing: -1px;
    text-align: center;
    color: #151410;
}

.page-header-box .page-header-title span,
.page-header-box h1 span {
    color: inherit;
}

@media only screen and (max-width: 991px) {
    .page-header {
        padding: 56px 0 52px;
    }

    .page-header-box .page-header-title,
    .page-header-box h1 {
        font-size: 36px;
        line-height: 42px;
    }
}

@media only screen and (max-width: 767px) {
    .page-header {
        padding: 48px 0 44px;
    }

    .page-header-box {
        gap: 14px;
    }

    .page-header-box .page-header-title,
    .page-header-box h1 {
        font-size: 30px;
        line-height: 36px;
        letter-spacing: -0.6px;
    }

    .page-header-box .page-header-breadcrumbs .breadcrumb-item {
        font-size: 13px;
        line-height: 1.3;
        letter-spacing: 0.8px;
    }

    .page-header-box .page-header-breadcrumbs {
        width: 100%;
        overflow: hidden;
    }

    .page-header-box .page-header-breadcrumbs .breadcrumb {
        flex-wrap: nowrap;
        overflow: hidden;
        white-space: nowrap;
    }

    .page-header-box .page-header-breadcrumbs .breadcrumb-item {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .page-header-box .page-header-breadcrumbs .breadcrumb-item.active {
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.page-team {
    padding: 72px 0 96px;
    overflow: hidden;
}

.page-team-desktop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 0;
    row-gap: 2px;
    align-items: start;
    max-width: 1380px;
    margin: 0 auto;
    justify-items: center;
}

.page-team-card {
    position: relative;
    z-index: 1;
    transition: transform 0.45s ease, z-index 0.45s ease;
}

.page-team-card--angle-0 {
    transform: rotate(-2.3deg) translate(28px, 10px);
}

.page-team-card--angle-1 {
    transform: rotate(2deg) translateY(-18px);
}

.page-team-card--angle-2 {
    transform: rotate(-1.8deg) translate(-28px, 14px);
}

.page-team-card:hover {
    z-index: 20;
}

.page-team-card--angle-0:hover,
.page-team-card--angle-1:hover,
.page-team-card--angle-2:hover {
    transform: translateY(-18px) scale(1.04);
}

.page-team-card__inner {
    position: relative;
}

.page-team-card__image-link,
.page-team-mobile-card__image-link {
    display: block;
    text-decoration: none;
}

.page-team-card__image,
.page-team-mobile-card__image {
    position: relative;
    overflow: visible;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.page-team-card__image::after,
.page-team-mobile-card__image::after {
    content: none;
}

.page-team-card__image figure,
.page-team-mobile-card__image figure {
    margin: 0;
}

.page-team-card__image .image-anime,
.page-team-mobile-card__image .image-anime {
    overflow: visible;
}

.page-team-card__image .image-anime::after,
.page-team-mobile-card__image .image-anime::after,
.page-team-card__image .image-anime:hover::after,
.page-team-mobile-card__image .image-anime:hover::after {
    content: none;
    display: none;
}

.page-team-card__image img,
.page-team-mobile-card__image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.page-team-card,
.page-team-card__image {
    width: 480px;
    height: 720px;
}

.page-team-card__image img {
    width: 480px;
    height: 720px;
    object-fit: contain;
}

.page-team-card__labels,
.page-team-mobile-card__labels {
    display: none;
}

.page-team-card__name,
.page-team-mobile-card__name {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 12px;
    background: #ffffff;
    color: #151410;
    font-family: 'Unbounded', sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(21, 20, 16, 0.08);
}

.page-team-card__role,
.page-team-mobile-card__role {
    display: inline-block;
    max-width: min(100%, 320px);
    padding: 9px 16px;
    border-radius: 12px;
    background: #d88bb2;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(216, 139, 178, 0.24);
}

.page-team-card__hover {
    position: absolute;
    left: 50%;
    bottom: 92px;
    transform: translateX(-50%) translateY(18px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.page-team-card:hover .page-team-card__hover {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.page-team-card:hover .page-team-card__labels {
    opacity: 1;
    transition: opacity 0.35s ease;
}

.page-team-card__socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-team-card__socials a {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #d88bb2;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 14px 35px rgba(216, 139, 178, 0.28);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.page-team-card__socials a:hover {
    transform: translateY(-3px);
    background: #151410;
}

.page-team-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 22px;
    border-radius: 999px;
    background: #ffffff;
    color: #151410;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 14px 35px rgba(21, 20, 16, 0.16);
}

.page-team-mobile {
    display: none;
}

.page-team-mobile-slider {
    overflow: visible;
    padding-top: 8px;
    padding-bottom: 42px;
}

.page-team-mobile-slider .swiper-wrapper {
    align-items: flex-start;
    height: auto !important;
}

.page-team-mobile-slider .swiper-slide {
    width: min(338px, calc(100vw - 56px)) !important;
    min-width: min(338px, calc(100vw - 56px));
    max-width: calc(100vw - 56px);
    height: auto !important;
    overflow: visible;
}

.page-team-mobile-card {
    position: relative;
    height: auto;
}

.page-team-mobile-card__image .image-anime {
    overflow: visible;
}

.page-team-mobile-card__image img {
    height: auto;
}

.page-team-mobile-pagination {
    margin-top: 24px;
    text-align: center;
}

.page-team-mobile-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 4px !important;
    background: #b8c9d6;
    opacity: 1;
}

.page-team-mobile-pagination .swiper-pagination-bullet-active {
    background: #eacfe0;
}

.page-team-desktop-grid > .page-team-card:last-child:nth-child(3n + 1) {
    grid-column: 2;
}

@media only screen and (max-width: 1199px) {
    .page-team-desktop-grid {
        max-width: 1000px;
    }

    .page-team-card--angle-0 {
        transform: rotate(-2deg) translate(18px, 10px);
    }

    .page-team-card--angle-2 {
        transform: rotate(-1.5deg) translate(-18px, 14px);
    }
}

@media only screen and (max-width: 991px) {
    .page-team {
        padding: 56px 0 72px;
    }

    .page-team-desktop-grid {
        max-width: 100%;
        column-gap: 8px;
        row-gap: 16px;
    }

    .page-team-card__socials a {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .page-team {
        padding: 40px 0 48px;
    }

    .page-team-desktop-grid {
        display: none;
    }

    .page-team-mobile {
        display: block;
    }

    .page-team-card,
    .page-team-card__image,
    .page-team-card__image img {
        width: auto;
        height: auto;
    }
}

.single-doctor .page-header {
    padding-bottom: 24px;
}

.doctor-page-subtitle {
    padding-bottom: 38px;
}

.doctor-page-subtitle .container {
    display: flex;
    justify-content: center;
}

.doctor-page-subtitle__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 10px;
    background: #c57a9b;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
}

.doctor-profile-section {
    padding-bottom: 92px;
}

.doctor-profile-card {
    width: 100%;
    max-width: 1300px;
    min-height: 670px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 720px minmax(0, 1fr);
    align-items: stretch;
    background: #ffffff;
    border: 1px solid rgba(21, 20, 16, 0.06);
    border-radius: 18px;
    box-shadow: 0 16px 50px rgba(21, 20, 16, 0.06);
    overflow: hidden;
}

.doctor-profile-card__media {
    width: 720px;
    /* height: 670px; */
    background: #f4f4f2;
}

.doctor-profile-card__media picture,
.doctor-profile-card__media img {
    display: block;
    width: 100%;
    height: 100%;
}

.doctor-profile-card__media img {
    object-fit: cover;
}

.doctor-profile-card__content {
    padding: 34px 20px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.doctor-profile-card__bio {
    width: 500px;
    min-height: 456px;
    color: #151410;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 300;
    font-style: normal;
    line-height: 24px;
    letter-spacing: 0;
}

.doctor-profile-card__bio p {
    margin: 0 0 16px;
    font: inherit;
}

.doctor-profile-card__bio p:last-child {
    margin-bottom: 0;
}

.doctor-profile-card__bio ul,
.doctor-profile-card__bio ol {
    margin: 0 0 18px;
    padding-left: 18px;
}

.doctor-profile-card__bio li {
    margin-bottom: 8px;
    font: inherit;
}

.doctor-profile-card__bio ul {
    list-style: disc;
}

.doctor-profile-card__bio ul li::marker {
    color: #151410;
    font-size: 1em;
}

.doctor-profile-card__socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.doctor-profile-card__socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #bcccca;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.doctor-profile-card__socials a:hover,
.doctor-profile-card__socials a:focus {
    background: #aabbb9;
    color: #ffffff;
    transform: translateY(-1px);
}

.doctor-certificates-section {
    padding-bottom: 110px;
}

.doctor-certificates-heading {
    margin-bottom: 64px;
    text-align: center;
}

.doctor-certificates-heading p {
    margin: 0 0 18px;
    color: #9a9a9a;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.14;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.doctor-certificates-heading h2 {
    margin: 0;
    color: #151410;
    font-family: 'Unbounded', sans-serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -1px;
}

.doctor-certificates-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 626.5px);
    justify-content: space-between;
    gap: 18px 0;
}

.doctor-certificate-card {
    width: 100%;
    min-height: 460px;
    border-radius: 14px;
    overflow: hidden;
    background: #eef2f0;
}

.doctor-certificate-card img {
    display: block;
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.doctor-certificates-mobile-slider {
    display: none;
}

.doctor-certificates-mobile-slider .swiper-slide {
    width: 100% !important;
}

.doctor-certificates-mobile-pagination {
    margin-top: 20px;
    text-align: center;
}

.doctor-certificates-mobile-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 4px !important;
    background: #d5dae0;
    opacity: 1;
}

.doctor-certificates-mobile-pagination .swiper-pagination-bullet-active {
    background: #eacfe0;
}

@media only screen and (max-width: 1399px) {
    .doctor-profile-card {
        max-width: 1180px;
        grid-template-columns: 620px minmax(0, 1fr);
    }

    .doctor-profile-card__media {
        width: 620px;
        height: 670px;
    }
}

@media only screen and (max-width: 991px) {
    .single-doctor .page-header {
        padding-bottom: 18px;
    }

    .doctor-page-subtitle {
        padding-bottom: 28px;
    }

    .doctor-page-subtitle__badge {
        min-height: 38px;
        font-size: 12px;
        padding: 9px 14px;
    }

    .doctor-profile-section {
        padding-bottom: 74px;
    }

    .doctor-profile-card {
        max-width: 100%;
        min-height: 0;
        grid-template-columns: 1fr;
        border-radius: 14px;
    }

    .doctor-profile-card__media {
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .doctor-profile-card__media img {
        height: auto;
        object-fit: contain;
    }

    .doctor-profile-card__content {
        padding: 22px 18px 24px;
        gap: 18px;
        align-items: center;
    }

    .doctor-profile-card__bio {
        width: 310px;
        min-height: 672px;
        font-family: 'Inter', sans-serif;
        font-size: 15px;
        font-weight: 300;
        font-style: normal;
        line-height: 24px;
        letter-spacing: 0;
    }

    .doctor-certificates-section {
        padding-bottom: 84px;
    }

    .doctor-certificates-heading {
        margin-bottom: 64px;
    }

    .doctor-certificates-heading p {
        margin-bottom: 14px;
        font-size: 11px;
    }

    .doctor-certificates-heading h2 {
        font-size: 28px;
        line-height: 1.12;
        letter-spacing: -0.7px;
    }

    .doctor-certificates-grid {
        display: none;
    }

    .doctor-certificates-mobile-slider {
        display: block;
        overflow: visible;
    }

    .doctor-certificates-mobile-slider .swiper-slide {
        height: auto !important;
    }

    .doctor-certificate-card,
    .doctor-certificate-card img {
        min-height: 0;
        height: auto;
    }
}

.page-services-catalog {
    padding: 24px 0 110px;
}

.page-services-catalog > .container {
    max-width: 1300px;
}

.page-services-catalog__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.page-services-catalog .service-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 582px;
    margin-bottom: 0;
    padding: 0;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.page-services-catalog .service-item::before {
    display: none;
}

.page-services-catalog .service-item .icon-box {
    margin-bottom: 0;
}

.page-services-catalog .service-item .icon-box .img {
    width: 100%;
    height: 240px;
    min-height: 240px;
    max-height: 240px;
}

.page-services-catalog .service-item .icon-box img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    filter: none;
}

.page-services-catalog .service-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    margin-bottom: 0;
    padding: 30px 30px 8px;
}

.page-services-catalog .service-body h3 {
    margin-bottom: 16px;
    color: #1e1e1e;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.1;
}

.page-services-catalog .service-subitems {
    margin: 0;
    padding-left: 16px;
    display: grid;
    gap: 8px;
}

.page-services-catalog .service-subitems li {
    color: #1e1e1e;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
}

.page-services-catalog .service-subitems li a {
    color: inherit;
    text-decoration: none;
}

.page-services-catalog .service-subitems li a:hover,
.page-services-catalog .service-subitems li a:focus {
    text-decoration: underline;
}

.page-services-catalog .read-more-btn {
    margin-top: auto;
    padding: 0 30px 30px;
}

.page-services-catalog .read-more-btn a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-right: 0;
    color: #1e1e1e;
    font-family: 'Unbounded', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
}

.page-services-catalog .read-more-btn a::after {
    content: "";
    position: static;
    width: 20px;
    height: 20px;
    background-image: url("https://wondersmileclinic.com/wp-content/uploads/2026/03/Div-3.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    transform: none;
}

.page-services-catalog .service-item:hover .service-body h3,
.page-services-catalog .service-item:hover .service-subitems,
.page-services-catalog .service-item:hover .service-subitems li,
.page-services-catalog .service-item:hover .service-subitems li a,
.page-services-catalog .service-item:hover .read-more-btn a,
.page-services-catalog .service-item:hover .read-more-btn a:hover {
    color: #1e1e1e;
}

.page-services-catalog .service-slider {
    display: none;
}

.page-services-catalog .service-slider-pagination {
    display: none;
}

@media only screen and (max-width: 767px) {
    .page-services-catalog {
        padding: 12px 0 72px;
    }

    .page-services-catalog > .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-services-catalog__grid {
        display: none;
    }

    .page-services-catalog .service-slider {
        display: block;
        overflow: hidden;
        margin-bottom: 28px;
    }

    .page-services-catalog .service-slider .swiper-wrapper {
        align-items: stretch;
        height: auto !important;
    }

    .page-services-catalog .service-slider .swiper-slide {
        width: 100% !important;
        min-width: 100%;
        max-width: 100%;
        height: auto !important;
    }

    .page-services-catalog .service-slider .service-item {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        min-height: 582px;
        box-shadow: none;
    }

    .page-services-catalog .service-body {
        padding: 30px 30px 8px;
    }

    .page-services-catalog .service-body h3 {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .page-services-catalog .service-subitems {
        gap: 7px;
    }

    .page-services-catalog .service-subitems li {
        font-size: 11px;
        line-height: 1.35;
    }

    .page-services-catalog .read-more-btn {
        padding: 0 30px 30px;
    }

    .page-services-catalog .service-slider-pagination {
        display: block;
        text-align: center;
        margin-top: 24px;
    }

    .page-services-catalog .service-slider-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 4px !important;
        background: #b8c9d6;
        opacity: 1;
    }

    .page-services-catalog .service-slider-pagination .swiper-pagination-bullet-active {
        background: #eacfe0;
    }
}

.single-service .page-header {
    padding-bottom: 46px;
}

.service-detail-page {
    padding-bottom: 96px;
}

.service-detail-page > .container {
    max-width: 1300px;
}

.service-detail-layout {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.service-detail-sidebar {
    display: block;
    position: sticky;
    top: 120px;
}

.service-detail-sidebar__card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px 32px 32px 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.08);
}

.service-detail-sidebar__link {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #151410;
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.1;
    text-decoration: none;
    text-transform: uppercase;
}

.service-detail-sidebar__icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 50%;
    background: transparent;
    position: relative;
}

.service-detail-sidebar__icon::before {
    content: "";
    display: none;
    width: 20px;
    height: 20px;
    background: url("https://wondersmileclinic.com/wp-content/uploads/2026/03/Div-3.svg") no-repeat center center / contain;
}

.service-detail-sidebar__link.is-active {
    font-weight: 500;
}

.service-detail-sidebar__link.is-active .service-detail-sidebar__icon::before {
    display: block;
}

.service-detail-sidebar__children {
    display: grid;
    gap: 10px;
    margin: -4px 0 4px 36px;
}

.service-detail-sidebar__child-link {
    display: block;
    color: #151410;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.2;
    text-decoration: none;
}

.service-detail-sidebar__child-link::before {
    content: "- ";
}

.service-detail-sidebar__child-link.is-active {
    font-weight: 500;
}

.service-detail-sidebar__child-link--disabled {
    cursor: default;
}

.service-detail-content {
    min-width: 0;
}

.service-detail-image {
    margin-bottom: 32px;
}

.service-detail-image img {
    display: block;
    width: 100%;
    border-radius: 16px;
}

.service-detail-section {
    margin-bottom: 40px;
}

.service-detail-section h1,
.service-detail-section h2,
.service-detail-text h1,
.service-detail-text h2 {
    margin: 0 0 18px;
    color: #151410;
    font-family: 'Unbounded', sans-serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -1px;
}

.service-detail-section h3,
.service-detail-text h3 {
    margin: 0 0 18px;
    color: #151410;
    font-family: 'Unbounded', sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.6px;
}

.service-detail-text {
    color: #4a4a4a;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 24px;
}

.service-detail-text .seo-heading-reset {
  display: inline;
  margin: 0;
  padding: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.service-detail-text p {
    margin: 0 0 16px;
}

.service-detail-text p:last-child {
  margin-bottom: 0;
}

.service-detail-text a {
  color: #C57A9B;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.service-detail-text a:hover,
.service-detail-text a:focus {
  color: #C57A9B;
  text-decoration: underline;
}

.service-detail-text table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(21, 20, 16, 0.14);
}

.service-detail-text thead th {
  background: #f6f3f1;
  color: #151410;
  font-weight: 500;
}

.service-detail-text th,
.service-detail-text td {
  padding: 12px 14px;
  border: 1px solid rgba(21, 20, 16, 0.14);
  text-align: left;
  vertical-align: top;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 24px;
}

.service-detail-text tbody tr:nth-child(even) {
  background: rgba(246, 243, 241, 0.55);
}

#footer-consultation,
#footer-consultation-form {
  scroll-margin-top: 400px;
}

.service-detail-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.service-detail-list li {
    position: relative;
    padding-left: 28px;
    color: #151410;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 24px;
}

.service-detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background: url("https://wondersmileclinic.com/wp-content/uploads/2026/03/Div-20.svg") no-repeat center center / contain;
}

.service-detail-list li p {
  display: inline;
  margin: 0;
}

.service-detail-list--children {
  margin-top: 24px;
}

.service-detail-list__link {
  color: var(--primary-color);
  text-decoration: none;
}

.service-detail-list__link:hover,
.service-detail-list__link:focus {
  color: var(--primary-color);
  text-decoration: none;
}

.service-detail-list__link--disabled {
  color: #151410;
  cursor: default;
}

.service-before-after {
  margin-bottom: 40px;
}

.service-before-after__pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.service-before-after__image {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: var(--before-after-image-height, auto);
}

.service-before-after__image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
}

.service-before-after__pagination {
    margin-top: 20px;
    text-align: center;
}

.service-before-after__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 4px !important;
    background: #b8c9d6;
    opacity: 1;
}

.service-before-after__pagination .swiper-pagination-bullet-active {
    background: #eacfe0;
}

.service-detail-section--last {
    margin-bottom: 0;
}

.service-mobile-help {
    display: none;
}

@media only screen and (max-width: 991px) {
    .single-service .page-header {
        padding-bottom: 32px;
    }

    .service-detail-layout {
        grid-template-columns: 1fr;
    }

    .service-detail-sidebar {
        display: none;
    }

    .service-detail-section h1,
    .service-detail-section h2,
    .service-detail-text h1,
    .service-detail-text h2 {
        font-size: 32px;
        line-height: 1.04;
        letter-spacing: -0.8px;
    }

    .service-detail-section h3,
    .service-detail-text h3 {
        font-size: 24px;
        line-height: 1.1;
        letter-spacing: -0.4px;
    }
}

@media only screen and (max-width: 767px) {
    .service-detail-page {
        padding-bottom: 56px;
    }

    .service-detail-page > .container,
    .service-mobile-help > .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .service-detail-image {
        margin-bottom: 24px;
    }

    .service-detail-image img {
        border-radius: 12px;
    }

    .service-detail-section {
        margin-bottom: 32px;
    }

    .service-detail-section h1,
    .service-detail-section h2,
    .service-detail-text h1,
    .service-detail-text h2 {
        margin-bottom: 16px;
        font-size: 24px;
        line-height: 1.08;
        letter-spacing: -0.4px;
    }

    .service-detail-section h3,
    .service-detail-text h3 {
        margin-bottom: 14px;
        font-size: 20px;
        line-height: 1.12;
        letter-spacing: -0.2px;
    }

    .service-detail-text {
        font-size: 15px;
        line-height: 24px;
    }

    .service-detail-list {
        gap: 10px;
        margin-top: 20px;
    }

    .service-detail-list li {
        font-size: 14px;
        line-height: 22px;
    }

    .service-before-after__pair {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .service-mobile-help {
      display: block;
      padding: 8px 0 96px;
      overflow: visible;
    }

    .service-mobile-help__heading {
        margin-bottom: 32px;
        text-align: center;
    }

    .service-mobile-help__heading p {
        margin: 0 0 16px;
        color: #9a9a9a;
        font-family: 'Inter', sans-serif;
        font-size: 13px;
        font-weight: 300;
        line-height: 1.14;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .service-mobile-help__heading h2 {
        margin: 0;
        color: #151410;
        font-family: 'Unbounded', sans-serif;
        font-size: 32px;
        font-weight: 400;
        line-height: 1.05;
        letter-spacing: -1px;
        text-align: center;
    }

    .service-mobile-help__slider {
      overflow: visible;
    }

    .service-mobile-help__slider .swiper-wrapper {
      align-items: stretch;
      height: auto !important;
    }

    .service-mobile-help .service-item {
      display: flex;
      flex-direction: column;
      width: 100%;
      min-height: 582px;
      margin-bottom: 0;
      padding: 0;
      background: #ffffff;
      border-radius: 30px;
      box-shadow: none;
      overflow: hidden;
    }

    .service-mobile-help .service-item::before {
      display: none;
    }

    .service-mobile-help .icon-box {
      margin-bottom: 0;
    }

    .service-mobile-help .icon-box .img {
      width: 100%;
      height: 240px;
      min-height: 240px;
      max-height: 240px;
    }

    .service-mobile-help .icon-box img {
      display: block;
      width: 100%;
      height: 100%;
      max-width: none;
      object-fit: cover;
      filter: none;
    }

    .service-mobile-help__slider .swiper-slide {
      width: 100% !important;
      min-width: 100%;
      max-width: 100%;
      height: auto !important;
      overflow: visible;
    }

    .service-mobile-help .service-body {
      display: flex;
      flex-direction: column;
      flex: 1 1 auto;
      margin-bottom: 0;
      padding: 30px 30px 8px;
    }

    .service-mobile-help .service-body h3 {
      color: #1e1e1e;
      font-size: 16px;
      font-weight: 500;
      line-height: 1.1;
      margin-bottom: 14px;
    }

    .service-mobile-help .service-subitems {
      margin: 0;
      padding-left: 16px;
      display: grid;
      gap: 7px;
    }

    .service-mobile-help .service-subitems li {
      color: #1e1e1e;
      font-size: 11px;
      font-weight: 400;
      line-height: 1.35;
    }

    .service-mobile-help .service-subitems li a {
      color: inherit;
      text-decoration: none;
    }

    .service-mobile-help .service-subitems li a:hover,
    .service-mobile-help .service-subitems li a:focus {
      text-decoration: underline;
    }

    .service-mobile-help .service-subitems li p {
      display: inline;
      margin: 0;
    }

    .service-mobile-help .read-more-btn {
      margin-top: auto;
      padding: 0 30px 30px;
    }

    .service-mobile-help .read-more-btn a {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding-right: 0;
      color: #1e1e1e;
      font-family: 'Unbounded', sans-serif;
      font-size: 13px;
      font-weight: 500;
      line-height: 1;
      text-decoration: none;
    }

    .service-mobile-help .read-more-btn a::after {
      content: "";
      position: static;
      width: 20px;
      height: 20px;
      background-image: url("https://wondersmileclinic.com/wp-content/uploads/2026/03/Div-3.svg");
      background-repeat: no-repeat;
      background-position: center center;
      background-size: contain;
      transform: none;
    }

    .service-mobile-help__pagination {
        margin-top: 24px;
        text-align: center;
    }

    .service-mobile-help__pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 4px !important;
        background: #b8c9d6;
        opacity: 1;
    }

.service-mobile-help__pagination .swiper-pagination-bullet-active {
  background: #eacfe0;
}

}

.page-price-catalog {
  padding: 8px 0 96px;
}

.page-price-catalog > .container {
  max-width: 1010px;
}

.page-price-accordion {
  display: grid;
  gap: 16px;
}

.price-section-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

.price-section-card__header {
  margin: 0;
}

.price-section-card__toggle {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 0;
  border: 0;
  background: #ffffff;
  box-shadow: none;
  text-align: left;
}

.price-section-card.is-open .price-section-card__toggle {
  background: #bcccca;
}

.price-section-card__media {
  display: block;
  width: 148px;
  height: 90px;
  overflow: hidden;
}

.price-section-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price-section-card__title {
  color: #151410;
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.price-section-card__icon {
  position: relative;
  width: 32px;
  height: 32px;
  margin-right: 24px;
  justify-self: end;
  border-radius: 50%;
  background: #bcccca;
  transition: background-color 0.25s ease;
}

.price-section-card__toggle:hover .price-section-card__icon,
.price-section-card__toggle:focus-visible .price-section-card__icon {
  background: #C57A9B;
}

.price-section-card__icon::before,
.price-section-card__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%);
  transition: background-color 0.25s ease, opacity 0.25s ease;
}

.price-section-card__icon::before {
  width: 14px;
  height: 1.5px;
}

.price-section-card__icon::after {
  width: 1.5px;
  height: 14px;
}

.price-section-card.is-open .price-section-card__icon {
  background: #ffffff;
}

.price-section-card.is-open .price-section-card__icon::before,
.price-section-card.is-open .price-section-card__icon::after {
  background: #151410;
}

.price-section-card.is-open .price-section-card__icon::after {
  opacity: 0;
}

.price-section-card__body {
  padding: 0 24px 8px;
  background: #ffffff;
}

.price-section-list {
  display: grid;
}

.price-section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(21, 20, 16, 0.08);
}

.price-section-row:last-child {
  border-bottom: 0;
}

.price-section-row__content {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.price-section-row__title {
  margin: 0;
  color: #151410;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.price-section-row__price {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #f2f2f2;
  color: #151410;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: background-color 0.25s ease;
}

.price-section-row__book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: #151410;
  font-family: 'Unbounded', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
}

.price-section-row__book span {
  display: inline-block;
}

.price-section-row__book i {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f2f2f2;
  flex: 0 0 20px;
  transition: background-color 0.25s ease;
}

.price-section-row__book i::before,
.price-section-row__book i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #151410;
  transform: translate(-50%, -50%);
}

.price-section-row__book i::before {
  width: 8px;
  height: 1.5px;
}

.price-section-row__book i::after {
  width: 1.5px;
  height: 8px;
  opacity: 0;
}

.price-section-row__book i::before {
  width: 20px;
  height: 20px;
  background: url("https://wondersmileclinic.com/wp-content/uploads/2026/03/Div-21.svg") no-repeat center center / contain;
}

.price-section-row__book i::after {
  display: none;
}

.price-section-row:hover .price-section-row__price {
  background: #EACFE0;
}

.price-section-row:hover .price-section-row__book i {
  background: #C57A9B;
}

.price-section-row:hover .price-section-row__book i::before,
.price-section-row:hover .price-section-row__book i::after {
  background: url("https://wondersmileclinic.com/wp-content/uploads/2026/03/Div-3.svg") no-repeat center center / contain;
}

@media only screen and (max-width: 767px) {
  .page-price-catalog {
    padding: 8px 0 72px;
  }

  .page-price-catalog > .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-price-accordion {
    gap: 14px;
  }

  .price-section-card {
    border-radius: 16px;
  }

  .price-section-card__toggle {
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 20px;
    min-height: 112px;
    padding: 0 28px 0 24px;
  }

  .price-section-card__media {
    display: none;
  }

  .price-section-card__title {
    font-size: 16px;
    line-height: 1.15;
  }

  .price-section-card__icon {
    width: 62px;
    height: 62px;
    margin-right: 0;
  }

  .price-section-card__body {
    padding: 0 18px 16px;
  }

  .price-section-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "title title"
      "price book";
    align-items: start;
    column-gap: 16px;
    row-gap: 16px;
    padding: 18px 0;
  }

  .price-section-row__content {
    display: contents;
    flex: initial;
  }

  .price-section-row__title {
    grid-area: title;
    font-size: 12px;
    line-height: 1.2;
  }

  .price-section-row__price {
    grid-area: price;
    width: fit-content;
    font-size: 12px;
    min-height: 40px;
    padding: 6px 16px;
    border-radius: 10px;
  }

  .price-section-row__book {
    grid-area: book;
    gap: 8px;
    align-self: center;
    justify-self: end;
    padding-top: 0;
    font-size: 11px;
    line-height: 1.1;
  }

.price-section-row__book span {
    max-width: 94px;
  }
}

.page-contacts-custom {
  padding: 8px 0 96px;
}

.page-contacts-custom > .container {
  max-width: 1300px;
}

.page-contacts-custom__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 636px;
  gap: 56px;
  align-items: start;
}

.page-contacts-custom__content {
  padding-top: 54px;
}

.page-contacts-custom__title {
  margin: 0 0 24px;
  color: #151410;
  font-family: 'Unbounded', sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -1px;
}

.page-contacts-custom__text {
  max-width: 590px;
  margin-bottom: 28px;
  color: #4a4a4a;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
}

.page-contacts-custom__text p {
  margin: 0 0 16px;
}

.page-contacts-custom__text p:last-child {
  margin-bottom: 0;
}

.page-contacts-custom__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.page-contacts-custom__card {
  min-height: 154px;
  padding: 28px 26px 24px;
  border-radius: 20px;
}

.page-contacts-custom__card.is-odd {
  background: #BCCCCA;
}

.page-contacts-custom__card.is-even {
  background: #ECECEC;
}

.page-contacts-custom__card-icon {
  display: inline-flex;
  margin-bottom: 14px;
}

.page-contacts-custom__card-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.page-contacts-custom__card-title {
  margin: 0 0 10px;
  color: #151410;
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
}

.page-contacts-custom__card-summary {
  color: #151410;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
}

.page-contacts-custom__card-summary p {
  margin: 0 0 8px;
}

.page-contacts-custom__card-summary p:last-child {
  margin-bottom: 0;
}

.page-contacts-custom__telegram {
  display: inline-flex;
  margin-top: 14px;
  text-decoration: none;
}

.page-contacts-custom__telegram-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #C57A9B;
}

.page-contacts-custom__telegram-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.page-contacts-custom__telegram-icon i {
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
}

.page-contacts-custom__form-wrap {
  min-width: 0;
}

.page-contacts-custom__form-card {
  padding: 54px 64px 52px;
  border-radius: 20px;
  background: #EACFE0;
}

.page-contacts-custom__form-card .footer-consultation-title {
  margin-bottom: 28px;
}

.page-contacts-custom__form-card .footer-consultation-title h2 {
  margin: 0;
  color: #151410;
  font-family: 'Unbounded', sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -1px;
}

.page-contacts-custom__form .footer-consultation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.page-contacts-custom__form .footer-consultation-grid-full {
  grid-column: 1 / -1;
}

.page-contacts-custom__form .form-group {
  margin: 0;
}

.page-contacts-custom__form .form-control {
  background: #ffffff;
  border: 0;
  box-shadow: none;
  background-image: none;
}

.page-contacts-custom__form textarea.form-control {
  min-height: 145px;
  resize: none;
}

.page-contacts-custom__form .footer-consultation-policy {
  margin: 26px 0 30px;
  color: rgba(21, 20, 16, 0.7);
  font-size: 15px;
  line-height: 1.5;
}

.page-contacts-custom__form .footer-consultation-policy a {
  color: inherit;
  text-decoration: underline;
}

.page-contacts-custom__form .footer-consultation-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.page-contacts-custom__form .btn-default {
  min-width: 254px;
  padding: 18px 32px;
  background: #151410;
  color: #ffffff;
  border: 0;
  box-shadow: none;
  background-image: none;
}

.page-contacts-custom__form .btn-default::after {
  display: none;
  content: none;
}

.page-contacts-custom__form .btn-default::before {
  display: none;
  content: none;
}

.page-contacts-custom__form .btn-default:hover,
.page-contacts-custom__form .btn-default:focus,
.page-contacts-custom__form .btn-default:active {
  background: #151410;
  color: #ffffff;
  box-shadow: none;
  background-image: none;
}

.page-contacts-custom__form .btn-default:hover::before,
.page-contacts-custom__form .btn-default:hover::after,
.page-contacts-custom__form .btn-default:focus::before,
.page-contacts-custom__form .btn-default:focus::after,
.page-contacts-custom__form .btn-default:active::before,
.page-contacts-custom__form .btn-default:active::after {
  display: none;
  content: none;
}

@media only screen and (max-width: 991px) {
  .page-contacts-custom__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-contacts-custom__content {
    padding-top: 0;
  }
}

@media only screen and (max-width: 767px) {
  .page-contacts-custom {
    padding: 8px 0 72px;
  }

  .page-contacts-custom > .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-contacts-custom__layout {
    gap: 14px;
  }

  .page-contacts-custom__title {
    margin-bottom: 18px;
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -0.8px;
    text-align: center;
  }

  .page-contacts-custom__text {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
  }

  .page-contacts-custom__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-contacts-custom__card {
    min-height: 124px;
    padding: 24px 20px;
    border-radius: 16px;
    text-align: center;
  }

  .page-contacts-custom__card-icon {
    justify-content: center;
    width: 100%;
    margin-bottom: 12px;
  }

  .page-contacts-custom__card-title {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .page-contacts-custom__card-summary {
    font-size: 15px;
    line-height: 1.45;
  }

  .page-contacts-custom__telegram {
    margin-top: 12px;
  }

  .page-contacts-custom__form-card {
    padding: 28px 18px 22px;
    border-radius: 16px;
  }

  .page-contacts-custom__form-card .footer-consultation-title {
    margin-bottom: 20px;
  }

  .page-contacts-custom__form-card .footer-consultation-title h2 {
    font-size: 32px;
    line-height: 1.05;
    letter-spacing: -0.8px;
    text-align: center;
  }

  .page-contacts-custom__form .footer-consultation-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page-contacts-custom__form textarea.form-control {
    min-height: 140px;
  }

  .page-contacts-custom__form .footer-consultation-policy {
    margin: 18px 0 22px;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
  }

  .page-contacts-custom__form .footer-consultation-actions {
    align-items: stretch;
  }

.page-contacts-custom__form .btn-default {
    width: 100%;
    min-width: 0;
  }
}

.about-hero-card {
  padding: 8px 0 72px;
}

.about-hero-card > .container {
  max-width: 1300px;
}

.about-hero-card__shell {
  display: grid;
  grid-template-columns: minmax(0, 55%) minmax(0, 45%);
  align-items: stretch;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(21, 20, 16, 0.08);
}

.about-hero-card__media {
  position: relative;
  min-height: 654px;
}

.about-hero-card__media::after {
  content: none;
}

.about-hero-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 72px 64px 34px;
}

.about-hero-card__title {
  margin: 0 0 26px;
  color: #151410;
  font-family: 'Unbounded', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.8px;
}

.about-hero-card__text {
  color: #4a4a4a;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
}

.about-hero-card__text p {
  margin: 0 0 18px;
}

.about-hero-card__text p:last-child {
  margin-bottom: 0;
}

.about-hero-card__link {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  align-self: flex-start;
  margin-top: 34px;
  color: #151410;
  font-family: 'Unbounded', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
}

.about-hero-card__link span {
  display: block;
}

.about-hero-card__link::after {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: url("https://wondersmileclinic.com/wp-content/uploads/2026/03/Div-3.svg") no-repeat center center / contain;
}

@media only screen and (max-width: 991px) {
  .about-hero-card__shell {
    grid-template-columns: 1fr;
  }

  .about-hero-card__content {
    padding-left: 32px;
  }
}

@media only screen and (max-width: 767px) {
  .about-hero-card {
    padding: 8px 0 56px;
  }

  .about-hero-card > .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .about-hero-card__shell {
    border-radius: 20px;
  }

  .about-hero-card__media {
    min-height: 0;
  }

  .about-hero-card__media::after {
    content: none;
  }

  .about-hero-card__media picture {
    display: block;
  }

  .about-hero-card__media img {
    height: auto;
    object-fit: contain;
  }

  .about-hero-card__content {
    padding: 24px 24px 22px;
  }

  .about-hero-card__title {
    margin-bottom: 22px;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.8px;
  }

  .about-hero-card__text {
    font-size: 15px;
    line-height: 1.75;
  }

  .about-hero-card__text p {
    margin-bottom: 16px;
  }

  .about-hero-card__link {
    margin-top: 24px;
    font-size: 15px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    gap: 8px;
  }
}

body.page-template-template-about-php .why-choose-us {
  background-image: none;
  background-color: #f9f9f9;
  padding: 96px 0 0;
}

body.page-template-template-about-php .why-choose-us > .container {
  max-width: 1300px;
  padding-left: 0;
  padding-right: 0;
}

body.page-template-template-about-php .why-choose-us .section-row {
  margin-bottom: 60px;
}

body.page-template-template-about-php .why-choose-us .section-title {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

body.page-template-template-about-php .why-choose-us .section-title h3 {
  padding-left: 0;
  margin-bottom: 24px;
  color: #9a9a9a;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 300;
  line-height: 14.77px;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

body.page-template-template-about-php .why-choose-us .section-title h3::before {
  display: none;
}

body.page-template-template-about-php .why-choose-us .section-title h2 {
  color: #1e1e1e;
  font-family: var(--heading-font);
  font-size: 42px;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: -1px;
  text-align: center;
}

body.page-template-template-about-php .why-choose-us .section-title h2 span {
  color: inherit;
}

body.page-template-template-about-php .why-choose-layout--desktop {
  display: grid;
  grid-template-columns: 1fr 450px 1fr;
  min-height: 620px;
  background: #8d9b9a;
  border-radius: 16px;
  overflow: hidden;
}

body.page-template-template-about-php .why-choose-column {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 48px 28px;
}

body.page-template-template-about-php .why-choose-column--left {
  background: #b1b7b3;
}

body.page-template-template-about-php .why-choose-column--right {
  background: #6f8384;
}

body.page-template-template-about-php .why-choose-column--left .why-choose-content,
body.page-template-template-about-php .why-choose-column--right .why-choose-content {
  max-width: 320px;
  margin: 0 auto;
  text-align: center;
}

body.page-template-template-about-php .why-choose-item {
  display: block;
  margin-bottom: 0;
}

body.page-template-template-about-php .why-choose-content {
  width: auto;
}

body.page-template-template-about-php .why-choose-content h3 {
  margin-bottom: 12px;
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

body.page-template-template-about-php .why-choose-content p {
  margin: 0;
  color: #ffffff;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0;
  text-align: center;
}

body.page-template-template-about-php .why-choose-figure {
  position: relative;
  width: 450px;
  min-width: 450px;
  max-width: 450px;
  height: 620px;
  overflow: hidden;
}

body.page-template-template-about-php .why-choose-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.page-template-template-about-php .why-choose-figure::before,
body.page-template-template-about-php .why-choose-figure::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  pointer-events: none;
  z-index: 1;
}

body.page-template-template-about-php .why-choose-figure::before {
  left: 0;
  background: linear-gradient(90deg, #b1b7b3 0%, rgba(177, 183, 179, 0.72) 36%, rgba(177, 183, 179, 0) 100%);
}

body.page-template-template-about-php .why-choose-figure::after {
  right: 0;
  background: linear-gradient(270deg, #6f8384 0%, rgba(111, 131, 132, 0.72) 36%, rgba(111, 131, 132, 0) 100%);
}

body.page-template-template-about-php .why-choose-mobile-card {
  display: none;
}

@media only screen and (max-width: 767px) {
  body.page-template-template-about-php .why-choose-us {
    padding: 72px 0 0;
  }

  body.page-template-template-about-php .why-choose-us > .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.page-template-template-about-php .why-choose-us .section-row {
    margin-bottom: 36px;
  }

  body.page-template-template-about-php .why-choose-us .section-title {
    max-width: 358px;
  }

  body.page-template-template-about-php .why-choose-us .section-title h3 {
    margin-bottom: 20px;
  }

  body.page-template-template-about-php .why-choose-us .section-title h2 {
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -1px;
  }

  body.page-template-template-about-php .why-choose-layout--desktop {
    display: none;
  }

  body.page-template-template-about-php .why-choose-mobile-card {
    display: block;
    position: relative;
    width: 358px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: #8d9b9a;
  }

  body.page-template-template-about-php .why-choose-mobile-media {
    position: relative;
    width: 100%;
    height: 595px;
  }

  body.page-template-template-about-php .why-choose-mobile-media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 64%;
    background: linear-gradient(180deg, rgba(141, 155, 154, 0) 0%, rgba(141, 155, 154, 0.78) 34%, #8d9b9a 58%, #8d9b9a 100%);
    pointer-events: none;
  }

  body.page-template-template-about-php .why-choose-mobile-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
  }

  body.page-template-template-about-php .why-choose-mobile-slider {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 34px;
    width: 100%;
    overflow: hidden;
    padding: 0 28px 28px;
    z-index: 3;
  }

  body.page-template-template-about-php .why-choose-mobile-slider .swiper-wrapper {
    align-items: stretch;
  }

  body.page-template-template-about-php .why-choose-mobile-slider .swiper-slide {
    width: 100% !important;
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  body.page-template-template-about-php .why-choose-mobile-slide {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  body.page-template-template-about-php .why-choose-mobile-slide h3 {
    margin-bottom: 14px;
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
  }

  body.page-template-template-about-php .why-choose-mobile-slide p {
    margin: 0;
    color: #ffffff;
    font-family: var(--body-font);
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0;
    text-align: center;
  }

  body.page-template-template-about-php .why-choose-mobile-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    position: static;
    width: 100%;
    z-index: 4;
    visibility: visible;
  }

  body.page-template-template-about-php .why-choose-mobile-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
  }

  body.page-template-template-about-php .why-choose-mobile-pagination .swiper-pagination-bullet-active {
    background: #eacfe0;
  }
}

.about-expertise {
  padding: 96px 0 50px;
}

.about-expertise > .container {
  max-width: 1300px;
}

.about-expertise__heading {
  max-width: 900px;
  margin: 0 auto 72px;
  text-align: center;
}

.about-expertise__heading h3 {
  margin: 0 0 24px;
  color: #727272;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 14.77px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-expertise__heading h2 {
  margin: 0;
  color: #151410;
  font-family: 'Unbounded', sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: -1px;
}

.about-expertise__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 576px;
  gap: 98px;
  align-items: center;
}

.about-expertise__content {
  max-width: 578px;
}

.about-expertise__text {
  margin-bottom: 40px;
  color: #4a4a4a;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
}

.about-expertise__text p {
  margin: 0 0 20px;
}

.about-expertise__text p:last-child {
  margin-bottom: 0;
}

.about-expertise__list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-expertise__list li {
  position: relative;
  min-height: 30px;
  padding-left: 36px;
  color: #151410;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.about-expertise__list li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 24px;
  height: 24px;
  background: url("https://wondersmileclinic.com/wp-content/uploads/2026/03/Div-20.svg") no-repeat center center / contain;
}

.about-expertise__list li p {
  margin: 0;
}

.about-expertise__media {
  order: 2;
}

.about-expertise__media img {
  display: block;
  width: 100%;
  border-radius: 24px;
}

@media only screen and (max-width: 991px) {
  .about-expertise__body {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-expertise__content,
  .about-expertise__heading {
    max-width: none;
  }

  .about-expertise__media {
    order: 1;
  }

  .about-expertise__content {
    order: 2;
  }
}

@media only screen and (max-width: 767px) {
  .about-expertise {
    padding: 72px 0 0;
  }

  .about-expertise > .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .about-expertise__heading {
    max-width: 358px;
    margin-bottom: 40px;
  }

  .about-expertise__heading h3 {
    margin-bottom: 20px;
    text-align: center;
  }

  .about-expertise__heading h2 {
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -1px;
    text-align: center;
  }

  .about-expertise__body {
    gap: 32px;
  }

  .about-expertise__media img {
    border-radius: 18px;
  }

  .about-expertise__text {
    margin-bottom: 32px;
    line-height: 1.7;
  }

  .about-expertise__list {
    gap: 16px;
  }

  .about-expertise__list li {
    padding-left: 32px;
    font-size: 15px;
    line-height: 1.35;
  }

  .about-expertise__list li::before {
    top: 0;
    width: 24px;
    height: 24px;
  }
}

.legal-page {
  padding: 24px 0 96px;
}

.legal-page > .container {
  max-width: 1300px;
}

.legal-page__layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.legal-page__sidebar {
  display: block;
  position: sticky;
  top: 120px;
}

.legal-page__sidebar-card {
  gap: 18px;
}

.legal-page__nav-link {
  color: #151410;
  font-family: 'Unbounded', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.legal-page__nav-link.is-active {
  font-weight: 500;
}

.legal-page__content {
  min-width: 0;
}

.legal-page__section {
  margin-bottom: 56px;
  scroll-margin-top: 140px;
}

.legal-page__section:last-child {
  margin-bottom: 0;
}

.legal-page__section h2 {
  margin: 0 0 20px;
  color: #151410;
  font-family: 'Unbounded', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 42px;
  letter-spacing: -1px;
}

.legal-page__text {
  color: #151410;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 24px;
}

.legal-page__text p {
  margin: 0 0 16px;
}

.legal-page__text p:last-child {
  margin-bottom: 0;
}

.legal-page__text a {
  color: #C57A9B;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0;
}

.legal-page__text a:hover,
.legal-page__text a:focus {
  color: #C57A9B;
  text-decoration: underline;
}

.legal-page__text ul,
.legal-page__text ol {
  margin: 0 0 16px 18px;
}

.legal-page__text li {
  margin-bottom: 6px;
}

@media only screen and (max-width: 991px) {
  .legal-page__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-page__sidebar {
    position: static;
  }
}

@media only screen and (max-width: 767px) {
  .legal-page {
    padding: 12px 0 72px;
  }

  .legal-page > .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .legal-page__layout {
    gap: 24px;
  }

  .legal-page__sidebar-card {
    gap: 20px;
    padding: 24px 20px;
  }

  .legal-page__nav-link {
    gap: 12px;
    font-size: 14px;
    font-size: 15px;
    line-height: 1;
  }

  .legal-page__section {
    margin-bottom: 40px;
    scroll-margin-top: 110px;
  }

  .legal-page__section h2 {
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -1px;
  }

  .legal-page__text {
    font-size: 15px;
    line-height: 24px;
  }

  .legal-page__text ul,
  .legal-page__text ol {
    margin-left: 18px;
  }
}
