/*
Theme Name: Wine Adventure
Description: Canterbury wine country field guide. Tailwind CSS, plum/ochre/chalk palette, Crimson Pro + Nunito Sans.
Version: 1.0.0
Text Domain: wineadventure
*/

/* === Nav States === */
.nav-clear {
    background: transparent;
    color: #FFFFFF;
}

.nav-filled {
    background: #2C1220;
    color: #FAF7F0;
    box-shadow: 0 1px 3px rgba(44, 18, 32, 0.15);
}

.nav-clear .nav-rule {
    opacity: 0;
}

.nav-filled .nav-rule {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* === Mobile Menu === */
#mob-menu {
    transform: translateX(100%);
}

#mob-menu.open {
    transform: translateX(0);
}

/* === Reveal on Scroll === */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === Seasonal Note Card === */
.seasonal-card {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* === Category Cards Hover === */
.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(44, 18, 32, 0.12);
}

/* === Discovery Badge === */
.discovery-badge {
    letter-spacing: 0.12em;
}

/* === Article Cards === */
.story-card {
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-3px);
}

/* === Article Prose === */
.wa-prose h2 {
    font-family: "Crimson Pro", Georgia, serif;
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.3;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.wa-prose h3 {
    font-family: "Crimson Pro", Georgia, serif;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.35;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.wa-prose p {
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.wa-prose a {
    color: #B87E2E;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.3s ease;
}

.wa-prose a:hover {
    color: #996328;
}

.wa-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 2px;
    margin: 1.5rem 0;
}

.wa-prose blockquote {
    border-left: 2px solid #D19A3B;
    padding-left: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin: 2rem 0;
    font-style: italic;
}

.wa-prose ul,
.wa-prose ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.wa-prose ul { list-style: disc; }
.wa-prose ol { list-style: decimal; }

.wa-prose li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

.wa-prose hr {
    border: none;
    border-top: 1px solid #E8DECE;
    margin: 2.5rem 0;
}

/* === Featured Image Hero === */
.wa-article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1.5px) brightness(0.85);
}

.wa-article-hero-overlay {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0.18;
}

/* === Comments === */
.wa-comment {
    list-style: none;
}

.wa-comments-section .children {
    margin-top: 1.25rem;
}

/* === Post Card Date === */
.wa-post-date {
    font-size: 11px;
    color: #BFAD93;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === Screen Reader Only === */
.screen-reader-text {
    display: none;
}

/* === Pagination === */
.wa-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.wa-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    border: 1px solid #E8DECE;
    border-radius: 2px;
    color: #5B4E3F;
    transition: all 0.3s ease;
}

.wa-pagination .page-numbers:hover {
    border-color: #D19A3B;
    color: #B87E2E;
}

.wa-pagination .page-numbers.current {
    background: #4A2136;
    border-color: #4A2136;
    color: #FAF7F0;
}
