:root {
    --clean-ink: #102a43;
    --clean-copy: #486581;
    --clean-muted: #829ab1;
    --clean-primary: #087f8c;
    --clean-primary-dark: #05636d;
    --clean-soft: #f4fafb;
    --clean-bg: #f7fafb;
    --clean-border: #e1eaee;
    --clean-star: #f4ad24;
}

body {
    background: var(--clean-bg);
    color: var(--clean-ink);
}

.doctor-page {
    padding: 16px 0 64px;
    background: var(--clean-bg);
}

.doctor-page-shell {
    width: calc(100% - 56px);
    max-width: 1540px;
}

.doctor-breadcrumb {
    margin-bottom: 12px;
    color: var(--clean-muted);
}

.doctor-profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: stretch;
    overflow: visible;
    border: 1px solid var(--clean-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(16, 42, 67, .06);
}

.doctor-hero-identity {
    gap: 24px;
    min-width: 0;
    padding: 24px;
}

.doctor-profile-photo {
    flex-basis: 150px;
    width: 150px;
    height: 160px;
    border-radius: 20px;
}

.doctor-profile-photo img {
    border-radius: 20px;
}

.doctor-profile-photo::after {
    display: none;
}

.doctor-verified-mark {
    left: -6px;
    bottom: 12px;
    width: 30px;
    height: 30px;
    border-width: 3px;
    background: var(--clean-primary);
    font-size: 12px;
}

.doctor-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    margin-bottom: 5px;
    color: var(--clean-primary);
    font-size: 11px;
}

.doctor-eyebrow span {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: #fff;
    background: var(--clean-primary);
}

.doctor-hero-copy h1 {
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.45;
}

.doctor-title-line {
    margin: 4px 0 2px;
    color: var(--clean-copy);
    font-size: 14px;
}

.doctor-specialty-link {
    margin-top: 2px;
    color: var(--clean-primary);
    font-size: 13px;
}

.doctor-rating-line {
    margin-top: 9px;
}

.doctor-rating-line .stars,
.doctor-review-score .stars,
.doctor-review-rating .stars {
    color: var(--clean-star);
}

.doctor-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 12px;
}

.doctor-hero-fact {
    align-items: center;
    color: var(--clean-copy);
    font-size: 12px;
}

.fact-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    border-radius: 8px;
    background: transparent;
}

.doctor-hero-actions {
    gap: 8px;
    margin-top: 13px;
}

.doctor-hero-actions .doctor-secondary-action {
    min-height: 34px;
    padding: 6px 10px;
    color: var(--clean-copy);
    background: transparent;
    border-color: transparent;
    font-size: 11px;
}

.doctor-hero-actions .doctor-secondary-action:hover {
    color: var(--clean-primary);
    background: var(--clean-soft);
    border-color: var(--clean-border);
}

.doctor-share-btn {
    appearance: none;
}

.doctor-nearest-card {
    align-self: center;
    display: grid;
    gap: 6px;
    min-height: 168px;
    margin: 22px 22px 22px 0;
    padding: 20px;
    border: 1px solid var(--clean-border);
    border-radius: 17px;
    background: #fff;
    box-shadow: none;
}

.nearest-label {
    color: var(--clean-muted);
    font-size: 11px;
    font-weight: 700;
}

.doctor-nearest-card strong {
    color: var(--clean-ink);
    font-size: 17px;
    line-height: 1.6;
}

.doctor-nearest-card b {
    color: var(--clean-primary);
    font-size: 21px;
}

.doctor-nearest-card .doctor-primary-action {
    width: 100%;
    min-height: 42px;
    margin-top: auto;
    border-radius: 10px;
    background: var(--clean-primary);
    box-shadow: none;
}

.doctor-nearest-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
}

.doctor-nearest-actions .doctor-primary-action {
    margin-top: 0;
}

.doctor-whatsapp-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 12px;
    color: #08783e;
    border: 1px solid #b9e7ca;
    border-radius: 10px;
    background: #effcf4;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.doctor-whatsapp-action:hover,
.doctor-whatsapp-action:focus-visible {
    color: #075d32;
    border-color: #77cf98;
    background: #e4f8eb;
}

.doctor-trust-strip {
    display: none;
}

.doctor-section-nav {
    position: sticky;
    top: 76px;
    justify-content: flex-start;
    gap: 28px;
    margin: 16px 0 0;
    padding: 0 22px;
    border: 1px solid var(--clean-border);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    background: rgba(255, 255, 255, .97);
    box-shadow: none;
}

