/* ==========================================================
   PROJECT LIGHTHOUSE
   Medical Symptom and Condition Pages
   ========================================================== */


/* ---------- Article Hero ---------- */

.medical-hero {
    padding: 84px 0;

    background:
        radial-gradient(
            circle at 18% 25%,
            rgba(200, 169, 106, 0.14),
            transparent 34%
        ),
        var(--background);
}


/* ==========================================================
   RELATED PATIENT GUIDES
   ========================================================== */

.related-guides-section {
    padding: 74px 0;

    border-top: 1px solid var(--border);

    background: var(--surface);
}


.related-guides-heading {
    max-width: 700px;

    margin-bottom: 32px;
}


.related-guides-heading .section-kicker {
    margin-bottom: 9px;
}


.related-guides-heading h2 {
    margin-bottom: 10px;

    font-size: clamp(34px, 4vw, 44px);
    line-height: 1.08;
}


.related-guides-heading p:last-child {
    color: var(--text-light);

    font-size: 15px;
    line-height: 1.75;
}


.related-guides-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 16px;
}


.related-guide-card {
    min-height: 185px;

    padding: 24px;

    display: flex;
    flex-direction: column;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--background);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


.related-guide-card:hover,
.related-guide-card:focus-visible {
    border-color: rgba(200, 169, 106, 0.8);

    outline: none;

    box-shadow: 0 14px 34px rgba(15, 45, 70, 0.09);

    transform: translateY(-3px);
}


.related-guide-category {
    margin-bottom: 13px;

    color: var(--gold-text);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}


.related-guide-card strong {
    margin-bottom: 6px;

    color: var(--navy);

    font-family: 'Cormorant Garamond', serif;
    font-size: 23px;
    line-height: 1.1;
}


.related-guide-card small {
    color: var(--text-light);

    font-size: 12px;
    line-height: 1.5;
}


.related-guide-link {
    margin-top: auto;
    padding-top: 20px;

    color: var(--gold-text);

    font-size: 12px;
    font-weight: 700;
}


@media (max-width: 950px) {

    .related-guides-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 600px) {

    .related-guides-section {
        padding: 58px 0;
    }


    .related-guides-grid {
        grid-template-columns: 1fr;
    }


    .related-guide-card {
        min-height: 0;
    }

}


.medical-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;

    align-items: center;

    gap: 70px;
}


.medical-hero-grid > *,
.medical-hero-grid > div,
.medical-category,
.medical-term,
.medical-term strong,
.medical-hero h1,
.medical-hero-introduction {
    min-width: 0;

    overflow-wrap: anywhere;
}


.medical-category {
    margin-bottom: 12px;

    color: var(--gold-text);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


.medical-hero h1 {
    margin-bottom: 10px;

    font-size: clamp(54px, 7vw, 82px);
    line-height: 0.98;
}


.medical-term {
    margin-bottom: 28px;

    color: var(--text-light);

    font-size: 16px;
}


.medical-term strong {
    color: var(--navy);
}


.medical-hero-introduction {
    max-width: 720px;

    margin-bottom: 16px;

    color: #4B5563;

    font-size: 17px;
    line-height: 1.8;
}


.medical-hero-actions {
    margin-top: 32px;

    display: flex;
    align-items: center;

    gap: 24px;
}


.medical-text-link {
    color: var(--navy);

    font-size: 14px;
    font-weight: 700;
}


.medical-text-link:hover {
    color: var(--gold-text);
}


/* ---------- Quick Summary ---------- */

.quick-summary {
    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--surface);

    box-shadow: var(--shadow-card);
}


.quick-summary-label {
    margin-bottom: 18px;

    color: var(--gold-text);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}


.quick-summary-row {
    padding: 15px 0;

    display: flex;
    flex-direction: column;

    gap: 4px;

    border-bottom: 1px solid var(--border);
}


.quick-summary-row:last-child {
    border-bottom: 0;
}


.quick-summary-row span {
    color: var(--text-light);

    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}


.quick-summary-row strong {
    color: var(--navy);

    font-size: 14px;
    line-height: 1.5;
}


/* ---------- Main Article Layout ---------- */

.medical-content {
    padding: 90px 0;

    background: var(--surface);
}


.medical-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;

    align-items: start;

    gap: 70px;
}


.medical-article {
    min-width: 0;
}


.medical-section {
    padding-bottom: 46px;
    margin-bottom: 46px;

    border-bottom: 1px solid var(--border);
}


.medical-section:last-child {
    margin-bottom: 0;
}


