/*
 ASEMANEEHA - PHASE 314
 Taller martyr cards, full photo visibility.
 Home page only.
*/

/* Shared martyr card image in calendar and featured sliders */
.asem-home-responsive-223 .asem-home-calendar-222 a.apear > img,
.asem-home-responsive-223 .container:has(> p.rounded-t-full) a.apear > img {
    display: block !important;
    width: 100% !important;
    height: clamp(265px, 22vw, 290px) !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #fff;
    border-radius: 8px 8px 0 0;
}

/* Allow the cards to grow naturally */
.asem-home-responsive-223 .asem-home-calendar-222 a.apear,
.asem-home-responsive-223 .container:has(> p.rounded-t-full) a.apear {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    box-sizing: border-box !important;
}

/* Avoid clipping taller calendar cards */
.asem-home-responsive-223 .asem-home-calendar-222 > div.bg-darkblue-100 {
    max-height: none !important;
    height: auto !important;
    min-height: 430px !important;
}

/* Preserve calendar top alignment on desktop */
@media screen and (min-width: 1025px) {
    .asem-home-responsive-223 .asem-home-calendar-222
    > div.bg-darkblue-100 {
        align-items: flex-start !important;
    }
}

/* Tablet */
@media screen and (min-width: 601px) and (max-width: 1024px) {
    .asem-home-responsive-223 .asem-home-calendar-222 a.apear > img,
    .asem-home-responsive-223 .container:has(> p.rounded-t-full) a.apear > img {
        height: 275px !important;
    }
}

/* Mobile: preserve one-column layout */
@media screen and (max-width: 600px) {
    .asem-home-responsive-223 .asem-home-calendar-222 a.apear > img,
    .asem-home-responsive-223 .container:has(> p.rounded-t-full) a.apear > img {
        height: 280px !important;
    }

    .asem-home-responsive-223 .asem-home-calendar-222
    > div.bg-darkblue-100 {
        min-height: 0 !important;
    }
}