.doctor-section-nav a {
    position: relative;
    padding: 15px 2px 13px;
    color: var(--clean-copy);
    border-radius: 0;
    font-size: 12px;
}

.doctor-section-nav a:first-child,
.doctor-section-nav a:hover,
.doctor-section-nav a:focus-visible {
    color: var(--clean-primary);
    background: transparent;
}

.doctor-section-nav a:first-child::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    border-radius: 9px;
    background: var(--clean-primary);
}

.doctor-content-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    direction: ltr;
}

.doctor-main-content,
.doctor-booking-aside {
    direction: rtl;
}

.doctor-main-content {
    gap: 0;
    padding: 0 24px;
    overflow: hidden;
    border: 1px solid var(--clean-border);
    border-radius: 0 0 20px 20px;
    background: #fff;
}

.doctor-content-card {
    padding: 25px 0;
    border: 0;
    border-bottom: 1px solid var(--clean-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.doctor-content-card:last-of-type {
    border-bottom: 0;
}

.doctor-section-heading {
    margin-bottom: 12px;
}

.doctor-section-heading > div > span {
    display: none;
}

.doctor-section-heading h2,
.booking-card-header h2 {
    color: var(--clean-ink);
    font-size: 18px;
}

.doctor-about-text {
    max-width: 900px;
    color: var(--clean-copy);
    font-size: 13px;
    line-height: 2;
}

.doctor-about-highlights {
    display: none;
}

.doctor-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--clean-border);
}

.doctor-service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 50px;
    padding: 11px 2px;
    border: 0;
    border-bottom: 1px solid var(--clean-border);
    border-radius: 0;
    background: transparent;
}

.doctor-service-item h3 {
    color: var(--clean-ink);
    font-size: 13px;
    font-weight: 600;
}

.doctor-service-item > span {
    flex: 0 0 auto;
    color: var(--clean-muted);
    font-size: 11px;
}

.doctor-section-note {
    margin-top: 10px;
}

.doctor-heading-with-action {
    align-items: flex-end;
}

.doctor-heading-with-action .doctor-text-link {
    min-height: auto;
    padding: 0;
    border: 0;
    color: var(--clean-primary);
    background: transparent;
    font-size: 11px;
}

.doctor-location-card {
    padding: 14px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.location-map-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 12px;
    background: var(--clean-soft);
    color: var(--clean-primary);
    font-size: 21px;
}

.doctor-reviews-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.doctor-review-card {
    padding: 15px;
    border-color: var(--clean-border);
    border-radius: 14px;
    background: #fff;
}

.doctor-review-form-disclosure {
    margin-top: 14px;
}

#doctor-faq,
.doctor-related-links {
    display: none;
}

.doctor-booking-aside {
    margin-top: -49px;
}

.doctor-booking-card {
    top: 94px;
    padding: 20px;
    border: 1px solid var(--clean-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(16, 42, 67, .07);
}

.booking-card-header {
    margin-bottom: 14px;
}

.booking-card-header h2 {
    font-size: 19px;
}

.doctor-date-label {
    margin-bottom: 8px;
    color: var(--clean-copy);
}

.doctor-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.doctor-date-chips {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 13px;
}

.doctor-date-chip {
    display: grid;
    justify-items: center;
    gap: 1px;
    min-width: 0;
    min-height: 64px;
    padding: 7px 3px;
    color: var(--clean-copy);
    background: #fff;
    border: 1px solid var(--clean-border);
    border-radius: 10px;
    font-family: inherit;
    cursor: pointer;
}

.doctor-date-chip:nth-child(n+5) {
    display: none;
}

.doctor-date-chip small,
.doctor-date-chip span {
    color: var(--clean-muted);
    font-size: 9px;
}

.doctor-date-chip strong {
    color: var(--clean-ink);
    font-size: 15px;
}

.doctor-date-chip.is-active {
    color: var(--clean-primary);
    border-color: var(--clean-primary);
    background: var(--clean-soft);
}

.doctor-booking-card .slots-grid {
    gap: 7px;
}

.doctor-booking-card .slot-btn {
    min-height: 38px;
    border-color: var(--clean-border);
    border-radius: 9px;
    color: var(--clean-copy);
    font-size: 11px;
}

.doctor-booking-card .slot-btn:hover,
.doctor-booking-card .slot-btn.selected {
    color: var(--clean-primary-dark);
    background: #eaf8f9;
    border-color: var(--clean-primary);
}

.doctor-booking-price {
    margin-top: 14px;
    padding-top: 12px;
}

.doctor-booking-price strong {
    font-size: 18px;
}

.doctor-booking-card .booking-form-wrapper {
    display: none;
    margin-top: 12px;
    padding-top: 12px;
}

.doctor-booking-card .booking-form-wrapper.is-ready {
    display: block !important;
}

.doctor-booking-card .selected-slot-text {
    padding: 8px 9px;
    background: var(--clean-soft);
}

.doctor-booking-card .booking-form-row {
    gap: 7px;
}

.doctor-booking-card .booking-form-row input,
.booking-code-row input {
    min-height: 40px;
    border-radius: 9px;
}

.doctor-booking-card .booking-submit-btn {
    min-height: 43px;
    border-radius: 9px;
    background: var(--clean-primary);
    box-shadow: none;
}

.doctor-booking-card .online-book-btn {
    min-height: 38px;
    margin-top: 9px;
    padding: 7px 8px;
    border: 0;
    color: var(--clean-primary);
    background: transparent;
    font-size: 11px;
    box-shadow: none;
}

.doctor-booking-card .online-book-btn:hover {
    color: var(--clean-primary-dark);
    background: var(--clean-soft);
}

.doctor-booking-security {
    margin-top: 5px;
}

.doctor-mobile-booking-bar {
    border-top: 1px solid var(--clean-border);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -10px 28px rgba(16, 42, 67, .08);
}

.doctor-mobile-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.doctor-mobile-booking-bar .doctor-mobile-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--doctor-primary), var(--doctor-primary-dark));
}

