/*
Theme Name: Alive and Free Today
Theme URI: https://aliveandfreetoday.com
Author: Pastor Arnold Famini
Author URI: https://arnoldfamini.com
Description: A hope-centered magazine theme for wellness, healing, and faith content. Features forest greens and warm amber accents with elegant typography.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alive-and-free
Tags: blog, news, one-column, two-columns, right-sidebar, custom-menu, featured-images, theme-options, translation-ready

Alive and Free Today - Hope, Healing, Wholeness
*/

/* --- ALIVE AND FREE BRANDING VARIABLES --- */
:root {
    /* Primary - Forest Greens */
    --forest-deep: #1B4332;
    --forest-medium: #2D6A4F;
    --sage-soft: #74A892;
    
    /* Secondary - Warm Ambers */
    --sunrise-amber: #D4A373;
    --sunrise-warm: #E9C46A;
    --terracotta: #BC6C25;
    
    /* Neutrals */
    --cream: #FEFAE0;
    --warm-white: #FFFCF7;
    --charcoal: #2B2B2B;
    --stone: #6B705C;
    
    /* Accents */
    --sky-hope: #89C2D9;
    --sky-deep: #468FAF;
}

/* --- RESET & BASE --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background-color: var(--warm-white);
    color: var(--charcoal);
    background-image: radial-gradient(var(--cream) 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.logo-font,
.serif-font {
    font-family: 'Cormorant Garamond', serif;
}

a {
    color: var(--forest-deep);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--sunrise-amber);
}

img {
    max-width: 100%;
    height: auto;
}

/* --- CONTAINER --- */
.container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* --- BRAND WORDMARK & TAGLINE --- */
.brand-wordmark {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    color: var(--forest-deep);
    font-size: 3rem;
    line-height: 1;
}

.brand-wordmark .ampersand {
    color: var(--sunrise-amber);
}

.brand-tagline {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--stone);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    margin-left: 0.25rem;
    text-transform: uppercase;
}

/* --- TOP BAR --- */
.top-bar {
    background-color: var(--forest-deep);
    color: white;
    font-size: 0.75rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--forest-medium);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

.trending-label {
    background-color: var(--forest-deep);
    padding: 0 0.75rem;
    display: flex;
    align-items: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.625rem;
    color: var(--cream);
    height: 100%;
}

.ticker-wrap {
    overflow: hidden;
    white-space: nowrap;
    margin-left: 1rem;
    width: 24rem;
    color: var(--cream);
    opacity: 0.9;
}

.ticker-item {
    display: inline-block;
    transition: opacity 0.5s ease-in-out;
}

.ticker-item:hover {
    color: var(--sunrise-amber);
    cursor: pointer;
}

.top-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-social a {
    color: white;
    transition: color 0.3s;
}

.top-social a:hover {
    color: var(--sunrise-amber);
}

.top-social .divider {
    color: var(--forest-medium);
}

/* --- HEADER --- */
.site-header {
    background-color: white;
    padding: 2rem 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border-bottom: 1px solid var(--cream);
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .header-inner {
        flex-direction: row;
    }
}

.site-branding {
    text-align: center;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .site-branding {
        text-align: left;
        margin-bottom: 0;
    }
}

.header-widget {
    display: none;
    width: 728px;
    height: 90px;
    background-color: #FAF7F0;
    border: 1px solid var(--cream);
    border-radius: 2px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .header-widget {
        display: flex;
    }
}

.header-scripture {
    text-align: center;
    padding: 0 2rem;
}

.header-scripture p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--forest-deep);
    font-size: 1.25rem;
    margin: 0;
}

.header-scripture cite {
    display: block;
    color: var(--stone);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
    font-style: normal;
}

/* --- MAIN NAVIGATION --- */
.main-nav {
    background-color: var(--charcoal);
    color: var(--cream);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border-top: 1px solid var(--sunrise-amber);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3rem;
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.main-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

@media (min-width: 768px) {
    .main-menu {
        display: flex;
    }
}

.main-menu li {
    height: 100%;
}

.main-menu a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
    color: var(--cream);
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
    position: relative;
}

.main-menu a:hover {
    color: var(--sunrise-amber);
}

