/* ===== BIG STORIES PAGE — надстройки над nachalka.css ===== */

/* ===== HERO — космическая тема ===== */
.bs-hero {
    position: relative;
    background-image:
        linear-gradient(rgba(18,19,58,0.88), rgba(18,19,58,0.82)),
        url('../img/BigStorysFon.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 0;
}

.bs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.55) 1px, transparent 1px);
    background-size: 55px 55px;
    opacity: 0.08;
    pointer-events: none;
}

.bs-hero .nk-container {
    position: relative;
    z-index: 1;
    padding-top: 90px;
    padding-bottom: 40px;
    text-align: center;
}

.bs-hero__title {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.bs-hero__title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: var(--nk-orange);
    border-radius: 2px;
    margin: 14px auto 0;
}

.bs-hero__tagline {
    font-size: 1.45rem;
    color: var(--nk-orange);
    font-style: italic;
    margin: 16px auto 28px;
    max-width: 720px;
}

.bs-hero__body {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.82);
}

.bs-hero__body p + p {
    margin-top: 1rem;
}

.bs-hero__wave-bottom {
    position: relative;
    z-index: 1;
    line-height: 0;
}

.bs-hero__wave-bottom svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ===== ШЕСТЬ ИСТОРИЙ ===== */
.bs-stories {
    background: var(--nk-ivory);
}

.bs-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    padding: 36px 0;
}

.bs-story + .bs-story {
    border-top: 1px dashed #e0dcd4;
}

.bs-story:nth-of-type(even) .bs-story__figure {
    order: 2;
}

.bs-story__figure {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,0.16);
    aspect-ratio: 4 / 3;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bs-story__figure:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 22px 44px rgba(0,0,0,0.22);
}

.bs-story__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bs-story__num {
    font-size: 3rem;
    line-height: 1;
    color: var(--nk-orange);
    margin-bottom: 6px;
}

.bs-story__label {
    font-size: 0.92rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nk-green);
    margin-bottom: 10px;
}

.bs-story__title {
    font-size: 1.8rem;
    color: var(--nk-navy);
    margin-bottom: 14px;
}

.bs-story__text {
    font-size: 1.15rem;
    color: var(--nk-muted);
    line-height: 1.75;
}

.bs-story__text p + p {
    margin-top: 0.8rem;
}

/* ===== ПОДПИСИ К ИЛЛЮСТРАЦИЯМ ===== */
.bs-credits {
    padding: 0 5% 40px;
    text-align: center;
}

.bs-credits p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.85rem;
    color: #adb5bd;
    line-height: 1.6;
}

/* ===== УКРУПНЕНИЕ ШРИФТА ОБЩИХ nk-КОМПОНЕНТОВ (только эта страница) ===== */
.bs-stories .nk-section-sub,
#bs-why .nk-section-sub {
    font-size: 1.2rem;
}

#bs-why .nk-big-stories__text {
    font-size: 1.15rem;
}

#bs-why .nk-story-card h3 {
    font-size: 1.4rem;
}

#bs-why .nk-story-card p {
    font-size: 1.02rem;
}

#bs-contact p {
    font-size: 1.2rem;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
    .bs-story {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bs-story:nth-of-type(even) .bs-story__figure {
        order: 0;
    }
}

@media (max-width: 600px) {
    .bs-hero__title {
        font-size: 2rem;
    }

    .bs-hero .nk-container {
        padding-top: 60px;
    }
}

@media (max-width: 560px) {
    .bs-story {
        padding: 26px 0;
        gap: 18px;
    }

    .bs-story__num {
        font-size: 2.2rem;
    }

    .bs-story__title {
        font-size: 1.45rem;
    }

    .bs-story__label {
        font-size: 0.85rem;
        letter-spacing: 0.1em;
    }

    .bs-story__text {
        font-size: 1.08rem;
    }

    /* Локальные укрупнения nk-компонентов на этой странице тоже приводим к телефону */
    .bs-stories .nk-section-sub,
    #bs-why .nk-section-sub,
    #bs-why .nk-big-stories__text,
    #bs-contact p {
        font-size: 1.08rem;
    }

    #bs-why .nk-story-card h3 {
        font-size: 1.25rem;
    }

    #bs-why .nk-story-card p {
        font-size: 0.97rem;
    }
}

/* ---- Небольшие телефоны (≤400px) ---- */
@media (max-width: 400px) {
    .bs-hero .nk-container { padding-top: 44px; padding-bottom: 30px; }
    .bs-hero__title { font-size: 1.65rem; }
    .bs-hero__title::after { width: 52px; margin-top: 12px; }
    .bs-hero__tagline { font-size: 1.1rem; margin: 12px auto 20px; }
    .bs-hero__wave-bottom svg { height: 38px; }

    .bs-story { padding: 22px 0; gap: 15px; }
    .bs-story__num { font-size: 1.9rem; }
    .bs-story__title { font-size: 1.3rem; margin-bottom: 10px; }
    .bs-story__figure { border-radius: 14px; }

    .bs-credits { padding: 0 4% 30px; }
}

@media (hover: none) {
    .bs-story__figure:hover {
        transform: none;
        box-shadow: 0 12px 32px rgba(0,0,0,0.16);
    }
}
