/* ==========================================================================
   AYW Event Results — Frontend Styles v3.0
   Design: Dark (#0a0a0a), Crimson accent, Bebas Neue / Oswald / Source Serif 4
   ========================================================================== */

/* ─── SINGLE EVENT PAGE ─────────────────────────────────────────────────── */

.ayw-event-single {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Source Serif 4', Georgia, serif;
    color: #e0e0e0;
    box-sizing: border-box;
}

.ayw-back-link {
    display: inline-flex;
    align-items: center;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    text-decoration: none;
    margin-bottom: 16px;
    padding: 6px 0;
    transition: color 0.2s ease;
}
.ayw-back-link:hover { color: var(--promo-color, #c0392b); text-decoration: none; }

.ayw-event-banner {
    position: relative;
    width: 100% !important;
    height: 400px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 24px;
    background-color: #1a1a1a;
    background-position: center;
    background-size: cover !important;
    background-repeat: no-repeat;
}
.ayw-event-banner-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 100%);
    pointer-events: none;
}

.ayw-event-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}

.ayw-event-main { min-width: 0; }

.ayw-event-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ayw-sb-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
}
.ayw-sb-card-head {
    padding: 10px 14px;
    border-bottom: 2px solid var(--promo-color, #c0392b);
    background: rgba(255,255,255,0.02);
}
.ayw-sb-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    color: #fff;
}
.ayw-sb-card-body { padding: 14px; }

