/* =============================================
   Event Engine — Public Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;1,9..40,400&display=swap');

:root {
    --ee-font-head: 'Outfit', sans-serif;
    --ee-font-body: 'DM Sans', sans-serif;
    --ee-blue:      #1a56db;
    --ee-blue-dark: #1e40af;
    --ee-blue-soft: #dbeafe;
    --ee-text:      #111827;
    --ee-muted:     #6b7280;
    --ee-border:    #e5e7eb;
    --ee-surface:   #ffffff;
    --ee-bg:        #f9fafb;
    --ee-radius:    14px;
    --ee-shadow:    0 4px 24px rgba(0,0,0,.07);
    --ee-shadow-hover: 0 8px 36px rgba(26,86,219,.14);
    --ee-transition: all .25s cubic-bezier(.4,0,.2,1);
    /* User-configurable colours — overridden inline by PHP */
    --ee-color-badge:    #f59e0b;
    --ee-color-btn:      #1a56db;
    --ee-color-featured: #fbbf24;
}

.ee-wrapper {
    font-family: var(--ee-font-body);
    color: var(--ee-text);
    padding: 8px 0;
}

/* ============================================================
   TOOLBAR & VIEW TOGGLE
   ============================================================ */
.ee-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 16px;
}

.ee-view-toggle {
    display: inline-flex;
    align-items: center;
    background: var(--ee-bg);
    border: 1px solid var(--ee-border);
    border-radius: 10px;
    padding: 4px;
    gap: 2px;
}

.ee-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: var(--ee-muted);
    font-family: var(--ee-font-head);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--ee-transition);
    white-space: nowrap;
}

.ee-toggle-btn svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    stroke: none;
    flex-shrink: 0;
    transition: color .15s;
}

.ee-toggle-btn:hover {
    color: var(--ee-text);
    background: rgba(0,0,0,.04);
}

.ee-toggle-btn.is-active {
    background: #fff;
    color: var(--ee-color-btn);
    box-shadow: 0 1px 6px rgba(0,0,0,.1);
}

/* Utility: hidden panel */
.ee-hidden {
    display: none !important;
}

/* ============================================================
   GRID LAYOUT
   ============================================================ */
.ee-grid {
    display: grid;
    gap: 24px;
}

.ee-cols-1 { grid-template-columns: 1fr !important; }
.ee-cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
.ee-cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
.ee-cols-4 { grid-template-columns: repeat(4, 1fr) !important; }
.ee-cols-5 { grid-template-columns: repeat(5, 1fr) !important; }
.ee-cols-6 { grid-template-columns: repeat(6, 1fr) !important; }

@media (max-width: 1100px) {
    .ee-cols-5,
    .ee-cols-6 { grid-template-columns: repeat(4, 1fr) !important; }
}
@media (max-width: 900px) {
    .ee-cols-3,
    .ee-cols-4,
    .ee-cols-5,
    .ee-cols-6 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
    .ee-cols-2,
    .ee-cols-3,
    .ee-cols-4,
    .ee-cols-5,
    .ee-cols-6 { grid-template-columns: 1fr !important; }
    .ee-grid    { gap: 16px; }
}

/* ---- Card Top (image + date badge wrapper) ---- */
.ee-card__top {
    position: relative;
}

/* ---- Date Badge ---- */
.ee-date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 58px;
    padding: 6px 4px;
    background: rgba(255,255,255,.95);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,.18);
    line-height: 1;
    backdrop-filter: blur(4px);
}

.ee-date-badge__day {
    font-family: var(--ee-font-head);
    font-size: 28px;
    font-weight: 700;
    color: var(--ee-text);
    display: block;
    letter-spacing: -.02em;
}

.ee-date-badge__month {
    font-family: var(--ee-font-head);
    font-size: 12px;
    font-weight: 700;
    color: var(--ee-blue);
    text-transform: uppercase;
    letter-spacing: .08em;
    display: block;
    margin-top: 1px;
}

/* Date badge on list thumbnail */
.ee-list-row__thumb {
    position: relative;
}