.medical-section h2 {
    margin-bottom: 20px;

    font-size: clamp(32px, 4vw, 43px);
    line-height: 1.08;

    overflow-wrap: anywhere;
}


.medical-section h3 {
    margin: 28px 0 12px;

    font-size: 25px;
    line-height: 1.15;

    overflow-wrap: anywhere;
}


.medical-section p {
    margin-bottom: 16px;

    color: #4B5563;

    font-size: 16px;
    line-height: 1.85;
}


.medical-section p:last-child {
    margin-bottom: 0;
}


/* ---------- Medical Lists ---------- */

.medical-list {
    margin: 22px 0 24px;

    display: grid;

    gap: 13px;

    list-style: none;
}


.medical-list li {
    position: relative;

    padding-left: 27px;

    color: #4B5563;

    font-size: 15px;
    line-height: 1.7;
}


.medical-list li::before {
    content: "";

    position: absolute;
    top: 10px;
    left: 0;

    width: 8px;
    height: 8px;

    border: 2px solid var(--gold);
    border-radius: 50%;
}


/* ---------- Associated Symptoms ---------- */

.symptom-grid {
    margin-top: 26px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 14px;
}


.symptom-card {
    padding: 20px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: var(--background);
}


.symptom-card strong {
    display: block;

    margin-bottom: 5px;

    color: var(--navy);

    font-size: 14px;
}


.symptom-card span {
    color: var(--text-light);

    font-size: 12px;
    line-height: 1.6;
}


/* ---------- Consultation Explanation ---------- */

.consultation-panel {
    padding: 32px;

    border-left: 4px solid var(--gold);
    border-radius: 0 14px 14px 0;

    background: #F8F5EE;
}


.consultation-panel h2 {
    font-size: 34px;
}


.consultation-panel p:first-of-type {
    color: var(--navy);

    font-weight: 600;
}


/* ---------- Urgent Care ---------- */

.urgent-panel {
    padding: 34px;

    border: 1px solid rgba(200, 169, 106, 0.55);
    border-radius: 14px;

    background: #FBF8F1;
}


.panel-label {
    margin-bottom: 8px !important;

    color: var(--gold-text) !important;

    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}


/* ---------- Investigation Pathway ---------- */

.pathway {
    margin-top: 28px;

    display: grid;

    gap: 12px;
}


.pathway-step {
    position: relative;

    padding: 20px 22px 20px 70px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: var(--background);
}


.pathway-number {
    position: absolute;
    top: 18px;
    left: 20px;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--navy);
    color: var(--gold-text);

    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 700;
}


.pathway-step strong {
    display: block;

    margin-bottom: 4px;

    color: var(--navy);

    font-size: 15px;
}


.pathway-step p {
    margin: 0;

    font-size: 13px;
    line-height: 1.65;
}


/* ---------- Treatment Table ---------- */

.treatment-table {
    margin-top: 26px;

    border: 1px solid var(--border);
    border-radius: 14px;

    overflow: hidden;
}


.treatment-row {
    display: grid;
    grid-template-columns: minmax(160px, 190px) minmax(0, 1fr);

    border-bottom: 1px solid var(--border);
}


.treatment-row:has(> :nth-child(3)) {
    grid-template-columns:
        minmax(145px, 0.8fr)
        minmax(0, 1.1fr)
        minmax(0, 1.1fr);
}


.treatment-row:last-child {
    border-bottom: 0;
}


.treatment-row > strong,
.treatment-row > span {
    min-width: 0;

    padding: 18px 20px;

    overflow-wrap: anywhere;
}


.treatment-row > strong,
.treatment-row > span:first-child {
    background: var(--background);
    color: var(--navy);

    font-size: 14px;
    font-weight: 700;
}


.treatment-row > span {
    color: #4B5563;

    font-size: 14px;
    line-height: 1.65;
}


.treatment-row > span > strong {
    padding: 0;

    background: transparent;
    color: inherit;

    font-size: inherit;
}


.treatment-heading > span {
    background: #F8F5EE;
    color: var(--navy);

    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}


/* ---------- Myth vs Fact ---------- */

.myth-fact-grid {
    margin-top: 28px;

    display: grid;

    gap: 16px;
}


.myth-fact-card {
    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--background);

    overflow: hidden;
}


.myth-line,
.fact-line {
    padding: 20px 22px;

    display: grid;
    grid-template-columns: 70px 1fr;

    gap: 15px;
}


.myth-line {
    border-bottom: 1px solid var(--border);
}


