body.dr-med-site {
    --ink: #0b2559;
    --muted: #5b677a;
    --line: #e5eaf2;
    --page: #f5f7fa;
    --soft: #eef3fb;
    --teal: #0d3b8e;
    --teal-dark: #092f73;
    --mint: #e8effc;
    --coral: #ff4db8;
    --amber: #f59e0b;
    --blue: #a855f7;
    --white: #ffffff;
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --shadow: 0 22px 58px rgba(13, 59, 142, 0.14);
    --radius: 14px;
    background: var(--page);
    color: var(--ink);
}

.dr-med-site .site-header {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1px 0 rgba(13, 59, 142, 0.12);
}

.dr-med-site .brand {
    min-width: 192px;
}

.dr-med-site .brand-mark {
    width: 176px;
    height: 51px;
    background: transparent;
    overflow: hidden;
}

.dr-med-site .brand-mark img {
    width: 176px;
    height: 51px;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center 54%;
}

.dr-med-site .brand strong {
    display: none;
}


.dr-med-site .footer-brand img {
    width: 260px;
    max-height: 56px;
    object-fit: contain;
}

.dr-med-site .footer-brand > strong {
    display: none;
}
.dr-med-site .nav-links a:hover,
.dr-med-site .nav-links a:focus-visible,
.dr-med-site .nav-dropdown-toggle:hover,
.dr-med-site .nav-dropdown-toggle:focus-visible,
.dr-med-site .nav-dropdown.open .nav-dropdown-toggle,
.dr-med-site .nav-message-button:hover,
.dr-med-site .nav-message-button:focus-visible {
    background: rgba(13, 59, 142, 0.09);
    color: var(--teal);
}

.dr-med-site .language-select {
    color: var(--teal);
}

.dr-med-site .language-picker::after {
    border-color: var(--teal);
}

.dr-med-site .hero-section {
    min-height: min(760px, calc(100vh - 82px));
}

.dr-med-site .hero-overlay {
    background:
            linear-gradient(90deg, rgba(245, 247, 250, 0.99) 0%, rgba(245, 247, 250, 0.9) 38%, rgba(245, 247, 250, 0.22) 66%),
            linear-gradient(135deg, rgba(13, 59, 142, 0.1), rgba(255, 77, 184, 0.08));
}

.dr-med-site .eyebrow {
    color: var(--coral);
}

.dr-med-site .hero-copy,
.dr-med-site .section-heading p,
.dr-med-site .gallery-caption p,
.dr-med-site .contact-line p,
.dr-med-site .contact-info-body {
    color: var(--muted);
}

.dr-med-site .button.primary {
    background: linear-gradient(135deg, #0d3b8e 0%, #7139d8 56%, #ff4db8 100%);
    box-shadow: 0 16px 34px rgba(13, 59, 142, 0.24);
}

.dr-med-site .button.primary:hover {
    background: linear-gradient(135deg, #092f73 0%, #6230bd 54%, #e83aa5 100%);
}

.dr-med-site .button.secondary {
    color: var(--teal);
    background: var(--white);
    border-color: rgba(13, 59, 142, 0.32);
}

.dr-med-site .muted-section,
.dr-med-site .check-section,
.dr-med-site .video-section {
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}

.dr-med-site #doctors {
    background: linear-gradient(180deg, #f3f5fd 0%, #f5f3fd 55%, #fbf3f9 100%);
}

.dr-med-site #doctors.section {
    padding: 48px 0;
}


.dr-med-site .subsite-updates-section {
    background:
            linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%),
            var(--page);
}

.dr-med-site .home-update-card {
    box-shadow: 0 18px 46px rgba(13, 59, 142, 0.08);
}

.dr-med-site a.home-update-card:hover,
.dr-med-site a.home-update-card:focus-visible {
    border-color: rgba(13, 59, 142, 0.34);
    box-shadow: 0 18px 42px rgba(13, 59, 142, 0.15);
}

