/* ================================================================
   UTILITIES
   ================================================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-balance { text-wrap: balance; }
.text-pretty  { text-wrap: pretty; }
.text-center  { text-align: center; }

.section-header--center {
    max-width: var(--container-md);
    margin-inline: auto;
    text-align: center;
}

.section-header--center .section__eyebrow {
    justify-content: center;
}

.section-header--center .section__title,
.section-header--center .section__lead {
    margin-inline: auto;
}

.section-header--line {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.section-header--line::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--color-border);
}

.section-header--line__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary-hover);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .section-header--line {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .section-header--line::after {
        width: 100%;
    }

    .section-header--line__title {
        white-space: normal;
    }
}

.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    border: 1px solid var(--color-border-accent);
    border-radius: var(--radius-full);
}
