/* =============================================================
   DSE – DeKalb Soccer Events & Activity Tracker
   Plugin Stylesheet — matches reference design exactly
============================================================= */

/* --- Google Fonts loaded by PHP --- */
:root {
    --dse-navy:     #0a1628;
    --dse-blue:     #0d2347;
    --dse-gold:     #f5a623;
    --dse-gold-dk:  #c17f0c;
    --dse-white:    #ffffff;
    --dse-light:    #f0f4f8;
    --dse-muted:    #8899aa;
    --dse-border:   #e2e8f0;
    --dse-text:     #1a2638;
    --dse-sub:      #4a5568;
    --dse-radius:   8px;
    --dse-radius-lg:10px;
}

/* ---------------------------------------------------------------
   GLOBAL RESETS SCOPED TO PLUGIN
--------------------------------------------------------------- */
.dse-section,
.dse-filter-bar,
.dse-featured-section,
.dse-calendar-section,
.dse-upcoming-section,
.dse-listings-section,
.dse-map-section,
.dse-submit-cta {
    font-family: 'Barlow', sans-serif;
    box-sizing: border-box;
    color: var(--dse-text);
}

.dse-section *,
.dse-filter-bar * {
    box-sizing: border-box;
}

.dse-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0;
}

/* ---------------------------------------------------------------
   TYPOGRAPHY HELPERS
--------------------------------------------------------------- */
.dse-section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--dse-navy);
    letter-spacing: 0.5px;
    border-left: 4px solid var(--dse-gold);
    padding-left: 12px;
    margin: 0 0 20px 0;
}

.dse-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dse-section-header .dse-section-title {
    margin-bottom: 0;
}

