/* ==========================================================================
   FLUX ACADEMIC — ADVANCED JOURNAL THEME
   Drop-in stylesheet for OJS 3.x (default theme base)
   Upload via: Journal Settings → Website → Appearance → Setup →
               "Additional stylesheet"
   --------------------------------------------------------------------------
   HOW TO REBRAND FOR A NEW JOURNAL
   Change only the variables in the ":root" block below. Everything else
   references them, so a new journal = new palette in under a minute.
   ========================================================================== */

:root {
  /* ---- Brand palette (EDIT THESE PER JOURNAL) -------------------------- */
  --brand-ink:        #0b1f3a;   /* primary deep navy — headers, nav */
  --brand-ink-2:      #12294f;   /* secondary navy — gradients/hover */
  --brand-accent:     #c9932f;   /* gold accent — links, underlines, CTAs */
  --brand-accent-2:   #e2b04f;   /* lighter gold — hover states */
  --brand-tint:       #f4f6fa;   /* pale background tint */
  --brand-line:       #e3e7ee;   /* hairline borders */

  /* ---- Neutrals ---------------------------------------------------------*/
  --ink-900: #10151f;
  --ink-700: #37414f;
  --ink-500: #6b7484;
  --ink-300: #aab1bd;
  --paper:   #ffffff;

  /* ---- Type --------------------------------------------------------------*/
  --font-display: "Source Serif Pro", "Noto Serif", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "IBM Plex Mono", "SF Mono", Consolas, monospace;

  /* ---- Rhythm ------------------------------------------------------------*/
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 21, 31, 0.06), 0 1px 1px rgba(16, 21, 31, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(11, 31, 58, 0.18);
  --shadow-lg: 0 24px 48px -16px rgba(11, 31, 58, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+Pro:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500&display=swap');

/* ==========================================================================
   0. RESET / BASE
   ========================================================================== */

html, body {
  background: var(--brand-tint);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-700);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--brand-accent);
  color: #fff;
}

a {
  color: var(--brand-ink-2);
  transition: color .18s var(--ease);
}
a:hover, a:focus {
  color: var(--brand-accent);
}

.pkp_structure_page {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 1200px) {
  .pkp_structure_page {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

img { border-radius: 2px; }

/* ==========================================================================
   1. HEADER / MASTHEAD
   ========================================================================== */

.pkp_structure_head {
  background: linear-gradient(120deg, var(--brand-ink) 0%, var(--brand-ink-2) 100%);
  border-bottom: none;
  position: relative;
}

.pkp_structure_head::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-accent-2), transparent 80%);
}

.pkp_head_wrapper {
  position: relative;
  /* No sizing/flex here on purpose: this wrapper also contains the nav
     menu (.pkp_site_nav_menu) as a sibling block that follows the site
     name in normal document flow (that's how the base OJS theme already
     stacks them). The cover-photo treatment below is scoped entirely to
     .pkp_site_name_wrapper so the nav is never touched. */
}

/* --- Logo-as-cover header ------------------------------------------------
   When a logo is set, OJS renders ONLY ".is_img" inside .pkp_site_name —
   the text name (".is_text") is not rendered alongside it, they're
   mutually exclusive. So there's no text to layer over the photo; we
   just need the image to cover its box cleanly. The box is sized with
   ":has()" so journals WITHOUT a logo (".is_text" only) keep the normal
   compact header instead of an empty tall navy band. */
.pkp_site_name_wrapper:has(.is_img) {
  position: relative;
  overflow: hidden;
  height: 200px;
}

@media (min-width: 992px) {
  .pkp_site_name_wrapper:has(.is_img) {
    height: 360px;
  }
}

/* Subtle bottom fade so the photo blends into the nav row beneath it. */
.pkp_site_name_wrapper:has(.is_img)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 45%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11,31,58,0) 0%, rgba(11,31,58,.85) 100%);
}

.pkp_site_name_wrapper:has(.is_img) .pkp_site_name {
  position: absolute;
  inset: 0;
}

