/*
  Pollution and Diseases Book Series — integrated OJS visual style v2
  Purpose: distinguish the Book Series OJS site from other OJS platforms
  Usage in OJS: Website Settings / Appearance / Journal style sheet — upload this CSS file
*/

/* 1. Global white background */
html,
body,
.pkp_structure_page,
.pkp_structure_content,
.pkp_structure_main,
.pkp_structure_head,
.pkp_structure_footer,
.pkp_structure_footer_wrapper,
.pkp_page_index,
.pkp_page_about,
.pkp_page_catalog,
.pkp_page_article,
.pkp_page_issue,
.pkp_page_search {
    background: #ffffff !important;
}

/* 2. Book-like typography */
html,
body {
    font-family: Georgia, "Times New Roman", Times, serif !important;
    font-size: 12pt !important;
    line-height: 1.48 !important;
    color: #222222 !important;
}

body,
p,
li,
dd,
dt,
td,
th,
input,
textarea,
select,
button {
    font-family: Georgia, "Times New Roman", Times, serif !important;
}

/* 3. More compact academic text spacing */
p {
    margin-top: 0 !important;
    margin-bottom: 0.7em !important;
    line-height: 1.48 !important;
}

ul,
ol {
    margin-top: 0.35em !important;
    margin-bottom: 0.65em !important;
    padding-left: 1.5em !important;
}

li {
    margin-bottom: 0.32em !important;
    line-height: 1.45 !important;
}