.ee-list-row__thumb .ee-date-badge {
    top: 8px;
    left: 8px;
    width: 48px;
    padding: 5px 3px;
}

.ee-list-row__thumb .ee-date-badge__day  { font-size: 22px; }
.ee-list-row__thumb .ee-date-badge__month { font-size: 10px; }

/* ---- Grid Card ---- */
.ee-card {
    background: var(--ee-surface);
    border: 1px solid var(--ee-border);
    border-radius: var(--ee-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--ee-shadow);
    transition: var(--ee-transition);
    position: relative;
}

.ee-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ee-shadow-hover);
    border-color: #bfdbfe;
}

.ee-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%);
}

.ee-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s cubic-bezier(.4,0,.2,1);
}

.ee-card:hover .ee-card__image img {
    transform: scale(1.04);
}

.ee-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Clickable image */
.ee-card__image--clickable {
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.ee-card__image--clickable:focus {
    outline: 3px solid var(--ee-blue);
    outline-offset: -3px;
}

.ee-img-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0);
    transition: background .25s;
}

.ee-img-zoom svg {
    width: 36px;
    height: 36px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    transform: scale(.8);
    transition: opacity .25s, transform .25s;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
}

.ee-card__image--clickable:hover .ee-img-zoom {
    background: rgba(0,0,0,.3);
}

.ee-card__image--clickable:hover .ee-img-zoom svg {
    opacity: 1;
    transform: scale(1);
}

.ee-card__body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ============================================================
   LIST LAYOUT
   ============================================================ */
.ee-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ee-list-row {
    background: var(--ee-surface);
    border: 1px solid var(--ee-border);
    border-radius: var(--ee-radius);
    box-shadow: var(--ee-shadow);
    transition: var(--ee-transition);
    position: relative;
    display: grid;
    grid-template-columns: 160px 1fr auto;
    gap: 0;
    overflow: hidden;
    align-items: stretch;
}

.ee-list-row:hover {
    box-shadow: var(--ee-shadow-hover);
    border-color: #bfdbfe;
    transform: translateX(3px);
}

.ee-list-row__thumb {
    width: 160px;
    min-height: 120px;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ee-list-row__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s cubic-bezier(.4,0,.2,1);
}

.ee-list-row:hover .ee-list-row__thumb img {
    transform: scale(1.04);
}

.ee-list-row__content {
    padding: 18px 20px;
    flex: 1;
    min-width: 0;
}

/* Right panel: contact block + button, stacked, pinned to bottom */
.ee-list-row__action {
    padding: 16px 20px 16px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    flex-shrink: 0;
    gap: 12px;
    min-width: 200px;
    border-left: 1px solid var(--ee-border);
    margin-left: 0;
    padding-left: 20px;
}

/* Contact block inside the action panel — flush right */
.ee-list-row__action .ee-contact {
    margin: 0;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
}

.ee-list-row__action .ee-btn {
    align-self: flex-end;
    margin-top: 0;
}