.dse-view-all-link {
    font-size: 13px;
    font-family: 'Barlow', sans-serif;
    color: #2d6cb4;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.dse-view-all-link:hover { color: var(--dse-navy); }

/* ---------------------------------------------------------------
   FILTER BAR  — exact match to reference design
   Single horizontal row: search | date | type | city | venue | category | FILTER btn
--------------------------------------------------------------- */
.dse-filter-bar {
    background: #ffffff !important;
    border-top: 1px solid var(--dse-border) !important;
    border-bottom: 1px solid var(--dse-border) !important;
    padding: 16px 24px 0 !important;
    margin-bottom: 32px !important;
    position: relative !important;
    z-index: 10 !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* The main row — flex, all items side by side, never wrapping on desktop */
.dse-filter-bar__inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-end !important;
    gap: 12px !important;
    padding-bottom: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Every direct child of the inner row is a "slot" */
.dse-filter-bar__inner > * {
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

/* Search slot — takes remaining space */
.dse-filter-bar__search-wrap {
    flex: 1 1 160px !important;
    min-width: 120px !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

/* Small label above each control */
.dse-filter-bar__label {
    font-family: 'Barlow', sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: var(--dse-muted) !important;
    line-height: 1 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Search icon inside the input — right side */
.dse-filter-bar__search-icon {
    position: absolute !important;
    right: 12px !important;
    left: auto !important;
    bottom: 11px !important;
    top: auto !important;
    transform: none !important;
    color: var(--dse-muted) !important;
    pointer-events: none !important;
    width: 16px !important;
    height: 16px !important;
}

/* Search input */
.dse-filter-bar__input {
    width: 100% !important;
    height: 38px !important;
    padding: 0 38px 0 14px !important;
    border: 1px solid var(--dse-border) !important;
    border-radius: 6px !important;
    font-family: 'Barlow', sans-serif !important;
    font-size: 13px !important;
    color: var(--dse-text) !important;
    background: #fff !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.dse-filter-bar__input::placeholder {
    color: #9aa7b8 !important;
    font-size: 13px !important;
}

.dse-filter-bar__input:focus {
    border-color: var(--dse-navy) !important;
    box-shadow: 0 0 0 3px rgba(10,22,40,0.08) !important;
}
.dse-filter-bar__input:focus + .dse-filter-bar__search-icon,
.dse-filter-bar__search-wrap:focus-within .dse-filter-bar__search-icon {
    color: var(--dse-navy) !important;
}

/* Dropdown slot wrapper */
.dse-filter-bar__select-wrap {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

/* All dropdowns */
.dse-filter-bar__select {
    height: 38px !important;
    padding: 0 28px 0 10px !important;
    border: 1px solid var(--dse-border) !important;
    border-radius: 6px !important;
    font-family: 'Barlow', sans-serif !important;
    font-size: 13px !important;
    color: var(--dse-text) !important;
    background: #fff !important;
    outline: none !important;
    cursor: pointer !important;
    transition: border-color 0.2s !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
    width: 130px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.dse-filter-bar__select:focus {
    border-color: #4a7fc1 !important;
}

/* FILTER button slot */
.dse-filter-bar__btn-wrap {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

/* Invisible label spacer so button aligns to bottom same as inputs */
.dse-filter-bar__btn-wrap::before {
    content: '' !important;
    display: block !important;
    height: 14px !important;
}

.dse-filter-bar__btn {
    height: 38px !important;
    background: var(--dse-navy) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 0 20px !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    transition: background 0.2s !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    line-height: 1 !important;
}

.dse-filter-bar__btn:hover { background: #1a3a5c !important; }

.dse-filter-bar__btn svg {
    flex-shrink: 0 !important;
    width: 13px !important;
    height: 13px !important;
}

/* Active filter tags row */
.dse-filter-bar__active-tags {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
    padding-bottom: 10px !important;
}

.dse-filter-bar__active-tags:empty { padding-bottom: 0 !important; }

/* Responsive — stack on mobile */
@media (max-width: 900px) {
    .dse-filter-bar__inner {
        flex-wrap: wrap !important;
    }
    .dse-filter-bar__search-wrap {
        flex: 1 1 100% !important;
        min-width: 0 !important;
    }
    .dse-filter-bar__select-wrap {
        flex: 1 1 calc(50% - 6px) !important;
    }
    .dse-filter-bar__select {
        width: 100% !important;
    }
    .dse-filter-bar__btn-wrap::before { display: none !important; }
}

.dse-active-tag {
    background: #e8f0fc;
    border: 1px solid #a3bede;
    border-radius: 20px;
    padding: 4px 10px 4px 12px;
    font-size: 12px;
    color: #1a3a6c;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.dse-active-tag button {
    background: none;
    border: none;
    cursor: pointer;
    color: #4a7fc1;
    font-size: 15px;
    line-height: 1;
    padding: 0 2px;
}

.dse-results-count {
    font-size: 13px;
    color: var(--dse-muted);
    margin-left: auto;
}

/* ---------------------------------------------------------------
   FEATURED EVENT CARDS
--------------------------------------------------------------- */
.dse-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 900px) { .dse-featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dse-featured-grid { grid-template-columns: 1fr; } }

/* ── Event Card (featured + search grid) ── */
.dse-feat-card {
    border-radius: var(--dse-radius-lg);
    overflow: hidden;
    background: var(--dse-navy);
    position: relative;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}
/* Filter/Load-More hide cards with this class — must win over display:flex */
.dse-feat-card.dse-card-hidden { display: none !important; }

.dse-feat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.22);
}

/* Solid color BG layer */
.dse-feat-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Image BG layer — sits on top of color, below overlay */
.dse-feat-card__img {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark overlay so text is always readable */
.dse-feat-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0.15) 35%,
        rgba(0,0,0,0.65) 65%,
        rgba(0,0,0,0.90) 100%
    );
}

/*
 * DATE BADGE — now inside the body flow (not absolute),
 * so it never overlaps the tag label.
 * Sits as a small pill at the very top of the body column.
 */
.dse-feat-card__badge {
    display: inline-block;
    background: var(--dse-gold);
    color: #000;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 12px;
    padding: 3px 9px;
    border-radius: 4px;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    margin-bottom: 6px;
    align-self: flex-start;
}

.dse-feat-card__badge--multi {
    background: #2d6cb4;
    color: #fff;
}

/*
 * Card body layout:
 * - Badge + tag pinned to TOP of card
 * - Title, meta, desc, link pinned to BOTTOM
 * Using flex column with a spacer to push content apart
 */
.dse-feat-card__body {
    position: relative;
    z-index: 3;
    /* Full height so we can push badge to top and title to bottom.
       !important + min-height guard against theme/Elementor resets that
       collapse the flex child to content height. */
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 14px 16px 14px !important;
    gap: 0 !important;
    box-sizing: border-box !important;
}

/* Badge at the very top */
.dse-feat-card__badge {
    order: 0;
    flex-shrink: 0;
}

/* Tag just below badge */
.dse-feat-card__body .dse-tag {
    order: 1;
    margin-top: 6px;
    margin-bottom: 0;
    flex-shrink: 0;
}

/* Title gets margin-top:auto to push it + everything after to the bottom.
   (Replaces the old ::after spacer which behaved inconsistently.) */
.dse-feat-card__body::after { content: none !important; display: none !important; }

/* Title — uses multiple selectors to override theme/Elementor h3 resets */
.dse-feat-card__title,
.dse-feat-card .dse-feat-card__title,
.dse-feat-card h3.dse-feat-card__title,
.elementor .dse-feat-card__title,
.elementor-widget-shortcode .dse-feat-card__title {
    order: 3 !important;
    margin-top: auto !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 800 !important;
    font-size: 20px !important;
    color: #fff !important;
    text-transform: uppercase !important;
    margin-bottom: 6px !important;
    padding: 0 !important;
    line-height: 1.15 !important;
    letter-spacing: 0.3px !important;
    border: none !important;
    background: none !important;
}

.dse-feat-card__meta {
    order: 4;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 11.5px;
    color: rgba(255,255,255,0.72);
    margin-bottom: 8px;
}

.dse-feat-card__meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dse-feat-card__desc {
    order: 5;
    font-size: 12px;
    color: rgba(255,255,255,0.62);
    line-height: 1.5;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dse-feat-card__link,
.dse-feat-card a.dse-feat-card__link,
.elementor .dse-feat-card__link {
    order: 6 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 14px !important;
    color: var(--dse-gold) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-top: 1px solid rgba(255,255,255,0.15) !important;
    padding-top: 8px !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
    width: 100% !important;
}

.dse-feat-card__link:hover,
.dse-feat-card a.dse-feat-card__link:hover { color: #fff !important; }

/* ---------------------------------------------------------------
   CALENDAR — matches reference design
--------------------------------------------------------------- */
.dse-cal-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid var(--dse-border);
    border-radius: var(--dse-radius-lg);
    padding: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.dse-calendar {
    background: #fff;
    padding: 16px 14px;
}
.dse-calendar:not(:last-child) {
    border-bottom: 1px solid var(--dse-border);
}

.dse-calendar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding: 0 4px;
}

.dse-calendar__month-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 19px;
    color: var(--dse-navy);
    letter-spacing: 0.3px;
}

/* Nav arrows — clean round buttons (match map arrows) */
.dse-cal-nav {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 50% !important;
    border: none !important;
    background: #ffffff !important;
    background-image: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--dse-navy) !important;
    transition: background 0.15s, color 0.15s, transform 0.12s !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    outline: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18) !important;
    text-shadow: none !important;
}
html body .dse-cal-nav:hover,
html body .dse-cal-nav:focus {
    background: var(--dse-navy) !important;
    background-image: none !important;
    color: #fff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25) !important;
}
.dse-cal-nav:active { transform: scale(0.94) !important; }
.dse-cal-nav svg { display: block !important; }

/* Second calendar has no arrows — center the month name */
.dse-calendar__header--nonav {
    justify-content: center;
}

.dse-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px 2px;
    text-align: center;
}

.dse-calendar__day-name {
    font-size: 10px;
    font-weight: 700;
    color: var(--dse-muted);
    text-transform: uppercase;
    padding: 2px 0 8px;
    letter-spacing: 0.5px;
}

.dse-calendar__day {
    padding: 0;
    font-size: 13px;
    font-weight: 500;
    color: #9aa7b8;
    cursor: default;
    line-height: 1;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
    transition: background 0.15s, color 0.15s, transform 0.1s;
    position: relative;
}

/* Plain days WITH no event — subtle light grey circle so they read as inactive */
.dse-calendar__day:not(.dse-calendar__day--has-event):not(.dse-calendar__day--gold):not(.dse-calendar__day--empty) {
    background: #f3f5f8;
    color: #9aa7b8;
    font-weight: 500;
}

/* Navy event days */
.dse-calendar__day--has-event {
    background: var(--dse-navy) !important;
    color: #fff !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}
.dse-calendar__day--has-event:hover {
    background: #1a3a5c !important;
    transform: scale(1.1);
}

/* Gold event days (Fri / Sat) */
.dse-calendar__day--gold {
    background: var(--dse-gold) !important;
    color: #1a2638 !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}
.dse-calendar__day--gold:hover {
    background: #e89a13 !important;
    transform: scale(1.1);
}

.dse-calendar__day--empty {
    cursor: default;
    background: none !important;
}

/* ---------------------------------------------------------------
   DATE BADGE (shared)
--------------------------------------------------------------- */
.dse-date-badge {
    background: var(--dse-navy);
    color: #fff;
    border-radius: 6px;
    text-align: center;
    padding: 8px 6px;
    font-family: 'Barlow Condensed', sans-serif;
    flex-shrink: 0;
    width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dse-date-badge__month {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.7;
    letter-spacing: 1px;
    display: block;
}

.dse-date-badge__day {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
    display: block;
}

.dse-date-badge__year {
    font-size: 9px;
    opacity: 0.6;
    display: block;
}

.dse-date-badge--various {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 4px;
    opacity: 0.9;
}

/* ---------------------------------------------------------------
   TAGS
--------------------------------------------------------------- */
.dse-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 5px;
}

.dse-tag--film      { background: #dbeafe; color: #1d4ed8; }
.dse-tag--festival  { background: #fef9c3; color: #854d0e; }
.dse-tag--cultural  { background: #ede9fe; color: #5b21b6; }
.dse-tag--community { background: #dcfce7; color: #166534; }
.dse-tag--training  { background: #ffedd5; color: #9a3412; }
.dse-tag--featured  { background: #fce7f3; color: #9d174d; }
.dse-tag--fan       { background: #fff4d6; color: #8a6100; }

/* ---------------------------------------------------------------
   BUTTONS
--------------------------------------------------------------- */
.dse-btn-view {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 1px solid var(--dse-border);
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dse-navy);
    cursor: pointer;
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.dse-btn-view:hover {
    background: var(--dse-navy);
    color: #fff;
    border-color: var(--dse-navy);
}

.dse-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--dse-gold);
    color: #000;
    border: none;
    border-radius: 6px;
    padding: 11px 22px;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background 0.2s;
}

.dse-btn-primary:hover { background: var(--dse-gold-dk); color: #000; }

/* ---------------------------------------------------------------
   UPCOMING EVENTS — matches reference design
--------------------------------------------------------------- */
.dse-upcoming-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid var(--dse-border);
    border-radius: var(--dse-radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    padding: 2px 24px;
}

/* Each row */
.dse-upcoming-card {
    display: grid;
    grid-template-columns: 68px 175px 1fr 120px;
    gap: 18px;
    align-items: center;
    background: transparent;
    border-bottom: 1px solid var(--dse-border);
    padding: 16px 24px;
    margin: 0 -24px;
    transition: background 0.15s;
}
.dse-upcoming-card:last-child { border-bottom: none; }
.dse-upcoming-card:hover { background: #fafbfd; }

/* Date badge — navy text, stacked */
.dse-up-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    text-align: center;
    font-family: 'Barlow Condensed', sans-serif;
    color: var(--dse-navy);
    font-weight: 900;
    flex-shrink: 0;
}
.dse-up-badge__month {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    display: block;
}
.dse-up-badge__day {
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    display: block;
}
.dse-up-badge__year {
    font-size: 10px;
    opacity: 0.6;
    display: block;
}
.dse-up-badge__multi {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    color: var(--dse-navy);
}

/* Thumbnail — matches reference (~175×96px) */
.dse-up-thumb {
    width: 175px;
    height: 96px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    background-color: var(--dse-light);
}

/* Info column */
.dse-up-info { min-width: 0; }

.dse-up-info__top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}
.dse-up-info__loc {
    font-size: 12px;
    color: var(--dse-muted);
    display: flex;
    align-items: center;
    gap: 3px;
}
.dse-up-info__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--dse-navy);
    margin: 0 0 5px;
    line-height: 1.15;
}
.dse-up-info__desc {
    font-size: 12.5px;
    color: var(--dse-sub);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* View Details button */
.dse-up-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border: 1.5px solid var(--dse-border);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dse-navy);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    width: 100%;
}
.dse-up-btn:hover {
    background: var(--dse-navy);
    color: #fff;
    border-color: var(--dse-navy);
}

/* Load More — plain text link style, no button box */
.dse-up-load-more {
    text-align: center;
    padding: 16px 0 6px;
    margin: 0;
}
.dse-up-load-link,
.dse-up-load-link:visited {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-family: 'Barlow', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--dse-navy) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    transition: color 0.15s !important;
    /* Reset native + theme button styling */
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    line-height: 1.4 !important;
}
.dse-up-load-link:hover,
.dse-up-load-link:focus {
    color: var(--dse-gold) !important;
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}
.dse-up-load-link svg { transition: transform 0.15s; }
.dse-up-load-link:hover svg { transform: translateY(2px); }

/* Hidden upcoming rows — revealed by Load More */
.dse-up-hidden { display: none !important; }

/* Old load-more-wrap kept for backwards compat */
.dse-load-more-wrap {
    margin-top: 12px;
    text-align: center;
}

/* ---------------------------------------------------------------
   EVENT LISTINGS (full directory)
--------------------------------------------------------------- */
.dse-event-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dse-event-card {
    display: grid;
    grid-template-columns: 72px 64px 1fr auto;
    gap: 14px;
    align-items: start;
    background: #fff;
    border: 1px solid var(--dse-border);
    border-radius: var(--dse-radius);
    padding: 16px;
    transition: box-shadow 0.2s;
    cursor: pointer;
}

.dse-event-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.08); }

.dse-event-card[style*="display:none"],
.dse-event-card.dse-hidden { display: none !important; }

.dse-event-card__thumb {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.dse-event-card__info { min-width: 0; }

.dse-event-card__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--dse-navy);
    margin: 0 0 4px;
    line-height: 1.1;
}

.dse-event-card__loc {
    font-size: 12px;
    color: var(--dse-muted);
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 6px;
}

.dse-event-card__desc {
    font-size: 12.5px;
    color: var(--dse-sub);
    line-height: 1.5;
    margin: 0;
}

.dse-no-results {
    text-align: center;
    padding: 48px 24px;
    color: var(--dse-muted);
    font-size: 14px;
}

.dse-no-results svg {
    display: block;
    margin: 0 auto 10px;
    opacity: 0.35;
}

.dse-no-results p { margin: 0 0 16px; }

/* ---------------------------------------------------------------
   MAP SECTION
--------------------------------------------------------------- */
.dse-map-section .dse-section-title { margin-bottom: 18px; }

/* Strip Leaflet's default div-icon white box + border so only our SVG shows. */
.dse-map-pin,
.leaflet-marker-icon.dse-map-pin {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.dse-map-pin > div { max-width: none !important; }
.dse-map-pin svg { display: block !important; max-width: none !important; }
.dse-map-pin--active { z-index: 2000 !important; }

.dse-map-layout {
    display: grid;
    grid-template-columns: 1fr 280px 320px;
    column-gap: 0;
    align-items: stretch;
    min-height: 420px;
}
/* Gap only before the event panel (3rd column) */
.dse-map-col--panel { margin-left: 16px; }

@media (max-width: 1100px) {
    .dse-map-layout { grid-template-columns: 1fr 1fr; }
    .dse-map-col--panel { grid-column: 1 / -1; margin-left: 0; margin-top: 16px; }
}
@media (max-width: 700px) {
    .dse-map-layout { grid-template-columns: 1fr; }
    .dse-map-col--list, .dse-map-col--panel { grid-column: auto; }
    .dse-map-col--list { margin-top: 16px; }
}

/* ── LEFT: Map — rounded left corners only (joined to list) ── */
.dse-map-col--map {
    border-radius: var(--dse-radius-lg) 0 0 var(--dse-radius-lg);
    overflow: hidden;
    border: 1px solid var(--dse-border);
    border-right: none;
    min-height: 420px;
}

#dse-map {
    width: 100%;
    height: 100%;
    min-height: 420px;
    z-index: 1;
}

/* ── MIDDLE: Location list card — rounded right corners only (joined to map) ── */
.dse-map-col--list {
    background: #fff;
    border: 1px solid var(--dse-border);
    border-radius: 0 var(--dse-radius-lg) var(--dse-radius-lg) 0;
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

@media (max-width: 700px) {
    /* On mobile the columns stack, so give each full rounded corners back */
    .dse-map-col--map { border-radius: var(--dse-radius-lg); border-right: 1px solid var(--dse-border); }
    .dse-map-col--list { border-radius: var(--dse-radius-lg); }
}

.dse-location-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    justify-content: space-between;
}

.dse-location-list__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    flex: 1;
    cursor: pointer;
    border-bottom: 1px solid var(--dse-border);
    transition: opacity 0.15s;
}
.dse-location-list__item:last-child { border-bottom: none; }
.dse-location-list__item:hover { opacity: 0.7; }