/* 4. Headings: calmer and more book/editorial style */
h1,
h2,
h3,
h4,
h5,
h6,
.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3,
.pkp_structure_main h4,
.page h1,
.page h2,
.page h3,
.page h4 {
    font-family: Georgia, "Times New Roman", Times, serif !important;
    color: #111111 !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

h1,
.pkp_structure_main h1,
.page h1 {
    font-size: 20pt !important;
    margin-top: 0.25em !important;
    margin-bottom: 0.65em !important;
}

h2,
.pkp_structure_main h2,
.page h2 {
    font-size: 15pt !important;
    margin-top: 1.1em !important;
    margin-bottom: 0.45em !important;
}

h3,
.pkp_structure_main h3,
.page h3 {
    font-size: 13pt !important;
    margin-top: 0.9em !important;
    margin-bottom: 0.35em !important;
}

/* 5. Academic colored header/footer and neutral page background */
.pkp_structure_head,
.pkp_site_name,
.pkp_site_name_wrapper,
.pkp_navigation_primary_wrapper,
.pkp_navigation_user_wrapper {
    background: #2f3145 !important;
    background-color: #2f3145 !important;
    background-image: none !important;
    box-shadow: none !important;
}

.pkp_structure_footer,
.pkp_structure_footer_wrapper,
.pkp_footer_content,
.pkp_brand_footer {
    background: #2f3145 !important;
    background-color: #2f3145 !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Thin academic separators instead of heavy horizontal strips */
.pkp_navigation_primary_wrapper {
    border-top: 1px solid rgba(255,255,255,0.18) !important;
    border-bottom: 1px solid rgba(255,255,255,0.22) !important;
}

.pkp_structure_footer_wrapper {
    border-top: 1px solid rgba(255,255,255,0.22) !important;
}

/* 6. Header and site title */
.pkp_site_name,
.pkp_site_name a,
.pkp_site_name .is_text {
    font-family: Georgia, "Times New Roman", Times, serif !important;
    color: #ffffff !important;
    font-size: 20pt !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.pkp_site_name_wrapper {
    padding-top: 18px !important;
    padding-bottom: 14px !important;
}

/* 7. Navigation: compact and not visually dominant */
.pkp_navigation_primary,
.pkp_navigation_user,
.pkp_navigation_primary ul,
.pkp_navigation_user ul {
    font-family: Georgia, "Times New Roman", Times, serif !important;
    font-size: 11pt !important;
}

.pkp_navigation_primary > li > a,
.pkp_navigation_user > li > a,
.pkp_navigation_primary a,
.pkp_navigation_user a {
    color: #f3f3f6 !important;
    text-transform: none !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_user > li > a:hover,
.pkp_navigation_primary a:hover,
.pkp_navigation_user a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* 7a. Dropdown/menu states: avoid black background and invisible text */
.pkp_navigation_primary ul,
.pkp_navigation_user ul,
.pkp_navigation_primary .dropdown-menu,
.pkp_navigation_user .dropdown-menu {
    background: #f4f2f8 !important;
    background-color: #f4f2f8 !important;
    border: 1px solid #d4d0df !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
}

.pkp_navigation_primary ul a,
.pkp_navigation_user ul a,
.pkp_navigation_primary .dropdown-menu a,
.pkp_navigation_user .dropdown-menu a {
    color: #222222 !important;
    background: transparent !important;
}

.pkp_navigation_primary ul a:hover,
.pkp_navigation_primary ul a:focus,
.pkp_navigation_user ul a:hover,
.pkp_navigation_user ul a:focus,
.pkp_navigation_primary .dropdown-menu a:hover,
.pkp_navigation_primary .dropdown-menu a:focus,
.pkp_navigation_user .dropdown-menu a:hover,
.pkp_navigation_user .dropdown-menu a:focus {
    color: #111111 !important;
    background: #e5e0ef !important;
    text-decoration: none !important;
}

/* 8. Main content width: book-like readable layout */
.pkp_structure_main {
    max-width: 920px !important;
    padding-top: 24px !important;
    padding-bottom: 28px !important;
}

.page,
.obj_issue_toc,
.cmp_announcements,
.pkp_page_index .journals,
.pkp_page_index .additional_content {
    max-width: 860px !important;
}

/* 9. Links: restrained academic blue */
a {
    color: #1f4f7a !important;
}

a:hover,
a:focus {
    color: #12324f !important;
    text-decoration: underline !important;
}

/* 10. Breadcrumbs and small interface text */
.cmp_breadcrumbs,
.cmp_breadcrumbs a,
.cmp_breadcrumbs ol,
.cmp_breadcrumbs li,
.pkp_screen_reader,
.pkp_helpers_text_warn {
    font-family: Georgia, "Times New Roman", Times, serif !important;
    font-size: 10pt !important;
}

.cmp_breadcrumbs {
    margin-bottom: 1em !important;
}

/* 11. Footer: compact, calm, book-publisher style */
.pkp_structure_footer,
.pkp_structure_footer_wrapper,
.pkp_footer_content,
.pkp_brand_footer {
    color: #f1f1f4 !important;
    font-family: Georgia, "Times New Roman", Times, serif !important;
    font-size: 10.5pt !important;
    line-height: 1.3 !important;
}

.pkp_footer_content p {
    margin-bottom: 0.35em !important;
}

.pkp_structure_footer a,
.pkp_structure_footer_wrapper a,
.pkp_footer_content a,
.pkp_brand_footer a {
    color: #ffffff !important;
}

.pkp_structure_footer a:hover,
.pkp_footer_content a:hover,
.pkp_brand_footer a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* Hide overly visible PKP/OJS brand block if theme displays it as a separate strip.
   Remove this rule if you legally/contractually need to keep the visual PKP footer block. */
.pkp_brand_footer {
    opacity: 0.75 !important;
}

/* 12. Images and embedded content */
img {
    max-width: 100% !important;
    height: auto !important;
}

/* 13. Mobile: keep readable, but still more compact than default */
@media (max-width: 768px) {
    html,
    body {
        font-size: 12pt !important;
        line-height: 1.5 !important;
    }

    .pkp_structure_main {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    h1,
    .pkp_structure_main h1,
    .page h1 {
        font-size: 18pt !important;
    }

    h2,
    .pkp_structure_main h2,
    .page h2 {
        font-size: 14pt !important;
    }
}


/* 14. Extra protection for OJS themes that force black menu backgrounds */
.pkp_navigation_primary li:hover,
.pkp_navigation_primary li:focus,
.pkp_navigation_primary li:focus-within,
.pkp_navigation_primary li[aria-expanded="true"],
.pkp_navigation_user li:hover,
.pkp_navigation_user li:focus,
.pkp_navigation_user li:focus-within,
.pkp_navigation_user li[aria-expanded="true"] {
    background-color: #3d3f59 !important;
}

.pkp_navigation_primary li:hover > a,
.pkp_navigation_primary li:focus > a,
.pkp_navigation_primary li:focus-within > a,
.pkp_navigation_primary li[aria-expanded="true"] > a,
.pkp_navigation_user li:hover > a,
.pkp_navigation_user li:focus > a,
.pkp_navigation_user li:focus-within > a,
.pkp_navigation_user li[aria-expanded="true"] > a {
    color: #ffffff !important;
}

/* =========================================================
   v3 refinements: readable search, full-width header/footer,
   improved headings, and monograph catalogue styling
   ========================================================= */

/* A. Search link: light, readable, not blue */
.pkp_navigation_search_wrapper a,
.pkp_navigation_search_wrapper a:link,
.pkp_navigation_search_wrapper a:visited,
.pkp_search a,
.pkp_search a:link,
.pkp_search a:visited {
    color: #eeeeee !important;
    font-weight: 500 !important;
}

.pkp_navigation_search_wrapper a:hover,
.pkp_navigation_search_wrapper a:focus,
.pkp_search a:hover,
.pkp_search a:focus {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* B. Remove pale side panels near navigation/footer; make header/footer one continuous colour */
.pkp_structure_head,
.pkp_structure_head::before,
.pkp_structure_head::after,
.pkp_navigation_primary_row,
.pkp_navigation_primary_row::before,
.pkp_navigation_primary_row::after,
.pkp_navigation_primary_wrapper,
.pkp_navigation_primary_wrapper::before,
.pkp_navigation_primary_wrapper::after,
.pkp_structure_footer,
.pkp_structure_footer::before,
.pkp_structure_footer::after,
.pkp_structure_footer_wrapper,
.pkp_structure_footer_wrapper::before,
.pkp_structure_footer_wrapper::after,
.pkp_footer_content,
.pkp_footer_content::before,
.pkp_footer_content::after,
.pkp_brand_footer,
.pkp_brand_footer::before,
.pkp_brand_footer::after {
    background: #2f3145 !important;
    background-color: #2f3145 !important;
    background-image: none !important;
}

/* C. More refined book-series heading typography */
.pkp_structure_main h1,
.page h1,
.obj_monograph_full h1,
.obj_issue_toc h1 {
    font-size: 21pt !important;
    font-weight: 600 !important;
    line-height: 1.18 !important;
    margin-top: 0.15em !important;
    margin-bottom: 0.75em !important;
    padding-bottom: 0.25em !important;
    border-bottom: 1px solid #d7d7d7 !important;
}

.pkp_structure_main h2,
.page h2,
.obj_monograph_full h2,
.obj_issue_toc h2 {
    font-size: 15.5pt !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    margin-top: 1.35em !important;
    margin-bottom: 0.5em !important;
    color: #1d1d1d !important;
}

.pkp_structure_main h3,
.page h3,
.obj_monograph_full h3,
.obj_issue_toc h3 {
    font-size: 13.2pt !important;
    font-weight: 600 !important;
    line-height: 1.28 !important;
    margin-top: 1.05em !important;
    margin-bottom: 0.38em !important;
    color: #222222 !important;
}

/* Smaller uppercase interface headings should not look like advertising blocks */
.pkp_structure_main .label,
.pkp_structure_main .title,
.pkp_structure_main .subtitle {
    font-family: Georgia, "Times New Roman", Times, serif !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

/* D. Monograph catalogue / book list styling */
.cmp_monographs_list,
.obj_monograph_summary,
.obj_monograph_summary .summary,
.obj_monograph_summary .details,
.obj_monograph_full,
.obj_catalog_details,
.page_catalog,
.page_series,
.page_issue {
    font-family: Georgia, "Times New Roman", Times, serif !important;
}

/* Each book should look like a calm catalogue entry */
.obj_monograph_summary,
.cmp_monographs_list > li,
.page_catalog .obj_monograph_summary,
.pkp_page_catalog .obj_monograph_summary {
    background: #ffffff !important;
    border: 1px solid #dddddd !important;
    border-left: 4px solid #2f3145 !important;
    padding: 16px 18px !important;
    margin-bottom: 18px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
}

.obj_monograph_summary .title,
.obj_monograph_summary .title a,
.obj_monograph_summary h2,
.obj_monograph_summary h3 {
    font-size: 14.2pt !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: #111111 !important;
    margin-top: 0 !important;
    margin-bottom: 0.35em !important;
    text-decoration: none !important;
}

.obj_monograph_summary .title a:hover {
    color: #1f4f7a !important;
    text-decoration: underline !important;
}

.obj_monograph_summary .authors,
.obj_monograph_summary .date,
.obj_monograph_summary .series,
.obj_monograph_summary .published,
.obj_monograph_summary .meta,
.obj_monograph_summary .description,
.obj_monograph_summary p {
    font-size: 11.5pt !important;
    line-height: 1.42 !important;
    margin-bottom: 0.45em !important;
}

/* Book cover thumbnails: keep them neat and publisher-like */
.obj_monograph_summary .cover,
.obj_monograph_summary .cover img,
.obj_monograph_full .cover img {
    border: 1px solid #d4d4d4 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
}

/* Download / view buttons: calm academic buttons */
.obj_galley_link,
.cmp_button,
.block_make_submission a,
.pkp_structure_main .button,
.pkp_structure_main button {
    background: #2f3145 !important;
    color: #ffffff !important;
    border: 1px solid #2f3145 !important;
    border-radius: 2px !important;
    font-family: Georgia, "Times New Roman", Times, serif !important;
    font-size: 10.5pt !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.obj_galley_link:hover,
.cmp_button:hover,
.block_make_submission a:hover,
.pkp_structure_main .button:hover,
.pkp_structure_main button:hover {
    background: #3d3f59 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* E. Homepage book-catalogue text blocks */
.pkp_page_index .additional_content h2,
.pkp_page_index .additional_content h3 {
    border-bottom: none !important;
}

.pkp_page_index .additional_content strong {
    font-weight: 600 !important;
}

/* =========================================================
   v4: Monograph catalogue — 7–8 books per year
   Inspired by academic publisher catalogues, but simplified
   ========================================================= */

/* Catalogue page width: enough room for cover + metadata */
.pkp_page_catalog .pkp_structure_main,
.page_catalog,
.cmp_monographs_list,
.pkp_page_index .additional_content {
    max-width: 980px !important;
}

/* Section heading for catalogue/year blocks */
.page_catalog h1,
.pkp_page_catalog h1,
.page_catalog h2,
.pkp_page_catalog h2,
.pkp_page_index .additional_content h2 {
    color: #171723 !important;
    border-bottom: 1px solid #cfcfd8 !important;
    padding-bottom: 0.35em !important;
}

/* Year heading style, useful for 2026 / 2027 catalogue sections */
.page_catalog h2,
.pkp_page_catalog h2,
.pkp_page_index .additional_content h2 {
    font-size: 16pt !important;
    margin-top: 1.6em !important;
    margin-bottom: 0.85em !important;
}

/* Main catalogue list: remove default list appearance */
.cmp_monographs_list,
.cmp_monographs_list ul,
.page_catalog ul,
.pkp_page_catalog ul {
    list-style: none !important;
    padding-left: 0 !important;
}

/* Book card: publisher-catalogue entry */
.obj_monograph_summary,
.cmp_monographs_list > li,
.page_catalog .obj_monograph_summary,
.pkp_page_catalog .obj_monograph_summary,
.pkp_page_index .additional_content .book-card,
.book-card {
    display: grid !important;
    grid-template-columns: 118px 1fr !important;
    column-gap: 22px !important;
    align-items: start !important;
    background: #ffffff !important;
    border: 1px solid #d8d8df !important;
    border-left: 5px solid #2f3145 !important;
    padding: 18px 20px !important;
    margin: 0 0 20px 0 !important;
    box-shadow: 0 2px 9px rgba(0,0,0,0.045) !important;
}

/* If OJS puts cover/details into its own wrappers, keep layout stable */
.obj_monograph_summary .cover,
.obj_monograph_summary .cover_image,
.obj_monograph_summary .cover_image a {
    grid-column: 1 !important;
    grid-row: 1 / span 6 !important;
    width: 118px !important;
    max-width: 118px !important;
}

.obj_monograph_summary .cover img,
.obj_monograph_summary .cover_image img,
.book-card img {
    width: 118px !important;
    max-width: 118px !important;
    height: auto !important;
    background: #f5f5f5 !important;
    border: 1px solid #cfcfd6 !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.14) !important;
}

/* Book content column */
.obj_monograph_summary .summary,
.obj_monograph_summary .details,
.obj_monograph_summary .title,
.obj_monograph_summary .authors,
.obj_monograph_summary .description,
.obj_monograph_summary .date,
.obj_monograph_summary .series,
.obj_monograph_summary .published,
.obj_monograph_summary .meta {
    grid-column: 2 !important;
}

/* Book title */
.obj_monograph_summary .title,
.obj_monograph_summary .title a,
.obj_monograph_summary h2,
.obj_monograph_summary h3,
.book-card-title,
.book-card-title a {
    font-family: Georgia, "Times New Roman", Times, serif !important;
    font-size: 15pt !important;
    line-height: 1.22 !important;
    font-weight: 600 !important;
    color: #12121a !important;
    margin: 0 0 0.28em 0 !important;
    border-bottom: none !important;
}

.obj_monograph_summary .title a:hover,
.book-card-title a:hover {
    color: #1f4f7a !important;
    text-decoration: underline !important;
}

/* Authors/editors and metadata */
.obj_monograph_summary .authors,
.obj_monograph_summary .date,
.obj_monograph_summary .series,
.obj_monograph_summary .published,
.obj_monograph_summary .meta,
.book-card-meta {
    font-size: 11.2pt !important;
    line-height: 1.38 !important;
    color: #3f3f48 !important;
    margin-bottom: 0.35em !important;
}

.obj_monograph_summary .authors {
    font-style: italic !important;
}

/* Description: limit visual density but preserve readable line height */
.obj_monograph_summary .description,
.obj_monograph_summary .description p,
.book-card-description,
.book-card-description p {
    font-size: 11.4pt !important;
    line-height: 1.45 !important;
    color: #242424 !important;
    margin-top: 0.45em !important;
    margin-bottom: 0.65em !important;
}

/* DOI / ISBN / price-like data */
.obj_monograph_summary .doi,
.obj_monograph_summary .isbn,
.obj_monograph_summary .price,
.book-card-data {
    font-size: 10.8pt !important;
    line-height: 1.35 !important;
    color: #4a4a52 !important;
}

/* Buttons: Details / PDF / Buy — calm publisher style */
.obj_monograph_summary .read_more,
.obj_monograph_summary .galleys,
.obj_monograph_summary .details_link,
.obj_monograph_summary .actions,
.book-card-actions {
    grid-column: 2 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 0.55em !important;
}

.obj_monograph_summary .read_more a,
.obj_monograph_summary .galleys a,
.obj_monograph_summary .details_link a,
.obj_monograph_summary .actions a,
.obj_galley_link,
.book-card-actions a {
    display: inline-block !important;
    background: #2f3145 !important;
    color: #ffffff !important;
    border: 1px solid #2f3145 !important;
    border-radius: 3px !important;
    padding: 5px 11px !important;
    font-size: 10.5pt !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    font-weight: 400 !important;
}

.obj_monograph_summary .read_more a:hover,
.obj_monograph_summary .galleys a:hover,
.obj_monograph_summary .details_link a:hover,
.obj_monograph_summary .actions a:hover,
.obj_galley_link:hover,
.book-card-actions a:hover {
    background: #444660 !important;
    border-color: #444660 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Secondary links inside cards */
.obj_monograph_summary a:not(.obj_galley_link) {
    color: #1f4f7a !important;
}

/* Compact annual catalogue: 7–8 entries should fit on screen without feeling crowded */
.cmp_monographs_list > li + li,
.page_catalog .obj_monograph_summary + .obj_monograph_summary,
.pkp_page_catalog .obj_monograph_summary + .obj_monograph_summary {
    margin-top: 0 !important;
}

/* Monograph full page: publisher-like details */
.obj_monograph_full .main_entry,
.obj_monograph_full .entry_details,
.obj_monograph_full .item,
.page_catalog .item {
    font-size: 11.6pt !important;
    line-height: 1.46 !important;
}

.obj_monograph_full .cover img {
    max-width: 190px !important;
    width: auto !important;
}

.obj_monograph_full .item .label,
.page_catalog .item .label {
    color: #2f3145 !important;
    font-weight: 600 !important;
}

/* Tables of contents / chapters */
.obj_chapter_summary,
.obj_chapter_summary .title,
.obj_chapter_summary .authors {
    font-family: Georgia, "Times New Roman", Times, serif !important;
}

.obj_chapter_summary {
    border-bottom: 1px solid #e2e2e2 !important;
    padding: 9px 0 !important;
}

.obj_chapter_summary .title,
.obj_chapter_summary .title a {
    font-size: 11.8pt !important;
    font-weight: 600 !important;
    color: #151515 !important;
}

.obj_chapter_summary .authors {
    font-size: 10.8pt !important;
    color: #55555d !important;
}

/* Optional badge style for year / new release labels */
.catalogue-year,
.book-year,
.new-release,
.forthcoming {
    display: inline-block !important;
    background: #f0eef7 !important;
    color: #2f3145 !important;
    border: 1px solid #d3cfe2 !important;
    border-radius: 3px !important;
    padding: 2px 7px !important;
    font-size: 10pt !important;
    line-height: 1.25 !important;
    margin-right: 6px !important;
}

/* Mobile: cards become one column */
@media (max-width: 768px) {
    .obj_monograph_summary,
    .cmp_monographs_list > li,
    .page_catalog .obj_monograph_summary,
    .pkp_page_catalog .obj_monograph_summary,
    .book-card {
        display: block !important;
        padding: 16px !important;
    }

    .obj_monograph_summary .cover,
    .obj_monograph_summary .cover_image,
    .obj_monograph_summary .cover img,
    .obj_monograph_summary .cover_image img,
    .book-card img {
        width: 110px !important;
        max-width: 110px !important;
        margin-bottom: 12px !important;
    }

    .obj_monograph_summary .read_more,
    .obj_monograph_summary .galleys,
    .obj_monograph_summary .details_link,
    .obj_monograph_summary .actions,
    .book-card-actions {
        display: block !important;
    }

    .obj_monograph_summary .read_more a,
    .obj_monograph_summary .galleys a,
    .obj_monograph_summary .details_link a,
    .obj_monograph_summary .actions a,
    .book-card-actions a {
        margin: 0 6px 6px 0 !important;
    }
}

/* =========================================================
   v5 — Unified monograph catalogue system
   Goal: identical presentation for published books and books in press
   Recommended homepage markup classes:
   .pdbs-catalog-section, .pdbs-book-grid, .pdbs-book-card,
   .pdbs-book-cover, .pdbs-book-content, .pdbs-book-status,
   .pdbs-book-title, .pdbs-book-meta, .pdbs-book-desc, .pdbs-book-actions
   ========================================================= */

/* Homepage catalogue sections */
.pdbs-catalog-section {
    margin: 2.2rem 0 2.8rem 0 !important;
    padding: 0 !important;
}

.pdbs-catalog-section > h2,
.pkp_structure_main .pdbs-catalog-section > h2,
.page .pdbs-catalog-section > h2 {
    font-size: 17pt !important;
    font-weight: 600 !important;
    color: #1b1c28 !important;
    margin: 0 0 1.15rem 0 !important;
    padding: 0 0 0.45rem 0 !important;
    border-bottom: 1px solid #d8d8e2 !important;
    letter-spacing: 0.01em !important;
}

.pdbs-catalog-note {
    max-width: 760px !important;
    margin: -0.55rem 0 1.35rem 0 !important;
    color: #55586a !important;
    font-size: 11.5pt !important;
    line-height: 1.45 !important;
}

/* Unified book cards */
.pdbs-book-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)) !important;
    gap: 1.25rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pdbs-book-card,
.obj_monograph_summary,
.obj_issue_summary,
.obj_galley_link,
.cmp_monographs_list > li,
.cmp_series_list > li {
    background: #ffffff !important;
    border: 1px solid #d7d8e2 !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 7px rgba(35, 36, 54, 0.06) !important;
}

.pdbs-book-card {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 1rem !important;
    min-height: 190px !important;
    padding: 1rem !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease !important;
}

.pdbs-book-card:hover,
.obj_monograph_summary:hover,
.obj_issue_summary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(35, 36, 54, 0.10) !important;
    border-color: #b8bacb !important;
}

/* Covers: equal visual rhythm even when covers differ */
.pdbs-book-cover {
    width: 112px !important;
    height: 158px !important;
    background: #f1f1f5 !important;
    border: 1px solid #d9d9e2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.pdbs-book-cover img,
.obj_monograph_summary .cover img,
.obj_issue_summary .cover img,
.cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* If there is no cover yet */
.pdbs-book-cover-placeholder {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.6rem !important;
    color: #5b5e74 !important;
    font-size: 10.5pt !important;
    line-height: 1.25 !important;
    background: linear-gradient(180deg, #f7f7fa 0%, #e9eaf1 100%) !important;
}

.pdbs-book-content {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Status badges */
.pdbs-book-status {
    display: inline-block !important;
    align-self: flex-start !important;
    margin-bottom: 0.45rem !important;
    padding: 0.16rem 0.48rem !important;
    font-family: Georgia, "Times New Roman", Times, serif !important;
    font-size: 9.5pt !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    background: #4b4e68 !important;
    border-radius: 2px !important;
    letter-spacing: 0.01em !important;
}

.pdbs-book-status.in-press {
    background: #6b5e7d !important;
}

.pdbs-book-status.published {
    background: #3f425a !important;
}

/* Book title and metadata */
.pdbs-book-title,
.pdbs-book-title a,
.obj_monograph_summary .title,
.obj_monograph_summary .title a,
.obj_issue_summary .title,
.obj_issue_summary .title a {
    font-family: Georgia, "Times New Roman", Times, serif !important;
    font-size: 13.2pt !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    color: #171824 !important;
    text-decoration: none !important;
}

.pdbs-book-title {
    margin: 0 0 0.35rem 0 !important;
    padding-bottom: 0.38rem !important;
    border-bottom: 2px solid #6b6f8e !important;
}

.pdbs-book-title a:hover,
.obj_monograph_summary .title a:hover,
.obj_issue_summary .title a:hover {
    color: #3f425a !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}

.pdbs-book-meta,
.obj_monograph_summary .authors,
.obj_monograph_summary .date,
.obj_issue_summary .series,
.obj_issue_summary .date {
    font-size: 10.6pt !important;
    line-height: 1.35 !important;
    color: #54576a !important;
    margin: 0 0 0.45rem 0 !important;
}

.pdbs-book-desc,
.obj_monograph_summary .description,
.obj_issue_summary .description {
    font-size: 11.2pt !important;
    line-height: 1.43 !important;
    color: #252638 !important;
    margin: 0.15rem 0 0.7rem 0 !important;
}

.pdbs-book-desc p {
    margin-bottom: 0.45em !important;
}

/* Actions */
.pdbs-book-actions {
    margin-top: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.45rem !important;
}

.pdbs-book-actions a,
.obj_monograph_summary .read_more,
.obj_monograph_summary .galleys_links a,
.obj_issue_summary .read_more,
.obj_issue_summary .galleys_links a,
.cmp_button,
.cmp_form .buttons button,
button.submit {
    display: inline-block !important;
    padding: 0.34rem 0.65rem !important;
    border: 1px solid #3f425a !important;
    border-radius: 3px !important;
    background: #ffffff !important;
    color: #2f3145 !important;
    font-size: 10.5pt !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.pdbs-book-actions a:hover,
.obj_monograph_summary .read_more:hover,
.obj_monograph_summary .galleys_links a:hover,
.obj_issue_summary .read_more:hover,
.obj_issue_summary .galleys_links a:hover,
.cmp_button:hover,
button.submit:hover {
    background: #3f425a !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Make native OJS monograph lists more uniform */
.obj_monograph_summary,
.obj_issue_summary {
    padding: 1rem !important;
    margin-bottom: 1.15rem !important;
}

.obj_monograph_summary .cover,
.obj_issue_summary .cover {
    width: 112px !important;
    height: 158px !important;
    overflow: hidden !important;
    background: #f1f1f5 !important;
    border: 1px solid #d9d9e2 !important;
}

.obj_monograph_summary .cover + .title,
.obj_issue_summary .cover + .title {
    margin-top: 0 !important;
}

/* Homepage intro should not look like a blog post */
.pdbs-home-intro {
    max-width: 820px !important;
    margin: 0 0 2rem 0 !important;
    padding: 1.2rem 1.35rem !important;
    background: #f7f7fa !important;
    border-left: 4px solid #4b4e68 !important;
    color: #252638 !important;
}

.pdbs-home-intro p:last-child {
    margin-bottom: 0 !important;
}

/* Responsive catalogue */
@media (max-width: 640px) {
    .pdbs-book-grid {
        grid-template-columns: 1fr !important;
    }

    .pdbs-book-card {
        grid-template-columns: 92px minmax(0, 1fr) !important;
        gap: 0.8rem !important;
        padding: 0.85rem !important;
    }

    .pdbs-book-cover {
        width: 92px !important;
        height: 130px !important;
    }

    .pdbs-book-title,
    .pdbs-book-title a {
        font-size: 12.3pt !important;
    }
}
