/* All rules are scoped to the opt-in slider or the dedicated card shortcode. */
.eass-home-cards-list {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.eass-home-cards-list.eass-show-one { grid-template-columns: minmax(0, 1fr); }
.eass-home-cards-list .eass-slide { min-width: 0; }
.eass-home-cards-list .eass-slide > .eass-home-card { height: 100%; }
.eass-home-card--source h1, .eass-home-card--source h2, .eass-home-card--source h3,
.eass-home-card--source h4, .eass-home-card--source h5, .eass-home-card--source h6,
.eass-home-card--source a { color: inherit; }
@media (max-width: 767px) {
    .eass-home-cards-list { grid-template-columns: minmax(0, 1fr); }
}
.eass-news-slider.eass-slider-ready {
    display: block !important;
    min-width: 0;
    /* The homepage footer overlaps this area with a negative top margin. */
    position: relative;
    z-index: 2;
}
.eass-news-slider .eass-slider-host {
    display: block !important;
    width: 100%;
    min-width: 0;
}
.eass-news-slider .eass-slider-viewport {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
    overscroll-behavior-x: contain;
}
.eass-news-slider .eass-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: var(--eass-slide-gap, 20px);
    align-items: stretch;
    width: var(--eass-track-width, 100%) !important;
    max-width: none !important;
    transform: translate3d(var(--eass-offset, 0px), 0, 0);
    transition: transform .45s ease;
    will-change: transform;
}
.eass-news-slider.eass-reduced-motion .eass-slider-track,
.eass-news-slider.eass-is-dragging .eass-slider-track,
.eass-news-slider.eass-is-measuring .eass-slider-track { transition: none; }
.eass-news-slider.eass-is-dragging .eass-slider-viewport { cursor: grabbing; user-select: none; }
.eass-news-slider.eass-slider-ready .eass-slider-track > .eass-slide {
    display: flex !important;
    flex-direction: column;
    flex: 0 0 var(--eass-card-width, 100%) !important;
    width: var(--eass-card-width, 100%) !important;
    min-width: 0 !important;
    max-width: var(--eass-card-width, 100%) !important;
    margin: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    align-self: stretch;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}
.eass-news-slider .eass-slider-controls {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    color: #fff;
    pointer-events: auto;
}
.eass-news-slider .eass-slider-controls[hidden],
.eass-news-slider .eass-slider-controls button[hidden] { display: none !important; }
.eass-news-slider .eass-slider-controls button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    min-width: 40px;
    min-height: 40px;
    padding: 5px 9px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 999px;
    background: rgba(5,20,60,.28);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    cursor: pointer;
    pointer-events: auto;
    transition: background .2s ease;
    box-shadow: none;
}
.eass-news-slider .eass-slider-controls button:hover { background: rgba(255,255,255,.16); }
.eass-news-slider .eass-slider-controls button:focus-visible,
.eass-home-card:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.eass-news-slider .eass-slider-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.eass-news-slider .eass-slider-dots button {
    min-width: 32px;
    min-height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
}
.eass-news-slider .eass-slider-dots button::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background: rgba(255,255,255,.38);
}
.eass-news-slider .eass-slider-dots button[aria-current="true"]::before { background: #fff; }
.eass-home-card {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 145px;
    padding: 18px 20px;
    border: 0 !important;
    border-right: 1px solid rgba(255,255,255,.45) !important;
    border-bottom: 1px solid rgba(255,255,255,.45) !important;
    background: transparent;
    color: #fff !important;
    text-decoration: none !important;
    font-family: inherit;
    overflow-wrap: anywhere;
    transition: background .2s ease, border-color .2s ease;
}
.eass-home-card:hover, .eass-home-card:focus-within {
    color: #fff !important;
    background: #EEF2F880 !important;
}
/* Match the original Pods templates: H5 subtitle, H4 title, body spans.
   The theme / Elementor typography owns sizes, weights and heading margins. */
.eass-home-card .eass-home-card__subtitle {
    margin-inline-end: 22px;
    color: #fff !important;
}
.eass-home-card .eass-home-card__title {
    color: #fff !important;
}
.eass-home-card .eass-home-card__date,
.eass-home-card .eass-home-card__details {
    display: block;
    margin: 0;
    color: #fff;
}
.eass-home-card .eass-home-card__details { margin-top: 4px; }
.eass-home-card__arrow { position: absolute; top: 16px; right: 16px; font-size: 18px; line-height: 1; }
.eass-slider-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.eass-card-admin-note { padding: 8px; background: #fff; color: #8b1a1a; font-size: 13px; }
@media (prefers-reduced-motion: reduce) {
    .eass-home-card, .eass-news-slider .eass-slider-controls button,
    .eass-news-slider .eass-slider-track { transition: none; }
}