.doctor-mobile-booking-bar .doctor-mobile-whatsapp {
    color: #08783e;
    border: 1px solid #b9e7ca;
    background: #effcf4;
}

.doctor-ads-header {
    position: sticky;
    top: 0;
    z-index: 1300;
    border-bottom: 1px solid var(--clean-border);
    background: rgba(255, 255, 255, .98);
}

.doctor-ads-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 28px, 1180px);
    min-height: 66px;
    margin: 0 auto;
}

.doctor-ads-brand,
.doctor-ads-brand > span {
    display: flex;
    align-items: center;
}

.doctor-ads-brand {
    gap: 9px;
}

.doctor-ads-brand > span {
    align-items: flex-start;
    flex-direction: column;
}

.doctor-ads-brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.doctor-ads-brand strong {
    color: var(--clean-ink);
    font-size: 14px;
}

.doctor-ads-brand small {
    color: var(--clean-muted);
    font-size: 10px;
}

.doctor-ads-header-inner > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 18px;
    color: #fff;
    border-radius: 10px;
    background: var(--clean-primary);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.doctor-ads-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 24px 16px 96px;
    color: var(--clean-muted);
    background: #fff;
    border-top: 1px solid var(--clean-border);
    font-size: 11px;
}

.doctor-ads-footer a {
    color: var(--clean-copy);
}

.doctor-ads-landing .doctor-breadcrumb,
.doctor-ads-landing .doctor-section-nav,
.doctor-ads-landing .doctor-related-links,
.doctor-ads-landing .doctor-review-form-disclosure,
.doctor-ads-landing .doctor-share-btn,
.doctor-ads-landing .online-book-btn {
    display: none !important;
}

.doctor-ads-landing .doctor-page {
    padding-top: 14px;
}

.doctor-ads-landing .doctor-profile-hero {
    margin-top: 0;
}

@media (max-width: 1100px) {
    .doctor-page-shell {
        width: calc(100% - 32px);
    }

    .doctor-profile-hero {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .doctor-content-layout {
        grid-template-columns: minmax(0, 1fr) 330px;
    }
}

@media (max-width: 900px) {
    .doctor-page {
        padding-top: 10px;
    }

    .doctor-page-shell {
        width: calc(100% - 24px);
    }

    .doctor-profile-hero {
        grid-template-columns: 1fr;
    }

    .doctor-nearest-card {
        margin: 0 18px 18px;
        min-height: auto;
    }

    .doctor-content-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "booking"
            "main";
        direction: rtl;
    }

    .doctor-booking-aside {
        margin-top: 0;
    }

    .doctor-booking-card {
        position: static;
    }

    .doctor-section-nav {
        top: 68px;
    }
}