.dse-loc-pin {
    color: var(--dse-navy);
    flex-shrink: 0;
    margin-top: 2px;
}

.dse-location-list__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dse-location-list__text strong {
    font-weight: 700;
    font-size: 13.5px;
    color: var(--dse-navy);
    line-height: 1.2;
}
.dse-location-list__text small {
    font-size: 11.5px;
    color: var(--dse-muted);
    line-height: 1.2;
}

.dse-location-list__all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--dse-navy);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 14px;
    margin-top: 4px;
    border-top: 1px solid var(--dse-border);
    transition: color 0.15s;
}
.dse-location-list__all:hover { color: var(--dse-gold); }

/* ── RIGHT: Event panel ── */
.dse-map-col--panel {
    position: relative;
    display: flex;
    align-items: stretch;
}

#dse-map-carousel {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--dse-border);
    border-radius: var(--dse-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.dse-map-panel__slide { display: none; flex-direction: column; flex: 1; }
.dse-map-panel__slide.dse-active { display: flex; }

.dse-map-panel__img {
    width: 100%;
    height: 160px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    background-color: var(--dse-light);
}

.dse-map-panel__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

.dse-map-panel__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 19px;
    text-transform: uppercase;
    color: var(--dse-navy);
    margin: 0;
    line-height: 1.1;
}

