/* ------------------------------------------------------------------ */
/* Detail pages — Service Detail, Blog Article, Book an Appointment      */
/*                                                                      */
/* Three pages that share the same furniture: a content column beside a  */
/* stack of bordered cards. Keeping them in one sheet means the cards,   */
/* the rules and the headings cannot drift apart between the pages.      */
/* The hero and the two-tone heading come from style.css untouched.      */
/* Logical properties throughout, so Arabic mirrors on its own.          */
/* ------------------------------------------------------------------ */

/* Bootstrap's reboot normally supplies this, but it arrives from a CDN — on a
   locked-down network it may not arrive at all, and a `width: 100%` button
   inside a padded card then overflows it. Stated here so these three pages
   hold their shape with or without Bootstrap. */
.detail-section,
.detail-section *,
.detail-section *::before,
.detail-section *::after {
    box-sizing: border-box;
}

.detail-section {
    padding: clamp(34px, 3.4vw, 62px) 0 var(--section-gap);
}

/* Content beside a sidebar. Both pages use it; the blog article flips the
   order so the sidebar leads, which `order` does without touching the
   source — the article still comes first for a screen reader. */
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(260px, 25vw, 360px);
    gap: clamp(16px, 1.8vw, 32px);
    align-items: start;
    margin-top: clamp(18px, 1.8vw, 32px);
}

.detail-layout--aside-first {
    grid-template-columns: clamp(260px, 25vw, 360px) minmax(0, 1fr);
}

    .detail-layout--aside-first .detail-main {
        order: 2;
    }

    .detail-layout--aside-first .detail-aside {
        order: 1;
    }

.detail-aside {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.2vw, 20px);
    /* Follows the reader down the long article, clearing the pinned header. */
    position: sticky;
    top: calc(var(--header-h) + 16px);
}

/* ---- the page heading row --------------------------------------------- */

.detail-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 1.4vw, 24px);
}

    .detail-head .section-title {
        margin: 0;
    }

.detail-head__meta {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(10px, 1.1vw, 20px);
    margin: clamp(10px, 1vw, 16px) 0 0;
    font-size: clamp(11px, .85vw, 14px);
    color: var(--text-soft);
}

    .detail-head__meta li {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

    .detail-head__meta i {
        color: #1a906e;
    }

/* ---- buttons ----------------------------------------------------------- */

.btn-appoint {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: clamp(10px, .95vw, 16px) clamp(18px, 1.7vw, 30px);
    border: 0;
    border-radius: 999px;
    background: var(--red);
    font: inherit;
    font-size: clamp(11px, .88vw, 15px);
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
    transition: opacity .2s;
}

    .btn-appoint:hover {
        opacity: .9;
        color: var(--white);
    }

.btn-appoint--wide {
    width: 100%;
    justify-content: center;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: clamp(9px, .85vw, 14px) clamp(14px, 1.3vw, 22px);
    border: 1px solid #DDE0EA;
    border-radius: 999px;
    background: var(--white);
    font: inherit;
    font-size: clamp(11px, .85vw, 14px);
    color: var(--navy);
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

    .btn-ghost:hover {
        border-color: var(--navy);
        background: #F5F6FA;
        color: var(--navy);
    }

.btn-ghost--whatsapp {
    border-color: #BFE9CE;
    background: #EEF9F2;
    color: #128C4A;
}

    .btn-ghost--whatsapp:hover {
        border-color: #128C4A;
        background: #E2F4E9;
        color: #128C4A;
    }

/* ---- the gallery ------------------------------------------------------- */

/* One track, translated sideways. `scroll-snap` would do the same with less
   script, but the dots have to report the active slide either way, and a
   transform keeps the two in step without a scroll listener. */
.gallery {
    margin: clamp(16px, 1.6vw, 28px) 0 0;
    border-radius: 16px;
    overflow: hidden;
}

.gallery__viewport {
    overflow: hidden;
    border-radius: 16px;
}

.gallery__track {
    display: flex;
    transition: transform .45s ease;
}

.gallery__slide {
    flex: 0 0 100%;
    aspect-ratio: 16 / 8;
}

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

.gallery__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: clamp(10px, 1vw, 16px);
}

.gallery__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #C9CEDC;
    cursor: pointer;
    transition: width .2s, background .2s;
}

    .gallery__dot.is-active {
        width: 26px;
        border-radius: 999px;
        background: var(--red);
    }

/* ---- prose ------------------------------------------------------------- */

