/* Denser desktop homepage. The existing mobile and portrait-tablet layout is untouched. */
@media (min-width: 981px) {
    .ee-site-main .ee-front-page .ee-home-guide {
        padding-block: 0;
    }

    .ee-site-main .ee-front-page .ee-home-hero.ee-home-hero--v2 {
        min-height: 385px;
        padding-block: 18px;
    }

    .ee-site-main .ee-front-page .ee-home-hero.ee-home-hero--v2 h1 {
        max-width: 760px;
        font-size: 38px;
        line-height: 1.08;
    }

    .ee-site-main .ee-front-page .ee-home-hero.ee-home-hero--v2 .ee-home-eyebrow {
        margin-bottom: 8px;
        font-size: 12px;
    }

    .ee-site-main .ee-front-page .ee-home-hero.ee-home-hero--v2 .ee-home-hero__lead {
        max-width: 720px;
        margin-top: 10px;
        margin-bottom: 0;
        font-size: 17px;
        line-height: 1.4;
    }

    .ee-site-main .ee-front-page .ee-home-hero.ee-home-hero--v2 .ee-home-hero__buttons {
        margin-top: 14px;
        gap: 10px;
    }

    .ee-site-main .ee-front-page .ee-home-hero.ee-home-hero--v2 .wp-block-button__link {
        min-height: 43px;
        padding: 8px 16px;
    }

    .ee-site-main .ee-front-page .ee-home-hero.ee-home-hero--v2 .ee-home-hero__facts {
        margin-top: 10px;
        gap: 6px 20px;
    }

    .ee-site-main .ee-front-page .ee-home-hero.ee-home-hero--v2 .ee-home-hero__facts p {
        margin: 0;
        font-size: 12px;
        line-height: 1.45;
    }

    .ee-site-main .ee-front-page .ee-home-guide__intro {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 34px;
        padding: 16px 0 18px;
    }

    .ee-site-main .ee-front-page .ee-home-guide__header > .ee-home-eyebrow {
        margin-bottom: 4px;
        font-size: 12px;
        line-height: 1.3;
    }

    .ee-site-main .ee-front-page .ee-home-guide__header h2 {
        margin-top: 5px;
        font-size: 32px;
        line-height: 1.08;
    }

    .ee-site-main .ee-front-page .ee-home-guide__header > p:last-child {
        margin-top: 7px;
        margin-bottom: 0;
        font-size: 14px;
        line-height: 1.4;
    }

    .ee-site-main .ee-front-page .ee-home-guide__promise {
        margin: 0;
        padding: 8px 0 8px 15px;
        font-size: 13px;
        line-height: 1.38;
    }

    .ee-site-main .ee-front-page .ee-home-guide__promise strong {
        margin-bottom: 3px;
        font-size: 14px;
    }

    .ee-site-main .ee-front-page .ee-home-guide__progress {
        margin: 0;
    }

    .ee-home-guide__progress li + li::before {
        top: 11px;
        bottom: 11px;
    }

    .ee-home-guide__progress button {
        min-height: 46px;
        gap: 8px;
        padding-inline: 16px;
    }

    .ee-home-guide__progress button::after {
        right: 16px;
        left: 16px;
    }

    .ee-home-guide__progress button span {
        font-size: 11px;
    }

    .ee-home-guide__progress button strong {
        font-size: 13px;
    }

    .ee-home-guide__step {
        padding: 18px 0 40px;
    }

    .ee-home-guide__question {
        margin-bottom: 10px;
    }

    .ee-home-guide__question p {
        font-size: 12px;
    }

    .ee-home-guide__question h3 {
        padding-top: 5px;
        font-size: 26px;
        line-height: 1.12;
    }

    .ee-home-guide__question span {
        padding-top: 6px;
        font-size: 14px;
        line-height: 1.4;
    }

    .ee-home-guide__choices--profiles {
        gap: 16px;
    }

    .ee-home-guide__choices--profiles .ee-home-guide__choice-media {
        height: 170px;
        aspect-ratio: auto;
        padding: 6px;
        background: #edf3f2;
    }

    .ee-home-guide__choices--profiles .ee-home-guide__choice-media img {
        object-fit: contain;
        object-position: center;
    }

    .ee-home-guide__choices--profiles .ee-home-guide__choice-body {
        min-height: 84px;
        padding: 13px 36px 14px 16px;
    }

    .ee-site-main .ee-front-page :is(
        .ee-home-families,
        .ee-home-catalogue,
        .ee-home-steps,
        .ee-home-story,
        .ee-home-seo,
        .ee-home-local,
        .ee-home-faq,
        .ee-home-reviews
    ) {
        padding-block: 34px;
    }

    .ee-front-page :is(
        .ee-home-families,
        .ee-home-catalogue,
        .ee-home-steps,
        .ee-home-story,
        .ee-home-seo,
        .ee-home-local,
        .ee-home-faq,
        .ee-home-reviews,
        .ee-home-final
    ) .ee-home-eyebrow {
        margin-bottom: 0;
    }

    .ee-front-page :is(
        .ee-home-families,
        .ee-home-catalogue,
        .ee-home-steps,
        .ee-home-story,
        .ee-home-seo,
        .ee-home-local,
        .ee-home-faq,
        .ee-home-reviews,
        .ee-home-final
    ) .ee-home-eyebrow + h2 {
        margin-top: 8px;
    }

    .ee-front-page :is(.ee-home-local, .ee-home-reviews) .ee-home-section__intro {
        margin-top: 0;
        margin-bottom: 0;
    }

    .ee-front-page .ee-home-family-grid,
    .ee-front-page .ee-home-catalogue .ee-product-grid {
        width: min(1180px, calc(100vw - 64px)) !important;
        max-width: 1180px !important;
        margin-right: auto !important;
        margin-left: 50% !important;
        transform: translateX(-50%);
    }

    .ee-front-page .ee-home-family-grid {
        margin-top: 20px;
        gap: 14px;
    }

    .ee-front-page .ee-home-family-card {
        border-top-width: 3px;
        box-shadow: 0 6px 18px rgba(18, 59, 93, 0.06);
    }

    .ee-front-page .ee-home-family-card__media {
        padding: 8px;
        background: #f3f7f7;
    }

    .ee-front-page .ee-home-family-card__body {
        min-height: 132px;
        padding: 13px 14px 15px;
    }

    .ee-front-page .ee-home-family-card__body small {
        margin-bottom: 4px;
        font-size: 10px;
        line-height: 1.25;
    }

    .ee-front-page .ee-home-family-card__body strong {
        font-size: 17px;
        line-height: 1.22;
    }

    .ee-front-page .ee-home-family-card__body > span {
        display: -webkit-box;
        margin-top: 7px;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.4;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .ee-front-page .ee-home-catalogue .ee-auto-catalogue {
        margin-top: 22px;
    }

    .ee-front-page .ee-home-catalogue .ee-product-grid {
        gap: 16px;
    }

    .ee-front-page .ee-home-catalogue .ee-product-card {
        grid-template-rows: auto 1fr;
    }

    .ee-front-page .ee-home-catalogue .ee-product-card__media {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        padding: 8px;
    }

    .ee-front-page .ee-home-catalogue .ee-product-card__image {
        inset: 8px;
        width: calc(100% - 16px);
        height: calc(100% - 16px);
        object-fit: contain;
    }

    .ee-front-page .ee-home-catalogue .ee-product-card__body {
        padding: 12px 13px 13px;
    }

    .ee-front-page .ee-home-catalogue .ee-product-card__chips {
        margin-bottom: 6px;
        gap: 5px;
    }

    .ee-front-page .ee-home-catalogue .ee-product-card h2 {
        margin-bottom: 5px;
        font-size: 17px;
        line-height: 1.24;
    }

    .ee-front-page .ee-home-catalogue .ee-product-card__excerpt {
        display: -webkit-box;
        margin-bottom: 8px;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.4;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .ee-front-page .ee-home-catalogue .ee-product-card__excerpt p {
        margin-bottom: 0;
    }

    .ee-front-page .ee-home-catalogue .ee-product-card__footer {
        gap: 6px;
    }

    .ee-front-page .ee-home-catalogue .ee-product-card__configure {
        min-height: 38px;
        padding: 7px 10px;
    }

    .ee-front-page .ee-home-catalogue__actions {
        margin-top: 22px;
    }

    .ee-front-page .ee-home-steps--v2 .wp-block-columns.ee-home-step-grid {
        margin-top: 22px !important;
        gap: 14px;
    }

    .ee-front-page .ee-home-steps--v2 .ee-home-step-grid .wp-block-column {
        padding: 18px;
    }

    .ee-front-page .ee-home-story__layout {
        gap: 36px;
    }

    .ee-front-page .ee-home-story__lead {
        margin-bottom: 14px;
        font-size: 17px;
        line-height: 1.48;
    }

    .ee-front-page .ee-home-story__content > p:not(.ee-home-eyebrow):not(.ee-home-story__lead):not(.ee-home-story__link) {
        margin-bottom: 14px;
    }

    .ee-front-page .ee-home-story__content > .ee-home-checks {
        margin-bottom: 0;
    }

    .ee-front-page .ee-home-story__link {
        margin-top: 16px;
    }

    .ee-front-page .ee-home-seo--v2 .wp-block-columns {
        gap: 38px;
    }

    .ee-front-page .ee-home-seo__points {
        padding: 20px 22px;
    }

    .ee-front-page .ee-home-seo__points p {
        margin-bottom: 0;
    }

    .ee-front-page .ee-home-seo__points p + p {
        margin-top: 12px;
    }

    .ee-front-page .wp-block-columns.ee-home-local__grid {
        margin-top: 22px;
        gap: 18px;
    }

    .ee-front-page .ee-home-map {
        height: 240px;
    }

    .ee-front-page .ee-home-map-card__body {
        padding: 18px 20px 20px;
    }

    .ee-front-page .ee-home-local .ee-home-delivery__tool {
        padding: 20px;
    }

    .ee-front-page .ee-home-faq__list {
        margin-top: 20px;
        gap: 10px;
    }

    .ee-front-page .ee-home-faq summary {
        padding: 14px 44px 14px 16px;
    }

    .ee-site-main .ee-front-page .ee-home-faq {
        padding-block: 40px;
    }

    .ee-front-page .ee-home-reviews--v2 .wp-block-columns {
        gap: 36px;
    }

    .ee-site-main .ee-front-page .ee-home-reviews--v2 {
        padding-block: 32px;
    }

    .ee-front-page .ee-google-reviews-widget {
        margin-top: 20px;
    }

    .ee-front-page .ee-google-reviews-fallback {
        margin-top: 20px;
        padding: 20px;
    }

    .ee-site-main .ee-front-page .ee-home-final--v2 {
        padding-block: 36px;
    }

    .ee-front-page .ee-home-final__contact {
        margin-top: 14px;
        margin-bottom: 0;
        font-size: 18px;
    }

    .ee-front-page .ee-home-final--v2 .ee-home-final__contact + .wp-block-buttons {
        margin-top: 20px;
    }

    .ee-front-page .ee-home-final--v2 h2 + p {
        margin-bottom: 0;
    }
}

@media (min-width: 981px) and (max-width: 1199px) {
    .ee-front-page .ee-home-family-grid,
    .ee-front-page .ee-home-catalogue .ee-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) and (max-width: 1279px) {
    .ee-front-page .ee-home-family-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .ee-front-page .ee-home-catalogue .ee-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) and (max-width: 1439px) {
    .ee-front-page .ee-home-family-grid,
    .ee-front-page .ee-home-catalogue .ee-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1440px) {
    .ee-front-page .ee-home-family-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .ee-front-page .ee-home-catalogue .ee-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
