/* ============================================ */
/* MarketingApply (DL-2606 / DL-2607) */
/* ============================================ */

.marketing-apply {
    background-color: var(--primary-color);
    padding: 3rem 0;
}

/* For tablet landscape up — match the features/paths section rhythm (4.5rem) */
@media (min-width: 900px) {
    .marketing-apply {
        padding: 4.5rem 0;
    }
}

.marketing-apply__wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

/* For tablet portrait up */
@media (min-width: 600px) {
    .marketing-apply__wrapper {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* For tablet landscape up — content and action sit side by side */
@media (min-width: 900px) {
    .marketing-apply__wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 3rem;
    }
}

.marketing-apply__content {
    min-width: 0;
}

.marketing-apply__headline {
    color: var(--white);
    font-family: var(--header-font-family);
    font-weight: 500;
    font-size: 28px;
    line-height: 1.12;
    max-width: 22ch;
    text-wrap: balance;
}

/* For tablet portrait up */
@media (min-width: 600px) {
    .marketing-apply__headline {
        font-size: 32px;
    }
}

.marketing-apply__body {
    color: var(--light-gold);
    font-size: 16px;
    line-height: 1.5;
    max-width: 50ch;
    margin-top: 0.6rem;
    text-wrap: pretty;
}

.marketing-apply__actions {
    flex-shrink: 0;
}

/* For tablet landscape up — keep the action column from stretching too wide */
@media (min-width: 900px) {
    .marketing-apply__actions {
        max-width: 320px;
    }
}

/* White button on the green band — overrides the base .button (which is
   green-on-white and full width). */
.marketing-apply__cta.button {
    margin-top: 0;
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.marketing-apply__cta.button:hover {
    background-color: var(--light-gold);
    border-color: var(--light-gold);
    color: var(--primary-color-darkened);
    box-shadow: var(--shadow-md);
}

/* For tablet portrait up — size the button to its label rather than full width */
@media (min-width: 600px) {
    .marketing-apply__cta.button {
        display: inline-block;
        width: auto;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.marketing-apply__notice {
    color: var(--light-gold);
    font-size: 13.5px;
    line-height: 1.45;
    margin-top: 0.9rem;
}

.marketing-apply__notice a {
    color: var(--white);
    text-decoration: underline;
}

.marketing-apply__notice a:hover {
    color: var(--light-gold);
}
