/* ==========================================================================
   Articles -- listing page + hero styles
   ========================================================================== */

.articles-hero {
    background-image: url('../images/hero/articles-hero-neural.webp');
    background-size: cover;
    background-position: center;
    height: 75vh;
    min-height: 500px;
}

.articles-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.40);
    z-index: 1;
    pointer-events: none;
}

.articles-hero .hero-pulse {
    font-weight: 700;
    color: var(--white);
}

.articles-listing {
    background: var(--white);
    padding: 72px 40px 96px;
}

.articles-listing-inner {
    max-width: 900px;
    margin: 0 auto;
}

.article-item {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.article-item:hover {
    opacity: 0.75;
}

.article-item--featured {
    padding-bottom: 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.article-item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.article-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 4px;
}

.article-tag--science { color: var(--electric-blue); background: rgba(0,163,255,0.08); }
.article-tag--history { color: var(--gold-dark); background: rgba(254,192,39,0.10); }
.article-tag--psychology { color: var(--electric-purple); background: rgba(168,85,247,0.08); }
.article-tag--culture { color: #cf2e2e; background: rgba(207,46,46,0.08); }
.article-tag--fundraising { color: #0f6e56; background: rgba(15,110,86,0.08); }
.article-tag--industry { color: #5f5e5a; background: rgba(95,94,90,0.08); }

.article-featured-label {
    font-size: 12px;
    color: rgba(0,0,0,0.35);
}

.article-item-title {
    font-weight: 900;
    color: var(--dark-grey);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 10px;
    font-size: clamp(18px, 2.2vw, 22px);
}

.article-item-title--featured {
    font-size: clamp(24px, 3vw, 32px);
}

.article-item-excerpt {
    color: rgba(0,0,0,0.55);
    line-height: 1.65;
    margin-bottom: 14px;
    font-size: 15px;
}

.article-item-excerpt--featured {
    font-size: 17px;
    max-width: 720px;
}

.article-read-link {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dark);
    transition: color 0.2s;
}

.article-item:hover .article-read-link {
    color: var(--dark-grey);
}

.articles-secondary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

@media (max-width: 768px) {
    .articles-listing { padding: 56px 24px 72px; }
    .articles-secondary { grid-template-columns: 1fr; gap: 36px; }
    .article-item--featured { padding-bottom: 36px; margin-bottom: 36px; }
}

@media (max-width: 480px) {
    .articles-hero { height: 50vh; min-height: 360px; }
    .articles-listing { padding: 40px 16px 56px; }
}