.pkp_site_name .is_img {
  margin: 0 !important;
  display: block;
}

.pkp_site_name_wrapper:has(.is_img) .is_img {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 0;
  line-height: 0;
}

.pkp_site_name_wrapper:has(.is_img) .is_img img {
  width: 100%;
  height: 100%;
  max-height: none !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  filter: none;
  border-radius: 0;
  display: block;
}

/* No-logo header keeps the normal compact text title */
.pkp_site_name .is_text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: none;
  color: #fff;
  font-size: 1.35rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

@media (min-width: 992px) {
  .pkp_site_name .is_text {
    font-size: 2.15rem;
    line-height: 1.15;
  }
}

/* Tagline support: add a <p class="site-tagline"> via the "Additional content"
   or description field if you want a strapline under the title. */
.pkp_site_name + .site-tagline,
.pkp_page_index .site-tagline {
  color: rgba(255,255,255,.62);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: .25rem;
}

/* Primary nav row */
@media (min-width: 992px) {
  .pkp_navigation_primary_row {
    background: rgba(255,255,255,.03) !important;
    border-top: 1px solid rgba(255,255,255,.08);
    padding-left: 2.143rem;
    padding-right: 2.143rem;
  }
}

#navigationPrimary a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

#navigationPrimary > li > a {
  color: rgba(255,255,255,.82) !important;
  border-bottom-width: 2px;
  padding: 0 14px !important;
  line-height: 46px !important;
}

#navigationPrimary > li > a:hover,
#navigationPrimary > li > a:focus {
  color: #fff !important;
  border-color: var(--brand-accent) !important;
}

#navigationPrimary ul {
  background: var(--paper) !important;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--brand-line);
  overflow: hidden;
  padding: 6px !important;
}

#navigationPrimary ul a {
  color: var(--ink-700) !important;
  border-radius: 6px;
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
}

#navigationPrimary ul a:hover,
#navigationPrimary ul a:focus {
  background: var(--brand-tint) !important;
  color: var(--brand-ink) !important;
  border-color: transparent !important;
}

/* User menu + search */
.pkp_navigation_user_wrapper a,
.pkp_navigation_search_wrapper a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .02em;
  color: rgba(255,255,255,.85) !important;
}

.pkp_navigation_user_wrapper .pkp_navigation_user > li.profile {
  background: rgba(255,255,255,.08);
  border-radius: 999px;
}

.pkp_navigation_user_wrapper .pkp_navigation_user > li.profile > a {
  padding: 4px 14px !important;
}

/* Mobile toggle */
.pkp_site_nav_toggle > span,
.pkp_site_nav_toggle > span:before,
.pkp_site_nav_toggle > span:after {
  background: #fff;
  border-color: #fff;
}

.pkp_site_nav_menu {
  background: var(--brand-ink-2);
}

/* ==========================================================================
   2. BREADCRUMBS / CONTENT SHELL
   ========================================================================== */

.pkp_structure_content { padding-top: 0; }

.cmp_breadcrumbs {
  padding: 1.5rem 2.143rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-500);
  border-bottom: 1px solid var(--brand-line);
  display: block;
}

.cmp_breadcrumbs .separator { opacity: .4; padding: 0 .4em; }
.cmp_breadcrumbs .current { color: var(--ink-900); text-transform: none; letter-spacing: 0; font-weight: 500; }

.pkp_structure_main {
  padding: 2.143rem;
}

.pkp_structure_main h1 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-900);
  font-size: 2rem;
  line-height: 1.25;
}

.pkp_structure_main h2 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-ink);
  font-size: 1.4rem;
}

.pkp_structure_main h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  background: none;
  padding: 0 0 .5rem;
  border-bottom: 2px solid var(--brand-accent);
  display: inline-block;
  color: var(--brand-ink);
}

.pkp_structure_main p {
  line-height: 1.85;
  color: var(--ink-700);
  text-align: justify;
}

