/* Specialty detail (AAZ.Healthcare SpecialtyDetail.cshtml). The hero shell comes from hospital-detail.css;
   this file only sets the specialty-specific hierarchy: name → intro blocks → "Bệnh viện" / "Bác sĩ" groups. */

.bv-specialty-detail-page .bv-detail-hero {
    align-items: center;
}

.bv-specialty-detail-page .bv-detail-hero__photo {
    font-size: 1.4rem;
}

.bv-specialty-detail-page .bv-detail-hero h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--bv-text);
}

.bv-specialty-detail-page .bv-detail-hero__meta {
    margin: 4px 0 0;
}

/* Intro blocks (Giới thiệu, bệnh thường gặp, thủ thuật): readable body text, smaller headings than the groups. */
.bv-specialty-detail-page .bv-detail-block {
    margin: 24px 0 0;
    padding: 24px;
    background: var(--bv-surface);
    border: 1px solid var(--bv-border);
    border-radius: var(--bv-radius-md);
}

.bv-specialty-detail-page .bv-detail-block h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.bv-specialty-detail-page .bv-detail-block p {
    margin: 0;
    max-width: 72ch;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--bv-text);
}

/* "Bệnh viện" / "Bác sĩ" groups: one panel each, label + title on the left, "Xem tất cả" on the right. */
.bv-specialty-group {
    margin-top: 32px;
    padding: 24px;
    background: var(--bv-surface);
    border: 1px solid var(--bv-border);
    border-top: 4px solid var(--bv-primary);
    border-radius: var(--bv-radius-md);
}

.bv-specialty-group__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bv-border);
}

.bv-specialty-group__header > div {
    min-width: 0;
}

.bv-specialty-group__header h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.bv-specialty-group__header .bv-section__more {
    margin-top: 0;
    color: var(--bv-primary);
    white-space: nowrap;
}

.bv-specialty-group__header .bv-section__more::after {
    content: " →";
}

.bv-specialty-group__header .bv-section__more:hover {
    color: var(--bv-primary-dark);
    text-decoration: underline;
}

.bv-specialty-group .bv-card-grid {
    gap: 16px;
}

.bv-specialty-group .bv-hospital-card,
.bv-specialty-group .bv-doctor-card {
    box-shadow: none;
}

.bv-specialty-group .bv-hospital-card h3,
.bv-specialty-group .bv-doctor-card h3 {
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .bv-specialty-detail-page .bv-detail-hero h1 {
        font-size: 1.6rem;
    }

    .bv-specialty-detail-page .bv-detail-block,
    .bv-specialty-group {
        padding: 18px;
    }

    .bv-specialty-group {
        margin-top: 24px;
    }

    .bv-specialty-group__header h2 {
        font-size: 1.2rem;
    }
}