.dse-map-panel__meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12.5px;
    color: var(--dse-muted);
}
.dse-map-panel__meta span { display: flex; align-items: center; gap: 6px; }
.dse-map-panel__meta svg { color: var(--dse-navy); flex-shrink: 0; }

.dse-map-panel__desc {
    font-size: 12.5px;
    color: var(--dse-sub);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dse-map-panel__btn {
    display: inline-block;
    text-align: center;
    border: 1.5px solid var(--dse-border);
    border-radius: 6px;
    padding: 9px 18px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dse-navy);
    text-decoration: none;
    margin-top: auto;
    align-self: flex-start;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.dse-map-panel__btn:hover {
    background: var(--dse-navy);
    color: #fff;
    border-color: var(--dse-navy);
}

/* Side navigation arrows — round blue, floating on card edges */
.dse-map-arrow {
    position: absolute !important;
    top: 80px !important;
    z-index: 5 !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 50% !important;
    border: none !important;
    background: #ffffff !important;
    background-image: none !important;
    color: var(--dse-navy) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18) !important;
    transition: background 0.15s, color 0.15s, transform 0.12s !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    text-shadow: none !important;
}
.dse-map-arrow:hover,
.dse-map-arrow:focus {
    background: var(--dse-navy) !important;
    background-image: none !important;
    color: #fff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25) !important;
}
.dse-map-arrow:active { transform: scale(0.94) !important; }
.dse-map-arrow svg { display: block !important; }
.dse-map-arrow--prev { left: -20px !important; }
.dse-map-arrow--next { right: -20px !important; }

