/* ================================================================
   Top-100 Announcement Banner
   Full-width, single-row layout: [Logo] [Text block] [CTA]
   Background: Banner_BG.jpg (default) / Banner_FullBG.jpg (tall/ultra)
   ================================================================ */

.top100-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: url(/local/templates/top100/images/Banner_BG.jpg) center center / cover no-repeat #0a0a0a;
    color: #fff;
    border-radius: 0;
}

/* Ultra-wide / very tall screens — use the full-size background */
@media (min-width: 2200px),
       (min-aspect-ratio: 21/9) {
    .top100-banner {
        background: no-repeat center center / cover url("/local/templates/top100/images/Banner_BG.jpg ") #0a0a0a;        
    }
}

/* ---- Inner wrapper: single horizontal row ---- */
.top100-banner__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 28px 48px;
    min-height: 100px;
}

/* ---- Logo ---- */
.top100-banner__logo {
    flex-shrink: 0;
}

.top100-banner__logo img {
    display: block;
    width: 200px;
    height: auto;
}

/* ---- Text body: headline + subheading ---- */
.top100-banner__body {
    flex: 1 1 auto;
    min-width: 0;
}

.top100-banner__headline {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
    text-wrap: balance;
}

.top100-banner__subheading {
    margin-top: 4px;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.4;
    opacity: 0.9;
    text-align: center;
    text-wrap: balance;
}

/* ---- Inline counter badge (the #COUNTER# replacement) ---- */
.top100-banner__counter {
    display: inline-block;
    min-width: 1.6em;
    padding: 1px 6px;
    margin: 0 2px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    text-align: center;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: inherit;
    vertical-align: baseline;
}

/* ---- CTA button ---- */
.top100-banner__cta {
    flex-shrink: 0;
    text-transform: uppercase;
    font-weight: 500;
}

.top100-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 32px;
    border-radius: 8px;
    background: #3451a2;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border: 0;
    transition: background 0.2s;
}

.top100-banner__btn:hover {
    background: #283f8a;
    color: #fff;
    text-decoration: none;
}

/* ================================================================
   Responsive
   ================================================================ */

/* ---- Tablet / smaller desktop (up to 1100px) ---- */
@media (max-width: 1100px) {
    .top100-banner__inner {
        gap: 28px;
        padding: 24px 32px;
    }

    .top100-banner__logo img {
        width: 160px;
    }

    .top100-banner__headline {
        font-size: 20px;
    }

    .top100-banner__subheading {
        font-size: 15px;
    }
}

/* ---- Narrow tablet (up to 900px) ---- */
@media (max-width: 900px) {
    .top100-banner__inner {
        gap: 20px;
        padding: 20px 24px;
    }

    .top100-banner__logo img {
        width: 130px;
    }

    .top100-banner__headline {
        font-size: 18px;
    }

    .top100-banner__subheading {
        font-size: 14px;
    }

    .top100-banner__btn {
        height: 42px;
        padding: 0 24px;
        font-size: 14px;
    }
}

/* ---- Mobile L (up to 767px): stack to two rows ---- */
@media (max-width: 767px) {
    .top100-banner__inner {
        flex-wrap: wrap;
        gap: 16px;
        padding: 20px 20px;
    }

    .top100-banner__logo {
        flex: 0 0 auto;
    }

    .top100-banner__logo img {
        width: 120px;
    }

    .top100-banner__body {
        flex: 1 1 0%;
        min-width: 160px;
    }

    .top100-banner__headline {
        font-size: 24px;
        text-align: left;
    }

    .top100-banner__subheading {
        font-size: 18px;
        text-align: left;
    }

    .top100-banner__cta {
        flex: 0 0 auto;
    }

    .top100-banner__btn {
        height: 40px;
        padding: 0 20px;
        font-size: 16px;
        border-radius: 6px;
    }
}

/* ---- Mobile M (up to 480px): full stack ---- */
@media (max-width: 480px) {
    .top100-banner__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 18px 16px;
    }

    .top100-banner__logo img {
        width: 110px;
    }

    .top100-banner__headline {
        font-size: 16px;
    }

    .top100-banner__subheading {
        font-size: 13px;
    }

    .top100-banner__cta {
        width: 100%;
    }

    .top100-banner__btn {
        width: 100%;
    }
}

/* ---- Mobile S (up to 360px) ---- */
@media (max-width: 360px) {
    .top100-banner__inner {
        padding: 14px 12px;
        gap: 10px;
    }

    .top100-banner__logo img {
        width: 96px;
    }

    .top100-banner__headline {
        font-size: 15px;
    }

    .top100-banner__subheading {
        font-size: 12px;
    }
}
