/* [admax_platform_story] — két színpados, pin-elt scroll-story. */

.pin-wrap {
    position: relative;
    height: 2200px;
}

.pin-sticky {
    position: sticky;
    top: 0;
    /* 860px: majdnem teljes képernyő — alatta csak keskeny csíkban gördül fel a következő szekció (lásd .admax-story-utana). */
    height: 860px;
    overflow: hidden;
    background: linear-gradient(160deg, #e3f3ec 0%, #a7ebdd 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 39px;
    z-index: 2;
}

/* A story utáni szekció (Elementor CSS class): felhúzza a pin alá (2200 − 860 = 1340px). */
.admax-story-utana {
    margin-top: -1340px;
}

/* Pin lefutott / felfelé görgetés: nincs spacer, a következő blokk nem csúszik vissza. */
.pin-wrap.is-static {
    height: auto;
}

.pin-wrap.is-static .pin-sticky {
    position: relative;
}

.admax-story-utana.is-static {
    margin-top: 0;
}

.pin-veil {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    background: #1e3a38;
    pointer-events: none;
}

.story__blob-a {
    position: absolute;
    top: -10%;
    left: -6%;
    width: 465px;
    height: 465px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 70%);
}

.story__blob-b {
    position: absolute;
    bottom: -12%;
    right: -4%;
    width: 429px;
    height: 429px;
    border-radius: 50%;
    background: radial-gradient(circle, #5fbda8 0%, rgba(95, 189, 168, 0) 68%);
    opacity: 0.5;
}

.story__grid {
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 54px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.story__eyebrow {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2c8b74;
    margin-bottom: 20px;
}

.story__title {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 64px;
    line-height: 1;
    letter-spacing: -0.03em;
    margin: 0;
    text-transform: uppercase;
    color: #1e3a38;
}

.story__title span {
    display: block;
}

.story__title .c-teal {
    color: #2c8b74;
}

.story__btn {
    text-decoration: none;
    display: inline-block;
    margin-top: 34px;
    background: #1e3a38;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    padding: 16px 32px;
    border-radius: 100px;
    box-shadow: 0 14px 32px rgba(30, 58, 56, 0.25);
}

.story__panel-wrap {
    position: relative;
    height: 393px;
}

.story__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 50px 100px rgba(22, 51, 46, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.7);
    overflow: hidden;
    padding: 24px;
}

.story__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.story__panel-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: #1E3A38;
}

.story__panel-dots {
    display: flex;
    gap: 6px;
}

.story__panel-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.story__panel-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.story__stat-box {
    background: #f1f7f4;
    border-radius: 14px;
    padding: 14px 16px;
}

.story__stat-box-label {
    font-size: 11px;
    color: #5c7b73;
    font-weight: 600;
    margin-bottom: 4px;
}

.story__stat-box-value {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 22px;
}

.story__channels {
    background: #f1f7f4;
    border-radius: 14px;
    padding: 16px 18px;
}

.story__channels-label {
    font-size: 11px;
    color: #5c7b73;
    font-weight: 600;
    margin-bottom: 14px;
}

.story__channel-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 11px;
}

.story__channel-row:last-child {
    margin-bottom: 0;
}

.story__channel-name {
    font-size: 12px;
    font-weight: 600;
    width: 52px;
    color: #16332e;
}

.story__channel-track {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: #e1ede9;
    overflow: hidden;
}

.story__channel-fill {
    height: 100%;
    border-radius: 4px;
}

.story__channel-pct {
    font-size: 11px;
    font-weight: 700;
    color: #1E3A38;
    width: 32px;
    text-align: right;
}

.story__dotsrow {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 9px;
    justify-content: center;
    margin-top: 29px;
}

.story__dotsrow span {
    width: 27px;
    height: 4px;
    border-radius: 2px;
    background: #1e3a38;
    opacity: 0.2;
}

.story__dotsrow span.is-active {
    opacity: 1;
}

@media (max-width: 767px) {
    .pin-wrap {
        height: 2000px;
    }

    /* Mobilon fix px (a 100vh a mobilböngészők URL-sávjával csúszna). */
    .pin-sticky {
        height: 700px;
        padding: 0 18px;
    }

    .admax-story-utana {
        margin-top: -1300px;
    }

    .admax-story-utana.is-static {
        margin-top: 0;
    }

    .story__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .story__title {
        font-size: 30px;
    }

    .story__eyebrow {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .story__btn {
        margin-top: 22px;
        padding: 14px 26px;
    }

    .story__panel-wrap {
        height: 330px;
    }

    .story__panel {
        padding: 16px;
    }

    .story__panel-title {
        font-size: 14px;
    }

    .story__stat-box-value {
        font-size: 18px;
    }

    .story__dotsrow {
        margin-top: 22px;
    }
}
