/*
 * THE ASSIST V2 — NEWSLETTER ARCHIVE PAGE STYLES
 * File: /assets/css/newsletter-archive.css
 */

/* ── Hero ── */
.ta-section-archive-hero {
    background: var(--color-pink-light);
    padding: var(--section-py-lg) 0 var(--section-py);
    text-align: center;
}

.ta-section-archive-hero h1 {
    font-family: var(--font-heading);
    font-weight: var(--weight-bold);
    font-size: var(--text-6xl);
    color: var(--color-navy);
    margin-bottom: var(--space-4);
}

.ta-wave-decoration {
    color: var(--color-teal);
    opacity: 0.4;
    font-size: 1.5rem;
    margin-top: var(--space-6);
    letter-spacing: 4px;
}

/* ── Archive Controls Bar ── */
.ta-section-archive-controls {
    padding: var(--space-8) 0 var(--space-8);
    background: var(--color-white);
    position: sticky;
    top: 70px;
    z-index: var(--z-sticky);
}

.ta-archive-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.ta-archive-search { flex-shrink: 0; }

/* ── Featured Issue Card ── */
.ta-section-archive-featured {
    background: var(--color-white);
}

.ta-archive-featured-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-base);
}

.ta-archive-featured-link:hover {
    transform: translateY(-3px);
}

.ta-archive-featured-card {
    background: var(--color-teal-light);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    margin-bottom: var(--space-6);
}


.ta-archive-featured-meta {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.ta-archive-featured-title {
    font-family: var(--font-heading);
    font-size: var(--text-6xl);
    font-weight: var(--weight-bold);
    color: var(--color-navy);
    line-height: var(--leading-snug);
    margin-bottom: var(--space-4);
}

.ta-archive-featured-excerpt {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    max-width: 560px;
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-3);
}

.ta-archive-featured-date {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

/* ── Issues Grid ── */
.ta-section-archive-grid {
    padding: var(--space-8) 0 var(--section-py);
    background: var(--color-white);
}

.ta-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-10);
}

/* ── Newsletter Card ── */
.ta-nl-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.ta-nl-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Background color per type */
.ta-nl-card--og-tuesday        { background: var(--color-og-tuesday-bg);  }
.ta-nl-card--wellness-wednesday{ background: var(--color-wellness-bg);    }
.ta-nl-card--thirsty-thursday  { background: var(--color-thirsty-bg);     }
.ta-nl-card--the-weekender     { background: var(--color-weekender-bg);   }


/* featured-card BG Color  */
.ta-archive-featured-card--og-tuesday{
    background: var(--color-og-tuesday-bg);
}

.ta-archive-featured-card--wellness-wednesday{
    background: var(--color-wellness-bg);
}

.ta-archive-featured-card--thirsty-thursday{
    background: var(--color-thirsty-bg);
}

.ta-archive-featured-card--the-weekender{
    background: var(--color-weekender-bg);
}

.ta-nl-card-link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--space-5);
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.ta-nl-card-meta {
    display: flex;
    gap: var(--space-3);
    padding: 4px 10px;
    margin-bottom: var(--space-3);
    border-radius: var(--radius-pill);
    flex-wrap: wrap;
}

.ta-nl-card-title {
    font-size: var(--text-4xl);
    font-weight: var(--weight-bold);
    color: var(--color-text-heading);
    line-height: var(--leading-none);
    margin-bottom: var(--space-3);
}

.ta-nl-card-date {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}


.ta-ep-badge--the-weekender {
    color: var(--color-weekender-accent);
    border-color: var(--color-weekender-accent);
}

.ta-ep-badge--wellness-wednesday {
    color: var(--color-wellness-accent);
    border-color: var(--color-wellness-accent);
}

.ta-ep-badge--og-tuesday {
    color: var(--color-og-tuesday-accent);
    border-color: var(--color-og-tuesday-accent);
}

.ta-ep-badge--thirsty-thursday {
    color: var(--color-thirsty-accent);
    border-color: var(--color-thirsty-accent);
}

.ta-arhive-bottom {
    padding-top: 90px;
}

/* ── No Results ── */
.ta-nl-no-results {
    text-align: center;
    padding: var(--space-12) 0;
    color: var(--color-text-muted);
}

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

@media (max-width: 768px) {
    .ta-section-archive-hero h1 { font-size: var(--text-4xl); }
    .ta-archive-bar { flex-direction: column; align-items: stretch; }
    .ta-archive-grid { grid-template-columns: 1fr; }
    .ta-archive-featured-title { font-size: var(--text-3xl); }
    .ta-section-archive-controls { position: relative; top: 0; }
}