.pkp_page_index .homepage_about p,
.pkp_page_index .homepage_about .description p,
.obj_article_details .item.abstract .value p,
.page_about .about_section p {
  text-align: justify;
}

/* ==========================================================================
   3. SIDEBAR / BLOCKS
   ========================================================================== */

.pkp_structure_sidebar { position: relative; }

@media (min-width: 992px) {
  .pkp_structure_sidebar:before {
    border-left: 1px solid var(--brand-line);
  }
}

.pkp_block {
  padding: 1.7rem 1.9rem;
  border-bottom: 1px solid var(--brand-line);
}

.pkp_block .title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-900);
  text-transform: none;
  border-bottom: none;
  padding-bottom: 0;
  position: relative;
  padding-left: 14px;
}

.pkp_block .title::before {
  content: '';
  position: absolute;
  left: 0; top: .15em;
  width: 4px; height: 1em;
  background: var(--brand-accent);
  border-radius: 2px;
}

.pkp_block .content ul li {
  padding: .5rem 0;
  border-bottom: 1px dashed var(--brand-line);
}
.pkp_block .content ul li:last-child { border-bottom: none; }

.block_make_submission a,
.cmp_manuscript_button {
  display: block;
  text-align: center;
  background: linear-gradient(120deg, var(--brand-ink), var(--brand-ink-2));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .82rem;
  border-radius: var(--radius-md);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.block_make_submission a:hover {
  background: linear-gradient(120deg, var(--brand-ink-2), var(--brand-ink));
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   4. HOMEPAGE — HERO + CURRENT ISSUE + ANNOUNCEMENTS
   ========================================================================== */

.pkp_page_index .homepage_image {
  margin: -2.143rem -2.143rem 2.143rem;
  position: relative;
  border-radius: 0;
}

.pkp_page_index .homepage_image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,58,0) 40%, rgba(11,31,58,.55) 100%);
}

.pkp_page_index .homepage_about {
  background: var(--brand-tint);
  margin: -2.143rem -2.143rem 2.143rem;
  padding: 3rem 2.143rem;
  border-bottom: 1px solid var(--brand-line);
}

.pkp_page_index .homepage_about h2 {
  font-size: 1.7rem;
  margin-top: 0;
}

.pkp_page_index .current_issue h2 {
  border: none;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink-500);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: .6em;
}

.pkp_page_index .current_issue h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--brand-line);
}

.pkp_page_index .current_issue .current_issue_title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ink-900);
  margin-top: .3rem;
}

.pkp_page_index .current_issue .read_more {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  background: var(--brand-ink);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.pkp_page_index .current_issue .read_more:after { display: none; }
.pkp_page_index .current_issue .read_more:hover { background: var(--brand-accent); color: #fff; }

/* ==========================================================================
   5. ARTICLE CARDS (listings, TOC, catalog)
   ========================================================================== */

.obj_article_summary,
.cmp_article_list > li {
  background: var(--paper);
  border: 1px solid var(--brand-line) !important;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.6rem !important;
  margin-bottom: 1.1rem !important;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}

.obj_article_summary:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--brand-accent) !important;
}

.obj_article_summary > .title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--ink-900);
}
.obj_article_summary > .title a:hover { color: var(--brand-accent); }

.obj_article_summary .subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: .88rem;
  color: var(--ink-500);
}

.obj_article_summary .authors {
  font-size: .88rem;
  color: var(--ink-700);
  margin-top: .35rem;
}

.obj_article_summary .pages {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--ink-300);
  letter-spacing: .04em;
}

