/* SCT Homepage Mobile Readability CSS
 * External file to survive NitroPack CSS optimization.
 * NitroPack strips inline <style> blocks but preserves enqueued stylesheets.
 * Promoted from draft to production 2026-03-24.
 */

/* Fix 0: Hide brewery tour shadow box (mobile section 8c8fffd39) */
.mcb-section-8c8fffd39 .mcb-item-d5cd59f5b {
    display: none !important;
}

@media (max-width: 768px) {
    /* Issue A: Kill black gap above nav on homepage hero-behind-nav */
    body.home .header_placeholder {
        height: 0 !important;
    }

    /* Issue B: Shadow box cards full-width stacked on mobile */
    .mcb-section-8c8fffd39 .mcb-column.one-fourth {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    /* Issue B2: Add breathing room below pricing cards, above category icons */
    .mcb-section-8c8fffd39 {
        margin-bottom: 20px !important;
    }
    .mcb-section-f85d4ae61 {
        padding-top: 30px !important;
    }

    /* Issue C: Dark parallax section — stronger overlay for text readability */
    body.home .mcb-section-c454c3199 {
        position: relative;
        background-attachment: scroll !important;
    }
    body.home .mcb-section-c454c3199::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 0;
        pointer-events: none;
    }
    body.home .mcb-section-c454c3199 > .section_wrapper,
    body.home .mcb-section-c454c3199 > .section-decoration {
        position: relative;
        z-index: 1;
    }
    body.home .mfn-builder-content .mcb-section.mcb-section-c454c3199.dark .column_attr h2,
    body.home .mfn-builder-content .mcb-section.mcb-section-c454c3199.dark .column_attr h3,
    body.home .mfn-builder-content .mcb-section.mcb-section-c454c3199.dark .column_attr p {
        text-shadow: 0 1px 4px rgba(0,0,0,0.5) !important;
        color: #fff !important;
    }

    /* Fix 3: Tighten all homepage section padding (general rule first) */
    body.home .mfn-builder-content > .mcb-section {
        padding-top: 30px !important;
        padding-bottom: 20px !important;
    }

    /* Fix 1: Crush hero padding (higher specificity than Fix 3) */
    body.home .mfn-builder-content > .mcb-section.mcb-section-d2eeaa492 {
        padding-top: 100px !important;
        padding-bottom: 80px !important;
        min-height: 280px !important;
    }

    /* Fix 2: Crush dark parallax section padding (higher specificity than Fix 3) */
    body.home .mfn-builder-content > .mcb-section.mcb-section-c454c3199 {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    /* Fix 4: Shadow box cards — reduce padding */
    body.home .hover_color_wrapper {
        padding: 20px 15px !important;
    }
    body.home .hover_color_wrapper .image_frame {
        height: 50px !important;
        margin-bottom: 8px;
    }
    body.home .hover_color_wrapper .image_frame img {
        max-height: 40px !important;
    }

    /* Fix 5: Stats bar mobile prominence */
    body.home .sct-stats-bar {
        padding: 16px 10px !important;
    }
    body.home .sct-stats-inner {
        gap: 12px 20px;
    }
    body.home .sct-stat-num { font-size: 1.1rem; }
    body.home .sct-stat-label { font-size: 0.65rem; letter-spacing: 1px; }

    /* Fix 6: Text readability */
    body.home .mfn-builder-content .column_attr p {
        font-size: 0.95rem !important;
        line-height: 1.65 !important;
    }
    body.home .mfn-builder-content .column_attr h2 {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }

    /* Fix 7: Hero text — more compact */
    body.home .mfn-builder-content .mcb-section-d2eeaa492 .column_attr h2 {
        font-size: 1.3rem !important;
        letter-spacing: 2px !important;
        line-height: 1.4 !important;
    }
}
