/* ========== BODY AND BACKGROUND ========== */
body {
    background: url('https://knf7.com/wp-content/uploads/2026/02/download-2.jpg') center/cover fixed !important;
    background-color: #2a1810 !important;
}

/* Dark overlay to make text readable */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 15, 8, 0.7);
    z-index: -1;
}

/* ========== HIDE ASTRA HEADER ========== */
.site-header, .haven-header {
    display: none !important;
}

/* ========== NAVIGATION BAR - SHOW ON ALL PAGES ========== */
.root-cellar-nav {
    background: linear-gradient(135deg, rgba(60, 40, 30, 0.95) 0%, rgba(40, 25, 15, 0.95) 100%);
    border: 4px solid #8b4513;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8), inset 0 2px 10px rgba(139, 69, 19, 0.3);
    margin: 20px auto 40px auto;
    max-width: 1100px;
}

.root-cellar-nav h1 {
    font-family: 'Special Elite', monospace;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #5a6e5a;
    margin: 0;
    letter-spacing: 4px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.9);
}

.root-cellar-nav .tagline {
    color: #a0826d;
    font-family: 'Special Elite', monospace;
    font-size: 1.2rem;
    font-style: italic;
    margin: 10px 0 30px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
}

.cellar-nav {
    background: rgba(40, 25, 15, 0.9);
    border: 3px solid #8b4513;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 10px;
}

.cellar-nav a {
    padding: 12px 20px;
    color: #d4a574;
    text-decoration: none;
    font-family: 'Special Elite', monospace;
    font-size: 1rem;
    transition: all 0.3s;
}

.cellar-nav a:hover {
    color: #a0826d;
    text-shadow: 2px 2px 4px rgba(139, 69, 19, 0.6);
    transform: translateY(-2px);
}

/* ========== HEADER BOX ========== */
.root-cellar-header {
    background: linear-gradient(135deg, rgba(60, 40, 30, 0.95) 0%, rgba(40, 25, 15, 0.95) 100%);
    border: 4px solid #8b4513;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8), inset 0 2px 10px rgba(139, 69, 19, 0.3);
    margin: 20px auto 40px auto;
    max-width: 1100px;
}

.root-cellar-header h1 {
    font-family: 'Special Elite', monospace;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #5a6e5a;
    margin: 0;
    letter-spacing: 4px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.9);
}

.root-cellar-header .tagline {
    color: #a0826d;
    font-family: 'Special Elite', monospace;
    font-size: 1.2rem;
    font-style: italic;
    margin: 10px 0 0 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
}

/* ========== WELCOME BOX ========== */
.root-cellar-welcome {
    background: rgba(60, 40, 30, 0.9);
    border: 2px solid #8b4513;
    border-radius: 8px;
    padding: 30px;
    margin: 0 auto 40px auto;
    max-width: 900px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.6);
}

.root-cellar-welcome p {
    color: #d4a574 !important;
    font-family: 'Crimson Text', serif;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ========== PROTOCOL GRID ========== */
.protocol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.protocol-box {
    background: linear-gradient(135deg, rgba(60, 40, 30, 0.95) 0%, rgba(40, 25, 15, 0.95) 100%);
    border: 3px solid #8b4513;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.7);
    transition: transform 0.3s, box-shadow 0.3s;
}

.protocol-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.4);
}

.protocol-box h3 {
    font-family: 'Special Elite', monospace;
    color: #5a6e5a !important;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
}