.obj_article_summary .galleys_links {
  margin-top: 1rem;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.obj_galley_link,
.cmp_button_wire {
  background: var(--brand-tint) !important;
  border: 1px solid var(--brand-line) !important;
  color: var(--brand-ink) !important;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 0 1.1em;
  line-height: 2rem;
}

.obj_galley_link:hover {
  background: var(--brand-ink) !important;
  color: #fff !important;
  border-color: var(--brand-ink) !important;
}

.obj_galley_link.pdf:before { color: #c0392b; margin-right: .4em; }
.obj_galley_link:hover.pdf:before { color: #fff; }

.obj_article_summary .item.doi .label {
  background: none;
  width: auto !important;
  height: auto !important;
  color: var(--ink-500) !important;
  text-indent: 0;
  overflow: visible;
  font-family: var(--font-mono);
  font-size: .72rem;
}

/* Issue TOC section headers */
.obj_issue_toc > .galleys,
.obj_issue_toc .section {
  margin: 2.4rem 0 !important;
  padding: 0 !important;
  border: none !important;
}

.obj_issue_toc > .galleys h2,
.obj_issue_toc .section > h3,
.obj_issue_toc .section h2 {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  border-bottom: none !important;
  background: none !important;
  padding: 0 0 .6rem !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink-500);
  font-family: var(--font-body);
  width: 100%;
}

.obj_issue_toc > .galleys h2::after,
.obj_issue_toc .section > h3::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-line) 60%);
}

.obj_issue_toc .articles > li {
  border-bottom: none !important;
  background: none !important;
  padding: 0 !important;
  margin-bottom: 1.1rem !important;
}

/* ==========================================================================
   6. ARTICLE DETAIL PAGE
   ========================================================================== */

.obj_article_details > .page_title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.3;
}

.obj_article_details > .subtitle {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--ink-500);
  font-size: 1.1rem;
}

.obj_article_details .row {
  border: none !important;
  margin-top: 2rem !important;
}

.obj_article_details .main_entry {
  border-right: 1px solid var(--brand-line) !important;
}

.obj_article_details .main_entry .label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--brand-accent);
  border-bottom: none !important;
  padding: 0 !important;
  display: block;
  margin-bottom: .6rem !important;
}

.obj_article_details .authors .name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-900);
}

.obj_article_details .authors .affiliation {
  font-size: .82rem;
  color: var(--ink-500);
}

.obj_article_details .item.abstract .value {
  line-height: 1.9;
  color: var(--ink-700);
  text-align: justify;
}

.obj_article_details .entry_details {
  margin: 0 !important;
}

.obj_article_details .entry_details .item {
  background: var(--brand-tint) !important;
  box-shadow: none !important;
  border: 1px solid var(--brand-line) !important;
  border-radius: var(--radius-md) !important;
  margin: 0 0 1.2rem !important;
  overflow: hidden;
}

.obj_article_details .entry_details .item > .label {
  background: var(--brand-ink) !important;
  color: #fff !important;
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .08em;
  font-weight: 700;
  padding: .7em 1.2rem !important;
}

.obj_article_details .entry_details .item > .value {
  padding: 1.1rem 1.2rem !important;
  font-size: .88rem;
}

.obj_article_details .citation_display .citation_formats {
  border-radius: var(--radius-sm);
  border-color: var(--brand-line);
}

/* ==========================================================================
   7. BUTTONS / FORMS / NOTIFICATIONS
   ========================================================================== */

.pkp_button_primary,
.cmp_button {
  background: var(--brand-ink) !important;
  border-color: var(--brand-ink) !important;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  box-shadow: none !important;
}

.pkp_button_primary:hover {
  background: var(--brand-accent) !important;
  border-color: var(--brand-accent) !important;
}

.cmp_form input[type="text"],
.cmp_form input[type="email"],
.cmp_form input[type="password"],
.cmp_form input[type="url"],
.cmp_form input[type="tel"],
.cmp_form select,
.cmp_form textarea {
  border-radius: var(--radius-sm);
  border-color: var(--brand-line);
}

.cmp_form input:focus,
.cmp_form select:focus,
.cmp_form textarea:focus {
  outline: none;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(201, 147, 47, .18);
}