.myth-line strong,
.fact-line strong {
    color: var(--gold-text);

    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.myth-line span,
.fact-line span {
    color: #4B5563;

    font-size: 14px;
    line-height: 1.7;
}


.fact-line span {
    color: var(--navy);

    font-weight: 600;
}


/* ---------- FAQ ---------- */

.medical-faq details {
    border-bottom: 1px solid var(--border);
}


.medical-faq details:first-of-type {
    border-top: 1px solid var(--border);
}


.medical-faq summary {
    padding: 19px 0;

    color: var(--navy);

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
}


.medical-faq details p {
    padding-bottom: 20px;

    font-size: 14px;
}


/* ---------- Sidebar ---------- */

.medical-sidebar {
    position: sticky;
    top: 30px;

    display: grid;

    gap: 22px;
}


.medical-sidebar-card {
    padding: 28px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--background);

    box-shadow: 0 8px 25px rgba(15, 45, 70, 0.05);
}


.medical-sidebar-label {
    margin-bottom: 16px;

    color: var(--gold-text);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}


.medical-sidebar-card > a:not(.btn) {
    padding: 12px 0;

    display: block;

    border-bottom: 1px solid var(--border);

    color: var(--navy);

    font-size: 14px;
    font-weight: 600;
}


.medical-sidebar-card > a:not(.btn):last-child {
    border-bottom: 0;
}


.medical-sidebar-card > a:not(.btn):hover {
    color: var(--gold-text);
}


.medical-sidebar-help {
    background: var(--navy);
}


.medical-sidebar-help h3 {
    margin-bottom: 13px;

    color: white;

    font-size: 27px;
    line-height: 1.1;
}


.medical-sidebar-help p:not(.medical-sidebar-label) {
    margin-bottom: 20px;

    color: rgba(255, 255, 255, 0.74);

    font-size: 13px;
    line-height: 1.7;
}


.medical-sidebar-help .btn {
    background: var(--gold);
    color: var(--navy);
}


/* ---------- Review Block ---------- */

.medical-review-section {
    padding: 85px 0;

    background: var(--background);
}


.medical-review-card {
    padding: 42px;

    display: grid;
    grid-template-columns: 230px 1fr;

    gap: 45px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--surface);

    box-shadow: var(--shadow-card);
}


.review-heading {
    color: var(--gold-text);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}


.reviewer-name {
    margin-bottom: 4px;

    font-size: 34px;
    line-height: 1.08;
}


.reviewer-credentials {
    margin-bottom: 3px;

    color: var(--navy);

    font-size: 14px;
    font-weight: 600;
}


.reviewer-role {
    color: var(--text-light);

    font-size: 13px;
}


.reviewer-statement {
    margin-bottom: 18px;

    color: #4B5563;

    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-style: italic;
    line-height: 1.45;
}


.review-date {
    color: var(--text-light);

    font-size: 12px;
}


/* ---------- Doctor Note ---------- */

.doctor-note-section {
    padding: 0 0 85px;

    background: var(--background);
}


.doctor-note {
    padding: 42px;

    border: 1px solid rgba(200, 169, 106, 0.55);
    border-radius: 14px;

    background: #F8F5EE;
}


.doctor-note h2 {
    margin-bottom: 22px;

    font-size: 38px;
}


.doctor-note p {
    margin-bottom: 16px;

    color: #4B5563;

    font-size: 15px;
    line-height: 1.85;
}


.doctor-note p:last-child {
    margin-bottom: 0;
}


/* ---------- Appointment CTA ---------- */

.medical-appointment {
    padding: 80px 0;

    background: var(--surface);
}


.medical-appointment-panel {
    padding: 48px 52px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    border-radius: 14px;

    background: var(--navy);

    box-shadow: 0 20px 45px rgba(15, 45, 70, 0.14);
}


.medical-appointment-panel > div,
.medical-appointment-panel h2,
.medical-appointment-panel p {
    min-width: 0;

    overflow-wrap: anywhere;
}


.medical-appointment-panel h2 {
    margin: 5px 0 10px;

    color: white;

    font-size: clamp(34px, 4vw, 46px);
    line-height: 1.08;
}


.medical-appointment-panel p:last-child {
    max-width: 650px;

    color: rgba(255, 255, 255, 0.72);
}


.medical-appointment-actions {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 12px;
}


.medical-appointment-actions .btn {
    background: var(--gold);
    color: var(--navy);
}