@media (max-width: 1100px) {
    .dse-map-arrow--prev { left: 8px !important; }
    .dse-map-arrow--next { right: 8px !important; }
}

/* ---------------------------------------------------------------
   SUBMIT CTA
--------------------------------------------------------------- */
.dse-submit-cta {
    background: var(--dse-navy);
    padding: 48px 32px;
    text-align: center;
    font-family: 'Barlow', sans-serif;
}

.dse-submit-cta__inner {
    max-width: 600px;
    margin: 0 auto;
}

.dse-submit-cta__icon {
    color: var(--dse-gold);
    margin-bottom: 12px;
}

.dse-submit-cta__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.dse-submit-cta__text {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    margin: 0 0 24px;
    line-height: 1.6;
}

/* ---------------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------------- */
@media (max-width: 768px) {
    .dse-event-card {
        grid-template-columns: 60px 1fr;
        grid-template-rows: auto auto;
    }

    .dse-event-card__thumb { display: none; }
    .dse-event-card .dse-btn-view { grid-column: 1 / -1; }

    /* Tablet: drop button column, keep badge + image + info */
    .dse-upcoming-card {
        grid-template-columns: 72px 140px 1fr;
        gap: 14px;
    }
    .dse-up-thumb { width: 140px; height: 84px; }
    .dse-up-btn { display: none; }

    .dse-filter-bar__select { min-width: 90px; font-size: 12px; }
}

