/* ============================================
   World Cup 2026 Countdown Banner
   ============================================ */

/* --- Base Banner --- */
.wc-banner {
    display: block;
    background: #333;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
}

.wc-banner:hover {
    color: #fff;
    text-decoration: none;
    opacity: 0.97;
}

/* --- Layout: horizontal row --- */
.wc-banner__content {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    gap: 16px;
}

/* --- Right side: Title + Subtitle (RTL so this is first in DOM) --- */
.wc-banner__info {
    flex-shrink: 0;
    text-align: right;
}

.wc-banner__title {
    font-size: 15px;
    font-weight: 800;
    margin: 0;
    color: #fff;
    line-height: 1.5;
    white-space: nowrap;
}

.wc-banner__subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin: 2px 0 0;
}

/* --- Center: Timer --- */
.wc-banner__timer-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
}

.wc-banner__timer {
    display: flex;
    align-items: center;
    gap: 6px;
    direction: ltr;
}

/* Individual number box */
.wc-banner__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wc-banner__number {
    background: #222;
    border-radius: 6px;
    min-width: 42px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.wc-banner__label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 4px;
    direction: rtl;
}

/* Colon separator */
.wc-banner__sep {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1;
    align-self: flex-start;
    padding-top: 8px;
}

/* --- Left side: Trophy image --- */
.wc-banner__image-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.wc-banner__trophy {
    width: 42px;
    height: auto;
}

.wc-banner__brand {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

/* --- Fallback --- */
.wc-banner__fallback {
    display: none;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    padding: 14px 0;
}

.wc-banner__fallback.active {
    display: block;
}

/* ============================================
   SIDEBAR VARIANT (Desktop)
   ============================================ */
.wc-banner--sidebar {
    display: block;
    margin-top: 20px;
}

.wc-banner--sidebar .wc-banner__content {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px 12px;
}

.wc-banner--sidebar .wc-banner__info {
    text-align: center;
}

.wc-banner--sidebar .wc-banner__number {
    min-width: 38px;
    height: 36px;
    font-size: 20px;
}

.wc-banner--sidebar .wc-banner__timer {
    gap: 4px;
}

.wc-banner--sidebar .wc-banner__trophy {
    width: 36px;
}

/* ============================================
   MOBILE VARIANT (Full-width)
   ============================================ */
.wc-banner--mobile {
    display: none;
    margin-bottom: 14px;
}

.wc-banner--mobile .wc-banner__content {
    flex-direction: row;
    padding: 12px 14px;
    gap: 12px;
}

/* ============================================
   Responsive
   ============================================ */
@media only screen and (max-width: 1024px) {
    .wc-banner--sidebar {
        display: none;
    }
    .wc-banner--mobile {
        display: block;
    }
}

@media only screen and (max-width: 580px) {
    .wc-banner--mobile .wc-banner__content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .wc-banner--mobile .wc-banner__info {
        text-align: center;
        width: 100%;
    }
    .wc-banner--mobile .wc-banner__timer-wrap {
        order: 1;
    }
    .wc-banner--mobile .wc-banner__image-wrap {
        display: flex;
    }
    .wc-banner--mobile .wc-banner__number {
        min-width: 38px;
        height: 36px;
        font-size: 18px;
    }
    .wc-banner--mobile .wc-banner__sep {
        font-size: 16px;
    }
}
