/*
 Theme Name:   Christmas on Fifth Avenue V2
 Template:     astra
 Author:       Gary Goforth
 Version:      2.6
*/

/* --- 1. GLOBAL LAYOUT --- */
body {
    background-color: #8B0000 !important; 
    background-image: linear-gradient(180deg, #990000 0%, #4D0000 100%) !important;
    background-attachment: fixed;
}

/* --- 2. HEADER: RED GRADIENT & CENTERED STACK --- */
.ast-primary-header-bar, .site-header, #masthead {
    background: linear-gradient(180deg, #990000 0%, #660000 100%) !important;
    /* This creates a "fake" 3px solid gold border that row backgrounds can't hide */
    box-shadow: 0 3px 0 0 #FFD700 !important;
    border-bottom: none !important;
    position: relative;
    z-index: 99 !important; /* Ensures the shadow stays on top of the menu below */
}

.ast-below-header-bar {
    background-color: #660000 !important;
    border-top: none !important;
    /* Pull the menu up slightly to meet the shadow perfectly */
    margin-top: 0 !important;
    position: relative;
    z-index: 10;
}

.site-branding {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 20px 0 10px 0 !important;
}

.site-branding img {
    filter: drop-shadow(0px 0px 8px rgba(255, 215, 0, 0.4));
    max-height: 120px;
}

.main-navigation {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 10px 0 15px 0 !important;
}

.main-header-menu .menu-link {
    color: #ffffff !important;
    font-weight: 600;
}

/* --- 3. CONTENT: WIDER CARDS & READABILITY --- */
/* This widens the content "well" to 1200px */
#content, .site-content {
    background-color: transparent !important;
    margin: 20px auto !important;
    max-width: 1200px !important; 
}

.ast-separate-container .ast-article-post, article.post {
    background-color: #ffffff !important;
    margin-bottom: 30px !important;
    padding: 40px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 4px;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.3);
    width: 100% !important; /* Ensures it fills the 1200px */
}

.entry-title, .entry-title a, .entry-content p, .entry-content {
    color: #333333 !important;
}

/* --- 4. FOOTER: CLEAN SINGLE GOLD BAR --- */
/* This targets only the top of the footer to avoid the "Double Bar" look */
.site-footer {
    border-top: 3px solid #FFD700 !important; 
    background-color: #660000 !important;
}

/* Ensure sub-rows in the footer don't add extra borders */
.site-below-footer-wrap, 
.ast-footer-copyright,
.ast-small-footer {
    background-color: #660000 !important;
    border-top: none !important; 
    color: #ffffff !important;
}

.ast-footer-copyright p {
    text-align: center !important;
    color: #ffffff !important;
    margin: 0 auto !important;
    padding: 15px 0 !important;
}

/* Hide Astra Branding */
.ast-footer-copyright a[href*="wpastra.com"] {
    display: none !important;
}