@media (max-width: 520px) {
    .dse-filter-bar__inner { gap: 6px; }
    .dse-filter-bar__select { width: 100%; }
    .dse-feat-card { min-height: 220px; }

    /* Mobile: badge + info side by side, image full-width on top */
    .dse-upcoming-card {
        grid-template-columns: 64px 1fr;
        grid-template-areas:
            "badge image"
            "info info";
        gap: 10px 12px;
    }
    .dse-up-badge { grid-area: badge; }
    .dse-up-thumb { grid-area: image; width: 100%; height: 80px; }
    .dse-up-info  { grid-area: info; }
}

/* ---------------------------------------------------------------
   SEARCH EVENTS — 3-column card grid (same as featured)
--------------------------------------------------------------- */
.dse-events-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
}

/* Cards hidden by PHP (beyond per_page) — JS shows them on Load More */
.dse-card-hidden {
    display: none !important;
}

@media (max-width: 900px) {
    .dse-events-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 580px) {
    .dse-events-grid { grid-template-columns: 1fr !important; }
}

/* Cards inside the search grid are identical to .dse-feat-card */
.dse-se-card {
    min-height: 280px !important;
}

/* ---------------------------------------------------------------
   LOAD MORE BUTTON
--------------------------------------------------------------- */
.dse-load-more-wrap {
    text-align: center !important;
    padding: 8px 0 16px !important;
}

.dse-btn-load-more {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: transparent !important;
    border: 2px solid var(--dse-navy) !important;
    color: var(--dse-navy) !important;
    border-radius: 6px !important;
    padding: 10px 28px !important;
    font-family: 'Barlow', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: background 0.2s, color 0.2s !important;
}

.dse-btn-load-more:hover {
    background: var(--dse-navy) !important;
    color: #fff !important;
}

/* ---------------------------------------------------------------
   CALENDAR TOOLTIP — compact, professional, hover popup
--------------------------------------------------------------- */
#dse-cal-tooltip {
    position: absolute !important;
    z-index: 999999 !important;
    width: 220px !important;
    max-width: 220px !important;
    background: #fff !important;
    border: 1px solid var(--dse-border) !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 30px rgba(10,22,40,0.18) !important;
    pointer-events: auto !important;
    opacity: 0 !important;
    transform: translateY(6px) scale(0.97) !important;
    transition: opacity 0.16s ease, transform 0.16s ease !important;
    visibility: hidden !important;
    overflow: hidden !important;
    top: 0;
    left: 0;
}

#dse-cal-tooltip.dse-tt-visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    visibility: visible !important;
}

/* Little arrow pointer at bottom */
#dse-cal-tooltip::after {
    content: '' !important;
    position: absolute !important;
    bottom: -6px !important;
    left: 50% !important;
    transform: translateX(-50%) rotate(45deg) !important;
    width: 12px !important;
    height: 12px !important;
    background: #fff !important;
    border-right: 1px solid var(--dse-border) !important;
    border-bottom: 1px solid var(--dse-border) !important;
}
#dse-cal-tooltip.dse-tt-below::after {
    bottom: auto !important;
    top: -6px !important;
    border-right: none !important;
    border-bottom: none !important;
    border-left: 1px solid var(--dse-border) !important;
    border-top: 1px solid var(--dse-border) !important;
}

.dse-tt-inner { padding: 0 !important; }

.dse-tt-event {
    padding: 10px 12px !important;
}
.dse-tt-event--sep {
    border-top: 1px solid var(--dse-border) !important;
}

.dse-tt-tag {
    display: inline-block !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 2px 7px !important;
    border-radius: 10px !important;
    margin-bottom: 5px !important;
    background: var(--dse-light) !important;
    color: var(--dse-navy) !important;
}

.dse-tt-title {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: var(--dse-navy) !important;
    margin: 0 0 3px !important;
    line-height: 1.15 !important;
}

.dse-tt-loc {
    font-size: 11px !important;
    color: var(--dse-muted) !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    line-height: 1.3 !important;
}
.dse-tt-loc svg { flex-shrink: 0 !important; color: var(--dse-navy) !important; }

/* ===============================================================
   CONSOLIDATED RESPONSIVE LAYER  (v5.1.0)
   Standard breakpoints:
     1100px = tablet landscape / small laptop
      768px = tablet portrait
      480px = phone
   These rules come last so they win over earlier scattered media
   queries where they overlap.
   =============================================================== */

/* ---- Section titles scale down ---- */
@media (max-width: 768px) {
    html body .dse-section-title { font-size: 20px !important; }
    .dse-section { padding-left: 0 !important; padding-right: 0 !important; }
}
@media (max-width: 480px) {
    html body .dse-section-title { font-size: 18px !important; }
}