.main-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--sunrise-amber);
    transition: width 0.3s;
}

.main-menu a:hover::after {
    width: 100%;
}

.main-menu .current-menu-item a,
.main-menu .home-link {
    background-color: var(--forest-deep);
    font-weight: 600;
    padding: 0 1.25rem;
}

.nav-search {
    color: var(--cream);
    cursor: pointer;
    transition: color 0.3s;
}

.nav-search:hover {
    color: var(--sunrise-amber);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background-color: var(--charcoal);
    padding: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    color: var(--cream);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- SECTION HEADERS --- */
.section-header {
    border-bottom: 2px solid var(--forest-deep);
    margin-bottom: 1.5rem;
    position: relative;
}

.section-header h3 {
    background-color: var(--forest-deep);
    color: var(--cream);
    display: inline-block;
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    font-family: 'Source Sans 3', sans-serif;
}

/* --- BUTTONS --- */
.btn-brand {
    background-color: var(--forest-deep);
    color: var(--cream);
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    padding: 0.75rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
}

.btn-brand:hover {
    background-color: var(--forest-medium);
    color: var(--cream);
}

.btn-amber {
    background-color: var(--sunrise-amber);
    color: var(--charcoal);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-amber:hover {
    background-color: var(--terracotta);
    color: white;
}

/* --- HERO GRID --- */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
    margin-bottom: 2.5rem;
    height: auto;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 2fr 1fr;
        height: 450px;
    }
}

.hero-large {
    position: relative;
    overflow: hidden;
    height: 300px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .hero-large {
        height: 100%;
    }
}

.hero-small-stack {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    height: 100%;
}

.hero-small {
    position: relative;
    overflow: hidden;
    flex: 1;
    height: 200px;
    border-radius: 2px;
}

@media (min-width: 768px) {
    .hero-small {
        height: auto;
    }
}

.hero-item {
    position: relative;
    overflow: hidden;
}

.hero-item .img-zoom-container {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.hero-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-item:hover img {
    transform: scale(1.05);
}

.hero-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--forest-deep), transparent, transparent);
    opacity: 0.9;
}

.hero-item .content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .hero-large .content {
        padding: 2rem;
    }
}

.hero-item .category-badge {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    border-radius: 2px;
}

.hero-item h2 {
    color: var(--warm-white);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    cursor: pointer;
    transition: color 0.3s;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-item:hover h2 {
    color: var(--sunrise-amber);
}

.hero-large h2 {
    font-size: 1.875rem;
}

@media (min-width: 768px) {
    .hero-large h2 {
        font-size: 2.25rem;
    }
}

.hero-small h2 {
    font-size: 1.25rem;
}

.hero-item .meta {
    font-size: 0.75rem;
    color: var(--sage-soft);
    margin-top: 0.75rem;
    font-weight: 500;
}

.hero-item .meta .author {
    color: var(--cream);
    margin-right: 0.5rem;
}

/* Category Badge Colors */
.badge-healing {
    background-color: var(--forest-deep);
    color: var(--cream);
}

.badge-faith {
    background-color: var(--sky-deep);
    color: white;
}

.badge-nutrition {
    background-color: var(--sunrise-amber);
    color: var(--charcoal);
}

.badge-wellness {
    background-color: var(--sage-soft);
    color: var(--forest-deep);
}

.badge-freedom {
    background-color: var(--terracotta);
    color: white;
}

/* --- MAIN CONTENT LAYOUT --- */
.main-content {
    padding: 2rem 0;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .content-wrapper {
        flex-direction: row;
    }
}

.content-area {
    width: 100%;
}

@media (min-width: 1024px) {
    .content-area {
        width: 66.666%;
    }
}

/* --- ARTICLE GRID --- */
.article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- ARTICLE CARD --- */
.article-card {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid var(--cream);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.3s;
}

.article-card:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.article-card .thumbnail {
    position: relative;
    overflow: hidden;
    height: 12rem;
}

.article-card .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .thumbnail img {
    transform: scale(1.05);
}

.article-card .category-badge {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 0.625rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    z-index: 10;
    border-bottom-right-radius: 2px;
}

.article-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 0.5rem 0;
    color: var(--forest-deep);
    transition: color 0.3s;
    cursor: pointer;
}

