:root {
    --ink: #102a24;
    --muted: #65766f;
    --green: #103b32;
    --green-soft: #1d594c;
    --gold: #b88b4a;
    --sand: #ebe3d6;
    --paper: #fffdf9;
    --line: rgba(16, 59, 50, 0.14);
    --shadow: 0 1.5rem 4rem rgba(16, 42, 36, 0.11);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-size: 1rem;
    line-height: 1.8;
}

html[lang="fr"] body {
    font-family: "Manrope", "IBM Plex Sans Arabic", sans-serif;
}

html[lang="fr"] h1,
html[lang="fr"] h2,
html[lang="fr"] .brand,
html[lang="fr"] .button,
html[lang="fr"] .header-link {
    font-family: "Manrope", "Alexandria", sans-serif;
}

a {
    color: inherit;
}

.page-shell {
    width: min(100% - 2rem, 72rem);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    background: rgba(255, 253, 250, 0.93);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(1rem);
}

.site-header__inner {
    display: flex;
    min-height: 4.75rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 800;
    font-family: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
}

.brand__mark {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, var(--green), var(--green-soft));
    border-radius: 0.75rem;
    box-shadow: 0 0.6rem 1.5rem rgba(16, 59, 50, 0.18);
}

.header-link,
.button {
    display: inline-flex;
    min-height: 2.75rem;
    padding: 0.65rem 1rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.7rem;
    font-family: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
    font-weight: 700;
    text-decoration: none;
}