/* ---- FILTER BAR ---- */
@media (max-width: 768px) {
    .dse-filter-bar { padding: 14px 16px 0 !important; }
    .dse-filter-bar__inner { flex-wrap: wrap !important; gap: 10px !important; }
    .dse-filter-bar__search-wrap { flex: 1 1 100% !important; }
    .dse-filter-bar__select-wrap { flex: 1 1 calc(50% - 6px) !important; min-width: 0 !important; }
    .dse-filter-bar__select { width: 100% !important; }
    .dse-filter-bar__btn-wrap { flex: 1 1 100% !important; }
    .dse-filter-bar__btn-wrap::before { display: none !important; }
    .dse-filter-bar__btn { width: 100% !important; justify-content: center !important; }
}
@media (max-width: 480px) {
    .dse-filter-bar__select-wrap { flex: 1 1 100% !important; }
}

/* ---- CARD GRIDS (featured + search) ---- */
@media (max-width: 900px) {
    .dse-featured-grid,
    .dse-events-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 580px) {
    .dse-featured-grid,
    .dse-events-grid { grid-template-columns: 1fr !important; }
}

/* ---- CALENDAR: keep 7 columns but let day bubbles shrink so they never overflow ---- */
@media (max-width: 768px) {
    .dse-cal-stack { padding: 14px !important; }
    .dse-calendar__grid { gap: 3px 1px !important; }
    .dse-calendar__day { width: 100% !important; max-width: 38px !important; height: auto !important; aspect-ratio: 1 / 1 !important; font-size: 12px !important; }
}
@media (max-width: 480px) {
    .dse-calendar__month-name { font-size: 16px !important; }
    .dse-calendar__day-name { font-size: 9px !important; }
    .dse-calendar__day { font-size: 11px !important; max-width: 34px !important; }
    .dse-cal-nav { width: 34px !important; height: 34px !important; min-width: 34px !important; }
}

/* ---- MAP: clean stack behaviour ---- */
@media (max-width: 1100px) {
    .dse-map-layout { grid-template-columns: 1fr 1fr !important; }
    /* map + list still side by side: restore the joined-corner seam correctly */
    .dse-map-col--map  { border-radius: var(--dse-radius-lg) 0 0 var(--dse-radius-lg) !important; border-right: none !important; }
    .dse-map-col--list { border-radius: 0 var(--dse-radius-lg) var(--dse-radius-lg) 0 !important; }
    .dse-map-col--panel { grid-column: 1 / -1 !important; margin-left: 0 !important; margin-top: 16px !important; }
}
@media (max-width: 768px) {
    /* everything stacks: each block full width with its own rounded corners */
    .dse-map-layout { grid-template-columns: 1fr !important; }
    .dse-map-col--map,
    .dse-map-col--list,
    .dse-map-col--panel {
        grid-column: auto !important;
        border-radius: var(--dse-radius-lg) !important;
        border: 1px solid var(--dse-border) !important;
        margin-left: 0 !important;
    }
    .dse-map-col--list { margin-top: 14px !important; }
    .dse-map-col--panel { margin-top: 14px !important; }
    .dse-map-arrow { top: auto !important; bottom: 10px !important; }
}

/* ---- UPCOMING EVENTS rows ---- */
@media (max-width: 768px) {
    .dse-upcoming-card { grid-template-columns: 72px 130px 1fr !important; gap: 14px !important; }
    .dse-up-thumb { width: 130px !important; height: 80px !important; }
    .dse-up-btn { display: none !important; }
}
@media (max-width: 480px) {
    .dse-upcoming-card {
        grid-template-columns: 60px 1fr !important;
        grid-template-areas: "badge image" "info info" !important;
        gap: 10px 12px !important;
    }
    .dse-up-badge { grid-area: badge !important; }
    .dse-up-thumb { grid-area: image !important; width: 100% !important; height: 78px !important; }
    .dse-up-info  { grid-area: info !important; }
    .dse-upcoming-list { padding: 2px 16px !important; }
    .dse-upcoming-card { margin: 0 -16px !important; padding: 14px 16px !important; }
    .dse-up-load-more { margin: 0 !important; }
}

/* ---- General: prevent horizontal overflow anywhere ---- */
.dse-section, .dse-map-layout, .dse-filter-bar, .dse-cal-stack { max-width: 100% !important; box-sizing: border-box !important; }
.dse-event-map-section img, .dse-feat-card img, .dse-up-thumb img { max-width: 100% !important; }

/* ===============================================================
   EVENTS CAROUSEL  [dse_events_carousel]  (v5.4.0)
   4 cards desktop / 2 tablet / 1 mobile, slid with arrows.
   =============================================================== */
.dse-carousel-section { position: relative; }

.dse-carousel {
    position: relative;
    /* No side padding — track uses the full section width, same as the
       cards grid. Arrows float just outside the track edges. */
    box-sizing: border-box;
}

.dse-carousel__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;       /* Firefox */
    padding: 4px 0;
}
.dse-carousel__track::-webkit-scrollbar { display: none; }  /* Chrome/Safari */

