/* ==========================================================================
   AYW Event Results — Frontend Styles v2.0
   Design: Dark (#0a0a0a), Crimson, 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 / CALENDAR PAGE ────────────────────────────────────────────────── */

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

/* ── TOP TABS ── */
/* ── TOP TABS — Segmented control ── */
.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: 22px;
    letter-spacing: 3px;
    padding: 10px 32px;
    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);
}
/* Crimson accent pip on the active tab */
.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);
}

/* ── TAB PANELS ── */
.ayw-tab-panel { display: none; }
.ayw-tab-panel.active { display: block; }

/* ── YEAR FILTER 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;
}

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

/* ── LOADING ── */
.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); } }

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

/* ─────────────────────────────────────────────────────────────────── */
/* FEATURED HERO CARD                                                  */
/* ─────────────────────────────────────────────────────────────────── */
.ayw-featured-card {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 28px;
    min-height: 320px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: box-shadow 0.3s ease, transform 0.25s ease;
}
.ayw-featured-card:hover {
    text-decoration: none;
    color: inherit;
    box-shadow: 0 12px 48px rgba(0,0,0,0.6);
    transform: translateY(-2px);
}

/* PPV hero gets a gold shimmer border */
.ayw-featured-card--major {
    border-color: rgba(241,196,15,0.35);
    box-shadow: 0 0 0 1px rgba(241,196,15,0.15);
}
.ayw-featured-card--major:hover {
    box-shadow: 0 12px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(241,196,15,0.4);
}

/* Background layer */
.ayw-featured-bg {
    position: absolute;
    inset: 0;
    background-color: #111;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    transition: transform 0.4s ease;
}
/* Fallback gradient when no image */
.ayw-featured-bg:not([style*="background-image"]) {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--feat-color, #c0392b) 30%, #0a0a0a) 0%,
        #0d0d0d 60%,
        #0a0a0a 100%
    );
}
.ayw-featured-card:hover .ayw-featured-bg { transform: scale(1.02); }

/* Gradient overlay */
.ayw-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(5,5,5,0.97) 0%,
        rgba(5,5,5,0.82) 45%,
        rgba(5,5,5,0.3) 75%,
        rgba(5,5,5,0.05) 100%
    );
}

/* Content */
.ayw-featured-content {
    position: relative;
    z-index: 2;
    padding: 36px 40px;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 320px;
    justify-content: center;
}

.ayw-featured-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ayw-featured-label {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #777;
}
.ayw-featured-ppv-badge {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #111;
    background: #f1c40f;
    padding: 2px 10px;
    border-radius: 2px;
}
.ayw-featured-mw-badge {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #111;
    background: #e67e22;
    padding: 2px 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, 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 60%, #f1c40f 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;
    letter-spacing: 0.5px;
}
.ayw-featured-sep { color: #555; }
.ayw-featured-date { color: #bbb; }
.ayw-featured-venue { color: #777; font-size: 12px; }

/* ── COUNTDOWN TIMER ── */
.ayw-countdown {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 4px 0;
}
.ayw-cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
    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;
}

/* PPV gets gold countdown numbers */
.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);
}

.ayw-featured-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 4px;
}
.ayw-featured-matches {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    color: #666;
    letter-spacing: 0.5px;
}
.ayw-featured-cta {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--feat-color, #c0392b);
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ayw-cta-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}
.ayw-featured-card:hover .ayw-cta-arrow { transform: translateX(4px); }

/* ─────────────────────────────────────────────────────────────────── */
/* EVENT CARDS                                                         */
/* ─────────────────────────────────────────────────────────────────── */
.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;
}

/* PPV / Major card */
.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);
}

/* Must watch card */
.ayw-event-card--mustwatch .ayw-card-accent-bar {
    background: #f1c40f !important;
}

/* Thumbnail */
.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) 100%);
    transition: opacity 0.3s ease;
}
.ayw-event-card:hover .ayw-card-thumb-overlay { opacity: 0.7; }

/* No-image thumbnail: coloured gradient placeholder */
.ayw-card-thumb--no-image {
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--card-promo-color, #c0392b) 25%, #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.08);
    user-select: none;
}

/* Accent bar */
.ayw-card-accent-bar {
    height: 3px;
    background: var(--card-promo-color, #c0392b);
}
.ayw-event-card--major .ayw-card-accent-bar {
    height: 3px;
    background: linear-gradient(to right, #f1c40f, #e67e22, #f1c40f);
}

/* Card body */
.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;
}

/* Rating chip */
.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;
}

/* Fade-in animation for cards */
@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; }

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

@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: 260px; }
    .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: 18px; padding: 9px 20px; }
}

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

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

/* The main calendar column handles its own max-width internally */
.ayw-hub-main {
    min-width: 0;
}
.ayw-hub-main .ayw-events-calendar {
    max-width: 100%;
    padding: 0;
}

/* ── SIDEBAR ── */
.ayw-hub-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 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;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.02);
}
.ayw-sb-widget-icon {
    font-size: 12px;
    color: #f1c40f;
    line-height: 1;
}
.ayw-sb-widget-icon--news {
    color: #c0392b;
    font-size: 8px;
}
.ayw-sb-widget-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    letter-spacing: 2.5px;
    color: #fff;
    margin: 0;
    line-height: 1;
}
.ayw-sb-widget-body {
    display: flex;
    flex-direction: column;
}

/* ── FEATURED ARTICLE ROW ── */
.ayw-sb-article {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 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: 60px;
    height: 60px;
    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: 3px;
    min-width: 0;
    flex: 1;
}
.ayw-sb-article-cat {
    font-family: 'Oswald', sans-serif;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #c0392b;
    line-height: 1;
}
.ayw-sb-article-title {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #ddd;
    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;
}

/* ── LATEST NEWS ROWS ── */
.ayw-sb-news-item {
    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-news-item:last-child { border-bottom: none; }
.ayw-sb-news-item:hover {
    background: rgba(255,255,255,0.03);
    text-decoration: none;
    color: inherit;
}

.ayw-sb-news-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c0392b;
    flex-shrink: 0;
    margin-top: 5px;
}

.ayw-sb-news-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.ayw-sb-news-cat {
    font-family: 'Oswald', sans-serif;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #555;
    line-height: 1;
}
.ayw-sb-news-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-news-item:hover .ayw-sb-news-title { color: #fff; }

.ayw-sb-news-meta {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    color: #444;
    letter-spacing: 0.5px;
}

/* ── RESPONSIVE for hub layout ── */
@media (max-width: 1060px) {
    .ayw-hub-layout {
        grid-template-columns: 1fr;
    }
    .ayw-hub-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .ayw-hub-sidebar {
        grid-template-columns: 1fr;
    }
}
