/**
 * Entry title styles for all custom post types
 * Sets h1.entry-title to 3em font-size for single posts of custom post types
 */

/* Target article elements with specific post type classes */
article.type-rapid-response h1.entry-title,
article.type-critical-care h1.entry-title,
article.type-forum h1.entry-title,
article.type-rta h1.entry-title,
article.type-fromtheeditor h1.entry-title,
article.type-issue h1.entry-title,
article.type-article h1.entry-title,
article.type-supplement h1.entry-title {
    font-size: 3em;
    line-height: 1.4;
    margin-bottom: 0.5em;
}

article.type-bookreview h1.entry-title {
    font-size: 2.5em;
    line-height: 1.4;
    margin-bottom: 0.5em;
}


/* Alternative selectors for different WordPress themes/structures */
.single-rapid-response h1.entry-title,
.single-critical-care h1.entry-title,
.single-forum h1.entry-title,
.single-rta h1.entry-title,
.single-fromtheeditor h1.entry-title,
.single-issue h1.entry-title,
.single-article h1.entry-title,
.single-supplement h1.entry-title {
    font-size: 3em;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

.single-bookreview h1.entry-title {
    font-size: 2.5em;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

/* Body class selectors for theme compatibility */
body.single.type-rapid-response h1.entry-title,
body.single.type-critical-care h1.entry-title,
body.single.type-forum h1.entry-title,
body.single.type-rta h1.entry-title,
body.single.type-fromtheeditor h1.entry-title,
body.single.type-issue h1.entry-title,
body.single.type-article h1.entry-title,
body.single.type-supplement h1.entry-title {
    font-size: 3em;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

body.single.type-bookreview h1.entry-title {
    font-size: 2.5em;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {

    article.type-rapid-response h1.entry-title,
    article.type-critical-care h1.entry-title,
    article.type-forum h1.entry-title,
    article.type-rta h1.entry-title,
    article.type-fromtheeditor h1.entry-title,
    article.type-issue h1.entry-title,
    article.type-article h1.entry-title,
    article.type-supplement h1.entry-title,
    .single-rapid-response h1.entry-title,
    .single-critical-care h1.entry-title,
    .single-forum h1.entry-title,
    .single-rta h1.entry-title,
    .single-fromtheeditor h1.entry-title,
    .single-issue h1.entry-title,
    .single-article h1.entry-title,
    .single-supplement h1.entry-title,
    body.single.type-rapid-response h1.entry-title,
    body.single.type-critical-care h1.entry-title,
    body.single.type-forum h1.entry-title,
    body.single.type-rta h1.entry-title,
    body.single.type-fromtheeditor h1.entry-title,
    body.single.type-issue h1.entry-title,
    body.single.type-article h1.entry-title,
    body.single.type-supplement h1.entry-title {
        font-size: 2.5em;
    }

    article.type-bookreview h1.entry-title,
    .single-bookreview h1.entry-title,
    body.single.type-bookreview h1.entry-title {
        font-size: 2em;
    }
}

@media (max-width: 480px) {

    article.type-rapid-response h1.entry-title,
    article.type-critical-care h1.entry-title,
    article.type-forum h1.entry-title,
    article.type-rta h1.entry-title,
    article.type-fromtheeditor h1.entry-title,
    article.type-issue h1.entry-title,
    article.type-article h1.entry-title,
    article.type-supplement h1.entry-title,
    .single-rapid-response h1.entry-title,
    .single-critical-care h1.entry-title,
    .single-forum h1.entry-title,
    .single-rta h1.entry-title,
    .single-fromtheeditor h1.entry-title,
    .single-issue h1.entry-title,
    .single-article h1.entry-title,
    .single-supplement h1.entry-title,
    body.single.type-rapid-response h1.entry-title,
    body.single.type-critical-care h1.entry-title,
    body.single.type-forum h1.entry-title,
    body.single.type-rta h1.entry-title,
    body.single.type-fromtheeditor h1.entry-title,
    body.single.type-issue h1.entry-title,
    body.single.type-article h1.entry-title,
    body.single.type-supplement h1.entry-title {
        font-size: 2em;
    }

    article.type-bookreview h1.entry-title,
    .single-bookreview h1.entry-title,
    body.single.type-bookreview h1.entry-title {
        font-size: 1.5em;
    }
}

/* Custom MAQ Header Banner Styles */
.maq-custom-header-banner {
    font-family: inherit;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

/* Responsive adjustments for the banner */
@media (max-width: 768px) {
    .maq-custom-header-banner {
        font-size: 1.5em !important;
        height: 2.5em !important;
        padding: 0 1em;
    }
}

@media (max-width: 480px) {
    .maq-custom-header-banner {
        font-size: 1.2em !important;
        height: 2em !important;
        padding: 0 0.5em;
        line-height: 1.2;
    }
}

.single .maq-breadcrumbs {
    margin-top: 60px;
}

.maq-child-posts-wrapper figure.wp-block-image {
    margin: 0;
    padding: 0;
}