.detail-prose {
    margin-top: clamp(20px, 2vw, 36px);
}

    .detail-prose h2,
    .detail-prose h3 {
        margin: clamp(22px, 2.2vw, 40px) 0 clamp(8px, .8vw, 14px);
        font-size: clamp(17px, 1.45vw, 26px);
        font-weight: 700;
        color: var(--navy);
    }

    .detail-prose > :first-child {
        margin-top: 0;
    }

    /* The gradient only reaches maroon at its far end, so across two or three
   words it would read as plain navy. */
    .detail-prose h2 .grad-text,
    .detail-prose h3 .grad-text,
    .detail-card h3 .grad-text {
        display: inline;
        background: none;
        -webkit-text-fill-color: currentColor;
        color: #A11D2B;
    }

    .detail-prose p {
        /*  margin: 0 0 clamp(10px, 1vw, 16px);*/
        /*  max-width: 78ch;
  font-size: clamp(12px, .92vw, 16px);
  line-height: 1.8;
  color: var(--text-soft);*/
    }

.detail-list {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, .8vw, 13px);
    margin: 0 0 clamp(10px, 1vw, 16px);
    padding: 0;
    list-style: none;
}

    /* The icon is taken out of the flow rather than made a flex item: an
   emphasised opening word inside the text would otherwise become a second
   item and be pushed into a column of its own. */
    .detail-list li {
        position: relative;
        padding-inline-start: clamp(22px, 1.8vw, 30px);
        font-size: clamp(12px, .9vw, 15px);
        line-height: 1.7;
        color: var(--text-soft);
    }

    .detail-list i {
        position: absolute;
        inset-inline-start: 0;
        top: .35em;
        /* Reserved before the icon font arrives, so the text does not re-wrap
     once Font Awesome finishes loading. */
        width: 1em;
        font-size: .95em;
        text-align: center;
        color: #1a906e;
    }

.detail-list--caret i {
    color: var(--red);
}

/* ---- the sidebar cards -------------------------------------------------- */

.detail-card {
    padding: clamp(14px, 1.4vw, 24px);
    border: 1px solid #E7E9F1;
    border-radius: 16px;
    background: var(--white);
}

    .detail-card h3 {
        display: flex;
        align-items: center;
        gap: 9px;
        margin: 0 0 clamp(10px, 1vw, 16px);
        font-size: clamp(15px, 1.2vw, 21px);
        font-weight: 700;
        color: var(--navy);
    }

        .detail-card h3 i {
            font-size: .9em;
            color: #1a906e;
        }

    .detail-card p {
        margin: 0;
        font-size: clamp(11px, .85vw, 14px);
        line-height: 1.7;
        color: var(--text-soft);
    }

.detail-card--alert {
    border-color: #F6DDD9;
    background: #FDF4F2;
}

    .detail-card--alert h3 i {
        color: var(--red);
    }

.detail-card--help {
    border-color: #D8E6F8;
    background: #F2F7FE;
}

    .detail-card--help h3 i {
        color: #2C6FD1;
    }

.detail-card__actions {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: clamp(10px, 1vw, 16px);
}

/* A definition list rather than a table: the label and the value stack on a
   phone without any of the reflow a table needs. */
.spec-list {
    display: grid;
    gap: clamp(10px, 1vw, 16px);
    margin: 0;
}

    .spec-list > div {
        display: flex;
        align-items: flex-start;
        gap: clamp(9px, .85vw, 14px);
    }

        .spec-list > div + div {
            padding-block-start: clamp(10px, 1vw, 16px);
            border-block-start: 1px solid #EDEFF5;
        }

    .spec-list i {
        flex-shrink: 0;
        display: grid;
        place-items: center;
        width: clamp(28px, 2.2vw, 36px);
        height: clamp(28px, 2.2vw, 36px);
        border-radius: 9px;
        background: #EEF1F9;
        font-size: .85em;
        color: var(--navy);
    }

    .spec-list dt {
        font-size: clamp(10px, .78vw, 13px);
        font-weight: 500;
        color: var(--text-soft);
    }

    .spec-list dd {
        margin: 3px 0 0;
        font-size: clamp(11px, .88vw, 15px);
        font-weight: 600;
        color: var(--navy);
    }

/* ---- the blog article --------------------------------------------------- */

/* The title sits on the photo, so the scrim is part of the card rather than
   a filter on the image — the photo stays reusable elsewhere. */
.article-hero {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 7;
}

.article-hero__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 28, 56, .12) 0%, rgba(20, 28, 56, .35) 45%, rgba(20, 28, 56, .86) 100%);
}

.article-hero__top,
.article-hero__body {
    position: relative;
    z-index: 1;
}

