/* =========================================================
   hero-banners.css — GAMQ hero banner system
   ========================================================= */


/* ---------------------------------------------------------
   1. Hero / Revolution Slider environment
   --------------------------------------------------------- */

.rev_slider_wrapper,
.fullwidthbanner-container {
    position: relative !important;
    max-width: 100vw !important;
}


/* ---------------------------------------------------------
   2. Banner stack
   --------------------------------------------------------- */

.hero-banner-stack {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;

    gap: clamp(10px, 1.5vw, 18px);

    width: auto !important;
    max-width: calc(100vw - 32px);

    height: auto !important;
    min-width: 0 !important;

    white-space: normal !important;

    pointer-events: auto !important;
}


/* ---------------------------------------------------------
   3. Banner
   --------------------------------------------------------- */

.hero-banner {
    --banner-width: 450px;

    --banner-bg: rgba(4, 63, 122, .94);
    --banner-accent: #06a0e2;

    --banner-mark-bg: rgba(6, 160, 226, .16);

    --banner-action-bg: #06a0e2;
    --banner-action-hover: #6657d9;

    --banner-status-color: #aee89c;
    --banner-status-dot: #55b947;

    display: flex;
    align-items: stretch;

    width: min(
        var(--banner-width),
        calc(100vw - 32px)
    );

    max-width: calc(100vw - 32px);
    min-width: 0;
    min-height: 92px;

    height: auto;

    box-sizing: border-box;

    background: var(--banner-bg);

    border: 1px solid rgba(255, 255, 255, .45);
    border-left: 4px solid var(--banner-accent);
    border-radius: 8px;

    overflow: hidden;

    color: #fff;
    text-decoration: none;

    box-shadow: 0 8px 22px rgba(0, 0, 0, .24);

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


/* ---------------------------------------------------------
   4. Banner icon area
   --------------------------------------------------------- */

.banner-mark {
    width: clamp(42px, 5vw, 68px);
    flex: 0 0 clamp(42px, 5vw, 68px);

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    font-size: clamp(15px, 2vw, 24px);

    background: var(--banner-mark-bg);

    border-right: 1px solid rgba(255, 255, 255, .12);
}


/* ---------------------------------------------------------
   5. Banner information
   --------------------------------------------------------- */

.banner-info {
    flex: 1 1 auto;
    min-width: 0;
    padding:
        clamp(4px, 1.4vw, 13px)
        clamp(5px, 1.6vw, 16px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}


/* ---------------------------------------------------------
   6. Banner title
   --------------------------------------------------------- */

.banner-title {
    color: #fff;

    font-family: "Roboto", Arial, Helvetica, sans-serif;

    font-size: clamp(11px, 1.05vw, 15px);
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: 0;

    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}


/* ---------------------------------------------------------
   7. Banner description
   --------------------------------------------------------- */

.banner-description {
    margin-top: 4px;

    color: rgba(255, 255, 255, .84);

    font-family: "Roboto", Arial, Helvetica, sans-serif;

    font-size: clamp(9px, .9vw, 12px);
    line-height: 1.35;
    font-weight: 400;
    letter-spacing: 0;

    white-space: normal;
    overflow-wrap: anywhere;
}


/* ---------------------------------------------------------
   8. Banner status
   --------------------------------------------------------- */

.banner-status {
    display: flex;
    align-items: center;

    margin-top: 6px;

    color: var(--banner-status-color);

    font-family: "Roboto", Arial, Helvetica, sans-serif;

    font-size: clamp(8px, .8vw, 10px);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: 0;

    white-space: normal;
}


.banner-status span {
    width: 7px;
    height: 7px;

    margin-right: 6px;

    flex: 0 0 7px;

    background: var(--banner-status-dot);

    border-radius: 50%;
}


/* ---------------------------------------------------------
   9. Banner action area
   --------------------------------------------------------- */

.banner-action {
    width: clamp(58px, 7vw, 96px);
    flex: 0 0 clamp(58px, 7vw, 96px);

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 4px;

    padding: 8px;

    box-sizing: border-box;

    color: #fff;

    background: var(--banner-action-bg);

    font-family: "Roboto", Arial, Helvetica, sans-serif;

    font-size: clamp(8px, .8vw, 10px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0;

    text-align: center;
    text-transform: uppercase;

    white-space: normal;

    transition: background .2s ease;
}


.banner-action i {
    font-size: clamp(9px, 1vw, 12px);

    opacity: .95;

    transition: transform .2s ease;
}


/* ---------------------------------------------------------
   10. Hover
   --------------------------------------------------------- */

.hero-banner:hover {
    transform: translateY(-2px);

    box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
}


.hero-banner:hover .banner-action {
    background: var(--banner-action-hover);
}


.hero-banner:hover .banner-action i {
    transform: translateX(4px);
}


/* ---------------------------------------------------------
   11. Tablet
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .hero-banner-stack {
        max-width: calc(100vw - 28px);
    }

    .hero-banner {
        width: min(
            var(--banner-width),
            calc(100vw - 28px)
        );

        max-width: calc(100vw - 28px);
    }
}


/* ---------------------------------------------------------
   12. Mobile
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .hero-banner {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);

        min-height: 72px;
    }

    .banner-description {
        display: none;
    }

    .banner-mark {
        width: 46px;
        flex-basis: 46px;
    }

    .banner-action {
        width: 70px;
        flex-basis: 70px;
    }
}


/* ---------------------------------------------------------
   13. Small mobile
   --------------------------------------------------------- */

@media (max-width: 380px) {

    .hero-banner {
        width: calc(100vw - 18px);
        max-width: calc(100vw - 18px);
    }

    .banner-mark {
        display: none;
    }

    .banner-action {
        width: 56px;
        flex-basis: 56px;
    }
}