.km-footer {
    background: #212121;
    color: #fff;
    width: 100%;
}

.km-footer *,
.km-footer *::before,
.km-footer *::after {
    box-sizing: border-box;
}

.km-footer a {
    text-decoration: none;
}

.km-footer__inner {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.km-footer-nav__panel,
.km-footer-legal__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Desktop */
@media (min-width: 1024px) {
    .km-footer {
        padding: 70px 0 146px;
    }

    /* 1440 design: content runs from x=127 to x=1327 (1200px). */
    .km-footer-nav {
        display: grid;
        grid-template-columns: 18.9167% 23.5833% 20.6667% 17.3333% 19.5%;
        align-items: start;
        margin: 0 0 48px;
    }

    .km-footer-nav__column {
        min-width: 0;
    }

    .km-footer-nav__heading {
        margin: 0 0 18px;
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: 1.1px;
        text-transform: uppercase;
    }

    .km-footer-nav__panel li {
        margin: 0;
        padding: 0;
        line-height: 1;
    }

    .km-footer-nav__panel a {
        display: inline-block;
        color: #aaa;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        transition: color 0.18s ease;
    }

    .km-footer-nav__panel a:hover,
    .km-footer-nav__panel a:focus-visible {
        color: #fff;
    }

    .km-footer__divider {
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, 0.9);
    }

    .km-footer__brand-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        min-height: 129px;
        margin-top: 39px;
    }

    .km-footer__bbb-wrap {
        width: 315px;
    }

    .km-footer__bbb-link {
        display: block;
    }

    .km-footer__bbb {
        display: block;
        width: 315px;
        height: auto;
    }

    .km-footer__social {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6.4103px;
        width: 474px;
        margin-top: 10px;
        padding: 1.2821px;
    }

    .km-footer__social > a {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        min-width: 36px;
        margin: 0;
        padding: 0;
        border-radius: 0;
        background: transparent;
        color: #212121;
        line-height: 1;
        overflow: visible;
    }

    .km-footer__social a svg {
        width: 18px;
        height: 18px;
        fill: #212121;
    }

    .km-footer__social a img {
        display: block;
        width: 36px;
        height: 36px;
        object-fit: contain;
    }

    .km-footer__content-row {
        display: grid;
        grid-template-columns: 620px minmax(0, 1fr);
        grid-template-rows: auto auto auto auto;
        column-gap: 70px;
        align-items: start;
        margin-top: 27px;
    }

    /* Allow the inner footer pieces to participate in the main grid */
    .km-footer__content,
    .km-footer__contact {
        display: contents;
    }

    .km-footer__question {
        grid-column: 1;
        grid-row: 1;
    }

    .km-footer__disclaimer {
        grid-column: 1;
        grid-row: 2;
    }

    .km-footer__bottom {
        grid-column: 1;
        grid-row: 3;
    }

    .km-footer__logo {
        grid-column: 1;
        grid-row: 4;
    }

    .km-footer__question {
        margin: 0 0 34px;
        color: #fff;
        font-size: 24px;
        font-weight: 300;
        line-height: 1.25;
    }

    .km-footer__question strong {
        font-weight: 400;
    }

    .km-footer__question a {
        color: #aaa;
        font-weight: 300;
    }

    .km-footer__question a:hover,
    .km-footer__question a:focus-visible {
        color: #fff;
    }

    .km-footer__disclaimer {
        max-width: 600px;
        color: #fff;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.5;
    }

    .km-footer__disclaimer p {
        margin: 0;
    }

    .km-footer__disclaimer p + p {
        margin-top: 20px;
    }

    .km-footer__bottom {
        margin-top: 72px;
    }

    .km-footer-legal,
    .km-footer-legal__list {
        margin: 0;
        padding: 0;
    }

    .km-footer-legal__list {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0;
    }

    .km-footer-legal__list > li {
        display: inline-flex;
        align-items: center;
        margin: 0;
        padding: 0;
        color: #fff;
        font-size: 13px;
        line-height: 20px;
    }

    .km-footer-legal__list > li:not(:last-child)::after {
        content: "|";
        margin: 0 5px;
        color: #fff;
    }

    .km-footer-legal__list a {
        color: #fff;
        font-size: 13px;
        line-height: 20px;
    }

    .km-footer-legal__list a:hover,
    .km-footer-legal__list a:focus-visible {
        text-decoration: underline;
        text-underline-offset: 2px;
    }

    .km-footer__copyright {
        margin: 18px 0 0;
        color: #fff;
        font-size: 12px;
        line-height: 18px;
    }

    .km-footer__logo {
        display: block;
        width: 255px;
        height: auto;
        margin-top: 34px;
    }

    .km-footer__mojo-image {
        grid-column: 2;
        grid-row: 2;

        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
        min-width: 0;
    }

    .km-footer__mojo-image img {
        display: block;
        width: min(450px, 100%);
        height: auto;
        border: 0;
    }
}

