/* ============================================ */
/* MarketingAssurance (DL-2606) */
/* ============================================ */

.marketing-assurance {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    /* App.css sets no font-family on <body>, and Destyle resets elements, so
       the <dd> detail text falls back to the browser serif. Anchor the whole
       component to Barlow; the <dt> term rule keeps its own header font. */
    font-family: var(--body-font-family);
}

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

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

.marketing-assurance__item {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

/* Horizontal dividers between stacked items on phone */
.marketing-assurance__item:not(:first-child) {
    border-top: 1px solid var(--border-color);
}

/* For tablet portrait up — switch to a row with vertical dividers */
@media (min-width: 600px) {
    .marketing-assurance__item {
        flex: 1;
        padding: 1.5rem 1.75rem;
    }

    .marketing-assurance__item:not(:first-child) {
        border-top: 0;
        border-left: 1px solid var(--border-color);
    }

    /* First item aligns to the container edge */
    .marketing-assurance__item:first-child {
        padding-left: 0;
    }

    .marketing-assurance__item:last-child {
        padding-right: 0;
    }
}

.marketing-assurance__term {
    color: var(--gray);
    font-family: var(--header-font-family);
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 0.25rem;
}

.marketing-assurance__detail {
    color: var(--black);
    font-size: 16px;
    line-height: 1.45;
    margin: 0;
    text-wrap: pretty;
}