.article-hero__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: absolute;
    inset-inline: clamp(14px, 1.6vw, 28px);
    top: clamp(14px, 1.6vw, 28px);
}

.article-pill {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--red);
    font-size: clamp(10px, .78vw, 13px);
    font-weight: 600;
    color: var(--white);
}

.article-hero__tools {
    display: flex;
    gap: 8px;
}

    .article-hero__tools button {
        display: grid;
        place-items: center;
        width: clamp(30px, 2.4vw, 38px);
        height: clamp(30px, 2.4vw, 38px);
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, .92);
        font: inherit;
        font-size: clamp(11px, .85vw, 14px);
        color: var(--navy);
        cursor: pointer;
        transition: background .2s;
    }

        .article-hero__tools button:hover {
            background: var(--white);
        }

.article-hero__body {
    position: absolute;
    inset-inline: clamp(14px, 1.6vw, 28px);
    bottom: clamp(14px, 1.6vw, 28px);
}

/* Named by class, not by tag: the page hero above already carries the h1,
   so this heading is an h2 and a tag selector would miss it — which is how
   it ended up navy on a dark photo. */
.article-hero__title {
    margin: 0;
    max-width: 24ch;
    font-size: clamp(19px, 1.9vw, 36px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--white);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(10px, 1.1vw, 20px);
    margin: clamp(9px, .9vw, 15px) 0 0;
    padding: 0;
    list-style: none;
    font-size: clamp(10px, .8vw, 13px);
    color: rgba(255, 255, 255, .92);
}

    .article-meta li {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

    .article-meta img {
        width: clamp(20px, 1.6vw, 26px);
        height: clamp(20px, 1.6vw, 26px);
        border-radius: 50%;
        object-fit: cover;
    }

/* A quote block, not an aside: the disclaimer is part of what the author
   wrote, and it should be read in place. */
.article-note {
    margin: clamp(18px, 1.8vw, 32px) 0;
    padding: clamp(13px, 1.3vw, 22px);
    border: 1px solid #CFE8DC;
    border-inline-start: 4px solid #1a906e;
    border-radius: 12px;
    background: #F1F9F5;
}

    .article-note p {
        margin: 0;
        max-width: none;
        font-size: clamp(11px, .88vw, 15px);
        line-height: 1.75;
        color: #1B5A45;
    }

    .article-note b {
        display: block;
        margin-bottom: 5px;
        color: #12503B;
    }

/* Text and a picture side by side; below the breakpoint the picture drops
   under the list rather than shrinking to a stamp. */
.article-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
    gap: clamp(14px, 1.5vw, 26px);
    align-items: center;
    margin: clamp(16px, 1.6vw, 28px) 0;
}

    .article-split img {
        width: 100%;
        height: auto;
        border-radius: 14px;
        object-fit: cover;
    }

/* ---- the author card ---------------------------------------------------- */

.author-card {
    padding: clamp(14px, 1.4vw, 24px);
    border: 1px solid #E7E9F1;
    border-radius: 16px;
    background: var(--white);
    text-align: center;
}

.author-card__photo {
    width: clamp(70px, 6vw, 104px);
    height: clamp(70px, 6vw, 104px);
    margin: 0 auto clamp(9px, .9vw, 15px);
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 20%;
}

.author-card h3 {
    margin: 0;
    font-size: clamp(14px, 1.15vw, 20px);
    font-weight: 700;
    color: var(--navy);
}

.author-card__role {
    margin: 4px 0 0;
    font-size: clamp(11px, .85vw, 14px);
    color: #4A5C85;
}

.author-card__bio {
    margin: clamp(8px, .8vw, 13px) 0 0;
    font-size: clamp(10px, .82vw, 13px);
    line-height: 1.7;
    color: var(--text-soft);
}

.author-card__social {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: clamp(10px, 1vw, 16px) 0;
}

    .author-card__social a {
        display: grid;
        place-items: center;
        width: clamp(28px, 2.2vw, 36px);
        height: clamp(28px, 2.2vw, 36px);
        border-radius: 50%;
        background: #EEF1F9;
        font-size: clamp(11px, .85vw, 14px);
        color: var(--navy);
        text-decoration: none;
        transition: background .2s, color .2s;
    }

        .author-card__social a:hover {
            background: var(--navy);
            color: var(--white);
        }

/* ---- Book an Appointment ------------------------------------------------ */

.booking-doctor {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.3vw, 22px);
    padding: clamp(14px, 1.4vw, 24px);
    border: 1px solid #E7E9F1;
    border-radius: 16px;
    background: var(--white);
}