/*
 * Legacy styles.css compatibility.
 * These selectors intentionally include .wrapper-outer so generic legacy rules such as
 * .wrapper-outer p, .wrapper-outer h3, .wrapper-outer ul and
 * .wrapper-outer a:not(.cust-btn) cannot override the redesigned footer.
 */
.wrapper-outer .km-footer {
    font-family: Lato, sans-serif;
}

.wrapper-outer .km-footer .km-footer-nav__heading {
    font-family: Lato, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    margin: 0 0 18px;
    padding: 0;
    display: block;
    position: static;
    z-index: auto;
    color: #fff;
}

.wrapper-outer .km-footer .km-footer-nav__panel,
.wrapper-outer .km-footer .km-footer-legal__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wrapper-outer .km-footer .km-footer-nav__panel a:not(.cust-btn) {
    position: static;
    color: #aaa;
    font-size: 14px;
    font-weight: 400;
    line-height: 35px;
    text-decoration: none;
}

.wrapper-outer .km-footer .km-footer-nav__panel a:not(.cust-btn):hover,
.wrapper-outer .km-footer .km-footer-nav__panel a:not(.cust-btn):focus-visible {
    color: #fff;
    text-decoration: none;
}

.wrapper-outer .km-footer .km-footer__question {
    margin: 0 0 34px;
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.25;
}

.wrapper-outer .km-footer .km-footer__question strong {
    font-weight: 400 !important;
}

.wrapper-outer .km-footer .km-footer__question a:not(.cust-btn) {
    position: static;
    color: #aaa;
    font-size: inherit;
    font-weight: 300;
    line-height: inherit;
    text-decoration: none;
}

.wrapper-outer .km-footer .km-footer__question a:not(.cust-btn):hover,
.wrapper-outer .km-footer .km-footer__question a:not(.cust-btn):focus-visible {
    color: #fff;
    text-decoration: none;
}

