/* Shared navigation for service pages and the service catalog. */
.service-breadcrumbs {
    margin-top: 94px;
    padding: 16px 0;
    color: #647594;
    font-size: 14px;
    line-height: 1.5;
}

.service-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-breadcrumbs li {
    min-width: 0;
}

.service-breadcrumbs li + li::before {
    content: '/';
    margin-right: 10px;
    color: #a3b0c9;
}

.service-breadcrumbs a {
    color: #4566a8;
    text-decoration: none;
}

.service-breadcrumbs a:hover,
.service-breadcrumbs a:focus-visible {
    color: #c93445 !important;
    text-decoration: underline;
}

.service-breadcrumbs [aria-current='page'] {
    color: #293c60;
    font-weight: 700;
}

.services-page-intro {
    padding: 0 0 46px;
    background: #fff;
}

.services-page-intro .service-breadcrumbs {
    margin-bottom: 28px;
}

.services-page-intro h1 {
    max-width: 850px;
    margin: 12px 0 18px;
    padding: 0;
    background: none;
    color: #253d79;
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 800;
    line-height: 1.13;
    text-transform: none;
}

.services-page-intro p {
    max-width: 640px;
    margin: 0;
    color: #526585;
    font-size: 18px;
    line-height: 1.6;
}

.services-page-catalog.home-services-section {
    padding-top: 58px;
    padding-bottom: 80px;
}

.services-page-catalog .services-card-wrapper,
.service-page-related .services-card-wrapper {
    margin-bottom: 0;
}

.services-page-catalog .services-card-wrapper .card:last-child,
.service-page-related .services-card-wrapper .card:last-child {
    justify-content: space-between;
}

.services-page-catalog .card h2 {
    margin: 0;
    padding: 0;
    color: #294488;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.28;
    text-align: left;
    text-transform: none;
}

.service-page-details {
    padding: 68px 0 76px;
    background: #f8faff;
}

.service-page-section-heading {
    max-width: 1000px;
    margin: 0 auto 30px;
}

.service-page-section-heading h2 {
    margin: 10px 0 0;
    padding: 0;
    background: none;
    color: #253d79;
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    text-align: left;
    text-transform: none;
}

.service-page-details-card {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 46px;
    border: 1px solid #e0e9fa;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(36, 65, 142, .07);
    color: #334563;
    font-size: 17px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.service-page-details-card h2,
.service-page-doctors h2 {
    margin: 0 0 22px;
    padding: 0;
    color: #253d79;
    font-size: 32px;
    line-height: 1.25;
    text-align: left;
}

.service-page-details-card h2 {
    background: none;
    font-weight: 800;
    text-transform: none;
}

.service-page-details-card h2:not(:first-child) {
    margin-top: 34px;
}

.service-page-details-card h3 {
    margin: 24px 0 12px;
    color: #253d79;
    font-size: 22px;
}

.service-page-details-card p:last-child {
    margin-bottom: 0;
}

.service-page-details-card p {
    margin-bottom: 18px;
}

.service-page-details-card ul,
.service-page-details-card ol {
    margin: 0 0 22px;
    padding-left: 24px;
}

.service-page-details-card ul li {
    list-style: disc;
}

.service-page-details-card ol li {
    list-style: decimal;
}

.service-page-details-card li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.service-page-details-card li::marker {
    color: #da3849;
}

.service-page-details-card a {
    color: #3250a5;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.service-page-details-card table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.service-page-details-card th,
.service-page-details-card td {
    padding: 12px 16px;
    border: 1px solid #dce6f7;
    text-align: left;
}

.service-page-details-card th {
    background: #edf3ff;
    color: #253d79;
}

.service-page-details-card img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.service-page-related.home-services-section {
    padding: 68px 0 76px;
}

.service-page-doctors {
    padding: 76px 0 88px;
    background: #f8faff;
}

.service-page-doctors .service-page-section-heading h2 {
    margin: 10px 0 0;
}

.service-page-doctors-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.service-page-doctor {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 24px;
    border: 1px solid #dce6f7;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(36, 65, 142, .07);
}

.service-page-doctor > img {
    width: 115px;
    height: 130px;
    flex: 0 0 115px;
    border-radius: 14px;
    object-fit: cover;
}

.service-page-doctor h3 {
    margin: 0 0 7px;
    color: #253d79;
    font-size: 21px;
    line-height: 1.3;
}

.service-page-doctor-position {
    margin: 0 0 12px;
    color: #c93445;
    font-weight: 700;
}

.service-page-doctor-info {
    color: #526585;
    font-size: 15px;
    line-height: 1.6;
}

.service-page-doctor-info p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .service-breadcrumbs {
        margin-top: 78px;
        padding: 14px 0;
    }

    .services-page-intro {
        padding-bottom: 34px;
    }

    .services-page-intro .service-breadcrumbs {
        margin-bottom: 18px;
    }

    .services-page-catalog.home-services-section,
    .service-page-related.home-services-section,
    .service-page-doctors {
        padding: 48px 0 58px;
    }

    .service-page-details {
        padding: 52px 0;
    }

    .service-page-details-card {
        padding: 28px;
    }

    .service-page-doctors-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .service-breadcrumbs {
        margin-top: 66px;
        font-size: 13px;
    }

    .services-page-intro h1 {
        font-size: 32px;
    }

    .services-page-intro p {
        font-size: 16px;
    }

    .services-page-catalog .card h2 {
        font-size: 18px;
    }

    .service-page-details-card {
        padding: 24px 20px;
        font-size: 16px;
    }

    .service-page-details-card h2,
    .service-page-doctors h2 {
        font-size: 26px;
    }

    .service-page-section-heading {
        margin-bottom: 24px;
    }

    .service-page-doctor {
        flex-direction: column;
    }

    .service-page-doctor > img {
        width: 100%;
        height: 220px;
    }
}
