/* ONLY APPLY TO BLOG POSTS (STADIUM GUIDES) - NOT HOMEPAGE OR PAGES */

/* ===== GUIDE HEADER: hub-style photo hero =====
   The title and date sit on the featured photo with a navy tint, like the hub pages.
   Guides without a featured image keep a plain navy box with the same text style.
   The photo is still a normal <img> loaded first, so page speed and Google's
   featured-image reading are unchanged. */

/* Less dead space between the site header and the guide header */
.single-post .site .site-content #primary {
    margin-top: 16px;
}

.single-post .entry-header {
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    color: white;
    padding: 36px 36px 30px;
    margin-bottom: 30px !important;
    border-radius: 14px;
    text-align: left;
}

/* With a featured image: the photo fills the box, text sits at the bottom */
.single-post .has-post-thumbnail .entry-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 420px;
}

.single-post .has-post-thumbnail .entry-header .post-thumb {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0 !important;
}

.single-post .has-post-thumbnail .entry-header .post-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    margin: 0 !important;
}

/* Navy tint: light at the top so the photo shows, deep at the bottom behind the text */
.single-post .has-post-thumbnail .entry-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(26, 35, 50, 0.55) 0%, rgba(26, 35, 50, 0.15) 70%, rgba(26, 35, 50, 0) 100%),
        linear-gradient(180deg, rgba(26, 35, 50, 0.10) 0%, rgba(26, 35, 50, 0.35) 32%, rgba(26, 35, 50, 0.85) 66%, rgba(26, 35, 50, 0.96) 100%);
}

.single-post .entry-header .entry-title,
.single-post .entry-header .entry-meta {
    position: relative;
    z-index: 2;
}

.single-post .entry-header .entry-title {
    color: white !important;
    text-align: left;
    margin: 0 0 10px !important;
    font-size: 2.4rem !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

/* Short orange bar above the title, like the hub heroes */
.single-post .entry-header .entry-title::before {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    background: #f97316;
    border-radius: 2px;
    margin-bottom: 14px;
}

/* Date: quiet, but readable on the photo */
.single-post .entry-meta,
.single-post .entry-meta a,
.single-post .entry-meta * {
    color: rgba(255, 255, 255, 0.82) !important;
    text-align: left;
    font-size: 14px;
}

.single-post .entry-header .entry-meta {
    margin: 0 !important;
    padding: 0;
}

/* ===== 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,
.affiliate-disclosure a:focus-visible {
    color: #343a40;
    text-decoration: underline;
    outline: 2px solid #f97316;
    outline-offset: 2px;
}

/* 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;
}

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

.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;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

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

.single-post .entry-content a:not([href*="pxf.io"]):not([href*="affiliate"]):focus-visible {
    outline: 2px dashed #ea580c;
    outline-offset: 4px;
    border-radius: 2px;
}

/* Standard Image Polish */
.single-post .entry-content img {
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Better Bullet Point Spacing */
.single-post .entry-content ul li,
.single-post .entry-content ol li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* ===== 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;
    font-size: 16px;
}

.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;
}

/* ===== HEADINGS — matched to the hub pages (Outfit, heavier weights) ===== */
/* Outfit loads through Astra: Customize > Global > Typography > Headings > Outfit.
   If it isn't loaded, these fall back to Libre Franklin, so nothing breaks. */
.single-post .entry-title,
.single-post h2,
.single-post h3,
.single-post h4,
.single-post #ez-toc-container .ez-toc-title {
    font-family: 'Outfit', 'Libre Franklin', sans-serif !important;
    letter-spacing: -0.01em;
}

.single-post .entry-title {
    font-weight: 800 !important;
    line-height: 1.15;
}

/* H2: main sections keep the orange rule */
.single-post h2 {
    color: #1a2332; 
    font-size: 1.8rem; /* about 29px: most section titles still fit on one line */
    font-weight: 800;
    line-height: 1.25;
    border-bottom: 3px solid #ea580c; /* Deep Orange - main sections */
    padding-bottom: 8px;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* H3: a lighter, thinner rule than the H2 so each sub-section is closed off
   cleanly, but the two levels never look the same. Extra space ABOVE the heading
   (more than below) groups each heading with its own text. */
.single-post h3 {
    color: #1a2332; 
    font-size: 1.3rem; /* about 21px: clearly a step below the H2 */
    font-weight: 700;
    line-height: 1.3;
    margin-top: 44px;
    margin-bottom: 14px;
    border-bottom: 2px solid #fdba74; /* light orange - subsections */
    padding-bottom: 6px;
    width: 100%; 
}

/* ===== CALLOUT BOXES ===== */
.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;
}