.wrapper-outer .km-footer .km-footer__disclaimer,
.wrapper-outer .km-footer .km-footer__disclaimer p {
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.wrapper-outer .km-footer .km-footer__disclaimer p {
    margin: 0;
}

.wrapper-outer .km-footer .km-footer__disclaimer p + p {
    margin-top: 20px;
}

.wrapper-outer .km-footer .km-footer-legal__list > li {
    font-size: 13px;
    line-height: 20px;
}

.wrapper-outer .km-footer .km-footer-legal__list a:not(.cust-btn) {
    position: static;
    color: #fff;
    font-size: 13px;
    line-height: 20px;
    text-decoration: none;
}

.wrapper-outer .km-footer .km-footer-legal__list a:not(.cust-btn):hover,
.wrapper-outer .km-footer .km-footer-legal__list a:not(.cust-btn):focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.wrapper-outer .km-footer .km-footer__copyright {
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    margin: 18px 0 0;
}

/*
 * Compatibility layer for the legacy global styles.css.
 * Keep styles.css untouched; all legacy overrides are contained to this footer only.
 */
.wrapper-outer .km-footer,
.wrapper-outer .km-footer * {
    box-sizing: border-box;
}

.wrapper-outer .km-footer p,
.wrapper-outer .km-footer ul,
.wrapper-outer .km-footer li {
    padding-left: 0;
}

.wrapper-outer .km-footer .km-footer-nav__panel,
.wrapper-outer .km-footer .km-footer-legal__list {
    font-weight: 400;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wrapper-outer .km-footer .km-footer-nav__panel li,
.wrapper-outer .km-footer .km-footer-legal__list li {
    list-style: none;
}

.wrapper-outer .km-footer .km-footer__social a:not(.cust-btn) {
    position: static;
    color: #212121;
    text-decoration: none;
}

.wrapper-outer .km-footer .km-footer__social a:not(.cust-btn):hover,
.wrapper-outer .km-footer .km-footer__social a:not(.cust-btn):focus-visible {
    color: #212121;
    text-decoration: none;
}

.wrapper-outer .km-footer .km-footer__social img {
    max-width: none;
    margin: 0;
    padding: 0;
}

.wrapper-outer .km-footer .km-footer__logo,
.wrapper-outer .km-footer .km-footer__mojo-image img {
    max-width: 100%;
}

.wrapper-outer .km-footer .km-footer__bbb {
    max-width: 50%;
}
/*
 * Keto-Mojo footer - mobile/tablet extension
 * Reference: supplied 390px mobile design.
 * Append AFTER the desktop footer CSS / compatibility layer.
 */

/* Button reset required because footer headings become accessible accordion toggles. */
.wrapper-outer .km-footer .km-footer-nav__toggle {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-align: left;
    text-transform: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.km-footer-nav__icon {
    display: none;
}

@media (max-width: 1023px) {
    .wrapper-outer .km-footer {
        padding: 25px 0 20px;
        background: #212121;
        color: #fff;
    }

    .wrapper-outer .km-footer .km-footer__inner {
        width: calc(100% - 40px);
        max-width: none;
        margin: 0 auto;
    }

    /* Accordion navigation: 350px wide at the 390px design viewport. */
    .wrapper-outer .km-footer .km-footer-nav {
        display: block;
        width: 100%;
        margin: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.95);
    }

    .wrapper-outer .km-footer .km-footer-nav__column {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.95);
    }

    .wrapper-outer .km-footer .km-footer-nav__heading {
        display: block;
        position: static;
        z-index: auto;
        margin: 0;
        padding: 0;
        color: #fff;
        font-family: "Inter", sans-serif;
        font-size: 16px;
        font-weight: 700;
        line-height: 1;
        letter-spacing: 1.1px;
        text-transform: uppercase;
    }

    .wrapper-outer .km-footer .km-footer-nav__toggle {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
        height: 56px;
        padding: 0 34px 0 0;
        cursor: pointer;
    }

    /* The open Benefits row is shorter in the reference before its link list begins. */
    .wrapper-outer .km-footer .km-footer-nav__column.is-open .km-footer-nav__toggle {
        height: 44px;
    }

    .wrapper-outer .km-footer .km-footer-nav__toggle:focus-visible {
        outline: 2px solid #0fb3d0;
        outline-offset: -2px;
    }

    /* 20px x 20px plus, matching the supplied SVG. */
    .wrapper-outer .km-footer .km-footer-nav__icon {
        position: absolute;
        top: 50%;
        right: 1px;
        display: block;
        width: 20px;
        height: 20px;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .wrapper-outer .km-footer .km-footer-nav__icon::before,
    .wrapper-outer .km-footer .km-footer-nav__icon::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        display: block;
        background: #fff;
        transform: translate(-50%, -50%);
    }

    .wrapper-outer .km-footer .km-footer-nav__icon::before {
        width: 20px;
        height: 5px;
    }

    .wrapper-outer .km-footer .km-footer-nav__icon::after {
        width: 5px;
        height: 20px;
    }

    .wrapper-outer .km-footer .km-footer-nav__column.is-open .km-footer-nav__icon::after {
        display: none;
    }

    .wrapper-outer .km-footer .km-footer-nav__panel {
        display: none;
        margin: 0;
        padding: 12px 0 9px;
        list-style: none;
    }

    .wrapper-outer .km-footer .km-footer-nav__column.is-open .km-footer-nav__panel {
        display: block;
    }

    .wrapper-outer .km-footer .km-footer-nav__panel li {
        min-height: 23px;
        margin: 0;
        padding: 0;
        line-height: 23px;
    }

    .wrapper-outer .km-footer .km-footer-nav__panel a:not(.cust-btn) {
        display: inline-block;
        position: static;
        margin: 0;
        padding: 0;
        color: #b3b3b3;
        font-family: "Inter", sans-serif;
        font-size: 15px;
        font-weight: 400;
        line-height: 35px;
        text-decoration: none;
    }

    .wrapper-outer .km-footer .km-footer-nav__panel a:not(.cust-btn):hover,
    .wrapper-outer .km-footer .km-footer-nav__panel a:not(.cust-btn):focus-visible {
        color: #fff;
        text-decoration: none;
    }

    /* Desktop divider is replaced by the accordion borders on mobile. */
    .wrapper-outer .km-footer .km-footer__divider {
        display: none;
    }

    /* BBB + social section. */
    .wrapper-outer .km-footer .km-footer__brand-row {
        display: block;
        min-height: 0;
        margin-top: 20px;
    }

    .wrapper-outer .km-footer .km-footer__bbb-link {
        display: block;
    }

    .wrapper-outer .km-footer .km-footer__bbb {
        display: block;
        width: 100%;
        max-width: none;
        height: auto;
        margin: 0;
    }

    /* The current shortcode outputs anchors directly; display:contents also supports ul/li wrappers. */
    .wrapper-outer .km-footer .km-footer__social {
        display: grid;
        grid-template-columns: repeat(4, 58.899px);
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-top: 18px;
        padding: 0;
        row-gap: 17px;
    }

    .wrapper-outer .km-footer .km-footer__social > a:not(.cust-btn) {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 58.899px;
        height: 58.899px;
        min-width: 58.899px;
        margin: 0;
        padding: 0;
        overflow: visible;
        border-radius: 0;
        background: transparent;
        color: #353535;
        line-height: 1;
        text-decoration: none;
    }

    .wrapper-outer .km-footer .km-footer__social > a:not(.cust-btn):hover,
    .wrapper-outer .km-footer .km-footer__social > a:not(.cust-btn):focus-visible {
        color: #353535;
        text-decoration: none;
        transform: none;
    }

    .wrapper-outer .km-footer .km-footer__social > a img {
        display: block;
        width: 58.899px;
        height: 58.899px;
        max-width: none;
        margin: 0;
        padding: 0;
        object-fit: contain;
    }

    /* Mobile content order is Mojo image, contact, disclaimer, legal, logo. */
    .wrapper-outer .km-footer .km-footer__content-row {
        display: flex;
        flex-direction: column;
        width: min(350px, 100%);
        margin: 39px 0 0;
    }

    .wrapper-outer .km-footer .km-footer__mojo-image {
        order: -1;
        display: block;
        width: 100%;
        margin: 0 0 60px;
    }

    .wrapper-outer .km-footer .km-footer__mojo-image img {
        display: block;
        width: min(347px, 100%);
        height: auto;
        margin: 0;
        border: 0;
        border-radius: 29px;
    }

    .wrapper-outer .km-footer .km-footer__content {
        width: 100%;
        min-width: 0;
    }

    .wrapper-outer .km-footer .km-footer__question {
        margin: 0 0 36px;
        padding: 0;
        color: #fff;
        font-family: "Inter", sans-serif;
        font-size: 20px;
        font-weight: 300;
        line-height: 25px;
    }

    .wrapper-outer .km-footer .km-footer__question strong {
        font-weight: 400 !important;
    }

    .wrapper-outer .km-footer .km-footer__question a:not(.cust-btn) {
        position: static;
        color: #b3b3b3;
        font-size: inherit;
        font-weight: 300;
        line-height: inherit;
        text-decoration: none;
    }

    .wrapper-outer .km-footer .km-footer__question a:not(.cust-btn):hover,
    .wrapper-outer .km-footer .km-footer__question a:not(.cust-btn):focus-visible {
        color: #fff;
        text-decoration: none;
    }

    .wrapper-outer .km-footer .km-footer__disclaimer,
    .wrapper-outer .km-footer .km-footer__disclaimer p {
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        color: #fff;
        font-family: "Inter", sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 18px;
    }

    .wrapper-outer .km-footer .km-footer__disclaimer p {
        margin-top: 0;
        margin-bottom: 0;
    }

    .wrapper-outer .km-footer .km-footer__disclaimer p + p {
        margin-top: 20px;
    }

    .wrapper-outer .km-footer .km-footer__bottom {
        margin: 20px 0 0;
    }

    .wrapper-outer .km-footer .km-footer-legal,
    .wrapper-outer .km-footer .km-footer-legal__list {
        display: block;
        margin: 0;
        padding: 0;
    }

    .wrapper-outer .km-footer .km-footer-legal__list > li {
        display: block;
        margin: 0;
        padding: 0;
        font-size: 16px;
        line-height: 23px;
    }

    .wrapper-outer .km-footer .km-footer-legal__list > li::after {
        display: none;
        content: none;
    }

    .wrapper-outer .km-footer .km-footer-legal__list a:not(.cust-btn) {
        display: inline-block;
        position: static;
        margin: 0;
        padding: 0;
        color: #fff;
        font-family: "Inter", sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 23px;
        text-decoration: none;
    }

    .wrapper-outer .km-footer .km-footer-legal__list a:not(.cust-btn):hover,
    .wrapper-outer .km-footer .km-footer-legal__list a:not(.cust-btn):focus-visible {
        color: #fff;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

    .wrapper-outer .km-footer .km-footer__copyright {
        margin: 12px 0 0;
        padding: 0;
        color: #fff;
        font-family: "Inter", sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 18px;
    }

    .wrapper-outer .km-footer .km-footer__logo {
        display: block;
        width: 180px;
        max-width: 100%;
        height: auto;
        margin: 26px 0 0;
    }
}

body > img[src*="insight.adsrvr.org/track/pxl/"] {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
}

/* Footer navigation + contact typography */
.wrapper-outer .km-footer .km-footer-nav__heading,
.wrapper-outer .km-footer .km-footer-nav__toggle,
.wrapper-outer .km-footer .km-footer-nav__panel a:not(.cust-btn),
.wrapper-outer .km-footer .km-footer__question,
.wrapper-outer .km-footer .km-footer__question strong,
.wrapper-outer .km-footer .km-footer__question a:not(.cust-btn) {
    font-family: Lato, sans-serif;
}

/* =========================================================
   Newsletter
   ========================================================= */

.wrapper-outer .km-newsletter,
.wrapper-outer .km-newsletter *,
.wrapper-outer .km-newsletter *::before,
.wrapper-outer .km-newsletter *::after {
    box-sizing: border-box;
}

.wrapper-outer .km-newsletter {
    width: 100%;
    margin: 0;
    padding: 44px 24px;

    background:     linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.2) 21%,
        rgba(33, 33, 33, 0.2) 100%
    ),
    #fff;

    color: #212529;
    font-family: Lato, sans-serif;
    overflow: hidden;
}

