/* A comparison-led overview within the existing drug-class design. */
.cc-wrap.hair-loss-hub {
    max-width: 900px;
}

.hair-loss-hub .cc-hero .subtitle {
    color: #495057;
    margin-bottom: 0;
    max-width: 65ch;
}

.hair-loss-hub .cc-content a,
.hair-loss-hub .hl-contents a,
.hair-loss-hub .hl-report a {
    color: #1864ab;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.hair-loss-hub a:focus-visible {
    outline: 2px solid #1864ab;
    outline-offset: 3px;
}

.hair-loss-hub section[id],
.hair-loss-hub .guide-refs li {
    scroll-margin-top: 110px;
}

.hair-loss-hub .hl-intro p {
    font-size: 1.08rem;
}

.hair-loss-hub .hl-contents {
    margin: 1.75rem 0;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border-left: 3px solid #1864ab;
}

.hair-loss-hub .hl-contents ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    font-size: 0.92rem;
}

.hair-loss-hub .hl-comparison {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.93rem;
    line-height: 1.55;
}

.hair-loss-hub .hl-comparison caption {
    caption-side: top;
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    padding-bottom: 0.75rem;
}

.hair-loss-hub .hl-comparison th,
.hair-loss-hub .hl-comparison td {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    vertical-align: top;
}

.hair-loss-hub .hl-comparison thead {
    background: #f8f9fa;
}

.hair-loss-hub .hl-comparison th[scope="row"] {
    width: 23%;
    font-size: 1rem;
}

.hair-loss-hub .hl-comparison td {
    width: 38.5%;
}

.hair-loss-hub .hl-coverage {
    display: block;
    margin-bottom: 0.4rem;
}

.hair-loss-hub .hl-coverage-included {
    color: #1864ab;
}

.hair-loss-hub .hl-comparison-note {
    font-size: 0.92rem;
    color: #495057;
}

.hair-loss-hub .hl-report {
    padding: 1.5rem;
    margin: 2rem 0;
    background: #f0f7fc;
    border-left: 3px solid #1864ab;
}

.hair-loss-hub .hl-report h2 {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
}

.hair-loss-hub .hl-report-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem 1.25rem;
}

.hair-loss-hub .hl-report .hl-report-primary {
    display: inline-block;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    background: #1864ab;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 640px) {
    .hair-loss-hub .hl-contents ul {
        grid-template-columns: 1fr;
    }

    .hair-loss-hub .hl-comparison,
    .hair-loss-hub .hl-comparison tbody,
    .hair-loss-hub .hl-comparison tr,
    .hair-loss-hub .hl-comparison caption {
        display: block;
    }

    .hair-loss-hub .hl-comparison thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .hair-loss-hub .hl-comparison tbody tr {
        padding: 0.5rem 0 1rem;
        border-top: 2px solid #dee2e6;
    }

    .hair-loss-hub .hl-comparison th[scope="row"],
    .hair-loss-hub .hl-comparison td {
        display: block;
        width: auto;
        border-bottom: none;
        padding: 0.6rem 0;
    }

    .hair-loss-hub .hl-comparison th[scope="row"] {
        font-size: 1.08rem;
    }

    .hair-loss-hub .hl-comparison td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.83rem;
        font-weight: 600;
        color: #495057;
        margin-bottom: 0.25rem;
    }
}
