/* Compact the desktop homepage after the universe directory. */
@media (min-width: 981px) {
    .ee-site-main .ee-front-page :is(
        .ee-home-catalogue,
        .ee-home-steps,
        .ee-home-story,
        .ee-home-seo,
        .ee-home-local,
        .ee-home-faq,
        .ee-home-reviews
    ) {
        padding-block: 26px;
    }

    .ee-front-page :is(
        .ee-home-catalogue,
        .ee-home-steps,
        .ee-home-local,
        .ee-home-faq,
        .ee-home-reviews
    ) .ee-home-section__intro {
        margin-top: 7px;
        margin-bottom: 0;
        font-size: 14px;
        line-height: 1.45;
    }

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

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

    .ee-front-page .ee-home-catalogue .ee-product-card {
        min-height: 330px;
    }

    .ee-front-page .ee-home-catalogue .ee-product-card__media {
        height: 145px;
        aspect-ratio: auto;
        padding: 6px;
    }

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

    .ee-front-page .ee-home-catalogue .ee-product-card__body {
        padding: 9px 11px 10px;
    }

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

    .ee-front-page .ee-home-catalogue .ee-product-card .ee-value-chip {
        min-height: 27px;
        padding: 4px 7px;
        font-size: 12px;
        line-height: 1.2;
    }

    .ee-front-page .ee-home-catalogue .ee-product-card h2 {
        margin-bottom: 4px;
        font-size: 16px;
        line-height: 1.2;
    }

    .ee-front-page .ee-home-catalogue .ee-product-card__excerpt {
        margin-bottom: 6px;
        font-size: 13px;
        line-height: 1.4;
        -webkit-line-clamp: 2;
    }

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

    .ee-front-page .ee-home-catalogue .ee-product-card__link {
        font-size: 13px;
    }

    .ee-front-page .ee-home-catalogue .ee-product-card__configure,
    .ee-front-page .ee-home-catalogue .ee-product-picker--card .ee-selection-add {
        min-height: 34px;
        padding: 6px 8px;
        font-size: 13px;
        line-height: 1.2;
    }

    .ee-front-page .ee-home-catalogue .ee-product-picker--card {
        gap: 5px;
    }

    .ee-front-page .ee-home-catalogue .ee-product-picker--card .ee-quantity-stepper {
        width: 82px;
        min-width: 82px;
        height: 34px;
        grid-template-columns: 24px 34px 24px;
    }

    .ee-front-page .ee-home-catalogue .ee-product-picker--card .ee-quantity-stepper button,
    .ee-front-page .ee-home-catalogue .ee-product-picker--card .ee-quantity-stepper input {
        height: 32px;
        font-size: 14px;
    }

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

    .ee-front-page .ee-home-catalogue__actions .wp-block-button__link {
        min-height: 40px;
        padding: 8px 15px;
    }

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

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

    .ee-front-page .ee-home-steps--v2 .ee-home-step-number {
        margin-bottom: 5px;
    }

    .ee-front-page .ee-home-steps--v2 .ee-home-step-grid h3 {
        margin-bottom: 5px;
        font-size: 19px;
    }

    .ee-front-page .ee-home-steps--v2 .ee-home-step-grid p:last-child {
        margin-bottom: 0;
        font-size: 14px;
        line-height: 1.4;
    }

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

    .ee-front-page .ee-home-story__image,
    .ee-front-page .ee-home-story__video {
        aspect-ratio: 16 / 9;
    }

    .ee-front-page .ee-home-story__lead {
        margin-bottom: 9px;
        font-size: 16px;
        line-height: 1.42;
    }

    .ee-front-page .ee-home-story__content > p:not(.ee-home-eyebrow):not(.ee-home-story__lead):not(.ee-home-story__link) {
        margin-bottom: 9px;
        font-size: 14px;
        line-height: 1.45;
    }

    .ee-front-page .ee-home-story__content > .ee-home-checks {
        gap: 5px;
        font-size: 14px;
        line-height: 1.4;
    }

    .ee-front-page .ee-home-story__link {
        margin-top: 10px;
        margin-bottom: 0;
    }

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

    .ee-front-page .ee-home-seo--v2 p {
        margin-bottom: 0;
        font-size: 14px;
        line-height: 1.5;
    }

    .ee-front-page .ee-home-seo__points {
        padding: 15px 18px;
    }

    .ee-front-page .ee-home-seo__points h3 {
        margin-bottom: 7px;
        font-size: 20px;
    }

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

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

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

    .ee-front-page .ee-home-map-card__body {
        padding: 13px 16px 15px;
    }

    .ee-front-page .ee-home-map-card__body h3,
    .ee-front-page .ee-home-local .ee-home-delivery__tool > h3 {
        font-size: 20px;
    }

    .ee-front-page .ee-home-map-card__body p,
    .ee-front-page .ee-home-local .ee-home-delivery__tool > p {
        margin-top: 7px;
        margin-bottom: 0;
        font-size: 14px;
        line-height: 1.45;
    }

    .ee-front-page .ee-home-map-card__body p + p {
        margin-top: 7px;
    }

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

    .ee-front-page .ee-home-local .ee-delivery-form {
        margin-top: 12px;
    }

    .ee-front-page .ee-home-local .ee-delivery-result {
        margin-top: 12px;
        padding: 12px;
    }

    .ee-front-page .ee-home-faq__list {
        margin-top: 14px;
        gap: 7px;
    }

    .ee-front-page .ee-home-faq summary {
        min-height: 0;
        padding: 11px 42px 11px 14px;
        font-size: 15px;
        line-height: 1.35;
    }

    .ee-site-main .ee-front-page .ee-home-catalogue,
    .ee-site-main .ee-front-page .ee-home-local {
        padding-block: 22px;
    }

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

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

    .ee-front-page .ee-google-reviews-widget,
    .ee-front-page .ee-google-reviews-fallback {
        margin-top: 14px;
    }

    .ee-front-page .ee-google-reviews-fallback {
        padding: 16px;
    }

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

    .ee-front-page .ee-home-final--v2 h2 {
        font-size: 28px;
        line-height: 1.18;
    }

    .ee-front-page .ee-home-final--v2 h2 + p {
        margin-top: 7px;
        font-size: 15px;
        line-height: 1.45;
    }

    .ee-front-page .ee-home-final__contact {
        margin-top: 10px;
        font-size: 17px;
    }

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

    .ee-front-page .ee-home-final--v2 .wp-block-button__link {
        min-height: 40px;
        padding: 8px 15px;
    }

    .ee-site-footer__grid {
        gap: 36px;
        padding-block: 24px 18px;
    }

    .ee-site-footer strong {
        margin-bottom: 8px;
        font-size: 17px;
    }

    .ee-site-footer__brand p {
        margin-bottom: 14px;
    }

    .ee-site-footer__bottom {
        min-height: 50px;
    }

    .ee-front-page :is(
        .ee-home-catalogue,
        .ee-home-steps,
        .ee-home-local,
        .ee-home-faq,
        .ee-home-reviews
    ) > .alignwide,
    .ee-front-page .ee-home-story > .ee-home-story__layout,
    .ee-front-page .ee-home-seo--v2 > .alignwide {
        width: min(1080px, calc(100vw - 64px)) !important;
        max-width: 1080px !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

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

    .ee-site-footer__grid,
    .ee-site-footer__bottom {
        width: min(1080px, calc(100vw - 64px));
        max-width: 1080px;
        margin-right: auto;
        margin-left: auto;
    }
}
