/* v0.11.62 — Global section heading system */

/* Reference-style heading groups used across the theme. */
.bdi-section-head > div,
.hb-directory-section-heading,
.hb-directory-contact__header,
.hb-directory-report-zone__intro,
.hb-reviews__intro,
.hb-directory-related__heading > div {
    position: relative;
    min-width: 0;
    padding-left: 34px;
}



/* Subtle divider between the vertical eyebrow and the heading copy. */
.bdi-section-head > div::before,
.hb-directory-section-heading::before,
.hb-directory-contact__header::before,
.hb-directory-report-zone__intro::before,
.hb-reviews__intro::before,
.hb-directory-related__heading > div::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 1px;
    bottom: 1px;
    width: 1px;
    background: rgba(8, 127, 107, .14);
}

/* Vertical left sub-heading / eyebrow. */
.bdi-section-head > div > .bdi-eyebrow,
.hb-directory-section-heading__eyebrow,
.hb-directory-contact__eyebrow,
.hb-directory-report-zone__intro > .hb-directory-section-heading__eyebrow,
.hb-reviews__eyebrow,
.hb-directory-related__heading .hb-directory-section-heading__eyebrow {
    position: absolute;
    left: 0;
    top: 50%;
    display: block;
    margin: 0;
    color: var(--bdi-primary, #087f6b);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
    transform-origin: center;
}

/* Main section heading. */
.bdi-section-head h2,
.bdi-section-heading h2,
.hb-directory-section-heading h2,
.hb-directory-contact__header h2,
.hb-directory-report-zone__intro h2,
.hb-reviews__intro h2,
.hb-directory-related__heading h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.025em;
}

/* Section description. */
.bdi-section-head p,
.bdi-section-heading p,
.hb-directory-contact__header p,
.hb-directory-report-zone__intro p,
.hb-reviews__intro p {
    margin: 6px 0 0;
    color: var(--bdi-muted, #6d7b76);
    font-size: 13px;
    line-height: 1.55;
}

/* Section headings without an eyebrow still use the same type scale. */
.bdi-section-heading {
    margin-bottom: 18px;
}

/* Keep heading controls aligned with the compact reference block. */
.bdi-section-head {
    align-items: flex-end;
    margin-bottom: 24px;
}

.bdi-section-head > a,
.bdi-section-head .bdi-text-link {
    margin-bottom: 2px;
}

@media (max-width: 620px) {
    .bdi-section-head > div,
    .hb-directory-section-heading,
    .hb-directory-contact__header,
    .hb-directory-report-zone__intro,
    .hb-reviews__intro,
    .hb-directory-related__heading > div {
        padding-left: 30px;
    }

    .bdi-section-head h2,
    .bdi-section-heading h2,
    .hb-directory-section-heading h2,
    .hb-directory-contact__header h2,
    .hb-directory-report-zone__intro h2,
    .hb-reviews__intro h2,
    .hb-directory-related__heading h2 {
        font-size: 28px;
    }


    .bdi-section-head > div::before,
    .hb-directory-section-heading::before,
    .hb-directory-contact__header::before,
    .hb-directory-report-zone__intro::before,
    .hb-reviews__intro::before,
    .hb-directory-related__heading > div::before {
        left: 18px;
    }
}