.medical-outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 21px;

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 14px;

    color: white;

    font-size: 14px;
    font-weight: 600;
}


/* ---------- Footer ---------- */

.medical-footer {
    padding: 26px 0;

    background: #0A2134;
}


.medical-footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.medical-footer p {
    color: rgba(255, 255, 255, 0.62);

    font-size: 11px;
}


/* ---------- Responsive ---------- */

@media (max-width: 950px) {

    .medical-hero-grid,
    .medical-layout {
        grid-template-columns: 1fr;
    }


    .quick-summary {
        max-width: 620px;
    }


    .medical-sidebar {
        position: static;

        grid-template-columns: repeat(2, 1fr);
    }


    .medical-review-card {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .medical-appointment-panel {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 600px) {

    .medical-hero {
        padding: 60px 0;
    }


    .medical-hero-grid {
        gap: 42px;
    }


    .medical-hero-actions {
        align-items: flex-start;
        flex-direction: column;

        gap: 16px;
    }


    .medical-content {
        padding: 65px 0;
    }


    .medical-layout {
        gap: 45px;
    }


    .symptom-grid {
        grid-template-columns: 1fr;
    }


    .urgent-panel,
    .consultation-panel {
        padding: 25px;
    }


    .treatment-row {
        grid-template-columns: 1fr;
    }


    .treatment-row:has(> :nth-child(3)) {
        grid-template-columns: 1fr;
    }


    .treatment-row > strong,
    .treatment-row > span {
        padding: 15px 18px;
    }


    .treatment-row > * + * {
        border-top: 1px solid var(--border);
    }


    .myth-line,
    .fact-line {
        grid-template-columns: 1fr;

        gap: 6px;
    }


    .medical-sidebar {
        grid-template-columns: 1fr;
    }


    .medical-review-section {
        padding: 65px 0;
    }


    .medical-review-card,
    .doctor-note {
        padding: 28px 24px;
    }


    .doctor-note-section {
        padding-bottom: 65px;
    }


    .medical-appointment {
        padding: 60px 0;
    }


    .medical-appointment-panel {
        padding: 34px 25px;
    }


    .medical-appointment-actions {
        width: 100%;

        align-items: stretch;
        flex-direction: column;
    }


    .medical-appointment-actions a {
        width: 100%;
    }


    .medical-footer-content {
        align-items: flex-start;
        flex-direction: column;

        gap: 8px;
    }

}


/* ==========================================================
   CONDITION HERO
========================================================== */

.condition-hero {
    background: linear-gradient(135deg, #0F2D46 0%, #173F63 100%);
    color: #ffffff;
    padding: 5rem 0 4rem;
}

.breadcrumb {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.condition-hero h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.condition-hero h1 span {
    display: block;
    font-size: 1.8rem;
    color: #C8A96A;
    margin-top: .4rem;
}

.hero-intro {
    max-width: 760px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.92);
}


/* ==========================================================
   CONTENT SECTIONS
========================================================== */

.content-section {
    padding: 5rem 0;
}

.content-section:nth-child(even) {
    background: #ffffff;
}

.content-section:nth-child(odd) {
    background: #FAFAF8;
}

.content-section h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.4rem;
    color: #0F2D46;
    margin-bottom: 1.5rem;
}

.content-section h3 {
    color: #0F2D46;
    margin-top: 2rem;
    margin-bottom: .8rem;
}

.content-section p {
    line-height: 1.9;
    margin-bottom: 1.25rem;
    color: #4b5563;
}

.content-section ul,
.content-section ol {
    margin-top: 1rem;
    padding-left: 1.4rem;
}

.content-section li {
    margin-bottom: .9rem;
    line-height: 1.8;
}


/* ==========================================================
   QUICK SUMMARY
========================================================== */

section.quick-summary {
    padding: 4rem 0;
    background: #ffffff;
}

section.quick-summary h2 {
    font-family: "Cormorant Garamond", serif;
    color: #0F2D46;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.summary-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 10px 30px rgba(15,45,70,.06);
}

.summary-table th,
.summary-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid #ececec;
}

.summary-table th {
    width: 260px;
    color: #0F2D46;
    font-weight: 600;
    background: #f7f7f7;
}

.summary-table td {
    color: #555;
}

.summary-table tr:last-child td,
.summary-table tr:last-child th {
    border-bottom: none;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:768px){

    .condition-hero{
        padding:3.5rem 0;
    }

    .condition-hero h1{
        font-size:2.5rem;
    }

.condition-hero h1 span {
    display: block;
    margin-top: .4rem;
    font-size: 1.8rem;
    color: #C8A96A;
}

    .summary-table th,
    .summary-table td{
        display:block;
        width:100%;
    }

    .summary-table th{
        background:#f4f4f4;
        border-bottom:none;
        padding-bottom:.3rem;
    }

    .summary-table td{
        padding-top:.3rem;
    }

}


/* ==========================================================
   STANDARDIZED MEDICAL PAGE
   Approved Blood in Urine layout applied to legacy guides
   ========================================================== */

.standardized-medical-page .standardized-medical-hero {
    padding: 84px 0;

    background:
        radial-gradient(
            circle at 18% 25%,
            rgba(200, 169, 106, 0.14),
            transparent 34%
        ),
        var(--background);
}


.standardized-medical-page .standardized-medical-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;

    align-items: center;

    gap: 70px;
}