.booking-doctor__photo {
    flex-shrink: 0;
    width: clamp(58px, 4.8vw, 84px);
    height: clamp(58px, 4.8vw, 84px);
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 20%;
}

.booking-doctor__body {
    flex: 1 1 auto;
    min-width: 0;
}

    .booking-doctor__body h2 {
        margin: 0;
        font-size: clamp(15px, 1.25vw, 22px);
        font-weight: 700;
        color: var(--navy);
    }

.booking-doctor__role {
    margin: 4px 0 0;
    font-size: clamp(11px, .85vw, 14px);
    color: #4A5C85;
}

.booking-doctor__facts {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(9px, .95vw, 18px);
    margin: clamp(7px, .7vw, 12px) 0 0;
    padding: 0;
    list-style: none;
    font-size: clamp(10px, .8vw, 13px);
    color: var(--text-soft);
}

    .booking-doctor__facts li {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .booking-doctor__facts i {
        color: #1a906e;
    }

.booking-layout {
    display: grid;
    grid-template-columns: clamp(280px, 28vw, 400px) minmax(0, 1fr);
    gap: clamp(14px, 1.5vw, 26px);
    align-items: start;
    margin-top: clamp(14px, 1.4vw, 24px);
}

/* ---- the calendar -------------------------------------------------------- */

.calendar {
    padding: clamp(14px, 1.4vw, 24px);
    border: 1px solid #E7E9F1;
    border-radius: 16px;
    background: var(--white);
}

.calendar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: clamp(10px, 1vw, 16px);
}

    .calendar__head h3 {
        margin: 0;
        font-size: clamp(13px, 1.05vw, 18px);
        font-weight: 700;
        color: var(--navy);
    }

/* The arrows point at the previous and next month, so they are set with
   logical properties and flipped for Arabic at the end of this file. */
.calendar__nav {
    display: grid;
    place-items: center;
    width: clamp(26px, 2.1vw, 34px);
    height: clamp(26px, 2.1vw, 34px);
    padding: 0;
    border: 1px solid #DDE0EA;
    border-radius: 50%;
    background: var(--white);
    font: inherit;
    font-size: clamp(10px, .78vw, 13px);
    color: var(--navy);
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

    .calendar__nav:hover {
        border-color: var(--navy);
        background: #F5F6FA;
    }

.calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: clamp(3px, .35vw, 6px);
}

.calendar__dow {
    padding: 6px 0;
    font-size: clamp(9px, .72vw, 12px);
    font-weight: 600;
    color: var(--text-soft);
    text-align: center;
}

.calendar__day {
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: none;
    font: inherit;
    font-size: clamp(11px, .85vw, 14px);
    color: var(--navy);
    cursor: pointer;
    transition: background .2s, color .2s;
}

    .calendar__day:hover:not(:disabled) {
        background: #F0F3FA;
    }

    .calendar__day:disabled {
        color: #B9BFCE;
        cursor: default;
    }

    .calendar__day.is-empty {
        visibility: hidden;
    }

    .calendar__day.is-selected {
        background: var(--red);
        font-weight: 700;
        color: var(--white);
    }

.slots {
    margin-top: clamp(14px, 1.4vw, 24px);
    padding-block-start: clamp(12px, 1.2vw, 20px);
    border-block-start: 1px solid #EDEFF5;
}

    .slots h4 {
        margin: 0 0 clamp(9px, .9vw, 15px);
        font-size: clamp(12px, .95vw, 16px);
        font-weight: 700;
        color: var(--navy);
    }