.protocol-box p {
    color: #a0826d !important;
    font-family: 'Crimson Text', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.protocol-link {
    display: inline-block;
    padding: 12px 24px;
    background: #8b4513;
    color: #f5f0e8 !important;
    text-decoration: none;
    font-family: 'Special Elite', monospace;
    border-radius: 5px;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.protocol-link:hover {
    background: #a0826d;
    color: #1a0f08 !important;
    box-shadow: 0 6px 15px rgba(139, 69, 19, 0.6);
}

/* ========== ARCHIVE/CATEGORY HEADER - NO GLOW ========== */
.ast-archive-description, .page-header, .archive-header {
    background: linear-gradient(135deg, rgba(60, 40, 30, 0.95) 0%, rgba(40, 25, 15, 0.95) 100%) !important;
    border: 4px solid #ff8c00 !important;
    border-radius: 8px !important;
    padding: 40px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.7) !important;
    margin: 20px auto 30px auto !important;
    max-width: 1100px !important;
    text-align: center !important;
}

.ast-archive-description h1, 
.page-header h1, 
.archive-title,
.ast-archive-description .page-title {
    color: #5a6e5a !important;
    font-family: 'Special Elite', monospace !important;
    text-shadow: none !important;
    text-align: center !important;
}

.ast-archive-description p, 
.archive-description,
.ast-archive-description .archive-description {
    color: #a0826d !important;
    font-family: 'Crimson Text', serif !important;
    text-align: center !important;
}

/* ========== POST BOXES ON ARCHIVE/CATEGORY PAGES - ORANGE BORDER ========== */
.archive article, .category article, .search article {
    background: rgba(60, 40, 30, 0.9) !important;
    border: 4px solid #ff8c00 !important;
    border-radius: 8px !important;
    padding: 30px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.7) !important;
}

.archive .entry-title, .category .entry-title, .search .entry-title {
    color: #5a6e5a !important;
    font-family: 'Special Elite', monospace !important;
    text-shadow: none !important;
}

.archive .entry-content, .category .entry-content, .search .entry-content,
.archive .entry-summary, .category .entry-summary, .search .entry-summary {
    color: #a0826d !important;
    font-family: 'Crimson Text', serif !important;
}

/* ========== SINGLE POST PAGES ========== */
.single-post article {
    background: linear-gradient(135deg, rgba(60, 40, 30, 0.95) 0%, rgba(40, 25, 15, 0.95) 100%) !important;
    border: 4px solid #8b4513 !important;
    border-radius: 8px !important;
    padding: 40px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8), inset 0 2px 10px rgba(139, 69, 19, 0.3) !important;
    margin: 20px auto !important;
    max-width: 1100px !important;
}

.single-post .entry-title {
    color: #5a6e5a !important;
    font-family: 'Special Elite', monospace !important;
    text-shadow: none !important;
}

/* Cream content area for single posts ONLY */
.single-post .entry-content {
    background: rgba(245, 235, 220, 0.95) !important;
    border: 2px solid #8b4513 !important;
    border-radius: 4px !important;
    padding: 30px !important;
    color: #5c3a1a !important;
}

.single-post .entry-content p, 
.single-post .entry-content li, 
.single-post .entry-content div {
    color: #5c3a1a !important;
}

.single-post .entry-content h1, 
.single-post .entry-content h2, 
.single-post .entry-content h3, 
.single-post .entry-content h4 {
    color: #5a6e5a !important;
    font-family: 'Special Elite', monospace !important;
}

/* ========== METADATA ========== */
.posted-on, .posted-on a, 
.byline, .byline a,
.cat-links, .cat-links a,
.tags-links, .tags-links a,
.entry-meta, .entry-meta a {
    color: #a0826d !important;
    font-family: 'Special Elite', monospace !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
}

/* ========== FOOTER ========== */
.site-footer {
    background: linear-gradient(135deg, rgba(60, 40, 30, 0.95) 0%, rgba(40, 25, 15, 0.95) 100%) !important;
    border-top: 4px solid #8b4513 !important;
    padding: 30px 20px !important;
}

.site-footer, .site-footer p, .site-footer a, .site-footer div {
    color: #d4a574 !important;
    font-family: 'Special Elite', monospace !important;
    text-align: center !important;
}

.site-footer .ast-footer-copyright {
    display: none !important;
}

/* ========== GENERAL FIXES ========== */
.site-content, #content, .ast-container, .site {
    background: transparent !important;
}

.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