.standardized-medical-page .condition-hero,
.standardized-medical-page .quick-summary {
    max-width: none;

    padding: 0;

    background: transparent;
}


.standardized-medical-page .condition-hero > .container,
.standardized-medical-page .quick-summary > .container {
    width: 100%;
}


.standardized-medical-page .breadcrumb {
    margin-bottom: 15px;

    color: var(--gold-text);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}


.standardized-medical-page .condition-hero h1 {
    margin-bottom: 24px;

    color: var(--navy);

    font-size: clamp(52px, 6vw, 78px);
    line-height: 0.98;
}


.standardized-medical-page .condition-hero h1 span {
    margin-top: 11px;

    display: block;

    color: var(--gold-text);

    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.05;
}


.standardized-medical-page .hero-intro {
    max-width: 720px;

    margin-bottom: 22px;

    color: #4B5563;

    font-size: 16px;
    line-height: 1.85;
}


.standardized-medical-page .condition-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}


.standardized-medical-page .condition-tags span {
    padding: 7px 11px;

    border: 1px solid rgba(200, 169, 106, 0.5);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.62);
    color: var(--navy);

    font-size: 10px;
    font-weight: 700;
}


.standardized-medical-page .standardized-hero-actions {
    margin-top: 30px;

    display: flex;
    align-items: center;

    gap: 23px;
}


.standardized-medical-page .standardized-hero-actions .medical-text-link {
    color: var(--navy);

    font-size: 13px;
    font-weight: 700;
}


.standardized-medical-page .standardized-hero-actions .medical-text-link:hover,
.standardized-medical-page .standardized-hero-actions .medical-text-link:focus-visible {
    color: var(--gold-text);
}


.standardized-medical-page .quick-summary > .container {
    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--surface);

    box-shadow: var(--shadow-card);
}


.standardized-medical-page .quick-summary h2 {
    margin-bottom: 15px;

    color: var(--gold-text);

    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}


.standardized-medical-page .summary-table,
.standardized-medical-page .summary-table tbody {
    width: 100%;

    display: block;

    border: 0;
    border-radius: 0;

    background: transparent;

    box-shadow: none;
}


.standardized-medical-page .summary-table tr {
    padding: 13px 0;

    display: flex;
    flex-direction: column;

    gap: 3px;

    border-bottom: 1px solid var(--border);
}


.standardized-medical-page .summary-table tr:last-child {
    border-bottom: 0;
}


.standardized-medical-page .summary-table th,
.standardized-medical-page .summary-table td {
    width: 100%;

    padding: 0;

    display: block;

    border: 0;

    background: transparent;

    text-align: left;
}


.standardized-medical-page .summary-table th {
    color: var(--text-light);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}


.standardized-medical-page .summary-table td {
    color: var(--navy);

    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
}


.standardized-medical-page .standardized-medical-content {
    padding: 90px 0;

    background: var(--surface);
}


.standardized-medical-page .standardized-medical-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;

    align-items: start;

    gap: 70px;
}


.standardized-medical-page .standardized-medical-article {
    min-width: 0;
}


.standardized-medical-page .standardized-medical-article .content-section {
    padding: 0 0 46px;
    margin: 0 0 46px;

    border-bottom: 1px solid var(--border);

    background: transparent;
}


.standardized-medical-page .standardized-medical-article .content-section:last-child {
    margin-bottom: 0;
}


.standardized-medical-page .standardized-medical-article .content-section > .container {
    width: 100%;
}


.standardized-medical-page .standardized-medical-article .content-section h2 {
    margin-bottom: 20px;

    color: var(--navy);

    font-size: clamp(32px, 4vw, 43px);
    line-height: 1.08;
}