.slots__list {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(6px, .6vw, 10px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.slot {
    padding: clamp(7px, .7vw, 11px) clamp(11px, 1.05vw, 18px);
    border: 1px solid #DDE0EA;
    border-radius: 999px;
    background: var(--white);
    font: inherit;
    font-size: clamp(10px, .8vw, 13px);
    color: var(--navy);
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
}

    .slot:hover:not(:disabled) {
        border-color: var(--navy);
        background: #F5F6FA;
    }

    .slot:disabled {
        border-color: #EDEFF5;
        color: #B9BFCE;
        text-decoration: line-through;
        cursor: default;
    }

    .slot.is-selected {
        border-color: var(--red);
        background: var(--red);
        color: var(--white);
    }

/* ---- the booking form ---------------------------------------------------- */

.booking-panel {
    padding: clamp(14px, 1.4vw, 24px);
    border: 1px solid #E7E9F1;
    border-radius: 16px;
    background: var(--white);
}

.booking-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: clamp(14px, 1.4vw, 24px);
    padding: 5px;
    border-radius: 999px;
    background: #F2F4FA;
}

.booking-tab {
    flex: 1 1 0;
    padding: clamp(8px, .8vw, 13px) clamp(10px, 1vw, 18px);
    border: 0;
    border-radius: 999px;
    background: none;
    font: inherit;
    font-size: clamp(11px, .85vw, 14px);
    font-weight: 500;
    color: var(--text-soft);
    cursor: pointer;
    transition: background .2s, color .2s;
}

    .booking-tab.is-active {
        background: var(--white);
        font-weight: 600;
        color: var(--navy);
        box-shadow: 0 2px 8px rgba(31, 49, 99, .08);
    }

.booking-panel__body[hidden] {
    display: none;
}

/* The field grid is reused from intl.css, but the panel already carries the
   padding — the sheet's own would double it. */
.booking-panel .intl-form {
    padding: 0;
}

.booking-panel .intl-consent {
    margin-top: clamp(12px, 1.2vw, 20px);
}

.booking-panel .btn-appoint--wide {
    margin-top: clamp(12px, 1.2vw, 20px);
}

.booking-panel .intl-form__status {
    margin-top: clamp(9px, .9vw, 15px);
}

/* A grid of saved relatives, each one a radio dressed as a card so the
   keyboard and the screen reader get a real single-choice group. */
.relatives {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: clamp(9px, .9vw, 15px);
    margin: 0 0 clamp(14px, 1.4vw, 24px);
    padding: 0;
    border: 0;
}

    .relatives legend {
        float: inline-start;
        width: 100%;
        margin-bottom: clamp(9px, .9vw, 15px);
        padding: 0;
        font-size: clamp(12px, .95vw, 16px);
        font-weight: 700;
        color: var(--navy);
    }

.relative-card {
    position: relative;
    display: block;
    padding: clamp(11px, 1.05vw, 18px);
    border: 1px solid #DDE0EA;
    border-radius: 14px;
    background: var(--white);
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

    .relative-card input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .relative-card:hover {
        border-color: #BCC4D8;
    }

    .relative-card:has(input:checked) {
        border-color: var(--red);
        background: #FDF4F5;
    }

    .relative-card:has(input:focus-visible) {
        outline: 2px solid var(--navy);
        outline-offset: 2px;
    }

.relative-card__relation {
    display: inline-block;
    margin-bottom: 7px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #EEF1F9;
    font-size: clamp(9px, .72vw, 12px);
    font-weight: 600;
    color: var(--navy);
}

.relative-card:has(input:checked) .relative-card__relation {
    background: var(--red);
    color: var(--white);
}

.relative-card__name {
    margin: 0;
    font-size: clamp(12px, .95vw, 16px);
    font-weight: 600;
    color: var(--navy);
}

.relative-card dl {
    display: grid;
    gap: 3px;
    margin: 7px 0 0;
    font-size: clamp(10px, .78vw, 13px);
    color: var(--text-soft);
}

    .relative-card dl > div {
        display: flex;
        gap: 6px;
    }

.relative-card dt {
    font-weight: 500;
}

.relative-card dd {
    margin: 0;
}

.booking-summary {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(9px, .95vw, 18px);
    margin: clamp(14px, 1.4vw, 24px) 0 0;
    padding: clamp(11px, 1.05vw, 18px);
    border-radius: 12px;
    background: #F5F7FB;
    font-size: clamp(10px, .82vw, 13px);
    color: var(--text-soft);
}

    .booking-summary b {
        color: var(--navy);
    }

/* ---- RTL ----------------------------------------------------------------- */

/* Font Awesome's chevrons are drawn glyphs, so they are the one thing that
   has to be mirrored by hand. */
[dir="rtl"] .calendar__nav i,
[dir="rtl"] .detail-list--caret i,
[dir="rtl"] .btn-appoint i {
    transform: scaleX(-1);
}

/* ---- responsive ----------------------------------------------------------- */

@media (max-width: 991.98px) {
    .detail-layout,
    .detail-layout--aside-first,
    .booking-layout {
        grid-template-columns: 1fr;
    }

    /* Pinned under a pinned header leaves almost nothing on a short screen,
     so the cards scroll away with the page instead. */
    .detail-aside {
        position: static;
    }

    .detail-layout--aside-first .detail-main {
        order: 1;
    }

    .detail-layout--aside-first .detail-aside {
        order: 2;
    }

    .article-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .booking-doctor {
        flex-wrap: wrap;
    }

    .booking-tabs {
        flex-direction: column;
        border-radius: 16px;
    }

    .booking-tab {
        border-radius: 12px;
    }

    .article-hero {
        aspect-ratio: auto;
    }
}
