/* --- NEWS ARTICLE V2 STYLES --- */
:root {
    --color-teal: #2BB3C0;
    --color-lime: #B8E85A;
    --color-deep-slate: #0A0F14;
    --color-text: #E0E0E0;
    --color-muted: #A0A0A0;
    --font-main: 'Manrope', sans-serif;
    --font-accent: 'Sora', sans-serif;
}

body {
    background:
        radial-gradient(circle at top, rgba(43, 179, 192, 0.12), transparent 32%),
        linear-gradient(180deg, #08121a 0%, var(--color-deep-slate) 52%, #05090d 100%);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
}

/* Hero Header */
.news-article-header {
    height: 28vh;
    min-height: 190px;
    max-height: 280px;
    background-image: linear-gradient(to bottom, rgba(10, 15, 20, 0.15), rgba(10, 15, 20, 0.92)), var(--hero-image);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding: 0 20px 28px;
    position: relative;
}

.header-content {
    max-width: 900px;
    z-index: 2;
}

.news-meta {
    font-weight: 800;
    color: var(--color-teal);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
    display: block;
    font-size: 0.85rem;
}

.news-title {
    font-family: var(--font-accent);
    font-size: clamp(2.2rem, 7vw, 4.5rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 30px;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.news-intro {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: rgba(255,255,255,0.7);
    max-width: 750px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.4;
}

/* Content Layout */
.news-content {
    padding: 84px 0 110px;
    max-width: 1120px;
    margin: 0 auto;
    background: transparent !important;
    color: var(--color-text);
}

.article-section {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 28px;
    padding: 28px;
    border-radius: 32px;
    background: rgba(10, 15, 20, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
}

.article-section.reverse {
    flex-direction: row-reverse;
}

.section-text {
    flex: 1.2;
}

.section-text h2 {
    font-family: var(--font-accent);
    color: var(--color-lime);
    font-size: clamp(1.8rem, 3.8vw, 2.5rem);
    margin-bottom: 20px;
}

.section-text p {
    font-size: 1.1rem;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.82);
}

.section-text strong {
    color: #ffffff;
}

.section-image {
    flex: 1;
}

.section-image img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 26px 60px rgba(0,0,0,0.45);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section-image img:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 50px 100px rgba(43, 179, 192, 0.2);
}

/* Video Embed */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 40px;
    margin: 60px 0;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    background: #000;
    border: 1px solid rgba(255,255,255,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* CTA Block */
.news-cta {
    background: linear-gradient(135deg, rgba(43, 179, 192, 0.15), rgba(184, 232, 90, 0.05));
    border: 1px solid rgba(43, 179, 192, 0.3);
    padding: 80px 40px;
    border-radius: 36px;
    text-align: center;
    margin-top: 80px;
    backdrop-filter: blur(20px);
}

.news-cta h2 {
    font-family: var(--font-accent);
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
}

.btn-primary {
    background: var(--color-teal);
    color: #fff;
    padding: 18px 50px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(43, 179, 192, 0.4);
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 50px rgba(43, 179, 192, 0.6);
    background: var(--color-lime);
    color: var(--color-deep-slate);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.close-btn {
    position: fixed;
    top: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 28px;
    z-index: 1000;
    transition: all 0.4s ease;
}

.close-btn:hover {
    background: var(--color-teal);
    transform: rotate(90deg) scale(1.1);
    border-color: var(--color-teal);
}

@media (max-width: 992px) {
    .article-section, .article-section.reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .news-content {
        padding: 60px 25px;
    }

    .article-section {
        padding: 22px;
        border-radius: 26px;
    }
}

@media (max-width: 640px) {
    .news-content {
        padding: 46px 16px 88px;
    }

    .article-section {
        gap: 24px;
        padding: 18px;
        margin-bottom: 20px;
    }

    .section-text p {
        font-size: 1rem;
    }
}

/* ========================================================
   Breadcrumb nav + Share buttons  (patch 2026-05-06)
   ======================================================== */

/* --- Sticky breadcrumb bar --- */
.breadcrumb-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: rgba(8, 18, 26, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 10px 24px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    max-width: 1120px;
    margin: 0 auto;
    font-size: 0.78rem;
    color: var(--color-muted);
    white-space: nowrap;
    overflow: hidden;
}

.breadcrumb a {
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.breadcrumb a:hover {
    color: var(--color-teal);
}

.breadcrumb .sep {
    opacity: 0.35;
    flex-shrink: 0;
}

.breadcrumb .crumb-current {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hide old close button when breadcrumb is present */
body:has(.breadcrumb-nav) .close-btn {
    display: none;
}

/* Push hero below the sticky bar */
body:has(.breadcrumb-nav) .news-article-header {
    margin-top: 42px;
}

/* --- Share buttons --- */
.share-section {
    text-align: center;
    padding: 32px 28px 8px;
}

.share-label {
    display: block;
    font-size: 0.76rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 14px;
}

.share-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 100px;
    font-family: var(--font-main);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 0.02em;
}

.share-btn-vk {
    background: rgba(0, 119, 255, 0.1);
    color: #6ab4ff;
    border: 1px solid rgba(0, 119, 255, 0.25);
}

.share-btn-vk:hover {
    background: #0077ff;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 119, 255, 0.4);
    border-color: #0077ff;
}

.share-btn-tg {
    background: rgba(0, 136, 204, 0.1);
    color: #6ecef0;
    border: 1px solid rgba(0, 136, 204, 0.25);
}

.share-btn-tg:hover {
    background: #0088cc;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 136, 204, 0.4);
    border-color: #0088cc;
}

@media (max-width: 640px) {
    .breadcrumb-nav { padding: 8px 16px; }
    .breadcrumb { font-size: 0.73rem; }
    body:has(.breadcrumb-nav) .news-article-header { margin-top: 38px; }
}