/* The Winner's Box (For Editor's Choice/Top Picks) */
.winner-box {
    background: #fff7ed;
    border: 2px solid #f97316;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.winner-box h3 {
    border-bottom: none !important;
    margin-top: 0 !important;
    color: #c2410c !important;
}

/* ===== BUTTONS & CARDS ===== */
.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 .cta-button:focus-visible {
    outline: 3px solid #1a2332;
    outline-offset: 3px;
}

.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;
}

.single-post {
    background-color: #ffffff !important;
}

/* ===== 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,
.single-post .breadcrumbs a:focus-visible {
    color: #ea580c;
}

/* ===== TABLE OF CONTENTS STYLE ===== */
.table-of-contents {
    background: #eef3f9;
    border: 1px solid #d8e2ee;
    border-left: 4px solid #ea580c; /* Matched to deep orange */
    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,
.table-of-contents a:focus-visible {
    color: #ea580c;
    text-decoration: underline;
}

/* Same design applied to the Easy Table of Contents box the guides actually use */
.single-post #ez-toc-container {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
    float: none !important;
    background: #eef3f9 !important; /* light navy tint, pairs with the header */
    border: 1px solid #d8e2ee !important;
    border-left: 4px solid #ea580c !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    padding: 20px !important;
    margin: 25px 0 !important;
}

.single-post #ez-toc-container .ez-toc-title {
    color: #1a2332 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.single-post #ez-toc-container ul,
.single-post #ez-toc-container ol {
    margin-top: 12px;
}

.single-post #ez-toc-container li {
    margin-bottom: 6px;
    line-height: 1.5;
}

.single-post #ez-toc-container a {
    color: #374151 !important;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 400;
}

.single-post #ez-toc-container a:hover,
.single-post #ez-toc-container a:focus-visible {
    color: #ea580c !important;
    text-decoration: underline !important;
}

/* ===== MOBILE RESPONSIVE TWEAKS ===== */
@media (max-width: 768px) {
    .single-post .entry-header {
        padding: 22px 18px 18px;
        border-radius: 10px;
        margin-bottom: 24px !important;
    }

    .single-post .has-post-thumbnail .entry-header {
        min-height: 300px;
    }

    .single-post .entry-header .entry-title {
        font-size: 1.55rem !important;
        line-height: 1.18;
    }

    .single-post .entry-header .entry-title::before {
        width: 36px;
        height: 3px;
        margin-bottom: 10px;
    }

    .single-post .entry-meta,
    .single-post .entry-meta * {
        font-size: 13px;
    }

    .single-post .entry-content {
        font-size: 16px;
    }
    
    .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;
        margin-top: 36px;
    }

    .affiliate-disclosure {
        font-size: 11px;
    }

    .single-post #ez-toc-container {
        padding: 16px !important;
    }
}
/* 1. Format our protective shield to maintain Astra's native spacing */
.mv-ad-shield {
    margin: 0 0 25px 0;
    padding: 0;
    width: 100%;
}

.mv-ad-shield figure {
    margin-bottom: 20px;
}

.mv-ad-shield h2, 
.mv-ad-shield h3 {
    margin-top: 0 !important; 
    margin-bottom: 15px;
}

.mv-ad-shield p:last-child {
    margin-bottom: 0; 
}

/* 2. Style the Mediavine Ad that drops immediately AFTER our shield */
.mv-ad-shield + div {
    margin: 35px auto 40px auto !important; 
    text-align: center; 
    clear: both;
}
/* ===== STRICTLY MOBILE BREADCRUMBS ===== */
/* Hide completely on iPads (768px and up) and Desktops */
@media (min-width: 768px) {
    .mobile-breadcrumb-wrapper {
        display: none !important;
    }
}

/* Style for mobile phones (767px and below) */
@media (max-width: 767px) {
    .mobile-breadcrumb-wrapper {
        background: #f8fafc; 
        padding: 10px 15px;
        border-radius: 6px;
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 1.4;
        border-left: 4px solid #ea580c; 
    }
    
    .mobile-breadcrumb-wrapper a {
        color: #1a2332;
        text-decoration: none;
        padding: 5px 0; 
        display: inline-block;
    }

    .mobile-breadcrumb-wrapper a:hover,
    .mobile-breadcrumb-wrapper a:focus-visible {
        color: #ea580c;
        text-decoration: underline;
    }
    
    .mobile-breadcrumb-wrapper span {
        color: #6c757d; 
        margin: 0 4px;
    }
}

