/* Homepage: content determines height; never hide the reading links. */
body.home .chess_wrap { overflow: visible; }
body.home article.post_layout_chess.category-pillole {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    height: auto !important;
    overflow: visible;
}
body.home article.post_layout_chess.category-pillole > .post_featured {
    grid-column: 2;
    grid-row: 1;
    float: none;
    width: 100%;
    margin: 0;
}
body.home article.post_layout_chess.category-pillole .post_inner {
    position: static;
    grid-column: 1;
    grid-row: 1;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 1.5rem 0;
    transform: none;
}
body.home article.post_layout_chess.category-pillole .post_inner_content {
    padding: 0 clamp(1rem, 3vw, 3rem);
}
body.home article.post_layout_chess.category-pillole :is(.post_content, .post_content_inner) {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible;
}
body.home article.post_layout_chess.category-pillole .post_content_inner::after { display: none; }
body.home article.post_layout_chess.category-pillole .post_content { margin-top: 1.5rem; }
body.home article.post_layout_chess.category-pillole .more-link {
    display: inline-block !important;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 1rem;
}
/* Preserve Swiper navigation; let card text flow outside image geometry. */
body.home .sc_services_chess .swiper-wrapper {
    align-items: stretch;
    height: auto !important;
}
body.home .sc_services_chess .swiper-slide { height: auto !important; }
body.home .sc_services_chess .sc_services_item {
    display: flex;
    align-items: stretch;
    height: auto !important;
    min-height: 0;
}
body.home .sc_services_chess .sc_services_item_header {
    float: none !important;
    flex: 0 0 50%;
    width: 50%;
    min-height: 12rem;
    height: auto !important;
}
body.home .sc_services_chess .sc_services_item_header::before { display: none; }
body.home .sc_services_chess .sc_services_item_content {
    position: static !important;
    flex: 1 1 50%;
    box-sizing: border-box;
    min-width: 0;
    width: 50%;
    height: auto !important;
    max-height: none !important;
    overflow: visible;
    transform: none !important;
}
body.home .sc_services_chess .sc_services_item_title {
    overflow: visible;
    overflow-wrap: anywhere;
    word-break: normal;
}
body.home .elementor-415 .sc_services_chess .sc_services_item_button {
    display: block !important;
    margin-top: 1rem;
}
body.home .sc_services_chess .sc_services_item_button a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
body.home .sc_services_chess a:focus-visible,
body.home article.category-pillole a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
@media (max-width: 1024px) {
    body.home .elementor-415 .sc_services_chess .sc_services_item {
        flex-direction: column;
        height: auto !important;
    }
    body.home .elementor-415 .sc_services_chess .sc_services_item_header {
        flex: none;
        width: 100% !important;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
    body.home .elementor-415 .sc_services_chess .sc_services_item_content {
        flex: none;
        width: 100% !important;
        max-height: none !important;
    }
    body.home .elementor-415 .sc_services_chess .slider_container {
        touch-action: pan-x pan-y;
        scrollbar-width: thin;
    }
    body.home .elementor-415 .sc_services_chess .slider_container::-webkit-scrollbar {
        display: block;
        height: 8px;
    }
}
@media (max-width: 767px) {
    body.home article.post_layout_chess.category-pillole { grid-template-columns: minmax(0, 1fr); }
    body.home article.post_layout_chess.category-pillole > .post_featured {
        grid-column: 1;
        grid-row: 1;
    }
    body.home article.post_layout_chess.category-pillole .post_inner { grid-row: 2; }
}
.menu_mobile .lps-mobile-donation > a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