.dr-med-site a.home-update-card:focus-visible {
    outline-color: rgba(13, 59, 142, 0.22);
}
.dr-med-site .video-section::before {
    background:
            linear-gradient(90deg, rgba(13, 59, 142, 0.08), transparent 44%),
            linear-gradient(135deg, transparent 0%, transparent 64%, rgba(168, 85, 247, 0.1) 100%);
}

.dr-med-site .doctor-showcase,
.dr-med-site .gallery-slide,
.dr-med-site .test-tab,
.dr-med-program-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 18px 46px rgba(13, 59, 142, 0.08);
}

.dr-med-site .doctor-showcase {
    background:
            radial-gradient(circle at 90% 82%, rgba(255, 77, 184, 0.084), transparent 30%),
            radial-gradient(circle at 12% 70%, rgba(13, 59, 142, 0.098), transparent 28%),
            linear-gradient(135deg, #f0f2fc 0%, #f4effc 52%, #fdf0f7 100%);
}

.dr-med-site .doctor-blob,
.dr-med-site .news-thumb {
    background: linear-gradient(135deg, #0d3b8e, #a855f7 58%, #ff4db8);
}

.dr-med-site .doctor-showcase-info small,
.dr-med-site .test-tab span,
.dr-med-site .clinic-item a,
.dr-med-site .contact-line span {
    color: var(--teal);
}

.dr-med-site .contact-form-flat h2,
.dr-med-site .contact-info-head h2,
.dr-med-site .coverage-map-copy strong,
.dr-med-site .contact-line a {
    color: var(--teal-dark);
}

.dr-med-site .coverage-map-copy span {
    color: var(--coral);
}

.dr-med-site .contact-form-flat {
    border-color: rgba(13, 59, 142, 0.14);
}

.dr-med-site .contact-info-head {
    background:
            radial-gradient(circle at 88% 18%, rgba(255, 77, 184, 0.12), transparent 34%),
            linear-gradient(135deg, rgba(232, 239, 252, 0.96), rgba(244, 239, 252, 0.96));
}

.dr-med-site .coverage-map {
    border-color: rgba(13, 59, 142, 0.14);
    background:
            radial-gradient(circle at 14% 22%, rgba(255, 77, 184, 0.1), transparent 32%),
            radial-gradient(circle at 82% 72%, rgba(13, 59, 142, 0.12), transparent 30%),
            linear-gradient(135deg, rgba(240, 242, 252, 0.94), rgba(255, 255, 255, 0.96));
}

.dr-med-site .clinic-system {
    border-top-color: rgba(13, 59, 142, 0.18);
}

.dr-med-site .clinic-item {
    border-top-color: rgba(13, 59, 142, 0.14);
}

.dr-med-program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.dr-med-program-card {
    padding: 26px;
}

.dr-med-program-card span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(13, 59, 142, 0.09);
    color: var(--teal);
    font-weight: 900;
}

.dr-med-program-card h3 {
    margin-bottom: 10px;
}

.dr-med-program-card p {
    margin: 0;
    color: var(--muted);
}

.dr-med-site .development-toast {
    border-color: rgba(13, 59, 142, 0.18);
    color: var(--teal);
}

.dr-med-site .site-footer {
    background: #061b43;
}

.dr-med-site .footer-policy-button {
    background: rgba(255, 255, 255, 0.08);
}

.dr-med-site .recruitment-hero {
    background:
            linear-gradient(90deg, rgba(245, 247, 250, 0.98), rgba(245, 247, 250, 0.78)),
            radial-gradient(circle at 78% 20%, rgba(168, 85, 247, 0.18), transparent 30%),
            var(--soft);
}

.dr-med-site .career-summary,
.dr-med-site .job-list-panel,
.dr-med-site .job-detail {
    box-shadow: 0 16px 38px rgba(13, 59, 142, 0.09);
}

.dr-med-site .career-summary strong,
.dr-med-site .job-page-button,
.dr-med-site .job-page-number {
    color: var(--teal);
}

.dr-med-site .career-summary,
.dr-med-site .career-summary small,
.dr-med-site .job-detail,
.dr-med-site .job-list-item {
    min-width: 0;
    overflow-wrap: anywhere;
}

.dr-med-site .job-list-item:hover,
.dr-med-site .job-list-item.active,
.dr-med-site .job-page-button:hover,
.dr-med-site .job-page-number:hover {
    background: var(--mint);
}

.dr-med-site .job-page-number.active {
    color: var(--white);
    background: var(--teal);
}

.dr-med-service-article {
    max-width: 920px;
    margin: 0 auto;
}

.dr-med-service-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 920px);
    justify-content: center;
    align-items: start;
}