.ayw-sb-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ayw-sb-row:last-child { border-bottom: none; }
.ayw-sb-label { font-family: 'Oswald', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #777; }
.ayw-sb-value { font-family: 'Oswald', sans-serif; font-size: 13px; color: #ddd; text-align: right; display: flex; align-items: center; gap: 6px; }
.ayw-sb-promo-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

.ayw-sb-status { font-family: 'Oswald', sans-serif; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; text-align: center; padding: 6px; margin-top: 10px; border-radius: 2px; }
.ayw-sb-status--upcoming { background: #2ecc71; color: #111; }
.ayw-sb-status--mw { background: #f1c40f; color: #111; }

.ayw-sb-rating-body { display: flex; align-items: baseline; justify-content: center; gap: 2px; padding: 20px 14px; }
.ayw-sb-rating-score { font-family: 'Bebas Neue', sans-serif; font-size: 56px; line-height: 1; }
.ayw-sb-rating-max { font-family: 'Bebas Neue', sans-serif; font-size: 24px; color: #555; }

.ayw-sb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 8px; text-align: center; }
.ayw-sb-stat { background: rgba(255,255,255,0.03); border-radius: 4px; padding: 12px 6px; }
.ayw-sb-stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 28px; color: var(--promo-color, #c0392b); display: block; line-height: 1; }
.ayw-sb-stat-label { font-family: 'Oswald', sans-serif; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #888; display: block; margin-top: 4px; }

.ayw-sb-related { padding: 0; }
.ayw-sb-related-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.05); text-decoration: none; color: inherit; transition: background 0.15s ease; }
.ayw-sb-related-item:last-child { border-bottom: none; }
.ayw-sb-related-item:hover { background: rgba(255,255,255,0.04); text-decoration: none; color: inherit; }
.ayw-sb-related-info { min-width: 0; }
.ayw-sb-related-title { font-family: 'Oswald', sans-serif; font-size: 13px; font-weight: 600; color: #ddd; display: block; line-height: 1.3; }
.ayw-sb-related-date { font-family: 'Oswald', sans-serif; font-size: 11px; color: #666; letter-spacing: 0.5px; }
.ayw-sb-related-score { font-family: 'Bebas Neue', sans-serif; font-size: 18px; flex-shrink: 0; margin-left: 8px; }

.ayw-mobile-only { display: none; }

.ayw-event-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ayw-badge { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; padding: 4px 12px; border-radius: 2px; display: inline-block; }
.ayw-badge-promo { background: var(--promo-color, #c0392b); color: #fff; }
.ayw-badge-tier { background: rgba(255,255,255,0.08); color: #ccc; border: 1px solid rgba(255,255,255,0.15); }
.ayw-badge-upcoming { background: #2ecc71; color: #111; }
.ayw-badge-mustwatch { background: #f1c40f; color: #111; }

.ayw-section-title { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 3px; color: #fff; margin: 0 0 20px 0; padding-bottom: 8px; border-bottom: 2px solid rgba(255,255,255,0.1); }

.ayw-match-card { margin-bottom: 40px; }
.ayw-matches-list { display: flex; flex-direction: column; gap: 2px; }
.ayw-match { display: flex; align-items: stretch; background: rgba(255,255,255,0.03); border-left: 3px solid rgba(255,255,255,0.1); transition: background 0.2s ease, border-color 0.2s ease; }
.ayw-match:hover { background: rgba(255,255,255,0.06); border-left-color: var(--promo-color, #c0392b); }
.ayw-match-highlight { border-left-color: #f1c40f !important; background: rgba(241,196,15,0.04); }
.ayw-match-highlight:hover { background: rgba(241,196,15,0.08); }
.ayw-match-num-col { display: flex; align-items: center; justify-content: center; width: 48px; flex-shrink: 0; border-right: 1px solid rgba(255,255,255,0.06); }
.ayw-match-num { font-family: 'Bebas Neue', sans-serif; font-size: 20px; color: #555; }
.ayw-match-content { flex: 1; padding: 14px 16px; min-width: 0; }
.ayw-match-title-belt { font-family: 'Oswald', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: #f1c40f; margin-bottom: 4px; }
.ayw-match-participants { font-family: 'Oswald', sans-serif; font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 6px; line-height: 1.3; }
.ayw-match-details { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #888; }
.ayw-match-type { font-family: 'Oswald', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; background: rgba(255,255,255,0.06); padding: 2px 8px; border-radius: 2px; color: #999; }
.ayw-match-winner { font-family: 'Source Serif 4', serif; color: #aaa; }
.ayw-match-winner strong { color: var(--promo-color, #c0392b); }
.ayw-match-finish { font-family: 'Source Serif 4', serif; color: #777; font-style: italic; }
.ayw-match-rating-col { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 90px; flex-shrink: 0; padding: 10px 8px; gap: 6px; border-left: 1px solid rgba(255,255,255,0.06); }
.ayw-match-stars { display: flex; gap: 1px; font-size: 14px; }
.ayw-star.full { color: #f1c40f; }
.ayw-star.half { color: #f1c40f; opacity: 0.5; }
.ayw-star.empty { color: #333; }
.ayw-must-watch-badge { font-family: 'Oswald', sans-serif; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; text-align: center; color: #111; background: #f1c40f; padding: 2px 6px; border-radius: 2px; line-height: 1.2; }
.ayw-review-section { margin-bottom: 40px; }
.ayw-review-content { font-family: 'Source Serif 4', Georgia, serif; font-size: 17px; line-height: 1.75; color: #d0d0d0; }
.ayw-review-content p { margin-bottom: 1.2em; }
.ayw-review-content h2, .ayw-review-content h3 { font-family: 'Bebas Neue', sans-serif; color: #fff; letter-spacing: 1px; }


/* ─── HUB WRAPPER ────────────────────────────────────────────────────────── */

.ayw-hub-wrap {
    width: 100%;
}


/* ─── HERO BANNER ────────────────────────────────────────────────────────── */

.ayw-hub-hero {
    position: relative;
    min-height: 240px;
    background: #0d0d0d center/cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 0;
}

.ayw-hub-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(6,6,6,0.97) 0%,
        rgba(6,6,6,0.88) 40%,
        rgba(6,6,6,0.55) 70%,
        rgba(6,6,6,0.2) 100%
    );
    /* Bottom fade so stats bar blends in */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.ayw-hub-hero-content {
    position: relative;
    z-index: 2;
    padding: 48px 40px;
    max-width: 1380px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.ayw-hub-hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(32px, 5vw, 54px);
    letter-spacing: 2px;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1;
}

.ayw-hub-hero-sub {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    color: #888;
    line-height: 1.6;
    margin: 0 0 22px 0;
    letter-spacing: 0.3px;
}

.ayw-hub-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    background: transparent;
    border: 2px solid #c0392b;
    padding: 10px 22px;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.ayw-hub-hero-cta:hover {
    background: #c0392b;
    color: #fff;
    text-decoration: none;
}
.ayw-hub-hero-cta svg { flex-shrink: 0; }


/* ─── STATS BAR ──────────────────────────────────────────────────────────── */

.ayw-hub-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #0f0f0f;
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 36px;
}

.ayw-hub-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 28px;
    border-right: 1px solid rgba(255,255,255,0.07);
}
.ayw-hub-stat:last-child { border-right: none; }

.ayw-hub-stat-icon {
    width: 28px;
    height: 28px;
    color: #c0392b;
    flex-shrink: 0;
    opacity: 0.8;
}

.ayw-hub-stat-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ayw-hub-stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    line-height: 1;
    color: #fff;
    letter-spacing: 1px;
}

.ayw-hub-stat-label {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ccc;
    line-height: 1.2;
}

.ayw-hub-stat-sub {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #555;
}


/* ─── HUB LAYOUT ─────────────────────────────────────────────────────────── */

.ayw-hub-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 24px;
    align-items: start;
    box-sizing: border-box;
}

.ayw-hub-main { min-width: 0; }
.ayw-hub-main .ayw-events-calendar { max-width: 100%; padding: 0; }


/* ─── TOP TABS ───────────────────────────────────────────────────────────── */

.ayw-events-calendar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    font-family: 'Source Serif 4', Georgia, serif;
    color: #e0e0e0;
}

.ayw-top-tabs {
    display: inline-flex;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 6px;
    padding: 5px;
    gap: 4px;
    margin-bottom: 32px;
}

.ayw-top-tab {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 2.5px;
    padding: 10px 28px;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: #4a4a4a;
    cursor: pointer;
    position: relative;
    transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
    white-space: nowrap;
}
.ayw-top-tab::after { display: none; }
.ayw-top-tab:hover { color: #aaa; background: rgba(255,255,255,0.04); }
.ayw-top-tab.active {
    background: rgba(255,255,255,0.09);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 1px 3px rgba(0,0,0,0.5);
}
.ayw-top-tab.active::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #c0392b;
}

.ayw-top-panel { display: none; }
.ayw-top-panel.active { display: block; }


/* ─── PROMOTION FILTER TABS ──────────────────────────────────────────────── */

.ayw-events-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }

.ayw-tab {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 7px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 3px;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.ayw-tab:hover { background: rgba(255,255,255,0.1); color: #ccc; border-color: rgba(255,255,255,0.2); }
.ayw-tab.active { background: var(--tab-color, #c0392b); border-color: var(--tab-color, #c0392b); color: #fff; }
.ayw-tab-count { font-size: 10px; font-weight: 700; background: rgba(255,255,255,0.2); border-radius: 20px; padding: 1px 7px; line-height: 1.4; letter-spacing: 0; }
.ayw-tab.active .ayw-tab-count { background: rgba(0,0,0,0.25); }

.ayw-tab-panel { display: none; }
.ayw-tab-panel.active { display: block; }


/* ─── YEAR PILLS ─────────────────────────────────────────────────────────── */

.ayw-year-bar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.ayw-year-pill { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 1.5px; padding: 6px 18px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 3px; color: #666; cursor: pointer; transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease; }
.ayw-year-pill:hover { background: rgba(255,255,255,0.1); color: #ccc; border-color: rgba(255,255,255,0.2); }
.ayw-year-pill.active { background: #1e1e1e; border-color: #c0392b; color: #fff; }

.ayw-results-count { font-family: 'Oswald', sans-serif; font-size: 12px; color: #555; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 20px 0; }


/* ─── FEATURED CARD v3 ───────────────────────────────────────────────────── */

.ayw-featured-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 28px;
    min-height: 340px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: box-shadow 0.3s ease;
    cursor: default;
}
.ayw-featured-card--major {
    border-color: rgba(241,196,15,0.3);
    box-shadow: 0 0 0 1px rgba(241,196,15,0.12);
}

.ayw-featured-bg {
    position: absolute;
    inset: 0;
    background: #111 center top/cover no-repeat;
    transition: transform 0.5s ease;
}
.ayw-featured-card:hover .ayw-featured-bg { transform: scale(1.02); }

.ayw-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(5,5,5,0.97) 0%,
        rgba(5,5,5,0.85) 45%,
        rgba(5,5,5,0.35) 72%,
        rgba(5,5,5,0.05) 100%
    );
}

.ayw-featured-content {
    position: relative;
    z-index: 2;
    padding: 36px 40px;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 340px;
    justify-content: center;
}

.ayw-featured-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ayw-featured-tier-badge {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #fff;
    background: #c0392b;
    padding: 3px 12px;
    border-radius: 2px;
}
.ayw-featured-label {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #666;
}
.ayw-featured-mw-badge {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #111;
    background: #f1c40f;
    padding: 3px 10px;
    border-radius: 2px;
}

.ayw-featured-promo {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    padding: 3px 12px;
    border-radius: 2px;
    align-self: flex-start;
}

.ayw-featured-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(34px, 4.5vw, 56px);
    letter-spacing: 2px;
    color: #fff;
    line-height: 1.0;
    margin: 0;
}
.ayw-featured-card--major .ayw-featured-title {
    background: linear-gradient(135deg, #fff 55%, #f5e06e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ayw-featured-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    color: #999;
}
.ayw-feat-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.ayw-feat-meta-item svg { flex-shrink: 0; opacity: 0.6; }
.ayw-feat-meta-sep { color: #444; }

/* Countdown */
.ayw-countdown { display: flex; align-items: center; gap: 4px; margin: 2px 0; }
.ayw-cd-unit { display: flex; flex-direction: column; align-items: center; min-width: 54px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 8px 6px 6px; }
.ayw-cd-num { font-family: 'Bebas Neue', sans-serif; font-size: 30px; line-height: 1; color: var(--feat-color, #c0392b); display: block; }
.ayw-cd-label { font-family: 'Oswald', sans-serif; font-size: 9px; text-transform: uppercase; letter-spacing: 1.5px; color: #555; display: block; margin-top: 2px; }
.ayw-cd-sep { font-family: 'Bebas Neue', sans-serif; font-size: 24px; color: #333; line-height: 1; margin-bottom: 14px; padding: 0 2px; }
.ayw-featured-card--major .ayw-cd-num { color: #f1c40f; }
.ayw-featured-card--major .ayw-cd-unit { border-color: rgba(241,196,15,0.2); background: rgba(241,196,15,0.05); }

/* Action buttons */
.ayw-featured-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 4px;
}
.ayw-feat-btn {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 11px 22px;
    border-radius: 3px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}
.ayw-feat-btn:hover { text-decoration: none; transform: translateY(-1px); }
.ayw-feat-btn--primary {
    background: #c0392b;
    color: #fff;
    border: 2px solid #c0392b;
}
.ayw-feat-btn--primary:hover { background: #e04535; border-color: #e04535; color: #fff; }
.ayw-feat-btn--secondary {
    background: transparent;
    color: #ccc;
    border: 2px solid rgba(255,255,255,0.2);
}
.ayw-feat-btn--secondary:hover { border-color: rgba(255,255,255,0.45); color: #fff; }

.ayw-feat-arrow { display: inline-block; transition: transform 0.2s ease; }
.ayw-feat-btn--primary:hover .ayw-feat-arrow { transform: translateX(3px); }

.ayw-feat-match-count {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    color: #555;
    letter-spacing: 0.5px;
    margin-left: 4px;
}


/* ─── MORE UPCOMING LABEL + HORIZONTAL SCROLL ────────────────────────────── */

.ayw-more-upcoming-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.ayw-more-upcoming-label {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555;
}

.ayw-upcoming-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
    -webkit-overflow-scrolling: touch;
}
.ayw-upcoming-scroll::-webkit-scrollbar { height: 4px; }
.ayw-upcoming-scroll::-webkit-scrollbar-track { background: transparent; }
.ayw-upcoming-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

/* Mini card */
.ayw-mini-card {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 220px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.ayw-mini-card:hover { border-color: rgba(255,255,255,0.18); box-shadow: 0 6px 20px rgba(0,0,0,0.5); transform: translateY(-2px); text-decoration: none; color: inherit; }
.ayw-mini-card--major { border-color: rgba(241,196,15,0.2); }

.ayw-mini-thumb {
    height: 110px;
    background: #1a1a1a center/cover no-repeat;
    position: relative;
}
.ayw-mini-thumb-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(10,10,10,0.6)); }

.ayw-mini-accent { height: 3px; background: var(--mini-color, #c0392b); }

.ayw-mini-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}
.ayw-mini-promo { font-family: 'Oswald', sans-serif; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.ayw-mini-title { font-family: 'Bebas Neue', sans-serif; font-size: 18px; letter-spacing: 1px; color: #fff; line-height: 1.15; }
.ayw-mini-date, .ayw-mini-venue {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.3px;
}
.ayw-mini-date svg, .ayw-mini-venue svg { flex-shrink: 0; opacity: 0.5; }


/* ─── EVENTS GRID ────────────────────────────────────────────────────────── */

.ayw-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

/* ─── EVENT CARDS (results grid) ─────────────────────────────────────────── */

.ayw-event-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #111;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.ayw-event-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.15); box-shadow: 0 8px 28px rgba(0,0,0,0.5); text-decoration: none; color: inherit; }
.ayw-event-card--major { border-color: rgba(241,196,15,0.2); background: #131210; }
.ayw-event-card--major:hover { border-color: rgba(241,196,15,0.45); box-shadow: 0 8px 28px rgba(0,0,0,0.5), 0 0 0 1px rgba(241,196,15,0.15); }
.ayw-event-card--mustwatch .ayw-card-accent-bar { background: #f1c40f !important; }

.ayw-card-thumb { width: 100%; height: 155px; background: #1a1a1a center/cover no-repeat; position: relative; overflow: hidden; }
.ayw-card-thumb-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(10,10,10,0.6)); transition: opacity 0.3s ease; }
.ayw-event-card:hover .ayw-card-thumb-overlay { opacity: 0.7; }
.ayw-card-thumb--no-image { background: linear-gradient(135deg, color-mix(in srgb, var(--card-promo-color,#c0392b) 22%, #111) 0%, #0d0d0d 100%) !important; display: flex; align-items: center; justify-content: center; }
.ayw-card-thumb-promo-text { font-family: 'Bebas Neue', sans-serif; font-size: 36px; letter-spacing: 4px; color: rgba(255,255,255,0.07); user-select: none; }
.ayw-card-accent-bar { height: 3px; background: var(--card-promo-color, #c0392b); }
.ayw-event-card--major .ayw-card-accent-bar { background: linear-gradient(to right, #f1c40f, #e67e22, #f1c40f); }

.ayw-card-body { padding: 14px 16px; }
.ayw-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ayw-card-top-left { display: flex; align-items: center; gap: 6px; }
.ayw-card-top-right { display: flex; align-items: center; gap: 8px; }
.ayw-card-promo-tag { font-family: 'Oswald', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--card-promo-color, #c0392b); }
.ayw-card-ppv-tag { font-family: 'Oswald', sans-serif; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #111; background: #f1c40f; padding: 1px 6px; border-radius: 2px; }
.ayw-card-must-watch { color: #f1c40f; font-size: 14px; }
.ayw-card-rating { font-family: 'Bebas Neue', sans-serif; font-size: 14px; line-height: 1; padding: 3px 8px; border-radius: 3px; color: #fff; letter-spacing: 0.5px; }
.ayw-rating--high { background: #27ae60; }
.ayw-rating--mid  { background: #e67e22; }
.ayw-rating--low  { background: #c0392b; }
.ayw-card-title { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 1px; color: #fff; margin: 0 0 8px 0; line-height: 1.15; }
.ayw-event-card--major .ayw-card-title { font-size: 22px; color: #f5f0e8; }
.ayw-card-meta { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.ayw-card-date { font-family: 'Oswald', sans-serif; font-size: 12px; color: #999; letter-spacing: 0.5px; }
.ayw-card-venue { font-family: 'Oswald', sans-serif; font-size: 11px; color: #555; letter-spacing: 0.3px; text-transform: uppercase; }
.ayw-card-footer { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.05); }
.ayw-card-tier { font-family: 'Oswald', sans-serif; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #555; background: rgba(255,255,255,0.05); padding: 2px 8px; border-radius: 2px; }
.ayw-card-matches { font-family: 'Oswald', sans-serif; font-size: 11px; color: #666; letter-spacing: 0.5px; }


/* ─── LOAD MORE ──────────────────────────────────────────────────────────── */

.ayw-load-more { display: block; margin: 28px auto 0; font-family: 'Oswald', sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; padding: 11px 36px; background: transparent; border: 2px solid rgba(255,255,255,0.15); color: #888; border-radius: 3px; cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease; }
.ayw-load-more:hover { border-color: #c0392b; color: #fff; background: rgba(192,57,43,0.1); }

.ayw-no-events { font-family: 'Oswald', sans-serif; color: #444; text-align: center; padding: 60px 0; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; }

/* Loading spinner */
.ayw-events-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 40px 0; font-family: 'Oswald', sans-serif; font-size: 14px; color: #888; letter-spacing: 1px; text-transform: uppercase; }
.ayw-spinner { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.1); border-top-color: #c0392b; border-radius: 50%; animation: ayw-spin 0.8s linear infinite; }
@keyframes ayw-spin { to { transform: rotate(360deg); } }

/* Card fade-in */
@keyframes ayw-card-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.ayw-events-grid .ayw-event-card { animation: ayw-card-in 0.35s ease both; }
.ayw-events-grid .ayw-event-card:nth-child(1)   { animation-delay: 0.02s; }
.ayw-events-grid .ayw-event-card:nth-child(2)   { animation-delay: 0.06s; }
.ayw-events-grid .ayw-event-card:nth-child(3)   { animation-delay: 0.10s; }
.ayw-events-grid .ayw-event-card:nth-child(4)   { animation-delay: 0.14s; }
.ayw-events-grid .ayw-event-card:nth-child(5)   { animation-delay: 0.18s; }
.ayw-events-grid .ayw-event-card:nth-child(6)   { animation-delay: 0.22s; }
.ayw-events-grid .ayw-event-card:nth-child(n+7) { animation-delay: 0.26s; }


/* ─── RECENT RESULTS STRIP ───────────────────────────────────────────────── */

.ayw-recent-strip {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.ayw-recent-strip-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.ayw-recent-strip-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    letter-spacing: 3px;
    color: #fff;
    margin: 0;
}
.ayw-recent-strip-viewall {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c0392b;
    text-decoration: none;
    transition: color 0.2s ease;
}
.ayw-recent-strip-viewall:hover { color: #e04535; text-decoration: none; }

.ayw-recent-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.ayw-recent-card {
    background: #111;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-top: 3px solid var(--rc-color, #c0392b);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ayw-recent-card:hover { box-shadow: 0 6px 22px rgba(0,0,0,0.45); }

.ayw-recent-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px 0;
}
.ayw-recent-card-promo {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.ayw-recent-card-date {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    color: #555;
    letter-spacing: 0.5px;
}

.ayw-recent-card-event {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    color: #fff;
    padding: 8px 14px;
    line-height: 1.1;
}

.ayw-recent-card-match {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 10px 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex: 1;
    justify-content: center;
}
.ayw-recent-card-winner {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 1.2;
}
.ayw-recent-card-def {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555;
}
.ayw-recent-card-loser {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    color: #666;
    text-align: center;
    line-height: 1.2;
}
.ayw-recent-card-belt {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    color: #f1c40f;
    text-align: center;
    letter-spacing: 0.5px;
    margin-top: 2px;
}
.ayw-recent-card-participants {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    color: #777;
    padding: 10px 14px;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ayw-recent-card-btn {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    padding: 10px 14px;
    color: #888;
    text-decoration: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    transition: background 0.2s ease, color 0.2s ease;
}
.ayw-recent-card-btn:hover { background: rgba(255,255,255,0.06); color: #fff; text-decoration: none; }


/* ─── HUB SIDEBAR v3 ─────────────────────────────────────────────────────── */

.ayw-hub-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Widget card */
.ayw-sb-widget {
    background: #0f0f0f;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 4px;
    overflow: hidden;
}

.ayw-sb-widget-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.02);
}
.ayw-sb-widget-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 17px;
    letter-spacing: 2.5px;
    color: #fff;
    margin: 0;
    line-height: 1;
}
.ayw-sb-viewall {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}
.ayw-sb-viewall:hover { color: #c0392b; text-decoration: none; }

.ayw-sb-widget-body { display: flex; flex-direction: column; }

/* Article rows */
.ayw-sb-article {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}
.ayw-sb-article:last-child { border-bottom: none; }
.ayw-sb-article:hover { background: rgba(255,255,255,0.03); text-decoration: none; color: inherit; }

.ayw-sb-article-thumb {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 3px;
    background: #1a1a1a center/cover no-repeat;
}
.ayw-sb-article-thumb--none { background: #1a1a1a; }

.ayw-sb-article-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.ayw-sb-article-title {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #ccc;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}
.ayw-sb-article:hover .ayw-sb-article-title { color: #fff; }
.ayw-sb-article-meta { font-family: 'Oswald', sans-serif; font-size: 10px; color: #555; letter-spacing: 0.5px; }

/* Quick links */
.ayw-sb-quicklinks { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }

.ayw-sb-quicklink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-right: 1px solid rgba(255,255,255,0.05);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}
.ayw-sb-quicklink:nth-child(even) { border-right: none; }
.ayw-sb-quicklink:nth-last-child(-n+2) { border-bottom: none; }
.ayw-sb-quicklink:hover { background: rgba(255,255,255,0.04); text-decoration: none; color: inherit; }

.ayw-sb-quicklink-label {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #bbb;
    line-height: 1.2;
}
.ayw-sb-quicklink-arrow {
    font-size: 18px;
    color: #444;
    line-height: 1;
    flex-shrink: 0;
}
.ayw-sb-quicklink:hover .ayw-sb-quicklink-arrow { color: #c0392b; }

/* Promotions row */
.ayw-sb-promos-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 16px;
}

.ayw-sb-promo-badge {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--pb-color, #c0392b);
    border: 1px solid var(--pb-color, #c0392b);
    padding: 5px 12px;
    border-radius: 3px;
    text-decoration: none;
    background: transparent;
    opacity: 0.7;
    transition: opacity 0.2s ease, background 0.2s ease;
}
.ayw-sb-promo-badge:hover {
    opacity: 1;
    background: color-mix(in srgb, var(--pb-color, #c0392b) 15%, transparent);
    text-decoration: none;
}

/* Subscribe widget */
.ayw-sb-subscribe { background: #0f0f0f; }
.ayw-sb-subscribe-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    gap: 10px;
}
.ayw-sb-subscribe-icon { color: #c0392b; }
.ayw-sb-subscribe-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 2px;
    color: #fff;
    margin: 0;
    line-height: 1;
}
.ayw-sb-subscribe-sub {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.ayw-sb-subscribe-form { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.ayw-sb-subscribe-input {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 3px;
    padding: 10px 14px;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    color: #ccc;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease;
}
.ayw-sb-subscribe-input::placeholder { color: #555; }
.ayw-sb-subscribe-input:focus { border-color: #c0392b; }

.ayw-sb-subscribe-btn {
    width: 100%;
    background: #c0392b;
    border: none;
    border-radius: 3px;
    padding: 11px 14px;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}
.ayw-sb-subscribe-btn:hover { background: #e04535; }

.ayw-sb-subscribe-note {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}
.ayw-sb-subscribe-note svg { flex-shrink: 0; opacity: 0.6; }


/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */

/* Single event page */
@media (max-width: 900px) {
    .ayw-event-layout { grid-template-columns: 1fr; gap: 24px; }
    .ayw-event-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .ayw-mobile-only { display: flex; }
    .ayw-featured-content { padding: 28px 28px; }
}

@media (max-width: 768px) {
    .ayw-featured-card { min-height: 280px; }
    .ayw-featured-content { padding: 24px 20px; max-width: 100%; }
    .ayw-featured-overlay { background: linear-gradient(to bottom, rgba(5,5,5,0.3) 0%, rgba(5,5,5,0.92) 60%, rgba(5,5,5,0.97) 100%); }
    .ayw-cd-num { font-size: 22px; }
    .ayw-cd-unit { min-width: 40px; padding: 6px 4px 4px; }
    .ayw-match { flex-wrap: wrap; }
    .ayw-match-rating-col { width: 100%; flex-direction: row; border-left: none; border-top: 1px solid rgba(255,255,255,0.06); padding: 8px 16px; justify-content: flex-start; }
    .ayw-events-grid { grid-template-columns: 1fr; }
    .ayw-events-tabs { gap: 4px; }
    .ayw-tab { padding: 7px 12px; font-size: 11px; }
    .ayw-match-num-col { width: 36px; }
    .ayw-event-banner { height: 220px; margin-bottom: 16px; }
    .ayw-card-thumb { height: 130px; }
    .ayw-event-sidebar { grid-template-columns: 1fr; }
    .ayw-top-tab { font-size: 16px; padding: 9px 18px; }
}

/* Hub page */
@media (max-width: 1100px) {
    .ayw-hub-layout { grid-template-columns: 1fr; }
    .ayw-hub-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .ayw-sb-subscribe { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .ayw-hub-stats-bar { grid-template-columns: repeat(2, 1fr); }
    .ayw-hub-stat { padding: 16px 20px; }
    .ayw-recent-strip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
    .ayw-hub-hero-content { padding: 32px 20px; }
    .ayw-hub-layout { padding: 0 16px; }
    .ayw-hub-stats-bar { grid-template-columns: repeat(2, 1fr); }
    .ayw-hub-stat { padding: 14px 16px; gap: 10px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
    .ayw-hub-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); }
    .ayw-hub-stat:nth-last-child(-n+2) { border-bottom: none; }
    .ayw-hub-stat-num { font-size: 26px; }
    .ayw-recent-strip-grid { grid-template-columns: 1fr; }
    .ayw-hub-sidebar { grid-template-columns: 1fr; }
    .ayw-sb-quicklinks { grid-template-columns: 1fr; }
    .ayw-sb-quicklink { border-right: none !important; }
    .ayw-sb-quicklink:nth-last-child(-n+1) { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   AYW EVENTS HUB — ARENA COMMAND REDESIGN
   Added for premium event/results hub experience
═══════════════════════════════════════════════════════════════════════ */

.ayw-hub-wrap {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 18% 0%, rgba(226, 75, 74, 0.28), transparent 34%),
        radial-gradient(circle at 86% 12%, rgba(255, 210, 91, 0.12), transparent 25%),
        linear-gradient(145deg, #030303 0%, #080707 36%, #120606 66%, #030303 100%) !important;
    padding-bottom: 54px;
}

.ayw-hub-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center top, #000 0%, transparent 72%);
    opacity: .65;
}

.ayw-hub-wrap::after {
    content: "";
    position: absolute;
    inset: -25% -10% auto -10%;
    height: 460px;
    z-index: -1;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.16), transparent 34%),
        radial-gradient(ellipse at 15% 18%, rgba(226,75,74,0.32), transparent 28%),
        radial-gradient(ellipse at 85% 18%, rgba(226,75,74,0.2), transparent 28%);
    filter: blur(12px);
    opacity: .8;
}

.ayw-hub-hero {
    min-height: 300px !important;
    background-color: #050505 !important;
    background-blend-mode: luminosity;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.ayw-hub-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(0,0,0,.96) 0%, rgba(6,6,6,.84) 46%, rgba(100,0,0,.22) 100%),
        repeating-linear-gradient(105deg, rgba(255,255,255,.045) 0 1px, transparent 1px 12px);
    z-index: 1;
}

.ayw-hub-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: linear-gradient(90deg, transparent, #e24b4a, #f6c45f, #e24b4a, transparent);
    box-shadow: 0 0 34px rgba(226,75,74,.65);
    z-index: 3;
}

.ayw-hub-hero-overlay { display: none !important; }

.ayw-hub-hero-content {
    position: relative;
    z-index: 4 !important;
    padding-top: 58px !important;
    padding-bottom: 58px !important;
}

.ayw-hub-hero-title {
    display: inline-block;
    font-family: 'Bebas Neue', 'Oswald', sans-serif !important;
    font-size: clamp(48px, 7vw, 92px) !important;
    line-height: .9 !important;
    margin: 0 0 14px !important;
    letter-spacing: 3px !important;
    color: #fff !important;
    text-transform: uppercase;
    text-shadow: 0 8px 30px rgba(0,0,0,.85), 0 0 26px rgba(226,75,74,.42);
}

.ayw-hub-hero-title::after {
    content: "";
    display: block;
    width: 74%;
    height: 4px;
    margin-top: 12px;
    background: linear-gradient(90deg, #e24b4a, #f3b64c, transparent);
    box-shadow: 0 0 18px rgba(226,75,74,.5);
}

.ayw-hub-hero-sub {
    max-width: 720px;
    font-family: 'Oswald', sans-serif !important;
    font-size: clamp(15px, 1.8vw, 21px) !important;
    line-height: 1.5 !important;
    letter-spacing: .2px;
    color: rgba(255,255,255,.82) !important;
    margin-bottom: 26px !important;
}

.ayw-hub-hero-cta {
    border-radius: 999px !important;
    padding: 12px 20px !important;
    background: linear-gradient(135deg, #e24b4a, #8d1111) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    box-shadow: 0 14px 34px rgba(226,75,74,.26) !important;
}

.ayw-hub-stats-bar {
    max-width: 1380px !important;
    margin: -24px auto 34px !important;
    position: relative;
    z-index: 5;
    width: calc(100% - 48px) !important;
    border-radius: 18px !important;
    border: 1px solid rgba(255,255,255,.11) !important;
    background: linear-gradient(135deg, rgba(19,19,21,.92), rgba(8,8,10,.92)) !important;
    box-shadow: 0 24px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08);
    overflow: hidden;
}

.ayw-hub-stats-bar::before {
    content: "EVENT CONTROL ROOM";
    position: absolute;
    right: 18px;
    top: 10px;
    font: 700 10px/1 'Oswald', sans-serif;
    letter-spacing: 2px;
    color: rgba(255,255,255,.24);
}

.ayw-hub-stat {
    background: transparent !important;
    border-right: 1px solid rgba(255,255,255,.08) !important;
}

.ayw-hub-stat-icon { color: #e24b4a !important; filter: drop-shadow(0 0 10px rgba(226,75,74,.32)); }
.ayw-hub-stat-num { color: #fff !important; font-family: 'Bebas Neue', sans-serif !important; letter-spacing: 1px; }
.ayw-hub-stat-label { color: rgba(255,255,255,.84) !important; }
.ayw-hub-stat-sub { color: rgba(255,255,255,.38) !important; }

.ayw-hub-layout {
    grid-template-columns: minmax(0, 1fr) 340px !important;
    gap: 28px !important;
}

.ayw-events-calendar {
    background: rgba(0,0,0,.18);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 24px;
    padding: 20px !important;
    box-shadow: 0 24px 70px rgba(0,0,0,.38);
}

.ayw-top-tabs {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin-bottom: 20px !important;
    padding: 6px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.05) !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    position: sticky;
    top: 16px;
    z-index: 20;
    backdrop-filter: blur(14px);
}

.ayw-top-tab {
    border-radius: 999px !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 14px !important;
    letter-spacing: 1.6px !important;
    padding: 14px 18px !important;
    color: rgba(255,255,255,.62) !important;
}

.ayw-top-tab.active {
    color: #fff !important;
    background: linear-gradient(135deg, #e24b4a, #6e0b0b) !important;
    box-shadow: 0 12px 28px rgba(226,75,74,.25), inset 0 1px 0 rgba(255,255,255,.16) !important;
}

.ayw-events-tabs,
.ayw-year-bar {
    background: rgba(255,255,255,.035) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 16px !important;
    padding: 8px !important;
    gap: 8px !important;
    margin-bottom: 18px !important;
}

.ayw-tab,
.ayw-year-pill {
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    background: rgba(255,255,255,.04) !important;
    color: rgba(255,255,255,.68) !important;
}

.ayw-tab:hover,
.ayw-year-pill:hover {
    color: #fff !important;
    border-color: var(--tab-color, rgba(255,255,255,.22)) !important;
    box-shadow: 0 0 0 1px var(--tab-color, rgba(255,255,255,.18)), 0 8px 22px rgba(0,0,0,.28) !important;
}

.ayw-tab.active,
.ayw-year-pill.active {
    background: linear-gradient(135deg, var(--tab-color, #e24b4a), rgba(255,255,255,.08)) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,.18) !important;
}

.ayw-featured-card {
    min-height: 430px !important;
    border-radius: 28px !important;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--feat-color) 48%, rgba(255,255,255,.1)) !important;
    background: #080808 !important;
    box-shadow: 0 28px 80px rgba(0,0,0,.62), 0 0 0 1px rgba(255,255,255,.04), 0 0 54px color-mix(in srgb, var(--feat-color) 26%, transparent) !important;
}

.ayw-featured-card::before {
    content: "NEXT EVENT";
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    font: 800 10px/1 'Oswald', sans-serif;
    letter-spacing: 2px;
    color: rgba(255,255,255,.65);
    background: rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    padding: 8px 11px;
    backdrop-filter: blur(12px);
}

.ayw-featured-overlay {
    background:
        linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.76) 44%, rgba(0,0,0,.18) 100%),
        linear-gradient(0deg, rgba(0,0,0,.74), transparent 48%),
        radial-gradient(circle at 25% 48%, color-mix(in srgb, var(--feat-color) 38%, transparent), transparent 42%) !important;
}

.ayw-featured-content { max-width: 760px !important; padding: 40px !important; }
.ayw-featured-promo { border-radius: 999px !important; box-shadow: 0 0 24px color-mix(in srgb, var(--feat-color) 42%, transparent); }
.ayw-featured-title { font-size: clamp(38px, 5.5vw, 72px) !important; letter-spacing: 1px !important; line-height: .92 !important; }
.ayw-featured-meta { color: rgba(255,255,255,.74) !important; }

.ayw-countdown {
    display: inline-flex !important;
    border: 1px solid rgba(255,255,255,.11);
    background: rgba(0,0,0,.42);
    border-radius: 18px;
    padding: 8px;
    backdrop-filter: blur(12px);
}

.ayw-cd-unit {
    min-width: 68px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025)) !important;
    border-radius: 13px !important;
}

.ayw-cd-num { font-family: 'Bebas Neue', sans-serif !important; font-size: 34px !important; color: #fff !important; }
.ayw-cd-label { color: rgba(255,255,255,.48) !important; }
.ayw-feat-btn { border-radius: 999px !important; }
.ayw-feat-btn--primary { background: linear-gradient(135deg, var(--feat-color), #111) !important; box-shadow: 0 14px 28px color-mix(in srgb, var(--feat-color) 22%, transparent) !important; }
.ayw-feat-btn--secondary { background: rgba(255,255,255,.08) !important; border: 1px solid rgba(255,255,255,.13) !important; }

.ayw-more-upcoming-head {
    margin: 26px 0 14px !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ayw-more-upcoming-label {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 30px !important;
    letter-spacing: 1.8px !important;
    color: #fff !important;
}

.ayw-more-upcoming-head::after {
    content: "";
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, rgba(226,75,74,.75), transparent);
}

.ayw-event-timeline {
    position: relative;
    display: grid;
    gap: 14px;
    padding-left: 18px;
}

.ayw-event-timeline::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, #e24b4a, rgba(255,255,255,.1), transparent);
    box-shadow: 0 0 18px rgba(226,75,74,.35);
}

.ayw-timeline-card {
    position: relative;
    display: grid;
    grid-template-columns: 82px 104px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 118px;
    padding: 14px 16px;
    border-radius: 20px;
    color: inherit;
    text-decoration: none !important;
    background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
    border: 1px solid rgba(255,255,255,.09);
    box-shadow: 0 12px 34px rgba(0,0,0,.32);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
    overflow: hidden;
}

.ayw-timeline-card::before {
    content: "";
    position: absolute;
    left: -21px;
    top: 50%;
    width: 12px;
    height: 12px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--tl-color);
    box-shadow: 0 0 0 5px rgba(0,0,0,.75), 0 0 20px var(--tl-color);
}

.ayw-timeline-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0 0, color-mix(in srgb, var(--tl-color) 22%, transparent), transparent 42%);
    opacity: 0;
    transition: opacity .22s ease;
}

.ayw-timeline-card:hover {
    transform: translateX(5px) translateY(-2px);
    border-color: color-mix(in srgb, var(--tl-color) 55%, rgba(255,255,255,.12));
    box-shadow: 0 16px 46px rgba(0,0,0,.45), 0 0 28px color-mix(in srgb, var(--tl-color) 22%, transparent);
    color: #fff !important;
}

.ayw-timeline-card:hover::after { opacity: 1; }

.ayw-timeline-date,
.ayw-timeline-thumb,
.ayw-timeline-body,
.ayw-timeline-action { position: relative; z-index: 2; }

.ayw-timeline-date {
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(0,0,0,.36);
    padding: 10px 8px;
    text-align: center;
}

.ayw-timeline-month {
    display: block;
    font: 800 11px/1 'Oswald', sans-serif;
    letter-spacing: 1.8px;
    color: var(--tl-color);
}

.ayw-timeline-day {
    display: block;
    margin-top: 4px;
    font: 400 38px/.9 'Bebas Neue', sans-serif;
    color: #fff;
}

.ayw-timeline-thumb {
    height: 86px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02)) center/cover no-repeat;
    border: 1px solid rgba(255,255,255,.1);
    overflow: hidden;
}

.ayw-timeline-thumb-glow {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,.48), transparent), radial-gradient(circle at 50% 100%, var(--tl-color), transparent 70%);
    opacity: .42;
}

.ayw-timeline-topline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.ayw-timeline-promo,
.ayw-timeline-badge {
    font: 800 10px/1 'Oswald', sans-serif;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 6px 8px;
    background: color-mix(in srgb, var(--tl-color) 18%, rgba(255,255,255,.06));
    color: #fff;
    border: 1px solid color-mix(in srgb, var(--tl-color) 45%, rgba(255,255,255,.12));
}

.ayw-timeline-badge--gold { color: #f6c45f; border-color: rgba(246,196,95,.4); background: rgba(246,196,95,.1); }

.ayw-timeline-title {
    margin: 0 0 8px !important;
    font: 700 22px/1.1 'Oswald', sans-serif !important;
    color: #fff !important;
}

.ayw-timeline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    font: 500 13px/1.4 'Oswald', sans-serif;
    color: rgba(255,255,255,.58);
}

.ayw-timeline-action {
    font: 800 12px/1 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: rgba(255,255,255,.7);
    border-left: 1px solid rgba(255,255,255,.09);
    padding-left: 16px;
    white-space: nowrap;
}

.ayw-results-count {
    display: inline-flex;
    margin: 0 0 14px !important;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(226,75,74,.1);
    border: 1px solid rgba(226,75,74,.22);
    color: rgba(255,255,255,.72) !important;
    font: 700 12px/1 'Oswald', sans-serif !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.ayw-events-grid {
    gap: 16px !important;
}

.ayw-event-card {
    border-radius: 20px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.025)) !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    box-shadow: 0 14px 38px rgba(0,0,0,.36) !important;
}

.ayw-event-card:hover {
    border-color: color-mix(in srgb, var(--card-promo-color) 62%, rgba(255,255,255,.1)) !important;
    box-shadow: 0 18px 48px rgba(0,0,0,.46), 0 0 30px color-mix(in srgb, var(--card-promo-color) 24%, transparent) !important;
    transform: translateY(-5px) !important;
}

.ayw-card-accent-bar { background: var(--card-promo-color) !important; box-shadow: 0 0 20px var(--card-promo-color); }
.ayw-card-promo-tag { color: var(--card-promo-color) !important; }
.ayw-load-more { border-radius: 999px !important; background: linear-gradient(135deg, #e24b4a, #111) !important; border: 1px solid rgba(255,255,255,.14) !important; }

.ayw-recent-strip {
    margin-top: 26px !important;
    padding: 22px !important;
    border-radius: 24px !important;
    background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.02)) !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    box-shadow: 0 18px 55px rgba(0,0,0,.38);
}

.ayw-recent-strip-title {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 34px !important;
    letter-spacing: 1.8px !important;
}

.ayw-recent-card {
    border-radius: 18px !important;
    background: rgba(0,0,0,.28) !important;
    border-color: rgba(255,255,255,.09) !important;
}

.ayw-recent-card:hover { border-color: var(--rc-color) !important; box-shadow: 0 0 28px color-mix(in srgb, var(--rc-color) 22%, transparent); }

.ayw-hub-sidebar {
    top: 18px !important;
}

.ayw-event-control-room .ayw-sb-widget {
    border-radius: 22px !important;
    background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025)) !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    box-shadow: 0 16px 45px rgba(0,0,0,.35);
    overflow: hidden;
}

.ayw-sb-liveboard {
    background:
        radial-gradient(circle at 15% 0%, rgba(226,75,74,.2), transparent 45%),
        linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)) !important;
}

.ayw-sb-kicker {
    margin: 0 0 8px;
    font: 900 10px/1 'Oswald', sans-serif;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #e24b4a;
}

.ayw-sb-widget-title {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 28px !important;
    letter-spacing: 1.5px !important;
}

.ayw-sb-event-list { display: grid; gap: 10px; }

.ayw-sb-event-row,
.ayw-sb-result-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 11px;
    border-radius: 15px;
    text-decoration: none !important;
    color: inherit !important;
    background: rgba(0,0,0,.28);
    border: 1px solid rgba(255,255,255,.07);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ayw-sb-result-row { grid-template-columns: 1fr; }

.ayw-sb-event-row:hover,
.ayw-sb-result-row:hover {
    transform: translateY(-2px);
    border-color: var(--sb-row-color);
    box-shadow: 0 0 22px color-mix(in srgb, var(--sb-row-color) 20%, transparent);
}

.ayw-sb-event-date {
    text-align: center;
    font: 800 12px/1.05 'Oswald', sans-serif;
    color: #fff;
    background: var(--sb-row-color);
    border-radius: 12px;
    padding: 9px 5px;
}

.ayw-sb-event-main strong,
.ayw-sb-result-title {
    display: block;
    font: 700 14px/1.25 'Oswald', sans-serif;
    color: #fff;
}

.ayw-sb-event-main em,
.ayw-sb-result-meta {
    display: block;
    margin-top: 4px;
    font: 600 11px/1 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,.46);
    font-style: normal;
}

.ayw-sb-quicklink {
    border-radius: 14px !important;
    background: rgba(0,0,0,.25) !important;
}

.ayw-sb-subscribe--compact .ayw-sb-subscribe-title { font-size: 26px !important; }
.ayw-sb-subscribe--compact .ayw-sb-subscribe-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.ayw-sb-subscribe--compact .ayw-sb-subscribe-input { min-width: 0; }
.ayw-sb-subscribe--compact .ayw-sb-subscribe-btn { width: auto !important; padding-left: 16px !important; padding-right: 16px !important; }

@media (max-width: 1100px) {
    .ayw-hub-layout { grid-template-columns: 1fr !important; }
    .ayw-hub-sidebar { position: static !important; display: grid !important; grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 760px) {
    .ayw-hub-hero { min-height: 240px !important; }
    .ayw-hub-hero-content { padding: 38px 18px !important; }
    .ayw-hub-hero-title { font-size: 52px !important; }
    .ayw-hub-hero-sub { font-size: 15px !important; }
    .ayw-hub-stats-bar { width: calc(100% - 24px) !important; margin-top: -18px !important; grid-template-columns: 1fr 1fr !important; }
    .ayw-hub-layout { padding: 0 12px !important; }
    .ayw-events-calendar { padding: 12px !important; border-radius: 18px; }
    .ayw-top-tabs { top: 8px; }
    .ayw-top-tab { font-size: 12px !important; padding: 12px 8px !important; letter-spacing: 1px !important; }
    .ayw-featured-card { min-height: 470px !important; border-radius: 22px !important; }
    .ayw-featured-card::before { display: none; }
    .ayw-featured-content { padding: 24px !important; }
    .ayw-featured-title { font-size: 44px !important; }
    .ayw-countdown { width: 100%; justify-content: space-between; box-sizing: border-box; }
    .ayw-cd-unit { min-width: 0 !important; flex: 1; }
    .ayw-featured-actions { display: grid !important; grid-template-columns: 1fr !important; }
    .ayw-event-timeline { padding-left: 0; }
    .ayw-event-timeline::before { display: none; }
    .ayw-timeline-card { grid-template-columns: 68px minmax(0, 1fr); gap: 12px; padding: 13px; }
    .ayw-timeline-card::before { display: none; }
    .ayw-timeline-thumb { display: none; }
    .ayw-timeline-action { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255,255,255,.08); padding: 10px 0 0; }
    .ayw-timeline-title { font-size: 19px !important; }
    .ayw-timeline-meta { font-size: 12px; }
    .ayw-hub-sidebar { grid-template-columns: 1fr !important; }
    .ayw-sb-subscribe--compact .ayw-sb-subscribe-form { grid-template-columns: 1fr; }
}

/* ─── EDIT: Upcoming timeline pagination + results full-width mode ─────── */
.ayw-timeline-card--hidden {
    display: none !important;
}

.ayw-timeline-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 22px auto 0;
    min-width: 220px;
    min-height: 46px;
    padding: 12px 26px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: linear-gradient(135deg, rgba(226,75,74,.22), rgba(255,255,255,.045));
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.1);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ayw-timeline-more:hover {
    transform: translateY(-2px);
    border-color: rgba(226,75,74,.65);
    box-shadow: 0 24px 54px rgba(226,75,74,.18), 0 18px 40px rgba(0,0,0,.34);
}

.ayw-tab-panel .ayw-timeline-more {
    display: flex;
}

.ayw-hub-layout--results-active {
    grid-template-columns: minmax(0, 1fr) !important;
}

.ayw-hub-layout--results-active .ayw-hub-sidebar {
    display: none !important;
}

.ayw-hub-layout--results-active .ayw-hub-main {
    width: 100%;
    max-width: none;
}

.ayw-hub-layout--results-active .ayw-events-calendar {
    padding: 24px !important;
}

.ayw-hub-layout--results-active .ayw-events-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1180px) {
    .ayw-hub-layout--results-active .ayw-events-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .ayw-hub-layout--results-active .ayw-events-grid {
        grid-template-columns: 1fr;
    }
    .ayw-timeline-more {
        width: 100%;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   AYW EVENTS HUB v4.0.2 — FULL WIDTH UPCOMING / NO SIDEBAR
═══════════════════════════════════════════════════════════════════════ */

.ayw-hub-layout,
.ayw-hub-layout--results-active {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 1480px !important;
    gap: 0 !important;
}

.ayw-hub-sidebar {
    display: none !important;
}

.ayw-hub-main,
.ayw-hub-layout--results-active .ayw-hub-main {
    width: 100% !important;
    max-width: none !important;
}

.ayw-hub-main .ayw-events-calendar,
.ayw-hub-layout--results-active .ayw-events-calendar {
    max-width: none !important;
    width: 100% !important;
    padding: 24px !important;
}

.ayw-event-intel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 24px;
}

.ayw-intel-tile {
    position: relative;
    min-height: 116px;
    padding: 18px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none !important;
    color: #fff !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(226,75,74,.18), transparent 42%),
        linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.026));
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 16px 42px rgba(0,0,0,.32);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.ayw-intel-tile:before {
    content: "";
    position: absolute;
    inset: auto 14px 12px 14px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, #e24b4a, transparent);
    opacity: .75;
}

.ayw-intel-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(226,75,74,.58);
    box-shadow: 0 24px 60px rgba(0,0,0,.42), 0 0 28px rgba(226,75,74,.16);
}

.ayw-intel-tile--gold:before { background: linear-gradient(90deg, #d8b86a, transparent); }
.ayw-intel-tile--gold:hover { border-color: rgba(216,184,106,.55); box-shadow: 0 24px 60px rgba(0,0,0,.42), 0 0 28px rgba(216,184,106,.14); }

.ayw-intel-kicker {
    display: block;
    margin: 0 0 8px;
    font: 900 10px/1 'Oswald', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e24b4a;
}

.ayw-intel-tile--gold .ayw-intel-kicker { color: #d8b86a; }

.ayw-intel-tile strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font: 900 21px/1.05 'Bebas Neue', Impact, sans-serif;
    letter-spacing: .7px;
    color: #fff;
}

.ayw-intel-tile em {
    display: block;
    margin-top: 9px;
    font: 700 12px/1.35 'Inter', system-ui, sans-serif;
    color: rgba(255,255,255,.62);
    font-style: normal;
}

.ayw-more-upcoming-head--wide {
    display: flex !important;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px !important;
    margin-bottom: 16px !important;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
    scroll-margin-top: 80px;
}

.ayw-more-upcoming-sub {
    font: 800 11px/1.2 'Inter', system-ui, sans-serif;
    color: rgba(255,255,255,.48);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.ayw-event-timeline--wide {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ayw-event-timeline--wide .ayw-timeline-card {
    margin: 0 !important;
    min-height: 128px;
}

.ayw-latest-news-grid-section {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.ayw-section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.ayw-section-kicker {
    display: block;
    margin-bottom: 5px;
    font: 900 10px/1 'Oswald', sans-serif;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #e24b4a;
}

.ayw-section-title {
    margin: 0 !important;
    font: 900 34px/1 'Bebas Neue', Impact, sans-serif !important;
    letter-spacing: 1px;
    color: #fff !important;
}

.ayw-section-link {
    color: rgba(255,255,255,.74) !important;
    text-decoration: none !important;
    font: 900 12px/1 'Inter', system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: .9px;
}

.ayw-section-link:hover { color: #fff !important; }

.ayw-latest-news-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.ayw-news-tile {
    display: flex;
    flex-direction: column;
    min-height: 238px;
    overflow: hidden;
    border-radius: 19px;
    background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.024));
    border: 1px solid rgba(255,255,255,.09);
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 14px 38px rgba(0,0,0,.3);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.ayw-news-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(226,75,74,.52);
    box-shadow: 0 22px 55px rgba(0,0,0,.42), 0 0 24px rgba(226,75,74,.13);
}

.ayw-news-tile-img {
    display: block;
    min-height: 118px;
    background-size: cover;
    background-position: center;
    background-color: rgba(255,255,255,.06);
    position: relative;
}

.ayw-news-tile-img:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.65), transparent 70%);
}

.ayw-news-tile-img--empty {
    background:
        radial-gradient(circle at 30% 20%, rgba(226,75,74,.32), transparent 38%),
        linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
}

.ayw-news-tile-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    flex: 1;
}

.ayw-news-tile-body strong {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font: 900 15px/1.22 'Inter', system-ui, sans-serif;
    color: #fff;
}

.ayw-news-tile-body em {
    font: 800 11px/1 'Inter', system-ui, sans-serif;
    color: rgba(255,255,255,.5);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.ayw-events-subscribe-band {
    margin-top: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
    gap: 18px;
    align-items: center;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(226,75,74,.22);
    background:
        radial-gradient(circle at 0% 50%, rgba(226,75,74,.22), transparent 34%),
        linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
}

.ayw-events-subscribe-form {
    display: flex;
    gap: 10px;
    margin: 0;
}

.ayw-events-subscribe-form input {
    width: 100%;
    min-height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.3);
    color: #fff;
    padding: 0 16px;
    outline: none;
}

.ayw-events-subscribe-form button {
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    background: #e24b4a;
    color: #fff;
    font: 900 12px/1 'Inter', system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: .9px;
    cursor: pointer;
}

.ayw-events-subscribe-form button:hover { filter: brightness(1.1); }

.ayw-hub-layout--results-active .ayw-events-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1180px) {
    .ayw-event-intel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ayw-latest-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ayw-hub-layout--results-active .ayw-events-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .ayw-hub-layout { padding: 0 14px !important; }
    .ayw-hub-main .ayw-events-calendar,
    .ayw-hub-layout--results-active .ayw-events-calendar { padding: 16px !important; border-radius: 20px; }
    .ayw-event-timeline--wide { grid-template-columns: 1fr; }
    .ayw-latest-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ayw-events-subscribe-band { grid-template-columns: 1fr; }
    .ayw-section-heading-row { align-items: start; flex-direction: column; }
}

@media (max-width: 560px) {
    .ayw-event-intel { grid-template-columns: 1fr; }
    .ayw-latest-news-grid { grid-template-columns: 1fr; }
    .ayw-news-tile { min-height: unset; }
    .ayw-news-tile-img { min-height: 150px; }
    .ayw-events-subscribe-form { flex-direction: column; }
    .ayw-section-title { font-size: 28px !important; }
    .ayw-more-upcoming-head--wide { align-items: start; flex-direction: column; }
}


/* ═══════════════════════════════════════════════════════════════════════
   AYW EVENTS HUB v4.0.3 — PREMIUM COMPACT EVENT TIMELINE CARDS
   Bakes in the tighter fight-night card layout shown in the revised mockup.
═══════════════════════════════════════════════════════════════════════ */

.ayw-more-upcoming-head--wide {
    margin-bottom: 18px !important;
}

.ayw-event-timeline--wide {
    position: relative !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 16px !important;
    padding-left: 32px !important;
}

.ayw-event-timeline--wide::before {
    left: 6px !important;
    top: 8px !important;
    bottom: 8px !important;
    width: 2px !important;
    background: linear-gradient(180deg, rgba(226,75,74,.95), rgba(226,75,74,.25), transparent) !important;
    box-shadow: 0 0 20px rgba(226,75,74,.42) !important;
}

.ayw-event-timeline--wide .ayw-timeline-card {
    grid-template-columns: 66px 96px minmax(0, 1fr) 68px !important;
    gap: 12px !important;
    min-height: 104px !important;
    padding: 11px 12px !important;
    border-radius: 18px !important;
    background:
        radial-gradient(circle at 0 0, color-mix(in srgb, var(--tl-color) 14%, transparent), transparent 32%),
        linear-gradient(135deg, rgba(255,255,255,.068), rgba(255,255,255,.025) 58%, rgba(0,0,0,.2)) !important;
    border: 1px solid color-mix(in srgb, var(--tl-color) 24%, rgba(255,255,255,.08)) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.045) !important;
    isolation: isolate !important;
}

.ayw-event-timeline--wide .ayw-timeline-card::before {
    left: -32px !important;
    width: 10px !important;
    height: 10px !important;
    border: 2px solid rgba(255,255,255,.18) !important;
    background: var(--tl-color) !important;
    box-shadow: 0 0 0 5px rgba(6,6,8,.88), 0 0 20px color-mix(in srgb, var(--tl-color) 72%, transparent) !important;
}

.ayw-event-timeline--wide .ayw-timeline-card::after {
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--tl-color) 18%, transparent), transparent 36%),
        radial-gradient(circle at 94% 10%, color-mix(in srgb, var(--tl-color) 16%, transparent), transparent 38%) !important;
    opacity: .34 !important;
}

.ayw-event-timeline--wide .ayw-timeline-card:hover {
    transform: translateY(-3px) !important;
    border-color: color-mix(in srgb, var(--tl-color) 62%, rgba(255,255,255,.18)) !important;
    box-shadow: 0 16px 34px rgba(0,0,0,.48), 0 0 22px color-mix(in srgb, var(--tl-color) 20%, transparent), inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.ayw-event-timeline--wide .ayw-timeline-date {
    min-width: 0 !important;
    padding: 9px 6px 10px !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(0,0,0,.5)) !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.045) !important;
}

.ayw-event-timeline--wide .ayw-timeline-month {
    font-size: 10px !important;
    letter-spacing: 1.7px !important;
    color: color-mix(in srgb, var(--tl-color) 86%, #fff 14%) !important;
}

.ayw-event-timeline--wide .ayw-timeline-day {
    margin-top: 4px !important;
    font-size: 34px !important;
    line-height: .86 !important;
}

.ayw-event-timeline--wide .ayw-timeline-date::after {
    content: "";
    display: block;
    width: 26px;
    height: 2px;
    margin: 8px auto 0;
    border-radius: 99px;
    background: var(--tl-color);
    box-shadow: 0 0 12px color-mix(in srgb, var(--tl-color) 64%, transparent);
}

.ayw-event-timeline--wide .ayw-timeline-thumb {
    height: 76px !important;
    border-radius: 14px !important;
    border-color: color-mix(in srgb, var(--tl-color) 30%, rgba(255,255,255,.1)) !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.35) !important;
}

.ayw-event-timeline--wide .ayw-timeline-topline {
    gap: 6px !important;
    margin-bottom: 5px !important;
}

.ayw-event-timeline--wide .ayw-timeline-promo,
.ayw-event-timeline--wide .ayw-timeline-badge {
    padding: 5px 7px !important;
    font-size: 9px !important;
    letter-spacing: 1.2px !important;
    border-radius: 999px !important;
}

.ayw-event-timeline--wide .ayw-timeline-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 0 5px !important;
    font-size: 20px !important;
    line-height: 1.04 !important;
    letter-spacing: .2px !important;
}

.ayw-event-timeline--wide .ayw-timeline-meta {
    display: block !important;
    font-size: 12px !important;
    line-height: 1.28 !important;
    color: rgba(255,255,255,.6) !important;
}

.ayw-event-timeline--wide .ayw-timeline-meta span {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.ayw-event-timeline--wide .ayw-timeline-meta span + span {
    margin-top: 3px !important;
}

.ayw-event-timeline--wide .ayw-timeline-action {
    align-self: stretch !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-left: 12px !important;
    border-left: 1px solid rgba(255,255,255,.09) !important;
    font-size: 11px !important;
    letter-spacing: 1.8px !important;
    color: rgba(255,255,255,.78) !important;
}

.ayw-event-timeline--wide .ayw-timeline-action::first-letter {
    color: #fff !important;
}

@media (max-width: 1180px) {
    .ayw-event-timeline--wide {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

@media (max-width: 760px) {
    .ayw-event-timeline--wide {
        padding-left: 0 !important;
    }

    .ayw-event-timeline--wide::before {
        display: none !important;
    }

    .ayw-event-timeline--wide .ayw-timeline-card {
        grid-template-columns: 58px minmax(0, 1fr) !important;
        gap: 10px !important;
        min-height: 0 !important;
        padding: 11px !important;
        border-radius: 16px !important;
    }

    .ayw-event-timeline--wide .ayw-timeline-card::before {
        display: none !important;
    }

    .ayw-event-timeline--wide .ayw-timeline-thumb {
        display: none !important;
    }

    .ayw-event-timeline--wide .ayw-timeline-date {
        padding: 8px 5px !important;
        border-radius: 12px !important;
    }

    .ayw-event-timeline--wide .ayw-timeline-day {
        font-size: 29px !important;
    }

    .ayw-event-timeline--wide .ayw-timeline-body {
        min-width: 0 !important;
    }

    .ayw-event-timeline--wide .ayw-timeline-title {
        font-size: 18px !important;
    }

    .ayw-event-timeline--wide .ayw-timeline-action {
        grid-column: 1 / -1 !important;
        justify-content: flex-start !important;
        align-self: auto !important;
        border-left: 0 !important;
        border-top: 1px solid rgba(255,255,255,.08) !important;
        padding: 9px 0 0 !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   AYW EVENTS HUB v4.0.4 — RESULTS ARCHIVE MOBILE FIX
   Forces the results archive cards to a single-column layout on mobile.
═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
    .ayw-hub-layout--results-active .ayw-events-grid,
    .ayw-hub-layout--results-active .ayw-past-grid,
    .ayw-results-tab .ayw-events-grid,
    .ayw-results-tab .ayw-past-grid {
        grid-template-columns: 1fr !important;
    }

    .ayw-hub-layout--results-active .ayw-event-card,
    .ayw-results-tab .ayw-event-card {
        width: 100% !important;
        max-width: none !important;
    }
}

/* =========================================================
   AYW EVENTS HUB — LEFT FILTER / COMPACT LIST FIRST DRAFT
   ========================================================= */
.ayw-events-filter-redesign {
    --ayw-red: #d71920;
    --ayw-red-dark: #8f0f14;
    --ayw-panel: rgba(12, 13, 17, 0.94);
    --ayw-panel-soft: rgba(255, 255, 255, 0.055);
    --ayw-line: rgba(255, 255, 255, 0.11);
    --ayw-text: #f4f4f5;
    --ayw-muted: rgba(244, 244, 245, 0.68);
}

.ayw-events-filter-redesign .ayw-hub-layout--filter,
.ayw-events-filter-redesign .ayw-hub-main,
.ayw-events-filter-redesign .ayw-events-calendar--filters {
    width: 100%;
}

.ayw-events-filter-redesign .ayw-hub-layout--filter {
    margin-top: 24px;
}

.ayw-events-filter-redesign .ayw-events-calendar--filters {
    background:
        radial-gradient(circle at 15% 5%, rgba(215, 25, 32, 0.16), transparent 34%),
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.08), transparent 28%),
        linear-gradient(135deg, rgba(8, 8, 11, 0.98), rgba(18, 18, 24, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 26px;
    padding: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    overflow: visible;
}

.ayw-events-filter-redesign .ayw-filter-layout {
    display: grid;
    grid-template-columns: minmax(245px, 300px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.ayw-events-filter-redesign .ayw-event-filter-sidebar {
    position: relative;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        linear-gradient(135deg, rgba(13, 13, 17, 0.96), rgba(20, 20, 26, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 48px rgba(0,0,0,.34);
    overflow: hidden;
}

.ayw-events-filter-redesign .ayw-event-filter-sidebar:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(215, 25, 32, 0.18), transparent 34%),
        repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0, rgba(255,255,255,.035) 1px, transparent 1px, transparent 9px);
    opacity: 0.7;
    pointer-events: none;
}

.ayw-events-filter-redesign .ayw-filter-sticky {
    position: sticky;
    top: 96px;
    padding: 20px;
    isolation: isolate;
}

.ayw-events-filter-redesign .ayw-filter-kicker,
.ayw-events-filter-redesign .ayw-list-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    letter-spacing: .17em;
    text-transform: uppercase;
    font-weight: 900;
    opacity: .82;
}

.ayw-events-filter-redesign .ayw-filter-kicker:before,
.ayw-events-filter-redesign .ayw-list-kicker:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: var(--ayw-red);
    box-shadow: 0 0 18px rgba(215,25,32,.9);
}

.ayw-events-filter-redesign .ayw-filter-title {
    margin: 10px 0 8px;
    color: #fff;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.ayw-events-filter-redesign .ayw-filter-copy {
    color: var(--ayw-muted);
    font-size: 13px;
    line-height: 1.55;
    margin: 0 0 18px;
}

.ayw-events-filter-redesign .ayw-filter-block {
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ayw-events-filter-redesign .ayw-filter-label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255,255,255,.68);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ayw-events-filter-redesign .ayw-filter-switch,
.ayw-events-filter-redesign .ayw-filter-options,
.ayw-events-filter-redesign .ayw-year-bar--sidebar {
    display: grid;
    gap: 8px;
}

.ayw-events-filter-redesign .ayw-filter-switch {
    grid-template-columns: 1fr 1fr;
    padding: 4px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(0,0,0,.24);
    border-radius: 15px;
}

.ayw-events-filter-redesign .ayw-top-tab,
.ayw-events-filter-redesign .ayw-tab,
.ayw-events-filter-redesign .ayw-year-pill {
    appearance: none;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.045);
    color: rgba(255,255,255,.75);
    border-radius: 13px;
    min-height: 42px;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.ayw-events-filter-redesign .ayw-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
    border-left: 3px solid var(--tab-color, var(--ayw-red));
}

.ayw-events-filter-redesign .ayw-tab em {
    min-width: 28px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-style: normal;
    font-size: 11px;
    background: rgba(255,255,255,.09);
    color: #fff;
}

.ayw-events-filter-redesign .ayw-top-tab:hover,
.ayw-events-filter-redesign .ayw-tab:hover,
.ayw-events-filter-redesign .ayw-year-pill:hover {
    transform: translateX(2px);
    color: #fff;
    border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.085);
}

.ayw-events-filter-redesign .ayw-top-tab.active,
.ayw-events-filter-redesign .ayw-year-pill.active {
    color: #fff;
    border-color: rgba(215,25,32,.62);
    background: linear-gradient(135deg, rgba(215,25,32,.92), rgba(125,12,17,.92));
    box-shadow: 0 10px 24px rgba(215,25,32,.22);
}

.ayw-events-filter-redesign .ayw-tab.active {
    color: #fff;
    background: linear-gradient(90deg, color-mix(in srgb, var(--tab-color, #d71920) 36%, transparent), rgba(255,255,255,.055));
    border-color: color-mix(in srgb, var(--tab-color, #d71920) 70%, white 0%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 12px 24px rgba(0,0,0,.2);
}

.ayw-events-filter-redesign .ayw-year-bar--sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ayw-events-filter-redesign .ayw-event-list-pane {
    min-width: 0;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.028)),
        rgba(7, 7, 10, 0.74);
    border: 1px solid rgba(255,255,255,.1);
    padding: 18px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}

.ayw-events-filter-redesign .ayw-list-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 4px 2px 18px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.ayw-events-filter-redesign .ayw-list-head h2 {
    margin: 8px 0 0;
    color: #fff;
    font-size: clamp(26px, 3vw, 44px);
    line-height: .95;
    letter-spacing: -0.055em;
    text-transform: uppercase;
    font-weight: 1000;
}

.ayw-events-filter-redesign .ayw-list-count,
.ayw-events-filter-redesign .ayw-results-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    padding: 9px 12px;
}

.ayw-events-filter-redesign .ayw-results-count {
    margin: 0 0 14px;
}

.ayw-events-filter-redesign .ayw-compact-event-list {
    display: grid;
    gap: 10px;
}

.ayw-events-filter-redesign .ayw-compact-event-row {
    position: relative;
    display: grid;
    grid-template-columns: 76px 92px minmax(0, 1fr) auto auto;
    gap: 14px;
    align-items: center;
    min-height: 104px;
    padding: 12px 14px 12px 12px;
    color: #fff;
    text-decoration: none !important;
    border-radius: 18px;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--event-color, #d71920) 16%, transparent), transparent 40%),
        linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
    border: 1px solid rgba(255,255,255,.105);
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.ayw-events-filter-redesign .ayw-compact-event-row:before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 4px;
    border-radius: 0 999px 999px 0;
    background: var(--event-color, var(--ayw-red));
    box-shadow: 0 0 22px color-mix(in srgb, var(--event-color, #d71920) 62%, transparent);
}

.ayw-events-filter-redesign .ayw-compact-event-row:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--event-color, #d71920) 58%, white 0%);
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--event-color, #d71920) 24%, transparent), transparent 48%),
        linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.045));
    box-shadow: 0 18px 40px rgba(0,0,0,.34);
}

.ayw-events-filter-redesign .ayw-compact-date {
    display: grid;
    place-items: center;
    gap: 2px;
    min-height: 76px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,.11);
    background: rgba(0,0,0,.32);
    text-align: center;
}

.ayw-events-filter-redesign .ayw-compact-month {
    color: var(--event-color, var(--ayw-red));
    font-size: 11px;
    line-height: 1;
    font-weight: 1000;
    letter-spacing: .12em;
}

.ayw-events-filter-redesign .ayw-compact-date strong {
    font-size: 30px;
    line-height: .9;
    letter-spacing: -.06em;
}

.ayw-events-filter-redesign .ayw-compact-date small {
    color: rgba(255,255,255,.56);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.ayw-events-filter-redesign .ayw-compact-thumb {
    width: 92px;
    height: 72px;
    border-radius: 15px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
        rgba(0,0,0,.34);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,.1);
    overflow: hidden;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.55);
    font-size: 11px;
    font-weight: 900;
}

.ayw-events-filter-redesign .ayw-compact-main {
    min-width: 0;
}

.ayw-events-filter-redesign .ayw-compact-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 7px;
}

.ayw-events-filter-redesign .ayw-compact-promo,
.ayw-events-filter-redesign .ayw-compact-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 10px;
    line-height: 1;
    font-weight: 1000;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ayw-events-filter-redesign .ayw-compact-promo {
    color: #fff;
    background: color-mix(in srgb, var(--event-color, #d71920) 70%, black 10%);
    box-shadow: 0 0 18px color-mix(in srgb, var(--event-color, #d71920) 28%, transparent);
}

.ayw-events-filter-redesign .ayw-compact-badge {
    color: rgba(255,255,255,.78);
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.06);
}

.ayw-events-filter-redesign .ayw-compact-badge--gold {
    color: #ffd56d;
    border-color: rgba(255,213,109,.25);
    background: rgba(255,213,109,.08);
}

.ayw-events-filter-redesign .ayw-compact-main h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(16px, 1.35vw, 21px);
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: -0.025em;
}

.ayw-events-filter-redesign .ayw-compact-main p {
    margin: 6px 0 0;
    color: rgba(255,255,255,.61);
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ayw-events-filter-redesign .ayw-compact-stats {
    display: grid;
    gap: 6px;
    justify-items: end;
    min-width: 90px;
}

.ayw-events-filter-redesign .ayw-compact-stats span {
    color: rgba(255,255,255,.66);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.ayw-events-filter-redesign .ayw-compact-stats strong {
    color: #fff;
    font-size: 14px;
}

.ayw-events-filter-redesign .ayw-compact-action {
    color: #fff;
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.11);
    background: rgba(0,0,0,.22);
    padding: 10px 12px;
    transition: background .18s ease, transform .18s ease;
}

.ayw-events-filter-redesign .ayw-compact-event-row:hover .ayw-compact-action {
    background: var(--event-color, var(--ayw-red));
    transform: translateX(2px);
}

.ayw-events-filter-redesign .ayw-load-more,
.ayw-events-filter-redesign .ayw-timeline-more {
    margin: 18px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid rgba(215,25,32,.45);
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, rgba(215,25,32,.88), rgba(112,10,14,.9));
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 0 22px;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(215,25,32,.18);
}

.ayw-events-filter-redesign .ayw-top-panel:not(.active),
.ayw-events-filter-redesign .ayw-tab-panel:not(.active) {
    display: none;
}

@media (max-width: 980px) {
    .ayw-events-filter-redesign .ayw-events-calendar--filters {
        padding: 12px;
        border-radius: 20px;
    }
    .ayw-events-filter-redesign .ayw-filter-layout {
        grid-template-columns: 1fr;
    }
    .ayw-events-filter-redesign .ayw-filter-sticky {
        position: relative;
        top: auto;
        padding: 16px;
    }
    .ayw-events-filter-redesign .ayw-filter-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ayw-events-filter-redesign .ayw-compact-event-row {
        grid-template-columns: 64px 76px minmax(0, 1fr);
    }
    .ayw-events-filter-redesign .ayw-compact-stats,
    .ayw-events-filter-redesign .ayw-compact-action {
        grid-column: 3;
        justify-self: start;
    }
    .ayw-events-filter-redesign .ayw-compact-stats {
        display: flex;
        margin-top: -2px;
    }
    .ayw-events-filter-redesign .ayw-compact-action {
        margin-top: 4px;
        padding: 8px 10px;
    }
}

@media (max-width: 640px) {
    .ayw-events-filter-redesign .ayw-hub-layout--filter {
        margin-top: 14px;
    }
    .ayw-events-filter-redesign .ayw-event-list-pane {
        padding: 12px;
        border-radius: 18px;
    }
    .ayw-events-filter-redesign .ayw-list-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
    .ayw-events-filter-redesign .ayw-filter-options,
    .ayw-events-filter-redesign .ayw-year-bar--sidebar {
        grid-template-columns: 1fr 1fr;
    }
    .ayw-events-filter-redesign .ayw-compact-event-row {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 10px;
        padding: 11px;
        min-height: 0;
    }
    .ayw-events-filter-redesign .ayw-compact-thumb {
        display: none;
    }
    .ayw-events-filter-redesign .ayw-compact-main,
    .ayw-events-filter-redesign .ayw-compact-stats,
    .ayw-events-filter-redesign .ayw-compact-action {
        grid-column: 2;
    }
    .ayw-events-filter-redesign .ayw-compact-date {
        grid-row: 1 / span 3;
        min-height: 72px;
    }
    .ayw-events-filter-redesign .ayw-compact-main p {
        white-space: normal;
    }
    .ayw-events-filter-redesign .ayw-compact-tags {
        gap: 4px;
    }
    .ayw-events-filter-redesign .ayw-compact-badge {
        display: none;
    }
}

/* =========================================================
   AYW EVENTS HUB v4.0.6 — COMPACT TITLE + TIGHTER STRIPS
   ========================================================= */
.ayw-events-filter-redesign .ayw-events-titlebar {
    position: relative;
    margin: 0 0 18px;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 0%, rgba(215, 25, 32, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(16, 16, 22, 0.98), rgba(7, 7, 10, 0.98) 58%, rgba(30, 7, 9, 0.92));
    border: 1px solid rgba(255,255,255,.105);
    box-shadow: 0 22px 60px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.08);
}

.ayw-events-filter-redesign .ayw-events-titlebar:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(215,25,32,.12), transparent 42%),
        repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0, rgba(255,255,255,.035) 1px, transparent 1px, transparent 12px);
    opacity: .65;
    pointer-events: none;
}

.ayw-events-filter-redesign .ayw-events-titlebar:after {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(215,25,32,.95), rgba(255,255,255,.28), transparent);
    opacity: .9;
}

.ayw-events-filter-redesign .ayw-events-titlebar__inner {
    position: relative;
    z-index: 1;
    padding: clamp(22px, 3vw, 38px) clamp(22px, 4vw, 46px);
}

.ayw-events-filter-redesign .ayw-events-titlebar__mark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: rgba(255,255,255,.66);
    font-size: 11px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.ayw-events-filter-redesign .ayw-events-titlebar__mark:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d71920;
    box-shadow: 0 0 18px rgba(215,25,32,.85);
}

.ayw-events-filter-redesign .ayw-events-titlebar__title {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 6.2vw, 86px);
    line-height: .86;
    letter-spacing: -.06em;
    text-transform: uppercase;
    font-weight: 1000;
    text-shadow: 0 12px 32px rgba(0,0,0,.5);
}

.ayw-events-filter-redesign .ayw-events-titlebar__title span {
    color: #d71920;
    text-shadow: 0 0 28px rgba(215,25,32,.34);
}

.ayw-events-filter-redesign .ayw-events-titlebar__sub {
    max-width: 720px;
    margin: 12px 0 0;
    color: rgba(255,255,255,.72);
    font-size: clamp(14px, 1.3vw, 17px);
    line-height: 1.45;
    font-weight: 700;
}

.ayw-events-filter-redesign .ayw-hub-layout--filter {
    margin-top: 0;
}

.ayw-events-filter-redesign .ayw-events-calendar--filters {
    padding: 16px;
}

.ayw-events-filter-redesign .ayw-event-list-pane {
    padding: 16px;
}

.ayw-events-filter-redesign .ayw-list-head {
    padding-bottom: 14px;
    margin-bottom: 12px;
}

.ayw-events-filter-redesign .ayw-list-head h2 {
    font-size: clamp(24px, 2.4vw, 38px);
}

.ayw-events-filter-redesign .ayw-compact-event-list {
    gap: 8px;
}

.ayw-events-filter-redesign .ayw-compact-event-row {
    grid-template-columns: 66px 80px minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 88px;
    padding: 9px 12px 9px 10px;
    border-radius: 16px;
}

.ayw-events-filter-redesign .ayw-compact-date {
    min-height: 66px;
    border-radius: 13px;
}

.ayw-events-filter-redesign .ayw-compact-date strong {
    font-size: 26px;
}

.ayw-events-filter-redesign .ayw-compact-thumb {
    width: 80px;
    height: 62px;
    border-radius: 13px;
}

.ayw-events-filter-redesign .ayw-compact-tags {
    margin-bottom: 5px;
}

.ayw-events-filter-redesign .ayw-compact-promo {
    min-height: 20px;
    padding: 4px 8px;
    font-size: 9.5px;
}

.ayw-events-filter-redesign .ayw-compact-main h3 {
    font-size: clamp(15px, 1.2vw, 19px);
    line-height: 1.08;
}

.ayw-events-filter-redesign .ayw-compact-main p {
    margin-top: 4px;
    font-size: 11.5px;
}

.ayw-events-filter-redesign .ayw-compact-action {
    align-self: center;
    padding: 8px 11px;
    font-size: 11px;
    min-width: 96px;
    text-align: center;
}

@media (max-width: 980px) {
    .ayw-events-filter-redesign .ayw-compact-event-row {
        grid-template-columns: 62px 74px minmax(0, 1fr) auto;
    }
    .ayw-events-filter-redesign .ayw-compact-action {
        grid-column: 4;
        justify-self: end;
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    .ayw-events-filter-redesign .ayw-events-titlebar {
        border-radius: 18px;
        margin-bottom: 14px;
    }
    .ayw-events-filter-redesign .ayw-events-titlebar__inner {
        padding: 20px;
    }
    .ayw-events-filter-redesign .ayw-events-titlebar__title {
        font-size: clamp(38px, 14vw, 58px);
    }
    .ayw-events-filter-redesign .ayw-events-calendar--filters,
    .ayw-events-filter-redesign .ayw-event-list-pane {
        padding: 12px;
    }
    .ayw-events-filter-redesign .ayw-compact-event-row {
        grid-template-columns: 56px minmax(0, 1fr);
        min-height: 88px;
    }
    .ayw-events-filter-redesign .ayw-compact-action {
        grid-column: 2;
        justify-self: start;
        padding: 7px 10px;
        min-width: 0;
    }
}


/* AYW advanced event filters */
.ayw-events-filter-redesign .ayw-type-filter-options {
    display: grid;
    gap: 8px;
}

.ayw-events-filter-redesign .ayw-type-filter,
.ayw-events-filter-redesign .ayw-date-filter {
    width: 100%;
    appearance: none;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.045);
    color: rgba(255,255,255,.78);
    border-radius: 13px;
    min-height: 42px;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.ayw-events-filter-redesign .ayw-type-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    text-align: left;
    border-left: 3px solid rgba(215,25,32,.85);
}

.ayw-events-filter-redesign .ayw-type-filter em {
    min-width: 28px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-style: normal;
    font-size: 11px;
    background: rgba(255,255,255,.09);
    color: #fff;
}

.ayw-events-filter-redesign .ayw-type-filter:hover,
.ayw-events-filter-redesign .ayw-date-filter:hover {
    transform: translateX(2px);
    color: #fff;
    border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.085);
}

.ayw-events-filter-redesign .ayw-type-filter.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(215,25,32,.34), rgba(255,255,255,.055));
    border-color: rgba(215,25,32,.72);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 12px 24px rgba(0,0,0,.2);
}

.ayw-events-filter-redesign .ayw-date-filter {
    background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.75) 50%), linear-gradient(135deg, rgba(255,255,255,.75) 50%, transparent 50%);
    background-position: calc(100% - 18px) 18px, calc(100% - 12px) 18px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 34px;
}

.ayw-events-filter-redesign .ayw-date-filter option {
    background: #121216;
    color: #fff;
}

.ayw-events-filter-redesign .ayw-row-filtered {
    display: none !important;
}

.ayw-events-filter-redesign .ayw-filter-empty {
    display: none;
    margin: 14px 0 0;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.045);
    color: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.ayw-events-filter-redesign .ayw-compact-type {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 8px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.78);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