.wrapper-outer .km-newsletter__inner {
    display: grid;
    grid-template-columns: 300px minmax(0, 750px);
    gap: 96px;
    align-items: center;

    width: min(1200px, 100%);
    min-height: 352px;
    margin: 0 auto;
}


/* Ebook image */
.wrapper-outer .km-newsletter__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.wrapper-outer .km-newsletter__image {
    display: block;

    width: 300px;
    max-width: 100%;
    height: auto;

    margin: 0;
}


/* Copy */
.wrapper-outer .km-newsletter__content {
    width: 100%;
    min-width: 0;
}

.wrapper-outer .km-newsletter__title {
    max-width: 750px;

    margin: 0;
    padding: 0;

    color: #212529;

    font-family: Lato, sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.wrapper-outer .km-newsletter__intro {
    margin: 20px 0 30px;
    padding: 0;

    color: #212529;

    font-family: Lato, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
}


/* =========================================================
   Klaviyo
   ========================================================= */

.wrapper-outer .km-newsletter__form {
    width: 100%;
}

.wrapper-outer .km-newsletter #klaviyo-form,
.wrapper-outer .km-newsletter #klaviyo-form form {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* Inputs */
.wrapper-outer .km-newsletter #klaviyo-form input {
    width: 100% !important;
    height: 61px !important;

    margin: 0 !important;
    padding: 0 42px !important;

    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    outline: 0;

    background: #fff !important;
    color: #54565a !important;

    font-family: Lato, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 61px !important;
}

