/* JOURNALS HERO FINAL FIX - MATCH BOOKS PAGE DIMENSIONS */
/* This CSS must be the LAST one loaded to override everything */

/* Ultra-high specificity to beat wiseleaf-page-fixes.css */
html body div section.journals-header,
html body section.journals-header.journals-header,
html body .journals-header.journals-header,
html[lang="en"] body section.journals-header,
html[lang="en"] body .journals-header {
    /* Hero background image with WebP fallback */
    background: url('../images/pages/journals-hero.jpg') center center / cover no-repeat !important;
    background: url('../images/pages/journals-hero.webp') center center / cover no-repeat !important;
    background-color: transparent !important;
    
    /* Dimensions - MATCH BOOKS PAGE (300px) */
    min-height: 300px !important;
    height: 300px !important;
    width: 100% !important;
    
    /* Layout */
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    
    /* Position */
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* FORCE hide all content */
html body .journals-header *,
html body section.journals-header * {
    display: none !important;
    visibility: hidden !important;
}

/* Responsive - MINIMAL CONTAINER HEIGHT */
@media (max-width: 768px) {
    html body div section.journals-header,
    html body section.journals-header.journals-header,
    html body .journals-header.journals-header {
        min-height: 120px !important;
        height: 120px !important;
        max-height: 120px !important;
        padding: 0 !important;
        margin: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        overflow: hidden !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    html body div section.journals-header,
    html body section.journals-header.journals-header,
    html body .journals-header.journals-header {
        min-height: 100px !important;
        height: 100px !important;
        max-height: 100px !important;
        padding: 0 !important;
        margin: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        overflow: hidden !important;
        display: block !important;
    }
}