@media (max-width: 640px) {
    .doctor-ads-header-inner {
        min-height: 58px;
    }

    .doctor-ads-brand img {
        width: 38px;
        height: 38px;
    }

    .doctor-ads-header-inner > a {
        min-height: 38px;
        padding: 7px 13px;
    }

    .doctor-mobile-booking-bar {
        gap: 7px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .doctor-mobile-booking-bar a {
        min-height: 42px;
        padding: 10px 12px;
        font-size: 12px;
    }

    .doctor-mobile-booking-bar .doctor-mobile-primary {
        color: #fff;
        background: linear-gradient(135deg, var(--doctor-primary), var(--doctor-primary-dark));
    }

    .doctor-mobile-booking-bar .doctor-mobile-whatsapp {
        color: #08783e;
        border: 1px solid #b9e7ca;
        background: #effcf4;
    }

    .doctor-mobile-booking-bar strong {
        font-size: 13px;
    }

    .doctor-page-shell {
        width: calc(100% - 20px);
    }

    .doctor-breadcrumb {
        font-size: 10px;
    }

    .doctor-profile-hero {
        border-radius: 18px;
    }

    .doctor-hero-identity {
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
    }

    .doctor-profile-photo {
        flex-basis: 90px;
        width: 90px;
        height: 108px;
        border-radius: 15px;
    }

    .doctor-profile-photo img {
        border-radius: 15px;
    }

    .doctor-verified-mark {
        width: 25px;
        height: 25px;
        left: -5px;
        bottom: 8px;
    }

    .doctor-hero-copy h1 {
        font-size: 20px;
    }

    .doctor-title-line,
    .doctor-specialty-link {
        font-size: 11px;
    }

    .doctor-rating-line {
        flex-wrap: wrap;
        font-size: 11px;
    }

    .doctor-hero-facts {
        gap: 6px 12px;
        margin-top: 8px;
    }

    .doctor-hero-fact {
        font-size: 10px;
    }

    .doctor-hero-actions {
        display: none;
    }

    .doctor-nearest-card {
        margin: 0 12px 12px;
        padding: 14px;
    }

    .doctor-section-nav {
        gap: 20px;
        margin-top: 12px;
        padding-inline: 15px;
        border-radius: 14px 14px 0 0;
    }

    .doctor-main-content {
        padding-inline: 15px;
        border-radius: 0 0 16px 16px;
    }

    .doctor-content-card {
        padding: 20px 0;
    }

    .doctor-section-heading h2,
    .booking-card-header h2 {
        font-size: 16px;
    }

    .doctor-heading-with-action {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .doctor-reviews-list {
        grid-template-columns: 1fr;
    }

    .doctor-date-chips {
        grid-template-columns: repeat(4, minmax(60px, 1fr));
        overflow-x: auto;
        padding-bottom: 3px;
    }

    .doctor-date-chip {
        min-width: 60px;
    }

    .doctor-booking-card {
        padding: 16px;
        border-radius: 16px;
    }

    .doctor-service-item {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .doctor-page *,
    .doctor-page *::before,
    .doctor-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Scoped rows keep branch day/time aligned despite location-card typography. */
.doctor-hours-list { margin-top: 14px; width: 100%; padding: 14px; border: 1px solid #dce8ef; border-radius: 14px; background: #f6fafc; direction: rtl; }
.doctor-hours-list h3 { margin: 0 0 12px; font-size: 17px; color: #12364a; }
.doctor-hours-list .doctor-hours-row { display: grid; grid-template-columns: .85fr 1.2fr 1.2fr; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e1ebf1; text-align: right; }
.doctor-hours-list .doctor-hours-row:last-child { border-bottom: 0; }
.doctor-hours-list .doctor-hours-day { color: #17415a; font-size: 15px; font-weight: 800; }
.doctor-hours-list .doctor-hours-time { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; min-width: 0; }
.doctor-hours-list .doctor-hours-time small { display: inline; color: #5f7180; font-size: 12px; }
.doctor-hours-list .doctor-hours-time strong { display: inline; margin: 0; color: #12364a; font-size: 16px; font-weight: 800; line-height: 1.8; white-space: nowrap; }
.doctor-hours-list .doctor-hours-place { margin: 4px 0 10px; color: #5f7180; font-size: 12px; }
@media (max-width: 480px) {
 .doctor-hours-list { padding: 10px; }
 .doctor-hours-list .doctor-hours-row { gap: 6px; grid-template-columns: .75fr 1.2fr 1.2fr; }
 .doctor-hours-list .doctor-hours-day { font-size: 13px; }
 .doctor-hours-list .doctor-hours-time { gap: 2px; }
 .doctor-hours-list .doctor-hours-time strong { font-size: 13px; }
}

/* Branch content used to shrink inside a flex child, leaving half the profile blank. */
.doctor-profile-organized { display: flex; flex-direction: column; direction: rtl; }
.doctor-profile-organized .doctor-main-content { width: 100%; min-width: 0; max-height: none; overflow: visible; }
.doctor-profile-organized .doctor-booking-aside { position: static; width: 100%; max-width: none; }
.doctor-profile-organized .doctor-booking-card { position: static; }
.doctor-profile-hero { background: linear-gradient(110deg,#f5fbfd,#eaf8fa); }
.doctor-branch-card { width: 100%; margin-top: 16px; padding: 20px; border: 1px solid #dce8ef; border-radius: 18px; background: #fff; box-shadow: 0 6px 20px rgba(16,42,67,.04); }
.doctor-branch-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.doctor-branch-heading h3 { margin: 0; color: #12364a; font-size: 20px; }
.doctor-branch-heading > span { padding: 5px 12px; border-radius: 20px; background: #eaf7fa; color: #087f94; font-size: 12px; }
.doctor-branch-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); gap: 24px; align-items: start; }
.doctor-branch-address { display: grid; gap: 14px; min-width: 0; }
.doctor-branch-address-line { display: flex; align-items: flex-start; gap: 10px; }
.doctor-branch-address-line > svg { width: 26px; height: 26px; flex: 0 0 26px; color: #0b9bc0; }
.doctor-branch-address-line strong { font-size: 15px; line-height: 1.9; color: #12364a; }
.doctor-branch-address-line p { color: #67808e; margin: 5px 0 0; font-size: 13px; }
.doctor-branch-map { width: 100%; height: 200px; border: 0; border-radius: 12px; background: #eff6f8; }
.doctor-branch-directions { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; min-height: 48px; border: 1px solid #0996b0; border-radius: 12px; color: #087d91; font-weight: 800; text-decoration: none; }
.doctor-branch-directions svg { width: 22px; height: 22px; }
.doctor-branch-layout .doctor-hours-list { margin-top: 0; }
.doctor-branch-layout .doctor-hours-row { padding: 14px 0; }
.provider-contact-icon svg { width: 26px; height: 26px; }
.provider-quick-actions svg { width: 20px; height: 20px; flex-shrink: 0; }
#clinic-hours .provider-contact-grid, #clinic-hours .provider-social-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 14px 0; }
#clinic-hours .provider-contact-action { min-height: 80px; border-radius: 14px; padding: 15px; display: flex; align-items: center; gap: 12px; }
#clinic-hours .provider-contact-action .provider-contact-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #079fc0; color: #fff; }
#clinic-hours .contact-whatsapp .provider-contact-icon, #clinic-hours .social-whatsapp .provider-contact-icon { background: #25d366; }
#clinic-hours .social-facebook .provider-contact-icon { background: #1877f2; }
#clinic-hours .provider-contact-action strong { color: #12364a; }
.provider-quick-actions a:has(svg) { display: inline-flex; align-items: center; gap: 6px; }
.doctor-branch-directions:focus-visible { outline: 3px solid #38bdf8; outline-offset: 3px; }
@media(max-width: 760px) {
 .doctor-branch-card { padding: 14px; border-radius: 14px; }
 .doctor-branch-layout { grid-template-columns: 1fr; gap: 18px; }
 .doctor-branch-heading h3 { font-size: 17px; }
 .doctor-branch-map { height: 170px; }
 #clinic-hours .provider-contact-grid, #clinic-hours .provider-social-links { grid-template-columns: 1fr; }
 #clinic-hours .provider-contact-action { min-height: 68px; }
 .doctor-branch-layout .doctor-hours-row { gap: 6px; }
 .doctor-profile-organized .doctor-booking-aside { width: 100%; }
}
@media(max-width: 380px) {
 .doctor-branch-card { padding: 10px; }
 .doctor-branch-layout .doctor-hours-list { padding: 8px; }
 .doctor-branch-layout .doctor-hours-time strong { font-size: 12px; }
}

.doctor-branch-layout:not(:has(.doctor-hours-list)) { grid-template-columns: 1fr; }

#clinic-hours .doctor-profile-contact-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 14px; margin-top: 16px; }
#clinic-hours .doctor-profile-contact-cards .provider-contact-grid, #clinic-hours .doctor-profile-contact-cards .provider-social-links { display: contents; }
@media(max-width:760px) { #clinic-hours .doctor-profile-contact-cards { grid-template-columns: 1fr; } }
