/* Scoped enhancement: the existing responsive grid and other sections are untouched. */
html body.home .wp-site-blocks .exegeo-latest .wp-block-post .card.exg-article-card,
html body.home .wp-site-blocks .exegeo-latest .wp-block-post .card.exg-article-card:is(:hover,:focus-within) {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    transform: none !important;
}
html body.home .wp-site-blocks .exegeo-latest .exg-article-card > .exegeo-post-image {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 8px !important;
    overflow: hidden;
}
html body.home .wp-site-blocks .exegeo-latest .exg-article-card .exegeo-post-image img {
    display: block;
    transform: none !important;
    transition: transform .5s ease !important;
}
html body.home .wp-site-blocks .exegeo-latest .exg-article-card__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    box-sizing: border-box;
    width: 100%;
    margin: -24px 0 32px;
    padding: 30px 20px 38px;
    border: 1px solid rgba(201,154,46,.22);
    border-bottom: 2px solid rgba(183,137,38,.48);
    border-radius: 8px;
    background: linear-gradient(135deg,rgba(255,255,255,.9),rgba(252,249,242,.84));
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 24px rgba(16,41,67,.14);
    transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
/* Same publication badge treatment as the article library, scaled for four columns. */
html body.home .exegeo-latest .exg-article-card__date {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 16px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px 6px;
    width: max-content;
    max-width: calc(100% - 32px);
    box-sizing: border-box;
    padding: 6px 9px;
    border: 0;
    border-radius: 3px;
    background: rgba(255,253,247,.9);
    box-shadow: 0 4px 12px rgba(16,41,67,.12);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #33485c;
    font-family: inherit;
    font-size: clamp(11px,.95vw,14px);
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
}
html body.home .exegeo-latest .exg-article-card__date span { color: #a66b12; }
html body.home .exegeo-latest .exg-article-card__date time { white-space: nowrap; }
@media (max-width:781px) {
    html body.home .exegeo-latest .exg-article-card__date { font-size: 14px; }
}
html body.home .wp-site-blocks .exegeo-latest .exg-article-card__panel .wp-block-post-title,
html body.home .wp-site-blocks .exegeo-latest .exg-article-card__panel .wp-block-post-title a {
    color: #102e50 !important;
}
html body.home .wp-site-blocks .exegeo-latest .exg-article-card__panel .wp-block-post-excerpt {
    flex: 1;
}
html body.home .wp-site-blocks .exegeo-latest .exg-article-card__panel .wp-block-post-excerpt__excerpt {
    display: block !important;
    -webkit-line-clamp: unset !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
}
@media (max-width: 781px) {
    html body.home .wp-site-blocks .exegeo-latest .exg-article-card__panel .wp-block-post-excerpt__excerpt {
        font-size: 16px !important;
        line-height: 1.65 !important;
    }
}
html body.home .wp-site-blocks .exegeo-latest .exg-article-card__panel .wp-block-post-excerpt__more-text {
    position: absolute;
    bottom: -22px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
html body.home .wp-site-blocks .exegeo-latest .exg-article-card__panel .wp-block-post-excerpt__more-link {
    display: inline-flex !important;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: auto !important;
    min-width: 0 !important;
    min-height: 44px !important;
    height: auto !important;
    box-sizing: border-box;
    align-items: center;
    padding: 9px 22px !important;
    background: #fff !important;
    border: 1px solid #fff !important;
    border-radius: 6px !important;
    color: #17375e !important;
    font-size: .9rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    box-shadow: 0 2px 7px rgba(23,55,94,.10) !important;
    transform: none !important;
    transition: box-shadow .35s ease, border-color .35s ease, color .35s ease !important;
}
html body.home .wp-site-blocks .exegeo-latest .exg-article-card__panel .wp-block-post-excerpt__more-link::before,
html body.home .wp-site-blocks .exegeo-latest .exg-article-card__panel .wp-block-post-excerpt__more-link::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    width: 51%;
    background: #17375e;
    pointer-events: none;
    transform: scaleX(0);
    transition: transform .35s ease;
}
html body.home .wp-site-blocks .exegeo-latest .exg-article-card__panel .wp-block-post-excerpt__more-link::before {
    left: 0;
    transform-origin: left center;
}
html body.home .wp-site-blocks .exegeo-latest .exg-article-card__panel .wp-block-post-excerpt__more-link::after {
    right: 0;
    transform-origin: right center;
}
html body.home .wp-site-blocks .exegeo-latest .exg-article-card__panel .wp-block-post-excerpt__more-link:is(:hover,:focus-visible)::before,
html body.home .wp-site-blocks .exegeo-latest .exg-article-card__panel .wp-block-post-excerpt__more-link:is(:hover,:focus-visible)::after {
    transform: scaleX(1);
}
html body.home .wp-site-blocks .exegeo-latest .exg-article-card__panel .wp-block-post-excerpt__more-link:is(:hover,:focus-visible) {
    color: #fff !important;
    border-color: #17375e !important;
    box-shadow: 0 4px 12px rgba(23,55,94,.18) !important;
}
@media (hover: hover) and (pointer: fine) and (min-width: 782px) {
    html body.home .wp-site-blocks .exegeo-latest .exg-article-card__panel .wp-block-post-excerpt__more-text {
        opacity: 0;
        pointer-events: none;
        transition: opacity .35s ease;
    }
    html body.home .wp-site-blocks .exegeo-latest .exg-article-card:is(:hover,:focus-within) .exg-article-card__panel {
        transform: translateY(-12px);
        border-color: rgba(201,154,46,.4);
        border-bottom-color: #b78926;
        box-shadow: 0 18px 34px rgba(16,41,67,.19);
    }
    html body.home .wp-site-blocks .exegeo-latest .exg-article-card:is(:hover,:focus-within) .exegeo-post-image img {
        transform: scale(1.035) !important;
    }
    html body.home .wp-site-blocks .exegeo-latest .exg-article-card:is(:hover,:focus-within) .wp-block-post-excerpt__more-text {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}
@media (prefers-reduced-motion: reduce) {
    html body.home .wp-site-blocks .exegeo-latest .exg-article-card .wp-block-post-excerpt__more-link::before,
    html body.home .wp-site-blocks .exegeo-latest .exg-article-card .wp-block-post-excerpt__more-link::after {
        transition: none;
    }
    html body.home .wp-site-blocks .exegeo-latest .exg-article-card .exg-article-card__panel,
    html body.home .wp-site-blocks .exegeo-latest .exg-article-card .exegeo-post-image img,
    html body.home .wp-site-blocks .exegeo-latest .exg-article-card .wp-block-post-excerpt__more-text,
    html body.home .wp-site-blocks .exegeo-latest .exg-article-card .wp-block-post-excerpt__more-link {
        transition: none !important;
        transform: none !important;
    }
}
	