/* ── POST GRID ── */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #3a3a3a;
    border: 1px solid #3a3a3a;
}

.posts-grid--wide {
    grid-template-columns: repeat(2, 1fr);
}

/* ── POST CARD ── */
.post-card {
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    transition: background 0.3s ease;
}

.post-card:hover { background: #1e1e1e; }

.post-card__thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.post-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card__img { transform: scale(1.03); }

.post-card__body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-card__cat {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c0392b;
    text-decoration: none;
    margin-bottom: 16px;
    display: block;
}

.post-card__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 0.5px;
    line-height: 1.1;
    margin-bottom: 12px;
}

.post-card__title a {
    color: #f2f0eb;
    text-decoration: none;
    transition: color 0.2s;
}

.post-card__title a:hover { color: rgba(242,240,235,0.95); }

.post-card__excerpt {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 17px;
    font-weight: 300;
    color: rgba(242,240,235,0.95);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 24px;
}

.post-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(242,240,235,0.92);
    padding-top: 16px;
}

.post-card__date {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 1px;
    color: rgba(242,240,235,0.92);
}

.post-card__link {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(242,240,235,0.92);
    text-decoration: none;
    transition: color 0.2s;
}

.post-card__link:hover { color: #c0392b; }

/* ── ARCHIVE ── */
.archive__header {
    padding: 160px 40px 80px;
    border-bottom: 1px solid #3a3a3a;
}

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

.archive__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 8vw, 96px);
    line-height: 0.9;
    letter-spacing: 1px;
    color: #f2f0eb;
    margin-bottom: 16px;
}

.archive__desc {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 18px;
    font-weight: 300;
    color: rgba(242,240,235,0.92);
    line-height: 1.6;
    max-width: 600px;
}

.archive__content { padding: 80px 40px; max-width: 1100px; margin: 0 auto; }
.archive__empty {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 18px;
    font-style: italic;
    color: rgba(242,240,235,0.92);
    text-align: center;
    padding: 80px 0;
}

/* ── PAGINATION ── */
.archive__pagination { margin-top: 64px; }

.archive__pagination .page-numbers {
    list-style: none;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.archive__pagination .page-numbers a,
.archive__pagination .page-numbers span {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 10px 16px;
    border: 1px solid #3a3a3a;
    color: rgba(242,240,235,0.92);
    text-decoration: none;
    transition: all 0.2s;
}

.archive__pagination .page-numbers .current,
.archive__pagination .page-numbers a:hover {
    border-color: #c0392b;
    color: #f2f0eb;
}

/* ── ARCHIVE OPT-IN ── */
.archive__optin {
    background: #1e1e1e;
    border-top: 1px solid #3a3a3a;
    padding: 80px 40px;
}

.archive__optin-inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.archive__optin-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    letter-spacing: 1px;
    color: #f2f0eb;
    margin-bottom: 12px;
}

.archive__optin-desc {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 17px;
    font-weight: 300;
    color: rgba(242,240,235,0.92);
    margin-bottom: 32px;
    font-style: italic;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .posts-grid, .posts-grid--wide { grid-template-columns: 1fr; }
    .archive__header { padding: 120px 24px 60px; }
    .archive__content { padding: 60px 24px; }
    .archive__optin { padding: 60px 24px; }
}
