/* ============================================================
   RADIO ONLINE — ARCHIVE / INDEX / SEARCH CSS
   ============================================================ */

.archive-container { padding-block: 32px; }

.archive-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.archive-title {
    font-family: var(--font-condensed);
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.archive-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 640px;
}

.archive-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
}

.archive-main { min-width: 0; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.news-grid--3 { grid-template-columns: repeat(3, 1fr); }

.news-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    transition: background .2s, transform .2s;
}

.news-card:hover { background: var(--bg-card-hover); transform: translateY(-2px); }

.news-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.news-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--ease-out);
}

.news-card:hover .news-card__img { transform: scale(1.04); }

.news-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.news-card__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__title a:hover { color: rgba(255,255,255,.8); }

.news-card__excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    font-size: 12px;
    color: var(--muted);
}

/* ── Search header ── */
.search-header {
    padding-block: 32px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 32px;
}

.search-header__label {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.search-header__term {
    font-family: var(--font-condensed);
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
}

.search-header__count {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 6px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .archive-layout { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .news-grid,
    .news-grid--3 { grid-template-columns: 1fr; }
    .archive-title { font-size: 28px; }
}
