/* ============================================
   assets/css/article.css
   Стили для статей
   ============================================ */

/* Hero секция */
.hero {
    position: relative;
    height: 520px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
    rgba(10, 25, 45, 0.88) 0%,
    rgba(10, 25, 45, 0.3) 60%,
    transparent 100%);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px 60px;
    max-width: 860px;
}

.hero-category {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber-light);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-category::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--amber);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.hero-byline {
    font-family: var(--font-sans);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-byline span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Main Layout */
.main-wrap {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 48px 24px 80px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 56px;
    align-items: start;
}

/* Article Body */
.article-body {
    min-width: 0;
}

.article-intro {
    font-size: 19px;
    line-height: 1.7;
    color: var(--ink-mid);
    font-style: italic;
    border-left: 3px solid var(--amber);
    padding-left: 20px;
    margin-bottom: 36px;
}

.article-section {
    margin-bottom: 44px;
}

.article-body h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.article-body h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
    margin-top: 28px;
}

.article-body p {
    color: var(--ink);
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.8;
}

/* Story Card */
.story-card {
    background: var(--navy);
    color: var(--white);
    padding: 28px 32px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.story-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: var(--font-display);
    font-size: 120px;
    color: rgba(255, 255, 255, 0.07);
    line-height: 1;
}

.story-card .story-name {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber-light);
    margin-bottom: 10px;
}

.story-card blockquote {
    font-family: var(--font-display);
    font-size: 19px;
    line-height: 1.6;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 14px;
}

.story-card .story-meta {
    font-family: var(--font-sans);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* Method Block */
.method-block {
    background: var(--white);
    border: 1px solid var(--rule);
    border-left: 4px solid var(--amber);
    padding: 24px 28px;
    margin: 28px 0;
    border-radius: 4px;
}

.method-number {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 6px;
}

.method-block h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    margin-top: 0;
}

.method-block p {
    margin-bottom: 10px;
}

.method-detail {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--ink-light);
    background: var(--paper);
    padding: 10px 14px;
    border-radius: 3px;
    margin-top: 12px;
}

.method-detail strong {
    color: var(--ink);
}

/* Inline Image */
.inline-img-wrap {
    margin: 32px 0;
}

.inline-img-wrap img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.img-caption {
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--ink-light);
    padding: 8px 0 0 2px;
    border-top: 1px solid var(--rule);
    margin-top: 4px;
}

/* Pullquote */
.pullquote {
    border-top: 3px solid var(--navy);
    border-bottom: 1px solid var(--rule);
    padding: 24px 0;
    margin: 36px 0;
}

.pullquote p {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.5;
    color: var(--navy);
    font-style: italic;
    margin-bottom: 8px;
}

.pullquote cite {
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--ink-light);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-style: normal;
}

/* Divider */
.divider {
    border: none;
    border-top: 1px solid var(--rule);
    margin: 40px 0;
}

/* ============================================
   Адаптивность
   ============================================ */

@media (max-width: 900px) {
    .main-wrap {
        grid-template-columns: 1fr;
        padding: 32px 16px 60px;
        gap: 32px;
    }

    .hero {
        height: 400px;
    }

    .hero-content {
        padding: 32px 24px;
    }

    .story-card {
        padding: 20px 24px;
    }

    .method-block {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 320px;
    }

    .hero-content {
        padding: 20px 16px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero-byline {
        font-size: 11px;
        gap: 10px;
    }

    .article-intro {
        font-size: 17px;
        padding-left: 14px;
    }

    .article-body h2 {
        font-size: 22px;
    }

    .inline-img-wrap img {
        height: 200px;
    }
}