@media (max-width: 820px) {
    .ee-list-row {
        grid-template-columns: 120px 1fr;
        grid-template-rows: auto auto;
    }
    .ee-list-row__thumb {
        width: 120px;
        grid-row: 1 / 3;
    }
    .ee-list-row__content {
        grid-column: 2;
        grid-row: 1;
    }
    .ee-list-row__action {
        grid-column: 2;
        grid-row: 2;
        border-left: none;
        border-top: 1px solid var(--ee-border);
        padding: 12px 20px 16px;
        min-width: unset;
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
    .ee-list-row__action .ee-contact {
        flex: 1;
    }
    .ee-list-row__action .ee-btn {
        flex-shrink: 0;
    }
}

@media (max-width: 560px) {
    .ee-list-row {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    .ee-list-row__thumb {
        width: 100%;
        height: 160px;
        min-height: unset;
        grid-row: 1;
        grid-column: 1;
    }
    .ee-list-row__content {
        grid-row: 2;
        grid-column: 1;
    }
    .ee-list-row__action {
        grid-row: 3;
        grid-column: 1;
        flex-direction: column;
        align-items: flex-start;
        border-top: 1px solid var(--ee-border);
        padding: 12px 18px 18px;
    }
    .ee-list-row__action .ee-btn {
        align-self: flex-start;
    }
}

/* ============================================================
   SHARED CARD ELEMENTS
   ============================================================ */

/* Icon placeholder */
.ee-icon-calendar {
    display: block;
    width: 48px;
    height: 48px;
    opacity: .4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a56db' stroke-width='1.5'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* Title */
.ee-card__title {
    font-family: var(--ee-font-head);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ee-text);
    margin: 0 0 10px;
}

/* Meta row */
.ee-card__meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.ee-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 13px;
    color: var(--ee-muted);
    line-height: 1.45;
}

.ee-meta-item svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 1px;
    stroke: var(--ee-blue);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Details — rendered as HTML */
.ee-card__desc {
    font-size: 13.5px;
    line-height: 1.65;
    color: #4b5563;
    margin: 0 0 14px;
}

.ee-card__desc p        { margin: 0 0 .6em; }
.ee-card__desc p:last-child { margin-bottom: 0; }
.ee-card__desc a        { color: var(--ee-blue); }
.ee-card__desc ul,
.ee-card__desc ol       { padding-left: 1.4em; margin: 0 0 .6em; }
.ee-card__desc strong   { font-weight: 600; }
.ee-card__desc em       { font-style: italic; }

/* Card footer: contact left, button right, bottom of card */
.ee-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 4px;
}

.ee-card__footer-left {
    flex: 1;
    min-width: 0;
}

.ee-card__footer-right {
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
}

/* In footer context, button needs no auto margin */
.ee-card__footer-right .ee-btn {
    margin-top: 0;
    align-self: auto;
}

/* Contact block */
.ee-contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0 0 14px;
    padding: 12px 14px;
    background: var(--ee-bg);
    border-radius: 9px;
    border: 1px solid var(--ee-border);
}

.ee-card__footer-left .ee-contact {
    margin-bottom: 0;
}

.ee-contact__label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ee-muted);
    font-family: var(--ee-font-head);
    margin-bottom: 2px;
}

.ee-contact__name {
    font-size: 13px;
    font-weight: 600;
    color: var(--ee-text);
}

.ee-contact__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--ee-blue) !important;
    text-decoration: none !important;
    transition: color .15s;
    word-break: break-all;
}

.ee-contact__link:hover { color: var(--ee-blue-dark) !important; text-decoration: underline !important; }

.ee-contact__link svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---- Button ---- */
.ee-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding: 9px 18px;
    background: var(--ee-color-btn);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    font-family: var(--ee-font-head);
    letter-spacing: .01em;
    transition: var(--ee-transition);
    align-self: flex-start;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.ee-btn svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s;
}

.ee-btn:hover             { background: color-mix(in srgb, var(--ee-color-btn) 80%, #000); transform: translateX(2px); }
.ee-btn:hover svg         { transform: translateX(3px); }

.ee-btn--disabled {
    background: var(--ee-border);
    color: var(--ee-muted) !important;
    cursor: default;
    pointer-events: none;
}

/* ============================================================
   FEATURED
   ============================================================ */
.ee-card--featured,
.ee-list-row.ee-card--featured {
    border-color: var(--ee-color-featured);
    box-shadow: 0 4px 24px rgba(0,0,0,.1);
}

.ee-card--featured:hover,
.ee-list-row.ee-card--featured:hover {
    box-shadow: 0 8px 36px rgba(0,0,0,.15);
    border-color: var(--ee-color-featured);
}

.ee-featured-ribbon {
    position: absolute;
    top: 14px;
    right: -1px;
    background: var(--ee-color-badge);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--ee-font-head);
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 4px 12px 4px 10px;
    border-radius: 4px 0 0 4px;
    z-index: 2;
    box-shadow: -2px 2px 6px rgba(0,0,0,.12);
}

/* ============================================================
   LIGHTBOX MODAL
   ============================================================ */
.ee-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2147483647;
    display: flex;
    align-items: flex-start;        /* anchor to top so padding-top controls placement */
    justify-content: center;
    padding: 105px 20px 20px;       /* 105px clears the 100px sticky header */
    overflow-y: auto;               /* allow scrolling if content is tall */
    box-sizing: border-box;
}