.article-card:hover h3 {
    color: var(--sunrise-amber);
}

.article-card .meta {
    font-size: 0.625rem;
    color: var(--stone);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.article-card .excerpt {
    font-size: 0.875rem;
    color: #4A4A4A;
    line-height: 1.6;
    flex-grow: 1;
}

/* --- LOAD MORE --- */
.load-more {
    margin-top: 2.5rem;
    text-align: center;
}

/* --- SIDEBAR --- */
.sidebar {
    width: 100%;
}

@media (min-width: 1024px) {
    .sidebar {
        width: 33.333%;
    }
}

.sidebar > * + * {
    margin-top: 2rem;
}

/* --- WIDGET --- */
.widget {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.widget-header {
    border-bottom: 2px solid var(--forest-deep);
    margin-bottom: 1rem;
}

.widget-header h3 {
    background-color: var(--forest-deep);
    color: var(--cream);
    display: inline-block;
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    font-family: 'Source Sans 3', sans-serif;
}

.widget-content {
    padding: 1rem;
}

/* Social Widget */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem;
}

.social-link {
    color: white;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    border-radius: 2px;
}

.social-link:hover {
    opacity: 0.9;
    color: white;
}

.social-link i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.social-link span {
    font-weight: 700;
    font-size: 0.875rem;
}

.social-facebook { background-color: #3b5998; }
.social-instagram { background-color: #e4405f; }
.social-youtube { background-color: #cd201f; }
.social-newsletter { background-color: var(--terracotta); }

/* Quote Widget */
.quote-widget {
    background-color: #FAF7F0;
    padding: 1.5rem;
    border: 1px solid var(--cream);
    border-radius: 2px;
    text-align: center;
}

.quote-widget i {
    color: var(--sunrise-amber);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.quote-widget blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--forest-medium);
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0;
}

.quote-widget .btn-amber {
    margin-top: 1rem;
}

/* Popular Posts Widget */
.popular-posts .post-item {
    display: flex;
    gap: 1rem;
    cursor: pointer;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cream);
}

.popular-posts .post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-posts .post-item + .post-item {
    padding-top: 1rem;
}

.popular-posts .post-thumb {
    width: 6rem;
    height: 4rem;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 2px;
}

.popular-posts .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.popular-posts .post-item:hover .post-thumb img {
    transform: scale(1.05);
}

.popular-posts h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--forest-deep);
    margin: 0 0 0.25rem 0;
    transition: color 0.3s;
}

.popular-posts .post-item:hover h4 {
    color: var(--sunrise-amber);
}

.popular-posts .post-date {
    font-size: 0.625rem;
    color: var(--stone);
    text-transform: uppercase;
    font-weight: 600;
}

/* Categories Widget */
.categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.categories-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--cream);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--charcoal);
    transition: color 0.3s;
}

.categories-list li:hover {
    color: var(--sunrise-amber);
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list .count {
    font-size: 0.625rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--charcoal);
    color: #FAF7F0;
    padding: 4rem 0;
    margin-top: 3rem;
    font-size: 0.875rem;
    border-top: 4px solid var(--forest-deep);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-brand h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.875rem;
    color: var(--cream);
    margin: 0 0 1rem 0;
}

.footer-brand h2 .ampersand {
    color: var(--sunrise-amber);
}

.footer-brand p {
    font-size: 0.75rem;
    line-height: 1.6;
    color: #FAF7F0;
    opacity: 0.9;
    margin: 0 0 1.5rem 0;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    background-color: #4A4A4A;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    border-radius: 2px;
    transition: background-color 0.3s;
}

.footer-social a:hover {
    background-color: var(--sunrise-amber);
}

.footer-heading {
    color: var(--sunrise-amber);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #4A4A4A;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li + li {
    margin-top: 0.75rem;
}

.footer-menu a {
    color: #FAF7F0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: var(--sunrise-amber);
}

.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-tag {
    background-color: #4A4A4A;
    padding: 0.25rem 0.5rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    color: var(--cream);
    cursor: pointer;
    border-radius: 2px;
    transition: background-color 0.3s;
}

