/* ==========================================================
   HV Section Heading – tiêu đề trái, nút link phải
   ========================================================== */
.hv-sheading {
    --hv-sh-title: var(--e-global-color-primary, #6F5E4B);
    --hv-sh-accent: var(--e-global-color-secondary, #922B2A);
    --hv-sh-line: #e6e8eb;
    --hv-sh-btn: var(--e-global-color-primary, #6F5E4B);
    --hv-sh-btn-hover: var(--hv-ink, #1f1f1f);
    --hv-sh-btn-bg: var(--hv-ink, #1f1f1f);
    --hv-sh-btn-bg-hover: var(--hv-ink-hover, #6e6969);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 32px;
    font-family: var(--e-global-typography-primary-font-family, "Roboto Flex"), sans-serif;
}

.hv-sheading.has-divider {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--hv-sh-line);
}

.hv-sheading__intro {
    min-width: 0;
}

.hv-sheading__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--hv-sh-accent);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.hv-sheading__eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.hv-sheading__title {
    margin: 0;
    color: var(--hv-sh-title);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .02em;
}

.hv-sheading__desc {
    margin: 6px 0 0;
    max-width: 680px;
    color: #5b6672;
    font-size: 15px;
    line-height: 1.6;
}

/* Nút */
.hv-sheading__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--hv-sh-btn);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    transition: color .25s ease, background .25s ease, border-color .25s ease;
}

.hv-sheading__btn svg {
    flex-shrink: 0;
    transition: transform .25s ease;
}

.hv-sheading__btn:hover,
.hv-sheading__btn:focus-visible {
    color: var(--hv-sh-btn-hover);
}

.hv-sheading__btn:hover svg {
    transform: translateX(4px);
}

.hv-sheading--btn-outline .hv-sheading__btn {
    padding: 11px 22px;
    border: 1px solid var(--hv-sh-btn-bg);
    border-radius: 999px;
}

.hv-sheading--btn-outline .hv-sheading__btn:hover {
    border-color: var(--hv-sh-btn-bg-hover);
    background: var(--hv-sh-btn-bg-hover);
    color: #fff;
}

.hv-sheading--btn-solid .hv-sheading__btn {
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--hv-sh-btn-bg);
    color: #fff;
}

.hv-sheading--btn-solid .hv-sheading__btn:hover {
    background: var(--hv-sh-btn-bg-hover);
    color: #fff;
}

@media (max-width: 767px) {
    .hv-sheading {
        gap: 12px;
    }

    .hv-sheading.has-divider {
        padding-bottom: 12px;
        margin-bottom: 15px;
    }

    .hv-sheading__title {
        font-size: 18px;
    }

    .hv-sheading__desc {
        font-size: 14px;
    }

    .hv-sheading__btn {
        font-size: 13px;
        gap: 6px;
    }

    .hv-sheading--btn-outline .hv-sheading__btn,
    .hv-sheading--btn-solid .hv-sheading__btn {
        padding: 9px 16px;
    }

    .hv-sheading.is-mobile-stack {
        flex-direction: column;
        align-items: flex-start;
    }
}