.ee-modal[hidden] { display: none; }

.ee-modal__backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.82);
    backdrop-filter: blur(6px);
    cursor: pointer;
    animation: ee-fade-in .2s ease;
    z-index: 0;
}

.ee-modal__box {
    position: relative;
    width: 100%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: ee-scale-in .25s cubic-bezier(.34,1.56,.64,1);
    z-index: 1;
    pointer-events: all;
}

.ee-modal__close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
    transition: background .15s, transform .15s;
    z-index: 2;
}

.ee-modal__close:hover { background: #f3f4f6; transform: scale(1.1); }

.ee-modal__close svg {
    width: 20px;
    height: 20px;
    stroke: #111827;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
}

.ee-modal__img {
    max-width: 100%;
    max-height: calc(90vh - 120px);  /* account for header + caption */
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
    display: block;
    object-fit: contain;
}

.ee-modal__caption {
    margin: 20px 0 0;
    color: #fff;
    font-family: var(--ee-font-head);
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,.6);
    line-height: 1.2;
    letter-spacing: -.01em;
}

@keyframes ee-fade-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes ee-scale-in { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: scale(1); } }

/* ============================================================
   STATES
   ============================================================ */
.ee-error {
    padding: 16px 20px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #dc2626;
    font-size: 14px;
}

.ee-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--ee-muted);
    font-size: 15px;
}

/* ============================================================
   ENTRANCE ANIMATION
   ============================================================ */
@keyframes ee-fadein {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ee-card,
.ee-list-row {
    animation: ee-fadein .45s ease both;
}

.ee-card:nth-child(1),  .ee-list-row:nth-child(1)  { animation-delay: .05s; }
.ee-card:nth-child(2),  .ee-list-row:nth-child(2)  { animation-delay: .10s; }
.ee-card:nth-child(3),  .ee-list-row:nth-child(3)  { animation-delay: .15s; }
.ee-card:nth-child(4),  .ee-list-row:nth-child(4)  { animation-delay: .20s; }
.ee-card:nth-child(5),  .ee-list-row:nth-child(5)  { animation-delay: .25s; }
.ee-card:nth-child(6),  .ee-list-row:nth-child(6)  { animation-delay: .30s; }
.ee-card:nth-child(n+7),.ee-list-row:nth-child(n+7){ animation-delay: .35s; }

/* ============================================================
   SLIDER (Swiper — 1 slide at a time, full width)
   ============================================================ */
.ee-swiper-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;   /* required by Swiper */
}

.ee-slider,
.ee-slider--lite,
.ee-carousel,
.ee-carousel--lite {
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 52px !important;
    overflow: hidden;
    box-sizing: border-box;
}

/* --- SLIDER: slides must exactly fill the container width --- */
.ee-slider .swiper-wrapper,
.ee-slider--lite .swiper-wrapper {
    align-items: stretch;
    width: 100%;
}

.ee-slider .swiper-slide,
.ee-slider--lite .swiper-slide {
    display: flex;
    height: auto;
    width: 100% !important;   /* override any Swiper inline width */
    flex-shrink: 0;
}

.ee-slider .swiper-slide .ee-card,
.ee-slider--lite .swiper-slide .ee-card {
    width: 100%;
    flex: 1;
    animation: none;
}

/* Slider (full): 16/9 image */
.ee-slider .swiper-slide .ee-card__image {
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
}

/* ============================================================
   SLIDER-LITE: image fills card, title overlays bottom
   ============================================================ */
.ee-slider--lite .swiper-slide .ee-card--lite {
    position: relative;
    min-height: 360px;
}

.ee-slider--lite .swiper-slide .ee-card__top {
    position: absolute;
    inset: 0;
}

.ee-slider--lite .swiper-slide .ee-card__image {
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
}

.ee-slider--lite .swiper-slide .ee-card__body--lite {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,.78) 0%, transparent 100%);
    padding: 48px 28px 28px;
}