.footer-tag:hover {
    background-color: var(--forest-deep);
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #4A4A4A;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    font-size: 0.625rem;
    color: var(--stone);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    font-size: 0.625rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--stone);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--cream);
}

/* --- SINGLE POST --- */
.single-post-header {
    margin-bottom: 2rem;
}

.single-post-header .category-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    margin-bottom: 1rem;
    border-radius: 2px;
}

.single-post-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--forest-deep);
    margin: 0 0 1rem 0;
}

.single-post-header .meta {
    font-size: 0.875rem;
    color: var(--stone);
}

.single-post-header .meta .author {
    font-weight: 600;
    color: var(--forest-deep);
}

.single-post-featured {
    margin-bottom: 2rem;
    border-radius: 4px;
    overflow: hidden;
}

.single-post-featured img {
    width: 100%;
    height: auto;
}

.single-post-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--charcoal);
}

.single-post-content p {
    margin-bottom: 1.5rem;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--forest-deep);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single-post-content blockquote {
    border-left: 4px solid var(--sunrise-amber);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--forest-medium);
}

/* --- PAGINATION --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid var(--cream);
    border-radius: 4px;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.pagination a:hover {
    background-color: var(--forest-deep);
    color: var(--cream);
    border-color: var(--forest-deep);
}

.pagination .current {
    background-color: var(--forest-deep);
    color: var(--cream);
    border-color: var(--forest-deep);
}

/* --- COMMENTS --- */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--cream);
}

.comments-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--forest-deep);
    margin-bottom: 1.5rem;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--cream);
}

.comment-author {
    font-weight: 600;
    color: var(--forest-deep);
}

.comment-meta {
    font-size: 0.75rem;
    color: var(--stone);
    margin-bottom: 0.5rem;
}

.comment-content p {
    margin: 0;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--cream);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* --- SEARCH --- */
.search-form {
    display: flex;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--cream);
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.search-form button {
    padding: 0.75rem 1rem;
    background-color: var(--forest-deep);
    color: var(--cream);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-form button:hover {
    background-color: var(--forest-medium);
}

/* --- 404 --- */
.error-404 {
    text-align: center;
    padding: 4rem 0;
}

.error-404 h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 6rem;
    color: var(--forest-deep);
    margin: 0;
}

.error-404 h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--stone);
    margin: 1rem 0 2rem;
}

/* --- UTILITIES --- */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* WordPress Core Styles */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--stone);
    text-align: center;
    margin-top: 0.5rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.5rem;
}

.gallery-item {
    margin: 0;
}

.gallery-icon img {
    width: 100%;
    height: auto;
}

/* ============================================
   HERO TEXT FIX - CRITICAL OVERRIDES
   ============================================ */

/* Force stronger overlay for readability */
.hero-grid .hero-item .overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.6) 40%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0.1) 100%
    ) !important;
}

/* Force hero titles to be cream/white */
.hero-grid .hero-item h2,
.hero-grid .hero-item h2 a,
.hero-grid .hero-large h2,
.hero-grid .hero-large h2 a,
.hero-grid .hero-small h2,
.hero-grid .hero-small h2 a,
.hero-item .content h2,
.hero-item .content h2 a {
    color: #FEFAE0 !important;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 4px 12px rgba(0, 0, 0, 0.7) !important;
}

/* Hover state - amber */
.hero-grid .hero-item:hover h2,
.hero-grid .hero-item:hover h2 a,
.hero-grid .hero-large:hover h2,
.hero-grid .hero-large:hover h2 a,
.hero-grid .hero-small:hover h2,
.hero-grid .hero-small:hover h2 a {
    color: #D4A373 !important;
}

/* Force meta text to be light */
.hero-grid .hero-item .meta,
.hero-grid .hero-item .meta span,
.hero-grid .hero-item .meta .author,
.hero-grid .hero-item .meta .date {
    color: rgba(254, 250, 224, 0.95) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
}

/* Category badges - ensure visibility */
.hero-grid .category-badge,
.hero-item .category-badge {
    background-color: #1B4332 !important;
    color: #FEFAE0 !important;
}