/* ============================================================
   1. GLOBAL & BODY TEXT
   ============================================================ */
body, p, .post-content, .entry-content, .post-excerpt, .post-excerpt p {
    color: #000000;
    opacity: 1 !important;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
   2. HEADER & TOP BAR
   ============================================================ */
.header .cover, .img-shade, .header-filter {
    background: none !important;
    display: none !important;
}

.top-navigation, .social-menu-container, .top-section {
    background-color: #ff9900 !important;
    background-image: none !important;
    opacity: 1 !important;
}

.top-navigation a, .social-menu a, .social-menu a:before {
    color: #000000 !important;
}

.site-title a, .site-description {
    color: #000000 !important;
    text-shadow: none !important;
}

.main-navigation {
    background-color: #fffaf0 !important;
    border-bottom: 2px solid #ff9900 !important;
}

.main-navigation a, 
.main-navigation ul li a {
    color: #ff9900 !important;
}

.main-navigation li:hover > a,
.main-navigation li.current-menu-item > a,
.main-navigation li.current_page_item > a {
    color: #ffffff !important;
    background-color: #000000 !important;
}

/* ============================================================
   3. POST GRID, CONTENT BOXES & NUCLEAR MOBILE FIX
   ============================================================ */
.post, article.post, .post-container {
    border: 8px solid #fffaf0 !important;
    background-color: #fffaf0 !important;
    padding: 20px;
}

.format-standard, .format-standard .post-container {
    background-color: #fffaf0 !important;
}

/* MISSIVES & QUOTES: THE DARK BOX FORCE (#353535) */
.format-aside, .format-quote, 
article.format-aside, article.format-quote,
.format-aside .post-container, .format-quote .post-container,
.format-aside .post-content, .format-quote .post-content,
.format-aside .entry-content, .format-quote .entry-content,
.format-aside .entry-footer, .format-quote .entry-footer,
.format-aside .post-navigation, .format-quote .post-navigation,
.format-aside .post-meta-wrapper, .format-quote .post-meta-wrapper,
.format-aside #comments, .format-quote #comments,
.format-aside .comment-body, .format-quote .comment-body,
.format-aside #respond, .format-quote #respond,
.format-aside .comment-respond, .format-quote .comment-respond,
.format-aside footer, .format-quote footer,
.format-aside div[class*="meta"], .format-quote div[class*="meta"] {
    background-color: #353535 !important;
    background-image: none !important;
    color: #ffffff !important;
}

/* MOBILE NUCLEAR OVERRIDE: Targets screen widths up to 1024px */
/* Includes explicit fixes for Comment Thread on mobile */
@media screen and (max-width: 1024px) {
    .format-aside, .format-quote, 
    article.format-aside, article.format-quote,
    [class*="format-aside"], [class*="format-quote"],
    .post-navigation, .entry-footer, .post-meta-wrapper,
    div[class*="meta"], footer, 
    #comments, .comment-body, .comment-respond, #respond {
        background-color: #353535 !important;
        background: #353535 !important;
        background-image: none !important;
        box-shadow: none !important;
        border-color: #444 !important;
    }
}

.format-aside #respond textarea, .format-quote #respond textarea,
.format-aside #respond input[type="text"], .format-quote #respond input[type="text"],
.format-aside #respond input[type="email"], .format-quote #respond input[type="email"] {
    background-color: #353535 !important;
    color: #ffffff !important;
    border: 1px solid #ff9900 !important;
}

article.format-aside, article.format-quote {
    border-left: 10px solid #fffaf0 !important;
}

.format-aside .entry-footer, .format-quote .entry-footer,
.format-aside .post-content, .format-quote .post-content,
.format-aside .entry-content, .format-quote .entry-content,
.format-quote blockquote, .post-navigation {
    border: none !important;
    font-style: normal !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    background: transparent !important;
}

.format-quote blockquote::before, .format-quote blockquote::after {
    display: none !important;
}

.format-aside p, .format-aside .post-title, .format-aside .post-title a,
.format-quote p, .format-quote .post-title, .format-quote .post-title a,
.comment-author b, .comment-author a, .comment-content p {
    color: #ffffff !important;
}

.format-aside .post-meta, .format-aside .post-date, .format-aside .post-meta a,
.format-quote .post-meta, .format-quote .post-date, .format-quote .post-meta a,
.format-aside .comments-link a, .format-quote .comments-link a,
.format-aside .entry-footer a, .format-quote .entry-footer a,
.format-aside .post-navigation a, .format-quote .post-navigation a,
.format-aside footer a, .format-quote footer a,
.format-aside [class*="meta"] a, .format-quote [class*="meta"] a,
.comment-metadata a, .comment-reply-link, .comment-edit-link,
.comment-reply-link::before, .comment-edit-link::before {
    color: #ff9900 !important;
    opacity: 1 !important;
}

.comment-reply-link:hover, .comment-edit-link:hover,
.comment-reply-link:hover::before, .comment-edit-link:hover::before {
    color: #ffffff !important;
}

.format-standard .post-title, .format-standard .post-title a {
    color: #000000 !important;
}

/* ============================================================
   4. LINKS & NAVIGATION BUTTONS
   ============================================================ */
a, .more-link {
    color: #ff9900 !important;
    text-decoration: underline !important;
    font-weight: 800 !important;
}

a:hover, .more-link:hover {
    color: #000000 !important;
}

.format-aside a:hover, .format-quote a:hover {
    color: #fffaf0 !important; 
}

.posts-navigation a, #infinite-handle span {
    background: #ff9900 !important;
    color: #000000 !important;
    border: 2px solid #ff9900 !important;
    padding: 12px 24px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
}

.posts-navigation a:hover, #infinite-handle span:hover {
    background: #000000 !important;
    color: #ff9900 !important;
}

/* ============================================================
   5. FOOTER & SOCIAL
   ============================================================ */
.post-meta, .post-footer, .entry-footer, .post-date {
    opacity: 1 !important;
}

.footer .widget, .footer .widget-title, .footer label, .footer p, .footer #subscribe-blog {
    color: #ffffff !important;
}

.footer .is-style-logos-only .wp-social-link a {
    color: #ff9900 !important;
}

.footer .is-style-logos-only .wp-social-link a:hover {
    color: #ffffff !important;
}

.footer input[type="submit"], .footer button[type="submit"] {
    background-color: #ff9900 !important;
    color: #000000 !important;
    border: none !important;
}

.footer input[type="submit"]:hover {
    background-color: #ffffff !important;
}

/* ============================================================
   6. GLOBAL LAYOUT: SINGLE COLUMN FORCE
   ============================================================ */
.single .content, .category .content, .archive .content, .search .content {
    width: 100% !important;
    max-width: 1000px !important; 
    float: none !important;
    margin: 0 auto !important;
}

.single .sidebar, .category .sidebar, .archive .sidebar, .search .sidebar {
    display: none !important;
}

.wp-block-image figcaption {
    font-size: 0.85rem !important;
    padding-bottom: 25px !important;
    color: #000000 !important;
}