.header-link {
    color: var(--green);
    border: 1px solid var(--line);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 3.5rem;
    background:
        radial-gradient(circle at 15% 20%, rgba(184, 139, 74, 0.18), transparent 27rem),
        linear-gradient(145deg, #fffdf9 10%, #eee6d9 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset-inline-end: -7rem;
    bottom: -9rem;
    width: 20rem;
    aspect-ratio: 1;
    border: 1px solid rgba(23, 46, 20, 0.11);
    border-radius: 50%;
    box-shadow: 0 0 0 3rem rgba(23, 46, 20, 0.025), 0 0 0 6rem rgba(170, 104, 28, 0.025);
}

.eyebrow {
    display: inline-flex;
    padding: 0.35rem 0.75rem;
    color: var(--gold);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(170, 104, 28, 0.2);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 800;
}

.hero h1 {
    max-width: 18ch;
    margin: 1.2rem 0 1rem;
    color: var(--green);
    font-size: clamp(2rem, 8vw, 4.5rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
    font-family: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
    font-weight: 600;
}

.hero p {
    max-width: 62ch;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 2.4vw, 1.2rem);
}

.breadcrumbs {
    display: flex;
    margin-bottom: 1rem;
    align-items: center;
    gap: 0.55rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.breadcrumbs a {
    color: var(--green);
    font-weight: 700;
    text-decoration: none;
}

.hero--medical {
    background:
        radial-gradient(circle at 12% 18%, rgba(184, 139, 74, 0.22), transparent 25rem),
        radial-gradient(circle at 90% 65%, rgba(29, 89, 76, 0.11), transparent 24rem),
        linear-gradient(145deg, #fffdf9 8%, #eee6d9 100%);
}

.hero--medical h1 {
    max-width: 22ch;
    font-size: clamp(2rem, 6.5vw, 4.15rem);
}

.answer-lead {
    max-width: 68ch !important;
    color: #435850 !important;
}

.trust-row {
    display: flex;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.trust-row span {
    padding: 0.45rem 0.75rem;
    color: var(--green);
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(16, 59, 50, 0.12);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.page-toc {
    position: relative;
    z-index: 2;
    display: flex;
    margin-top: -1.25rem;
    padding: 1rem 1.1rem;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: 0 1rem 2.5rem rgba(16, 42, 36, 0.09);
    backdrop-filter: blur(1rem);
}

.page-toc strong {
    color: var(--green);
    font-family: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
}

.page-toc a {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.page-toc a:hover {
    color: var(--gold);
}

.hero__actions {
    display: flex;
    margin-top: 1.75rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.button--primary {
    color: #fff;
    background: var(--green);
    box-shadow: 0 0.8rem 1.8rem rgba(23, 46, 20, 0.22);
}

.button--secondary {
    color: var(--green);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--line);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-block: 2.5rem;
}

.content-card {
    padding: 1.35rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: 0 0.75rem 2rem rgba(16, 42, 36, 0.055);
}

.content-card--accent {
    color: #fff;
    background: linear-gradient(145deg, var(--green), #244a23);
    border: 0;
    box-shadow: var(--shadow);
}

.content-card h2,
.content-card h3 {
    margin-top: 0;
    color: var(--green);
    line-height: 1.35;
}

.content-card--accent h2,
.content-card--accent h3 {
    color: #fff;
}

.content-card p:last-child,
.content-card ul:last-child {
    margin-bottom: 0;
}

.content-grid--transplant {
    padding-top: 2rem;
}

.content-card[id] {
    scroll-margin-top: 6rem;
}

.content-card a:not(.button):not(.text-link) {
    color: var(--green);
    font-weight: 700;
    text-decoration-color: rgba(184, 139, 74, 0.55);
    text-underline-offset: 0.2em;
}

.intro-card {
    position: relative;
    overflow: hidden;
    padding-inline-start: clamp(1.35rem, 4vw, 3rem);
}

.intro-card::before {
    content: "";
    position: absolute;
    inset-block: 1.5rem;
    inset-inline-start: 0;
    width: 0.28rem;
    background: linear-gradient(var(--gold), var(--green));
    border-radius: 999px;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 0.6rem;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.section-kicker--light {
    color: #e6c792;
}

.card-number {
    display: inline-grid;
    width: 2.55rem;
    height: 2.55rem;
    margin-bottom: 0.85rem;
    place-items: center;
    color: var(--gold);
    background: rgba(184, 139, 74, 0.09);
    border: 1px solid rgba(184, 139, 74, 0.22);
    border-radius: 0.75rem;
    font-family: "Alexandria", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
}

.credential-list {
    margin: 0 0 1.25rem;
    padding-inline-start: 1.2rem;
}

.credential-list li + li {
    margin-top: 0.55rem;
}

.text-link {
    display: inline-flex;
    font-weight: 800;
    text-decoration: none;
}

.text-link--light {
    color: #fff;
}

.verification-links {
    display: grid;
    margin-top: 1rem;
    padding-top: 1rem;
    gap: 0.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.verification-links a {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration-color: rgba(230, 199, 146, 0.65) !important;
}

.feature-grid {
    display: grid;
    margin: 1.5rem 0;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.feature-grid > div {
    padding: 1rem;
    background: #f7f4ed;
    border: 1px solid rgba(16, 59, 50, 0.08);
    border-radius: 0.85rem;
}

.feature-grid h3 {
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.feature-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
}

.care-steps {
    display: grid;
    margin: 1.25rem 0 0;
    padding: 0;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    list-style: none;
}

.care-steps li {
    display: flex;
    padding: 1rem;
    align-items: flex-start;
    gap: 0.85rem;
    background: #fffdf9;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
}

.care-steps li > span {
    display: grid;
    flex: 0 0 2rem;
    height: 2rem;
    place-items: center;
    color: #fff;
    background: var(--green);
    border-radius: 50%;
    font-family: "Alexandria", sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
}

.care-steps h3,
.care-steps p {
    margin: 0;
}

.care-steps h3 {
    font-size: 1rem;
}

.care-steps p {
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.urgent-card {
    position: relative;
    overflow: hidden;
    background: #fff8e9;
    border-color: rgba(184, 139, 74, 0.25);
}

.urgent-icon {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    margin-bottom: 0.85rem;
    place-items: center;
    color: #fff;
    background: var(--gold);
    border-radius: 50%;
    font-family: "Alexandria", sans-serif;
    font-weight: 800;
}

.section-heading--compact {
    margin-bottom: 1rem;
}

.clinic-mini-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.clinic-mini-grid article {
    padding: 1.1rem;
    background: linear-gradient(145deg, #fffdf9, #f4eee3);
    border: 1px solid rgba(16, 59, 50, 0.1);
    border-radius: 0.9rem;
}

.clinic-mini-grid article > span {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
}

.clinic-mini-grid h3,
.clinic-mini-grid p {
    margin: 0;
}

.clinic-mini-grid h3 {
    margin-top: 0.35rem;
}

.clinic-mini-grid p {
    color: var(--muted);
}

.clinic-mini-grid a {
    display: inline-block;
    margin-top: 0.65rem;
}

.center-actions {
    display: flex;
    margin-top: 1.25rem;
    justify-content: center;
}

.medical-review {
    display: grid;
    padding-block: 0 3rem;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.review-box,
.sources-box {
    padding: 1.25rem;
    border-radius: 1rem;
}

.review-box {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    color: #fff;
    background: linear-gradient(145deg, var(--green), #244a23);
}

.review-badge {
    display: grid;
    flex: 0 0 2.4rem;
    height: 2.4rem;
    place-items: center;
    color: var(--green);
    background: #fff;
    border-radius: 50%;
    font-weight: 900;
}

.review-box p {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.sources-box {
    background: #f7f4ed;
    border: 1px solid var(--line);
}

.sources-box h2 {
    margin: 0 0 0.6rem;
    color: var(--green);
    font-family: "Alexandria", sans-serif;
    font-size: 1.1rem;
}

.sources-box ul {
    margin: 0;
    padding-inline-start: 1.2rem;
}

.sources-box a {
    color: var(--green);
    font-weight: 700;
}

.sources-box p {
    margin: 0.75rem 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    min-height: 2.25rem;
    padding-block: 0.35rem;
    padding-inline-start: 2rem;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    top: 0.35rem;
    display: grid;
    width: 1.4rem;
    height: 1.4rem;
    place-items: center;
    color: #fff;
    background: var(--gold);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 900;
}

.location-list {
    display: grid;
    gap: 0.75rem;
}

.location {
    padding: 1rem;
    background: var(--sand);
    border-inline-start: 0.25rem solid var(--gold);
    border-radius: 0.65rem;
}

.location strong,
.location span {
    display: block;
}

.notice {
    padding: 1rem 1.1rem;
    color: #5d4a2d;
    background: #fff8e9;
    border: 1px solid rgba(170, 104, 28, 0.2);
    border-radius: 0.9rem;
}

.related {
    padding: 2.5rem 0 4rem;
}

.seo-faq {
    padding-block: 1rem 3.5rem;
}

.section-heading {
    max-width: 48rem;
    margin-bottom: 1.25rem;
}

.section-heading h2 {
    margin: 0.85rem 0 0.45rem;
    color: var(--green);
    font-family: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
    font-size: clamp(1.55rem, 4vw, 2.25rem);
    line-height: 1.4;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.seo-faq__list {
    display: grid;
    gap: 0.75rem;
}

.seo-faq details {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    box-shadow: 0 0.65rem 1.7rem rgba(16, 42, 36, 0.045);
}

.seo-faq summary {
    position: relative;
    padding: 1rem 1.1rem;
    padding-inline-end: 3rem;
    color: var(--green);
    cursor: pointer;
    font-family: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
    font-weight: 700;
    list-style: none;
}

.seo-faq summary::-webkit-details-marker {
    display: none;
}

.seo-faq summary::after {
    content: "+";
    position: absolute;
    inset-inline-end: 1.1rem;
    top: 50%;
    width: 1.75rem;
    height: 1.75rem;
    color: var(--green);
    background: rgba(16, 59, 50, 0.07);
    border-radius: 50%;
    text-align: center;
    line-height: 1.7rem;
    transform: translateY(-50%);
}

.seo-faq details[open] summary::after {
    content: "−";
    color: #fff;
    background: var(--gold);
}

.seo-faq details p {
    margin: 0;
    padding: 0 1.1rem 1.15rem;
    color: var(--muted);
}

.source-note {
    margin: 1rem 0 0;
    padding: 1rem;
    color: var(--muted);
    background: rgba(184, 139, 74, 0.08);
    border-inline-start: 0.25rem solid var(--gold);
    border-radius: 0.75rem;
    font-size: 0.9rem;
}

.source-note a {
    color: var(--green);
    font-weight: 700;
}

.press-section {
    padding-block: 3.5rem;
}

.media-hero h1 {
    max-width: 20ch;
}

.press-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.press-card {
    display: flex;
    min-height: 18rem;
    padding: 1.35rem;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: 0 0.75rem 2rem rgba(16, 42, 36, 0.055);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.press-card:hover {
    border-color: rgba(184, 139, 74, 0.4);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.press-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
}

.press-card h3 {
    margin: 1rem 0 0.65rem;
    color: var(--green);
    font-family: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
    font-size: 1.08rem;
    line-height: 1.6;
}

.press-card p {
    margin: 0 0 1rem;
    color: var(--muted);
}

.press-card > a {
    display: inline-flex;
    margin-top: auto;
    align-items: center;
    gap: 0.35rem;
    color: var(--green);
    font-weight: 800;
    text-decoration: none;
}

.press-card > a:hover {
    color: var(--gold);
}

@media (min-width: 720px) {
    .press-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .press-card--featured {
        color: rgba(255, 255, 255, 0.78);
        background: linear-gradient(145deg, var(--green), #244a23);
        border-color: transparent;
    }

    .press-card--featured h3,
    .press-card--featured > a {
        color: #fff;
    }

    .press-card--featured p {
        color: rgba(255, 255, 255, 0.72);
    }
}

@media (min-width: 1040px) {
    .press-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .press-card--featured {
        grid-column: span 2;
    }
}

.related h2 {
    color: var(--green);
}

.related__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.related__link {
    display: flex;
    min-height: 4.5rem;
    padding: 1rem 1.1rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 800;
}

.related__link::after {
    content: "←";
    color: var(--gold);
    font-size: 1.35rem;
}

.site-footer {
    padding: 2rem 0;
    color: rgba(255, 255, 255, 0.82);
    background: #10240f;
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.site-footer a {
    color: #fff;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(170, 104, 28, 0.55);
    outline-offset: 3px;
}

@media (min-width: 768px) {
    .page-shell {
        width: min(100% - 3rem, 72rem);
    }

    .hero {
        padding: 6rem 0 5rem;
    }

    .content-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(17rem, 0.7fr);
        gap: 1.25rem;
        padding-block: 4rem;
    }

    .content-card {
        padding: 2rem;
    }

    .content-card--wide {
        grid-column: 1 / -1;
    }

    .feature-grid,
    .care-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clinic-mini-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .medical-review {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    }

    .related__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-footer__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .content-card,
    .hero__content {
        animation: rise-in 520ms ease both;
    }

    .content-card:nth-child(2) {
        animation-delay: 80ms;
    }

    @keyframes rise-in {
        from {
            opacity: 0;
            transform: translateY(1rem);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
