/* Cache-safe critical layout fixes for Afición CR 0.7.14. */
.lgc-app .lgc-hero .lgc-hero-copy h1 {
    line-height: .82 !important;
}

body.lgc-hub-page {
    margin-bottom: 0 !important;
    background-color: #f3f6f4 !important;
}

body.lgc-hub-page .lgc-app {
    min-height: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 24px !important;
}

body.lgc-hub-page .entry-content:has(.lgc-app),
body.lgc-hub-page .post-content:has(.lgc-app),
body.lgc-hub-page article:has(.lgc-app),
body.lgc-hub-page #main-content:has(.lgc-app),
body.lgc-hub-page .site-main:has(.lgc-app),
body.lgc-hub-page .wp-site-blocks:has(.lgc-app),
body.lgc-hub-page .et_pb_section:has(.lgc-app),
body.lgc-hub-page .et_pb_row:has(.lgc-app),
body.lgc-hub-page .et_pb_column:has(.lgc-app),
body.lgc-hub-page .et_pb_module:has(.lgc-app),
body.lgc-hub-page .et_pb_text_inner:has(.lgc-app),
body.lgc-hub-page .elementor:has(.lgc-app),
body.lgc-hub-page .elementor-section:has(.lgc-app),
body.lgc-hub-page .elementor-container:has(.lgc-app),
body.lgc-hub-page .elementor-widget-container:has(.lgc-app) {
    min-height: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

@media (min-width: 821px) {
    .lgc-app .lgc-carousel {
        display: flex !important;
        grid-auto-flow: unset !important;
        grid-auto-columns: unset !important;
        grid-template-columns: none !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
    }

    .lgc-app .lgc-carousel > article.lgc-message {
        display: block !important;
        flex: 0 0 calc(100% - 120px) !important;
        width: calc(100% - 120px) !important;
        min-width: calc(100% - 120px) !important;
        max-width: calc(100% - 120px) !important;
        scroll-snap-align: start !important;
    }
}

@media (max-width: 820px) {
    .lgc-app .lgc-hero .lgc-hero-copy h1 {
        line-height: .86 !important;
    }
}