.cmp_notification {
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--brand-line);
  border-left: 4px solid var(--brand-ink);
  box-shadow: var(--shadow-sm);
}
.cmp_notification .success { border-color: #1f9d55; }
.cmp_notification .no { border-color: #c0392b; }

/* ==========================================================================
   8. ANNOUNCEMENTS
   ========================================================================== */

.cmp_announcements > li {
  border-bottom: 1px solid var(--brand-line) !important;
}

.obj_announcement_summary h2,
.obj_announcement_summary h3,
.obj_announcement_summary h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-900);
  text-transform: none;
}

.obj_announcement_summary .date {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--ink-300);
}
.obj_announcement_summary .date::before { color: var(--brand-accent); }

.obj_announcement_summary .read_more {
  color: var(--brand-ink-2);
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */

.pkp_structure_footer_wrapper {
  background: var(--brand-ink);
  border: none;
}

.pkp_structure_footer {
  color: rgba(255,255,255,.6);
}

.pkp_footer_content {
  background: transparent !important;
  padding: 2.6rem 2.143rem !important;
  text-align: left;
  font-size: .85rem;
}

.pkp_footer_content a { color: rgba(255,255,255,.85); }
.pkp_footer_content a:hover { color: var(--brand-accent-2); }

.pkp_brand_footer {
  background: rgba(0,0,0,.15) !important;
  padding: 1rem 2.143rem !important;
}

/* ==========================================================================
   10. SEARCH PAGE
   ========================================================================== */

.page_search .search_input .query {
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-line);
  padding: 0 1.2rem;
}

.page_search .search_advanced {
  border-radius: var(--radius-md);
  border-color: var(--brand-line);
  background: var(--brand-tint);
}

.page_search .submit button {
  background: var(--brand-ink);
  border-radius: 999px;
  overflow: hidden;
}

/* ==========================================================================
   10b. COVER / THUMBNAIL IMAGES (issue covers, article covers, catalog)
   Kept small and consistent — a book-cover proportion, not a poster.
   ========================================================================== */

.obj_issue_summary .cover,
.obj_article_summary .cover,
.obj_issue_toc .cover,
.pkp_page_index .journals .thumb,
.page_catalog_category .about_section .cover,
.obj_article_details .entry_details .cover_image {
  width: 128px !important;
  max-width: 128px !important;
  flex: none;
}

.obj_issue_summary .cover img,
.obj_article_summary .cover img,
.obj_issue_toc .cover img,
.pkp_page_index .journals img,
.page_catalog_category .about_section .cover img,
.obj_article_details .entry_details .cover_image img {
  width: 128px !important;
  height: 180px !important;
  max-height: 180px !important;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--brand-line);
}

.obj_article_summary .cover,
.obj_issue_toc .cover {
  margin-right: 1.4rem !important;
}

/* ==========================================================================
   11. MOTION / ACCESSIBILITY
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Focus visibility kept strong for accessibility despite the redesign */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

/* ==========================================================================
   12. RESPONSIVE TUNING
   ========================================================================== */

@media (max-width: 767px) {
  .pkp_structure_main { padding: 1.2rem; }
  .obj_article_summary { padding: 1.1rem !important; }
  .pkp_page_index .homepage_about { padding: 2rem 1.2rem; }
}



/* ==========================================================================
   EDGE-TO-EDGE FULL-WIDTH HEADER & SINGLE-ROW NAVIGATION
   ========================================================================== */

/* 1. Make the header wrapper span edge-to-edge with zero side gaps */
.pkp_structure_head {
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.pkp_head_wrapper {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 2. Cover image container fills the whole width */
.pkp_site_name_wrapper:has(.is_img) {
  width: 100% !important;
  height: 220px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

@media (min-width: 992px) {
  .pkp_site_name_wrapper:has(.is_img) {
    height: 340px !important;
  }
}

.pkp_site_name_wrapper:has(.is_img) .is_img img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 3. Force primary navigation into a single straight row without wrapping */
.pkp_navigation_primary_row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#navigationPrimary {
  display: flex !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#navigationPrimary > li {
  display: inline-block !important;
  float: none !important;
  white-space: nowrap !important;
}