/* ===== MEDIAVINE IN-CONTENT AD SLOTS ===== */
/* Journey reserves space for each in-content ad before it loads. When a smaller ad fills
   that space, the leftover shows as a blank white gap mid-article. A soft tinted panel
   makes the slot read as a deliberate ad box instead of a broken gap.
   Background and outer margin only: no padding, width or height, so ad sizing and
   Mediavine's layout-shift protection are untouched. */
.single-post .entry-content .mv-ad-box {
    background: #f8fafc;
    border-radius: 10px;
    margin-top: 28px !important;
    margin-bottom: 28px !important;
}

/* ===== BREAKING UP TEXT WALLS ===== */

/* 1. Bold lead-in paragraphs (insider tips, lounges, hotels, bars...).
   The gg-lead class is added by the "gg-guide-content" PHP snippet.
   A soft orange rule down the left turns a run of them into a scannable list. */
.single-post .entry-content p.gg-lead {
    border-left: 3px solid #fdba74;
    padding-left: 16px;
}
.single-post .entry-content p.gg-lead > strong:first-child,
.single-post .entry-content p.gg-lead > b:first-child {
    color: #1a2332;
    font-weight: 700;
}
/* Elementor-built posts keep their own design */
.single-post .elementor p.gg-lead {
    border-left: 0;
    padding-left: 0;
}

/* 2. Tables in guides: navy header with the orange line, like the hubs */
.single-post .entry-content .wp-block-table {
    margin: 24px 0;
    overflow-x: auto;
}
.single-post .entry-content .wp-block-table table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    font-size: 16px;
}
.single-post .entry-content .wp-block-table th {
    background: #1a2332;
    color: #ffffff;
    border: 0;
    border-bottom: 3px solid #ea580c;
    padding: 12px 14px;
    text-align: left;
    font-weight: 700;
}
.single-post .entry-content .wp-block-table td {
    border: 0;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 14px;
    vertical-align: top;
}
.single-post .entry-content .wp-block-table tr:last-child td { border-bottom: 0; }

/* 3. Quote block = a "Heads up" callout. In the editor, add a Quote block
   whenever something deserves to jump off the page (a policy trap, a must-know). */
.single-post .entry-content .wp-block-quote {
    background: #1a2332;
    border: 0;
    border-left: 5px solid #f97316;
    border-radius: 0 10px 10px 0;
    padding: 20px 24px;
    margin: 28px 0;
    color: #e6eaf0;
    font-style: normal;
}
.single-post .entry-content .wp-block-quote p { margin-bottom: 0; color: #e6eaf0; }
.single-post .entry-content .wp-block-quote strong,
.single-post .entry-content .wp-block-quote p.gg-lead > strong:first-child { color: #ffffff; }
.single-post .entry-content .wp-block-quote p.gg-lead { border-left: 0; padding-left: 0; }
.single-post .entry-content .wp-block-quote a { color: #fdba74 !important; }
.single-post .entry-content .wp-block-quote cite { color: #a9b3c3; font-size: 14px; }

/* 4. Pullquote block = a magazine-style pull quote for one great line */
.single-post .entry-content .wp-block-pullquote {
    border-top: 3px solid #ea580c;
    border-bottom: 3px solid #ea580c;
    padding: 24px 8px;
    margin: 32px 0;
    text-align: center;
}
.single-post .entry-content .wp-block-pullquote p {
    font-family: 'Outfit', 'Libre Franklin', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    color: #1a2332;
    margin: 0;
}

/* 5. Separator block = a short orange bar for a clean pause between sections */
.single-post .entry-content hr.wp-block-separator {
    border: 0;
    height: 4px;
    width: 64px;
    background: #ea580c;
    border-radius: 2px;
    margin: 36px auto;
    opacity: 1;
}
.single-post .elementor hr.wp-block-separator { width: auto; height: 1px; background: #e2e8f0; }

@media (max-width: 768px) {
    .single-post .entry-content p.gg-lead { padding-left: 13px; }
    .single-post .entry-content .wp-block-table table { font-size: 14px; }
    .single-post .entry-content .wp-block-pullquote p { font-size: 20px; }
}