.wrapper-outer .km-newsletter #klaviyo-form input::placeholder {
    color: #54565a !important;
    opacity: 1;
}

.wrapper-outer .km-newsletter #klaviyo-form input:focus {
    outline: 2px solid #54565a;
    outline-offset: 2px;
}


/* Submit */
.wrapper-outer .km-newsletter #klaviyo-form button {
    box-shadow: none !important;
    border-radius: 999px !important;
}


/* Legal / privacy copy */
.wrapper-outer .km-newsletter #klaviyo-form p {
    color: #212529 !important;
    font-family: Lato, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
}

.wrapper-outer .km-newsletter #klaviyo-form p a {
    color: inherit !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}


/* Cookie-consent fallback */
.wrapper-outer .km-newsletter #video-cookie-message {
    width: 100%;
    margin: 0;
}

.wrapper-outer .km-newsletter #video-cookie-message h2,
.wrapper-outer .km-newsletter #video-cookie-message p {
    color: #212529;
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 1023px) {
    .wrapper-outer .km-newsletter {
        padding: 48px 32px;
    }

    .wrapper-outer .km-newsletter__inner {
        grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
        gap: 48px;
        min-height: 0;
    }

    .wrapper-outer .km-newsletter__title {
        font-size: clamp(28px, 3.5vw, 36px);
    }
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {
    .wrapper-outer .km-newsletter {
        padding: 40px 20px;
    }

    .wrapper-outer .km-newsletter__inner {
        display: flex;
        flex-direction: column;
        gap: 32px;

        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }

    .wrapper-outer .km-newsletter__media {
        width: 100%;
    }

    .wrapper-outer .km-newsletter__image {
        width: min(260px, 75vw);
    }

    .wrapper-outer .km-newsletter__content {
        text-align: left;
    }

    .wrapper-outer .km-newsletter__title {
        font-size: 28px;
        line-height: 1.2;
        letter-spacing: -0.25px;
    }

    .wrapper-outer .km-newsletter__intro {
        margin: 16px 0 24px;
        font-size: 18px;
    }

    .wrapper-outer .km-newsletter #klaviyo-form input {
        height: 56px !important;
        padding: 0 26px !important;
        line-height: 56px !important;
    }
}