/* ONLY APPLY TO BLOG POSTS - NOT HOMEPAGE OR PAGES */
.single-post .entry-header {
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    color: white;
    padding: 40px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.single-post .entry-title {
    color: white !important;
    margin-bottom: 10px;
    text-align: center;
}

    color: rgba(255, 255, 255, 0.9);
}

/* ===== AFFILIATE DISCLOSURE STYLES ===== */
.affiliate-disclosure {
    background: #f8f9fa;
    border: none;
    border-left: 2px solid #6c757d;
    padding: 8px 12px;
    margin: 10px 0;
    border-radius: 3px;
    font-size: 12px;
    line-height: 1.4;
    color: #6c757d;
    font-style: italic;
    clear: both;
    max-width: 100%;
}

.affiliate-disclosure::before {
    content: "";
    display: none;
}

.affiliate-disclosure strong {
    color: #495057;
    font-weight: 500;
    font-style: normal;
}

.affiliate-disclosure a {
    color: #495057;
    text-decoration: underline;
    font-weight: 400;
}

.affiliate-disclosure a:hover {
    color: #343a40;
    text-decoration: underline;
}

/* Individual affiliate link markers */
.affiliate-link-marker {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #6c757d;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 2px;
    margin-left: 5px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Remove all special styling from affiliate links - let them look normal */
a[href*="pxf.io"], 
a[href*="affiliate"], 
a.affiliate-link {
    /* No special styling - inherit from your theme */
}

a[href*="pxf.io"]:hover, 
a[href*="affiliate"]:hover, 
a.affiliate-link:hover {
    /* No special hover effects - inherit from your theme */
}

/* ===== SEO IMPROVEMENT STYLES ===== */
/* Better content readability */
.single-post .entry-content {
    line-height: 1.7;
    font-size: 16px;
}

.single-post .entry-content p {
    margin-bottom: 18px;
}

/* Improve internal link visibility */
.single-post .entry-content a:not([href*="pxf.io"]):not([href*="affiliate"]) {
    color: #1a2332;
    text-decoration: underline;
    text-decoration-color: #f97316;
    text-underline-offset: 3px;
    font-weight: 500;
}

.single-post .entry-content a:not([href*="pxf.io"]):not([href*="affiliate"]):hover {
    color: #f97316;
    text-decoration-color: #1a2332;
}

/* ===== QUICK GUIDE TABLE STYLES ===== */
.single-post .quick-guide-table,
.quick-guide-table {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #f97316;
    overflow-x: auto;
}

.single-post .quick-guide-table table,
.quick-guide-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.single-post .quick-guide-table th,
.quick-guide-table th {
    background: #1a2332;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.single-post .quick-guide-table td,
.quick-guide-table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.single-post .quick-guide-table tr:last-child td,
.quick-guide-table tr:last-child td {
    border-bottom: none;
}

/* ===== EXISTING STYLES CONTINUE ===== */
.single-post .quick-guide-table {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #f97316;
}

.single-post .quick-guide-table th {
    background: #1a2332;
    color: white;
    padding: 12px;
    text-align: left;
}

.single-post .quick-guide-table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.single-post h2 {
    color: #1a2332;
    border-bottom: 2px solid #f97316;
    padding-bottom: 8px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post h3 {
    color: #374151;
    margin-top: 30px;
    margin-bottom: 15px;
}

.single-post .highlight-box {
    background: #fff7ed;
    border-left: 4px solid #f97316;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.single-post .highlight-box h4 {
    color: #ea580c;
    margin-top: 0;
}

.single-post .cta-button {
    background: #f97316;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    margin: 10px 0;
    transition: background 0.3s;
}

.single-post .cta-button:hover {
    background: #ea580c;
    color: white;
    text-decoration: none;
}

.single-post .info-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-top: 4px solid #f97316;
}

.single-post .info-card h4 {
    color: #1a2332;
    margin-top: 0;
    margin-bottom: 15px;
}

/* Quick fix for background color */
.single-post {
    background-color: #ffffff !important;
}

/* ===== CATEGORY PAGES - NAVY & ORANGE ===== */
.archive.category .page-header {
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 12px;
}

.archive.category .page-title {
    color: white !important;
    font-size: 32px;
    margin-bottom: 15px;
}

.archive.category .archive-description h2 {
    color: white !important;
    border-bottom: 2px solid #f97316;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border-top: 3px solid #f97316;
}

.feature-item h3 {
    color: #1a2332;
    margin-bottom: 10px;
    font-size: 18px;
}

.archive.category .entry-title a:hover {
    color: #f97316;
}

.archive.category .post-thumb {
    height: 140px;
    overflow: hidden;
}

/* ===== BREADCRUMBS ENHANCEMENT ===== */
.single-post .breadcrumbs {
    background: #f8fafc;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.single-post .breadcrumbs a {
    color: #1a2332;
    text-decoration: none;
}

.single-post .breadcrumbs a:hover {
    color: #f97316;
}

/* ===== TABLE OF CONTENTS STYLE ===== */
.table-of-contents {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #f97316;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
}

.table-of-contents h4 {
    color: #1a2332;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
}

.table-of-contents ol {
    margin: 0;
    padding-left: 20px;
}

.table-of-contents li {
    margin-bottom: 5px;
}

.table-of-contents a {
    color: #374151;
    text-decoration: none;
    font-size: 14px;
}

.table-of-contents a:hover {
    color: #f97316;
}

/* ===== GLOBAL FOOTER STYLES - CLEAN & SIMPLE ===== */
.site-footer {
    background: #1a202c !important;
    color: #999 !important;
    padding: 20px !important;
    margin-top: 40px !important;
}

.site-footer .ast-container,
.site-footer .container,
.site-footer .ast-row {
    background: #1a202c !important;
}

.site-footer .ast-column,
.site-footer .widget,
.site-footer .footer-widget-area {
    background: transparent !important;
}

.site-footer h4,
.site-footer h3,
.site-footer .widget-title {
    color: white !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    margin: 0 0 10px 0 !important;
}

.site-footer ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.site-footer ul li {
    margin: 0 !important;
    padding: 0 !important;
}

.site-footer a {
    color: #2d3748 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
    transition: color 0.3s ease !important;
}

.site-footer a:hover {
    color: #ff6f3c !important;
}

.site-footer .site-info,
.site-footer .ast-footer-copyright {
    text-align: center !important;
    padding-top: 15px !important;
    margin-top: 15px !important;
    font-size: 11px !important;
    color: #666 !important;
}

.site-footer .site-info p,
.site-footer .ast-footer-copyright p {
    margin: 0 !important;
    color: #666 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .single-post .entry-header {
        padding: 20px 15px;
    }
    
    .single-post .quick-guide-table {
        padding: 15px;
    }
    
    .single-post .quick-guide-table table {
        font-size: 14px;
    }
    
    .single-post h2 {
        font-size: 20px;
    }
    
    .single-post h3 {
        font-size: 18px;
    }
    
    .archive.category .page-header {
        padding: 40px 15px;
    }
    
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .archive.category .ast-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-features {
        padding: 20px 15px;
    }
    
    /* Mobile affiliate disclosure */
    .affiliate-disclosure {
        padding: 6px 10px;
        font-size: 11px;
        margin: 8px 0;
    }
}

/* ===== AUTHOR BYLINE AT BOTTOM ===== */
.single-post .author-byline {
    font-style: italic;
    color: #666;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    font-size: 14px;
}

.single-post .author-byline a {
    color: #1a2332;
    text-decoration: none;
    font-weight: 500;
}

.single-post .author-byline a:hover {
    color: #f97316;
    text-decoration: underline;
}