.ee-slider--lite .swiper-slide .ee-card__title {
    color: #fff;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,.55);
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    margin: 0;
}

/* ============================================================
   CAROUSEL (Swiper — multiple cards, auto-scroll)
   ============================================================ */

/* All carousel slides: fixed 300×460px — identical width AND height */
.ee-carousel .swiper-wrapper,
.ee-carousel--lite .swiper-wrapper {
    align-items: flex-start; /* don't stretch beyond fixed height */
}

.ee-carousel .swiper-slide,
.ee-carousel--lite .swiper-slide {
    display: flex;
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    height: 460px;       /* fixed height — every card identical */
    flex-shrink: 0;
    overflow: hidden;
}

.ee-carousel .swiper-slide .ee-card,
.ee-carousel--lite .swiper-slide .ee-card {
    width: 100%;
    height: 100%;        /* fill the fixed slide height exactly */
    overflow: hidden;
    animation: none;
    display: flex;
    flex-direction: column;
}

/* Carousel (full): fixed image height, body fills remainder */
.ee-carousel .swiper-slide .ee-card__image {
    height: 180px;       /* fixed pixel height keeps image same across all cards */
    aspect-ratio: unset;
    flex-shrink: 0;
}

.ee-carousel .swiper-slide .ee-card__body {
    flex: 1;
    overflow: hidden;    /* clip overflow text so card stays same size */
    display: flex;
    flex-direction: column;
}

/* Clip description text so it doesn't push layout */
.ee-carousel .swiper-slide .ee-card__desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   CAROUSEL-LITE: image fills card, title overlays bottom
   Fixed 300×300px — square cards, all identical
   ============================================================ */
.ee-carousel--lite .swiper-slide .ee-card--lite {
    position: relative;
    width: 100%;
    height: 100%;        /* fill the fixed 460px slide */
}

.ee-carousel--lite .swiper-slide .ee-card__top {
    position: absolute;
    inset: 0;
}

.ee-carousel--lite .swiper-slide .ee-card__image {
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
}

.ee-carousel--lite .swiper-slide .ee-card__body--lite {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
    padding: 36px 14px 16px;
}

.ee-carousel--lite .swiper-slide .ee-card__title {
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0,0,0,.5);
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    margin: 0;
}

/* ============================================================
   LITE CARD — base styles (image + title only)
   ============================================================ */
.ee-card__body--lite {
    padding: 14px 16px 16px;
}

.ee-card__title-link {
    text-decoration: none !important;
    color: inherit;
}

.ee-card__title-link:hover .ee-card__title {
    text-decoration: underline;
}

/* ---- Shared Swiper UI overrides ---- */
.ee-slider .swiper-button-prev,
.ee-slider .swiper-button-next,
.ee-carousel .swiper-button-prev,
.ee-carousel .swiper-button-next {
    color: var(--ee-color-btn);
    background: rgba(255,255,255,.9);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
    top: 38%; /* keep inside image area */
}

.ee-slider .swiper-button-prev::after,
.ee-slider .swiper-button-next::after,
.ee-carousel .swiper-button-prev::after,
.ee-carousel .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

.ee-slider .swiper-button-prev:hover,
.ee-slider .swiper-button-next:hover,
.ee-carousel .swiper-button-prev:hover,
.ee-carousel .swiper-button-next:hover {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

/* Pagination dots */
.ee-slider .swiper-pagination-bullet,
.ee-carousel .swiper-pagination-bullet {
    background: var(--ee-border);
    opacity: 1;
    width: 8px;
    height: 8px;
    transition: background .2s, transform .2s;
}

.ee-slider .swiper-pagination-bullet-active,
.ee-carousel .swiper-pagination-bullet-active {
    background: var(--ee-color-btn);
    transform: scale(1.3);
}

/* Pause-on-hover indicator strip */
.ee-swiper-wrapper:hover .swiper-button-prev,
.ee-swiper-wrapper:hover .swiper-button-next {
    opacity: 1;
}

/* Auto-play progress bar (optional visual cue) */
.ee-slider .swiper-pagination,
.ee-carousel .swiper-pagination {
    bottom: 12px;
}