.dr-med-service-hero-inner > div {
    padding-inline: 34px;
}

.service-detail-hero .dr-med-service-hero-inner > div {
    padding-inline: 0;
}

.service-detail-page .dr-med-service-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    justify-content: start;
}

.service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) .dr-med-service-hero-inner > div {
    width: fit-content;
    max-width: 100%;
}

.service-detail-page .dr-med-service-article {
    max-width: none;
}

.dr-med-service-article h2 + p,
.dr-med-service-article p + p {
    margin-top: 14px;
}

.dr-med-service-article h2:not(:first-child) {
    margin-top: 34px;
}

.dr-med-article-media {
    margin: 30px 0 34px;
}

.dr-med-article-media img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius);
}

.dr-med-article-media figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.94rem;
}

.dr-med-article-video {
    position: relative;
    margin: 32px 0 36px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius);
    background: #061b43;
}

.dr-med-article-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.dr-med-news-hero {
    padding-bottom: 28px;
}

.dr-med-news-hero .dr-med-service-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
}

.dr-med-news-hero .dr-med-service-hero-inner > div {
    padding-inline: 0;
}

.dr-med-news-page .dr-med-news-hero .dr-med-service-hero-inner {
    justify-content: start;
}

.dr-med-news-page .dr-med-news-hero .dr-med-service-hero-inner > div {
    width: fit-content;
    max-width: 100%;
}

.dr-med-news-page .dr-med-news-hero h1,
.dr-med-news-page .dr-med-news-hero p:not(.eyebrow),
.dr-med-news-page .dr-med-news-category-head,
.dr-med-news-page .dr-med-news-category-head h2 {
    width: fit-content;
    max-width: 100%;
}

.dr-med-news-detail-page .dr-med-service-article {
    max-width: none;
    margin: 0;
}

.dr-med-news-tabs {
    position: sticky;
    top: 82px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 34px rgba(13, 59, 142, 0.08);
}

.dr-med-news-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--teal);
    background: rgba(13, 59, 142, 0.07);
    font-weight: 800;
}

/*.dr-med-news-tabs a:hover,*/
/*.dr-med-news-tabs a:focus-visible,*/
/*.dr-med-news-tabs a.active {*/
/*    color: var(--white);*/
/*    background: var(--teal);*/
/*}*/

.dr-med-news-sections {
    display: grid;
    gap: 26px;
}

.dr-med-news-category {
    display: none;
    scroll-margin-top: 150px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 18px 46px rgba(13, 59, 142, 0.08);
}

.dr-med-news-category.active {
    display: block;
}

.dr-med-news-category-head {
    margin-bottom: 22px;
}

.dr-med-news-category-head h2 {
    font-size: clamp(1.55rem, 3vw, 2.45rem);
}

.dr-med-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dr-med-news-card {
    display: block;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfcff;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a.dr-med-news-card:hover,
a.dr-med-news-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(13, 59, 142, 0.32);
    box-shadow: 0 16px 32px rgba(13, 59, 142, 0.1);
}

.dr-med-news-card span {
    display: block;
    margin-bottom: 12px;
    color: var(--coral);
    font-weight: 900;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.dr-med-news-card h3 {
    margin-bottom: 10px;
}

.dr-med-news-card p {
    margin: 0;
    color: var(--muted);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .dr-med-news-card p {
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}

.dr-med-news-card img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 16px;
    border-radius: calc(var(--radius) - 4px);
}

.dr-med-news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.dr-med-news-detail-meta span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--teal);
    background: rgba(13, 59, 142, 0.08);
    font-weight: 800;
}