.dse-carousel__slide {
    flex: 0 0 calc((100% - 60px) / 4);   /* 4 across, 3 gaps of 20px */
    scroll-snap-align: start;
    min-width: 0;
}
.dse-carousel__slide .dse-feat-card { height: 100%; }

/* Arrows — match the calendar / map arrows, sit just outside the track */
.dse-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50% !important;
    border: none !important;
    background: #ffffff !important;
    background-image: none !important;
    color: var(--dse-navy) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18) !important;
    transition: background 0.15s, color 0.15s, transform 0.12s;
    padding: 0 !important;
}
.dse-carousel__arrow:hover {
    background: var(--dse-navy) !important;
    color: #fff !important;
    transform: translateY(-50%) scale(1.07);
}
.dse-carousel__arrow:active { transform: translateY(-50%) scale(0.93); }
.dse-carousel__arrow--prev { left: -21px; }
.dse-carousel__arrow--next { right: -21px; }
.dse-carousel__arrow:disabled { opacity: 0.35; cursor: default; pointer-events: none; }
.dse-carousel__arrow svg {
    display: block !important;
    margin: 0 auto !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 auto !important;
    line-height: 1 !important;
}

@media (max-width: 1340px) {
    /* When the section touches the viewport edge, pull arrows inward so
       they aren't clipped off-screen */
    .dse-carousel__arrow--prev { left: 6px; }
    .dse-carousel__arrow--next { right: 6px; }
}
@media (max-width: 1000px) {
    .dse-carousel__slide { flex: 0 0 calc((100% - 20px) / 2); }  /* 2 across */
}
@media (max-width: 600px) {
    .dse-carousel__slide { flex: 0 0 88%; }                       /* 1 across */
    .dse-carousel__arrow { width: 36px; height: 36px; min-width: 36px; }
    .dse-carousel__arrow--prev { left: 4px; }
    .dse-carousel__arrow--next { right: 4px; }
}

/* ===============================================================
   FIFA WORLD CUP 2026 SCHEDULE  [dse_wc_schedule]  (v5.5.0)
   =============================================================== */
.dse-wc { max-width: 1300px; margin: 0 auto; }

.dse-wc-subhead {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--dse-navy);
    margin: 28px 0 14px;
    letter-spacing: 0.5px;
}

/* Live score banner */
.dse-wc-live {
    background: var(--dse-navy);
    border-radius: var(--dse-radius-lg);
    padding: 16px 20px;
    margin-bottom: 8px;
    color: #fff;
}
.dse-wc-live__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.dse-wc-live__dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: #e23b3b;
    box-shadow: 0 0 0 0 rgba(226,59,59,0.6);
    animation: dse-wc-pulse 1.6s infinite;
}
@keyframes dse-wc-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(226,59,59,0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(226,59,59,0); }
    100% { box-shadow: 0 0 0 0 rgba(226,59,59,0); }
}
.dse-wc-live__label {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 15px;
}
.dse-wc-live__placeholder { margin: 0; color: #c9d4e2; font-size: 14px; }
.dse-wc-live__placeholder a { color: var(--dse-gold); font-weight: 600; text-decoration: none; }
.dse-wc-live__embed iframe { width: 100%; border: 0; border-radius: 8px; }

/* Group grid */
.dse-wc-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.dse-wc-group {
    background: #fff;
    border: 1px solid var(--dse-border);
    border-radius: var(--dse-radius-lg);
    overflow: hidden;
}
.dse-wc-group__title {
    background: var(--dse-navy);
    color: var(--dse-gold);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 14px;
    font-size: 15px;
}

/* A single match row */
.dse-wc-match {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 4px 12px;
    padding: 10px 14px;
    border-bottom: 1px solid #eef1f5;
}
.dse-wc-match:last-child { border-bottom: none; }
.dse-wc-match__date { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.dse-wc-match__day  { font-weight: 700; color: var(--dse-navy); font-size: 13px; }
.dse-wc-match__time { font-size: 10px; color: var(--dse-muted); }
.dse-wc-match__teams { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dse-wc-match__team { font-weight: 600; color: #1a2b42; font-size: 14px; }
.dse-wc-match__vs   { color: var(--dse-muted); font-size: 12px; font-style: italic; }
.dse-wc-match__venue {
    grid-column: 2;
    display: flex; align-items: center; gap: 4px;
    color: var(--dse-muted); font-size: 11px;
}
.dse-wc-match__venue svg { color: var(--dse-gold); flex-shrink: 0; }

/* Knockout */
.dse-wc-ko-round__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--dse-navy); font-size: 16px;
    margin: 18px 0 8px;
}
.dse-wc-ko-round {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    background: #fff;
    border: 1px solid var(--dse-border);
    border-radius: var(--dse-radius-lg);
    padding: 6px 0;
}
.dse-wc-ko-round .dse-wc-match { border-bottom: 1px solid #eef1f5; }

@media (max-width: 980px) {
    .dse-wc-groups { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .dse-wc-groups { grid-template-columns: 1fr; }
    .dse-wc-ko-round { grid-template-columns: 1fr; }
}
