/* === Layout fix: hide duplicate mobile nav on desktop === */
nav.mobile_navigation,
.mobile_navigation,
.menu-mobile, .mobile-menu, .responsive-menu, .mobile-nav,
nav.mobile, .header-mobile, .nav-mobile, #mobile-menu,
.lc_mobile_menu { display: none !important; }

@media (max-width: 900px) {
    nav.mobile_navigation,
    .mobile_navigation,
    .menu-mobile, .mobile-menu, .responsive-menu, .mobile-nav,
    #mobile-menu, .lc_mobile_menu { display: block !important; }

    nav.centered_menu, nav.classic_menu,
    .menu-desktop, nav.primary, nav.main-nav,
    .header-nav-primary { display: none !important; }
}

/* === Header / logo sanity === */
.site-header, header.site-header { position: relative; padding: 1rem 2rem; }
.logo, .site-logo, .brand { max-width: 240px; }
.logo img, .site-logo img { max-height: 100px; width: auto; height: auto; }

/* === Nav list reset (only when visible) === */
nav.centered_menu > ul,
nav.classic_menu  > ul,
nav.mobile_navigation > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
nav.centered_menu > ul > li,
nav.classic_menu  > ul > li,
nav.mobile_navigation > ul > li { padding: 0; margin: 0; }

/* === Text contrast on dark theme === */
body { color: #f5f5f5 !important; }
h1, h2, h3, h4, h5, h6 { color: #ffffff !important; }
.album-title, .track-list, .gallery-section h2, h2 a, h3 a { color: #ffffff !important; }
p, li, span, div, td, .lc_post_meta, .lc_event_entry, .post_item_details { color: #e8e8e8; }
a { color: #ff8a82; }
a:hover { color: #ffffff; }

/* === Gallery section === */
.gallery-section, #gallery, .photo-gallery { background: #1a1a1a; padding: 2rem; }
.gallery-section img, .photo-gallery img { width: 100%; height: 250px; object-fit: cover; display: block; margin-bottom: 1rem; }
.gallery, .photos-grid, ul.gallery, .lc-gallery, .lc_masonry_container, .lc_blog_masonry { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important; gap: 1rem !important; list-style: none; padding: 0; }
.gallery li, .photos-grid li, .lc-gallery li, .lc_blog_masonry_brick { list-style: none; width: auto !important; left: auto !important; top: auto !important; position: relative !important; opacity: 1 !important; }
.gallery img, .photos-grid img, .lc_masonry_thumbnail_image { width: 100% !important; height: 220px !important; object-fit: cover !important; display: block !important; }

/* === Audio player visibility (force native HTML5 controls) === */
audio { display: block !important; width: 100%; margin: 0.5rem 0; }
.wp-audio-shortcode { display: block !important; width: 100% !important; height: auto !important; }
.mejs-container, .mejs-offscreen { display: none !important; }
.single_track { padding: 0.6rem 0; border-bottom: 1px solid #333; color: #f5f5f5; }
.single_track .track_name { color: #ffffff; font-weight: 600; margin-bottom: 0.25rem; }
.track_order { color: #ff8a82; margin-right: 0.5rem; }

/* === Logo overlap fix === */
header .logo, header img.logo, #logo img { max-height: 80px; width: auto; }
.album-title, .featured-album { padding-top: 3rem; clear: both; }

/* === Force any opacity:0 / waypoint hidden content visible === */
.wpb_animate_when_almost_visible, .wpb_start_animation, .lc_post_meta { opacity: 1 !important; }