.dr-med-news-detail-article .news-detail-body p {
    color: var(--muted);
    font-size: 1.04rem;
}

.dr-med-news-detail-article .news-detail-body p + p {
    margin-top: 16px;
}

.dr-med-news-video-block {
    margin-top: 36px;
}

.dr-med-news-video-block p {
    margin-top: 12px;
}

.dr-med-news-video-block a {
    color: var(--teal);
    font-weight: 800;
}

@media (max-width: 980px) {
    .dr-med-site .contact-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        overflow: visible;
    }

    .dr-med-site .contact-info-panel {
        min-width: 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .dr-med-site .contact-form-flat,
    .dr-med-site .contact-info-body,
    .dr-med-site .contact-line,
    .dr-med-site .clinic-item {
        min-width: 0;
    }

    .dr-med-site .contact-line p,
    .dr-med-site .clinic-item h4,
    .dr-med-site .clinic-item p,
    .dr-med-site .clinic-item a {
        overflow-wrap: anywhere;
    }

    .dr-med-program-grid {
        grid-template-columns: 1fr;
    }

    .dr-med-news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1120px) {
    .dr-med-site .nav-inner {
        position: relative;
        padding-right: 112px;
    }

    .dr-med-site .nav-actions {
        position: fixed;
        top: 18px;
        right: 72px;
        display: flex;
    }

    .dr-med-site .menu-toggle {
        position: fixed;
        top: 14px;
        right: 16px;
        display: block;
    }
}

@media (max-width: 640px) {
    .dr-med-service-hero-inner > div {
        padding-inline: 18px;
    }

    .dr-med-site .nav-inner {
        position: relative;
        display: flex;
        align-items: center;
        min-height: 72px;
        padding-right: 112px;
    }

    .dr-med-site .brand {
        min-width: 0;
        max-width: calc(100vw - 154px);
    }

    .dr-med-site .brand-mark {
        width: 126px;
        height: 38px;
    }

    .dr-med-site .brand-mark img {
        width: 126px;
        height: 38px;
    }

    .dr-med-site .language-select {
        min-width: 58px;
        padding-left: 10px;
        padding-right: 22px;
    }

    .dr-med-site .hero-content {
        padding-top: 74px;
    }

    .dr-med-site h1 {
        max-width: 350px;
        font-size: 1.78rem;
        line-height: 1.12;
    }

    .dr-med-site #news-title,
    .dr-med-site #knowledge-title,
    .dr-med-site #news-summary,
    .dr-med-site #knowledge-summary {
        width: fit-content;
        max-width: 100%;
    }

    .dr-med-news-detail-page .service-detail-hero p:not(.eyebrow) {
        max-width: 100%;
    }

    .dr-med-news-page .dr-med-news-hero h1,
    .dr-med-news-page .dr-med-news-category-head h2 {
        width: fit-content;
        max-width: 100%;
    }

    .dr-med-news-page .dr-med-news-hero p:not(.eyebrow) {
        width: fit-content;
        max-width: 100%;
    }

    .service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) .service-detail-hero h1,
    .service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) #service-title,
    .service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) #service-description,
    .service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) .dr-med-service-hero-inner > div > p:not(.eyebrow) {
        width: fit-content;
        max-width: 100%;
    }

    .dr-med-site .hero-copy {
        max-width: 350px;
    }

    .dr-med-site .hero-actions {
        gap: 10px;
    }

    .dr-med-site .hero-actions .button {
        min-width: 132px;
        padding-inline: 16px;
    }

    .dr-med-site .contact-section {
        padding-inline: 0;
    }

    .dr-med-site .contact-form-flat,
    .dr-med-site .contact-info-head,
    .dr-med-site .contact-info-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .dr-med-site .contact-line {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .dr-med-news-category {
        padding: 22px 18px;
    }

}