.standardized-medical-page .standardized-medical-article .content-section h3 {
    margin: 28px 0 12px;

    color: var(--navy);

    font-size: 24px;
    line-height: 1.15;
}


.standardized-medical-page .standardized-medical-article .content-section p,
.standardized-medical-page .standardized-medical-article .content-section li {
    color: #4B5563;

    font-size: 15px;
    line-height: 1.85;
}


.standardized-medical-page .standardized-medical-article .content-section ul,
.standardized-medical-page .standardized-medical-article .content-section ol {
    margin: 20px 0 24px;
    padding: 0;

    display: grid;

    gap: 11px;

    list-style: none;
}


.standardized-medical-page .standardized-medical-article .content-section li {
    position: relative;

    margin: 0;
    padding-left: 27px;
}


.standardized-medical-page .standardized-medical-article .content-section li::before {
    content: "";

    position: absolute;
    top: 11px;
    left: 0;

    width: 8px;
    height: 8px;

    border: 2px solid var(--gold);
    border-radius: 50%;
}


.standardized-medical-page .treatment-card {
    margin-top: 15px;
    padding: 23px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: var(--background);
}


.standardized-medical-page .treatment-card h3 {
    margin-top: 0 !important;

    font-size: 21px !important;
}


.standardized-medical-page .treatment-card p:last-child {
    margin-bottom: 0;
}


.standardized-medical-page .doctor-insight,
.standardized-medical-page .did-you-know {
    padding: 32px;

    border-left: 4px solid var(--gold);
    border-radius: 0 14px 14px 0;

    background: #F8F5EE;
}


.standardized-medical-page .doctor-insight h2,
.standardized-medical-page .did-you-know h2 {
    font-size: 34px !important;
}


.medical-article .doctor-insight,
.medical-article .did-you-know {
    padding: 32px;

    border-left: 4px solid var(--gold);
    border-radius: 0 14px 14px 0;

    background: #F8F5EE;
}


.medical-article .doctor-insight h2,
.medical-article .did-you-know h2 {
    font-size: 34px;
}


.standardized-medical-page .myth-fact {
    margin-top: 18px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--background);

    overflow: hidden;
}


.standardized-medical-page .myth-fact .myth,
.standardized-medical-page .myth-fact .fact {
    padding: 23px;
}


.standardized-medical-page .myth-fact .myth {
    border-right: 1px solid var(--border);
}


.standardized-medical-page .myth-fact h3 {
    margin-top: 0 !important;

    color: var(--gold-text) !important;

    font-family: 'Inter', sans-serif;
    font-size: 10px !important;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.standardized-medical-page .standardized-medical-sidebar {
    position: sticky;
    top: 30px;
}


.standardized-medical-page .doctor-note-section {
    padding: 0 0 85px;

    background: var(--background);
}


.standardized-medical-page .medical-outline-button:hover,
.standardized-medical-page .medical-outline-button:focus-visible {
    border-color: var(--gold-text);

    outline: none;

    color: var(--gold-text);
}


@media (max-width: 950px) {

    .standardized-medical-page .standardized-medical-hero-grid,
    .standardized-medical-page .standardized-medical-layout {
        grid-template-columns: 1fr;
    }


    .standardized-medical-page .quick-summary {
        width: 100%;
        max-width: 620px;
    }


    .standardized-medical-page .standardized-medical-sidebar {
        position: static;
    }

}


@media (max-width: 600px) {

    .standardized-medical-page .standardized-medical-hero {
        padding: 60px 0;
    }


    .standardized-medical-page .standardized-medical-hero-grid {
        gap: 42px;
    }


    .standardized-medical-page .condition-hero h1 {
        font-size: 45px;
    }


    .standardized-medical-page .standardized-hero-actions {
        align-items: flex-start;
        flex-direction: column;

        gap: 16px;
    }


    .standardized-medical-page .standardized-medical-content {
        padding: 65px 0;
    }


    .standardized-medical-page .standardized-medical-layout {
        gap: 45px;
    }


    .standardized-medical-page .myth-fact {
        grid-template-columns: 1fr;
    }


    .standardized-medical-page .myth-fact .myth {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

}


/* ---------- Accessible Colour Contexts ---------- */

.pathway-number,
.medical-sidebar-help .medical-sidebar-label,
.medical-appointment-panel .section-kicker,
.standardized-medical-page .medical-outline-button:hover,
.standardized-medical-page .medical-outline-button:focus-visible {
    color: var(--gold);
}
