/* Core Variables */
:root {
    color-scheme: light !important;
    --accent: #C8A040;
    --accent-bright: #d4b466;
    --card-light: #ffffff; 
    --heading-light: #0f172a;
    --bg-base: #e7e6e4;
    --text-base: #334155;
    --tracking-editorial: 0.35em;
}

/* Base Resets */
body { 
    font-family: 'Inter', sans-serif; 
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    background-color: var(--bg-base);
    color: var(--text-base);
}

.font-serif { font-family: 'Instrument Serif', serif; }
.dark-heading { color: var(--heading-light) !important; }

/* Texture */
.grain::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03; 
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
}

/* Navigation */
.nav-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px); 
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-link {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #64748b;
    transition: all 0.3s ease;
    background: none; border: none; cursor: pointer;
}

.nav-link:hover, .nav-link.active { color: var(--accent); }

/* Typography & Content Styling */
.prose-text {
    line-height: 1.8;
    font-weight: 400; 
    color: #475569 !important;
}

/* WORDPRESS CONTENT SUPPORT */
/* Poems (WordPress Verse Block) */
.wp-block-verse, pre {
    font-family: 'Inter', sans-serif;
    white-space: pre-wrap; /* Preserves your line breaks */
    font-style: italic;
    color: #334155;
    background: transparent;
    padding: 0;
    border: none;
    margin-bottom: 2rem;
    font-size: 18px;
    line-height: 2;
}

/* Quotes */
blockquote {
    border-left: 2px solid var(--accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--heading-light);
}

/* Paragraph spacing */
.prose-text p {
    margin-bottom: 1.5rem;
}

.meta-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: var(--tracking-editorial);
    text-transform: uppercase;
    color: #94a3b8;
}

/* Cards */
.post-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--card-light);
    border: 1px solid rgba(255,255,255,0.5);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05);
    border-color: var(--accent);
}

/* Blog List & Filtering */
.blog-list-row {
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.filter-btn {
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    color: #64748b;
    background: none; border: none; cursor: pointer;
}

.filter-btn.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

/* Forms */
.search-input, .form-input {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    font-size: 14px;
    color: #1e293b;
    padding: 10px 0;
    width: 100%;
}

.search-input:focus, .form-input:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.form-label {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 4px;
}

#mobile-menu-overlay {
    z-index: 10000 !important;
}