/**
 * Refreshed Product - Section Header Component
 * Reusable header with label + title (left) and body text (right)
 */

.rp-section-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    width: 100%;
}

.rp-section-header__left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
    justify-content: flex-end;
}

.rp-section-header__label {
    color: #27272c;
    font-family: var(--font-aeonik);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: 0.56px;
    text-transform: uppercase;
}

.rp-section-header__title {
    color: #27272c;
    font-family: var(--font-aeonik);
    font-size: 38px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    text-wrap: pretty;
    margin: 0;
}

.rp-section-header__right {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.rp-section-header__body {
    color: #686873;
    font-family: var(--font-aeonik);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
    text-wrap: pretty;
    max-width: 500px;
}

/* Single column variant (no body text) */
.rp-section-header:not(:has(.rp-section-header__right)) {
    grid-template-columns: 1fr;
}

/* Responsive */
@media (max-width: 768px) {
    .rp-section-header {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .rp-section-header__title {
        font-size: 28px;
    }

    .rp-section-header__right {
        align-items: flex-start;
    }
}
