/* ============================================================
   POPULACE — Journal of Public Health & Epidemiology
   Stylesheet for OJS 3.5 — Health Sciences theme
   Upload in: Settings > Website > Appearance > Journal style sheet
   (or paste into Additional Style Sheet)
   ============================================================ */

/* ------------------------------------------------------------
   1. FONTS
   ------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Work+Sans:wght@400;500;600&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&display=swap');

/* ------------------------------------------------------------
   2. TOKENS
   ------------------------------------------------------------ */
:root {
  --pop-navy:  #16233F;
  --pop-blue:  #2F6FED;
  --pop-green: #14A874;
  --pop-red:   #E5484D;
  --pop-white: #FFFFFF;
  --pop-slate: #374151;
  --pop-rule:  rgba(22, 35, 63, 0.14);
  --pop-band:  #FBFCFD;

  --pop-serif:   "Source Serif 4", Georgia, serif;
  --pop-display: "Playfair Display", Georgia, serif;
  --pop-sans:    "Work Sans", Helvetica, Arial, sans-serif;

  --pop-measure: 1180px;  /* content column width */
  --pop-gutter:  24px;
}

/* ------------------------------------------------------------
   3. WIDTH — Health Sciences ships a very narrow column.
      One variable now controls header, body and footer alignment.
   ------------------------------------------------------------ */
.pkp_structure_page,
.pkp_structure_content,
.pkp_structure_main,
.pkp_structure_head .pkp_head_wrapper,
.pkp_navigation_primary_row,
.pkp_structure_footer {
  max-width: none !important;
  width: auto !important;
  box-sizing: border-box;
}

.pkp_structure_content,
.pkp_structure_head .pkp_head_wrapper,
.pkp_structure_footer {
  width: 100% !important;
  max-width: var(--pop-measure) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--pop-gutter) !important;
  padding-right: var(--pop-gutter) !important;
}

.pkp_structure_content {
  padding-top: 40px !important;
  padding-bottom: 72px !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0 48px;
  align-items: flex-start;
  background: var(--pop-white) !important;
}

.pkp_structure_main {
  flex: 1 1 560px;
  min-width: 0;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.pkp_structure_sidebar {
  flex: 0 1 280px;
  min-width: 0;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
.pkp_structure_sidebar:empty { display: none !important; }

/* ------------------------------------------------------------
   4. TYPOGRAPHY
   ------------------------------------------------------------ */
body,
.pkp_structure_page {
  background: var(--pop-white) !important;
  color: var(--pop-slate) !important;
  font-family: var(--pop-serif) !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
}

p, li, dd, dt, td, th, blockquote,
.pkp_structure_main, .pkp_structure_sidebar {
  font-family: var(--pop-serif) !important;
  color: var(--pop-slate);
}

h1, h2, h3, h4, h5, h6,
.page > h1, .page_title,
.obj_article_details .page_title,
.obj_issue_toc .title {
  font-family: var(--pop-display) !important;
  color: var(--pop-navy) !important;
  line-height: 1.22 !important;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

/* Page title: left-aligned, with a single rule beneath */
.pkp_structure_main > .page > h1,
.pkp_structure_main .page_title {
  font-size: 2.5rem !important;
  font-weight: 900 !important;
  text-align: left !important;
  margin: 0 0 1.4rem !important;
  padding: 0 0 1.1rem !important;
  border-bottom: 1px solid var(--pop-rule) !important;
}

/* Health Sciences centres and hairlines some headings: undo */
.pkp_structure_main > .page > h1::before,
.pkp_structure_main > .page > h1::after,
.pkp_structure_main .page_title::before,
.pkp_structure_main .page_title::after {
  display: none !important;
  content: none !important;
}

h2 { font-size: 1.45rem !important; font-weight: 700 !important; margin: 2.6rem 0 0.8rem !important; }
h3 { font-size: 1.18rem !important; font-weight: 700 !important; margin: 2rem 0 0.6rem !important; }
h4, h5, h6 { font-size: 1.02rem !important; font-weight: 700 !important; margin: 1.6rem 0 0.4rem !important; }

/* Bold run-in subheads inside static pages get real spacing */
.pkp_structure_main > .page p > strong:only-child,
.pkp_structure_main > .page p > b:only-child {
  display: inline-block;
  font-family: var(--pop-display);
  font-size: 1.1rem;
  color: var(--pop-navy);
  margin-top: 1.4em;
}

/* Prose */
.pkp_structure_main p {
  margin: 0 0 1.05em !important;
  max-width: 78ch;
}
.pkp_structure_main ul,
.pkp_structure_main ol {
  max-width: 78ch;
  padding-left: 1.35em;
  margin: 0 0 1.2em;
}
.pkp_structure_main li { margin-bottom: 0.4em; }
.pkp_structure_main ul > li::marker { color: var(--pop-blue); }

/* UI labels */
.pkp_navigation_primary a,
.pkp_navigation_user a,
.cmp_button,
.cmp_button_wire,
.obj_galley_link,
.pkp_structure_sidebar .title,
.obj_article_details .galleys h2,
.pkp_structure_main thead th {
  font-family: var(--pop-sans) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

a { color: var(--pop-blue); text-decoration: none; }
a:hover, a:focus { color: var(--pop-navy); text-decoration: underline; }

/* ------------------------------------------------------------
   5. HEADER — white, hairline rule on top, logo left
   ------------------------------------------------------------ */
.pkp_structure_head {
  width: 100% !important;
  background: var(--pop-white) !important;
  border: 0 !important;
  border-top: 1px solid #000000 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.pkp_structure_head,
.pkp_structure_head * {
  background-image: none !important;
  box-shadow: none !important;
  border-left-width: 0 !important;
  border-right-width: 0 !important;
}

.pkp_head_wrapper {
  padding-top: 26px !important;
  padding-bottom: 0 !important;
  text-align: left !important;
}

.pkp_site_name_wrapper,
.pkp_site_name {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  float: none !important;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.pkp_site_name img {
  max-height: 84px !important;
  width: auto !important;
  max-width: 100% !important;
}
.pkp_site_name a,
.pkp_site_name .is_text {
  font-family: var(--pop-display) !important;
  color: var(--pop-navy) !important;
  font-weight: 900;
  text-decoration: none !important;
}

/* Navigation: framed band, full-bleed, links on the content gutter */
.pkp_navigation_primary_row {
  width: 100% !important;
  max-width: none !important;
  margin: 22px 0 0 !important;
  padding: 0 !important;
  background-color: var(--pop-band) !important;
  border-top: 1px solid var(--pop-rule) !important;
  border-bottom: 1px solid var(--pop-rule) !important;
  text-align: left !important;
}
.pkp_navigation_primary_wrapper {
  width: 100% !important;
  max-width: var(--pop-measure) !important;
  margin: 0 auto !important;
  padding: 0 var(--pop-gutter) !important;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 28px;
}
.pkp_navigation_primary,
.pkp_navigation_user {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0 26px;
  text-align: left !important;
}
.pkp_navigation_primary > li,
.pkp_navigation_user > li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  float: none !important;
  display: block;
}
.pkp_navigation_primary a,
.pkp_navigation_user a,
.pkp_search > a {
  display: inline-block;
  color: var(--pop-navy) !important;
  font-size: 0.74rem !important;
  padding: 15px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
}
.pkp_navigation_primary a:hover,
.pkp_navigation_primary a:focus,
.pkp_navigation_primary > li.current > a,
.pkp_navigation_user a:hover,
.pkp_search > a:hover {
  color: var(--pop-blue) !important;
  border-bottom-color: var(--pop-blue) !important;
  text-decoration: none !important;
  background: transparent !important;
}

/* Dropdowns */
.pkp_navigation_primary ul {
  background: var(--pop-white) !important;
  border: 1px solid var(--pop-rule) !important;
  box-shadow: 0 8px 22px rgba(22, 35, 63, 0.12) !important;
  padding: 4px 0 !important;
}
.pkp_navigation_primary ul a {
  padding: 8px 16px !important;
  border-bottom: 0 !important;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.82rem !important;
}
.pkp_navigation_primary ul a:hover { background: #F3F6FD !important; }

/* Search field in the band */
.pkp_search input[type="text"],
.pkp_search input[type="search"] {
  background: var(--pop-white) !important;
  border: 1px solid var(--pop-rule) !important;
  color: var(--pop-navy) !important;
  border-radius: 2px !important;
}
.pkp_search input::placeholder { color: #9AA3B2; }

/* ------------------------------------------------------------
   6. BUTTONS, BADGES, ARTICLE PAGE
   ------------------------------------------------------------ */
.cmp_button,
.obj_galley_link,
input[type="submit"],
button.submit {
  background: var(--pop-blue) !important;
  border: 1px solid var(--pop-blue) !important;
  color: var(--pop-white) !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  font-size: 0.76rem !important;
  padding: 0.7em 1.25em !important;
}
.cmp_button:hover,
.obj_galley_link:hover,
input[type="submit"]:hover,
button.submit:hover {
  background: var(--pop-navy) !important;
  border-color: var(--pop-navy) !important;
  color: var(--pop-white) !important;
  text-decoration: none !important;
}
.cmp_button_wire {
  background: transparent !important;
  border: 1px solid var(--pop-navy) !important;
  color: var(--pop-navy) !important;
  border-radius: 2px !important;
}

.obj_article_details .abstract {
  border: 1px solid var(--pop-green) !important;
  background: var(--pop-white) !important;
  padding: 20px 22px !important;
  border-radius: 2px;
}
.obj_article_details .abstract h2,
.obj_article_details .abstract h3 {
  font-family: var(--pop-sans) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem !important;
  margin-top: 0 !important;
}
.obj_article_details .main_entry,
.obj_article_details .entry_details,
.obj_article_details .item {
  border: 0 !important;
  box-shadow: none !important;
}
.obj_article_details .doi,
.obj_article_details .published,
.obj_article_details .license {
  font-family: var(--pop-sans) !important;
  font-size: 0.8rem;
}
.obj_article_details .license { color: var(--pop-green) !important; }

.pkp_structure_sidebar .pkp_block {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--pop-rule) !important;
  box-shadow: none !important;
  padding: 18px 0 !important;
  margin: 0 !important;
}
.pkp_structure_sidebar .pkp_block .title {
  color: var(--pop-navy) !important;
  font-size: 0.74rem !important;
  margin: 0 0 10px !important;
}

/* Tables */
.pkp_structure_main table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse;
  margin: 1.4em 0 2em;
  border: 0 !important;
  border-top: 2px solid var(--pop-navy) !important;
  border-bottom: 1px solid var(--pop-navy) !important;
  font-size: 0.95rem;
}
.pkp_structure_main thead th,
.pkp_structure_main table tr:first-child th {
  background: var(--pop-navy) !important;
  color: var(--pop-white) !important;
  border: 0 !important;
  padding: 11px 14px !important;
  font-size: 0.7rem !important;
  text-align: left;
}
.pkp_structure_main td {
  padding: 11px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(22, 35, 63, 0.1) !important;
  vertical-align: top;
}
.pkp_structure_main tbody tr:last-child td { border-bottom: 0 !important; }
.pkp_structure_main tbody tr:hover td { background: #F7F9FC; }

/* ------------------------------------------------------------
   7. NO STRAY RULES OR COLUMN DIVIDERS
   ------------------------------------------------------------ */
.pkp_structure_content,
.pkp_structure_content *,
.pkp_structure_page,
.pkp_structure_page > * {
  border-left-width: 0 !important;
  border-right-width: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}
.pkp_structure_page::before, .pkp_structure_page::after,
.pkp_structure_content::before, .pkp_structure_content::after,
.pkp_structure_main::before, .pkp_structure_main::after,
.pkp_structure_sidebar::before, .pkp_structure_sidebar::after {
  display: none !important;
  content: none !important;
}
/* restore the edges we want */
.obj_article_details .abstract { border: 1px solid var(--pop-green) !important; }
.pkp_structure_main blockquote {
  border-left: 3px solid var(--pop-blue) !important;
  padding-left: 1.1em;
  margin-left: 0;
  font-style: normal;
}
.pkp_structure_main hr {
  border: 0 !important;
  border-top: 1px solid var(--pop-rule) !important;
  margin: 2.4em 0 !important;
}

/* ------------------------------------------------------------
   8. FOOTER — black, centred, PKP branding hidden
   ------------------------------------------------------------ */
.pkp_structure_footer_wrapper {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #000000 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.pkp_structure_footer {
  padding: 40px var(--pop-gutter) !important;
  background: transparent !important;
  border: 0 !important;
  text-align: center !important;
  display: block !important;
}
.pkp_structure_footer,
.pkp_structure_footer p,
.pkp_structure_footer div,
.pkp_footer_content,
.pkp_footer_content p {
  color: var(--pop-white) !important;
  font-family: var(--pop-sans) !important;
  font-size: 0.8rem !important;
  line-height: 1.7 !important;
  text-align: center !important;
  float: none !important;
  width: auto !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.pkp_structure_footer p:last-child { margin-bottom: 0 !important; }
.pkp_structure_footer a,
.pkp_footer_content a {
  color: var(--pop-white) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pkp_structure_footer a:hover { color: var(--pop-green) !important; }

/* "Platform & workflow by OJS/PKP" */
.pkp_brand_footer,
.pkp_brand_footer *,
.pkp_structure_footer .pkp_brand_footer,
.pkp_structure_footer_wrapper .pkp_brand_footer {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* GPL attribution line — small, quiet, still legible on black */
.pkp_structure_footer .pop-ojs-note,
.pkp_footer_content .pop-ojs-note {
  display: block;
  margin-top: 18px !important;
  font-size: 0.66rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72) !important;
}
.pkp_structure_footer .pop-ojs-note a {
  color: rgba(255, 255, 255, 0.72) !important;
  text-decoration: none;
}
.pkp_structure_footer .pop-ojs-note a:hover {
  color: var(--pop-white) !important;
  text-decoration: underline;
}

/* OJS / PKP branding — total removal, seven angles of attack */
.footer-brand-image,
img.footer-brand-image,
a:has(> .footer-brand-image),
img[src*="ojs_brand"],
a[href*="aboutThisPublishingSystem"],
.pkp_brand_footer,
.pkp_brand_footer *,
.pkp_structure_footer .pkp_brand_footer,
.pkp_structure_footer_wrapper .pkp_brand_footer,
.pkp_structure_footer_wrapper [class*="brand"],
.pkp_structure_footer_wrapper a[href*="pkp.sfu.ca"],
.pkp_structure_footer_wrapper a[href*="openjournalsystems"],
.pkp_structure_footer_wrapper a[href*="aboutThisPublishingSystem"],
.pkp_structure_footer_wrapper img[src*="pkp"],
.pkp_structure_footer_wrapper img[src*="ojs"],
.pkp_structure_footer_wrapper img[alt*="OJS"],
.pkp_structure_footer_wrapper img[alt*="PKP"],
.pkp_structure_footer_wrapper img[alt*="Public Knowledge"] {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* "Make a Submission" block as the primary sidebar action */
.pkp_block.block_make_submission,
.pkp_block.block_makeSubmission {
  border-top: 0 !important;
  padding-top: 0 !important;
}
.pkp_block.block_make_submission a,
.pkp_block.block_makeSubmission a {
  display: block;
  font-family: var(--pop-sans) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  font-weight: 500;
  text-align: center;
  padding: 0.95em 1em !important;
  background: var(--pop-blue) !important;
  color: var(--pop-white) !important;
  border: 1px solid var(--pop-blue) !important;
  border-radius: 2px;
  text-decoration: none !important;
}
.pkp_block.block_make_submission a:hover,
.pkp_block.block_makeSubmission a:hover {
  background: var(--pop-navy) !important;
  border-color: var(--pop-navy) !important;
  color: var(--pop-white) !important;
}

/* ------------------------------------------------------------
   9. OVERFLOW PREVENTION
   ------------------------------------------------------------ */
html, body { max-width: 100%; overflow-x: hidden; }

body, p, li, h1, h2, h3, h4, h5, h6,
td, th, dd, dt, a, span, div, blockquote {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}
.pkp_structure_main img,
.pkp_structure_sidebar img,
.pkp_structure_head img,
.pkp_structure_footer img {
  max-width: 100% !important;
  height: auto !important;
}
.pkp_structure_main iframe,
.pkp_structure_main video,
.pkp_structure_main embed,
.pkp_structure_main object { max-width: 100% !important; }
.pkp_structure_main pre,
.pkp_structure_main code {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
}
.obj_article_details .doi a,
.csl-entry,
.citation_formats { overflow-wrap: anywhere; }
.pkp_structure_main .table_wrapper {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ------------------------------------------------------------
   10. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1023px) {
  :root { --pop-gutter: 20px; }
  .pkp_structure_content { gap: 0; }
  .pkp_structure_main,
  .pkp_structure_sidebar { flex: 1 1 100%; }
  .pkp_structure_sidebar {
    margin-top: 36px !important;
    padding-top: 8px !important;
    border-top: 1px solid var(--pop-rule) !important;
  }
}

@media (max-width: 767px) {
  body { font-size: 16px !important; }
  .pkp_structure_main > .page > h1,
  .pkp_structure_main .page_title { font-size: 1.8rem !important; }
  h2 { font-size: 1.3rem !important; }
  .pkp_site_name img { max-height: 58px !important; }
  .pkp_navigation_primary_wrapper { display: block; }
  .pkp_navigation_primary,
  .pkp_navigation_user { flex-direction: column; gap: 0; }
  .pkp_navigation_primary a,
  .pkp_navigation_user a {
    display: block;
    padding: 11px 0 !important;
    border-bottom: 1px solid var(--pop-rule) !important;
  }
  .pkp_navigation_primary > li:last-child a { border-bottom: 0 !important; }
  .pkp_structure_footer { padding: 30px var(--pop-gutter) !important; }
}

/* Mobile nav toggle */
.pkp_nav_list_dropdown_toggle,
button.pkp_site_nav_toggle {
  background: transparent !important;
  border: 1px solid var(--pop-rule) !important;
  color: var(--pop-navy) !important;
  border-radius: 2px !important;
}
.pkp_nav_list_dropdown_toggle span,
button.pkp_site_nav_toggle span { color: var(--pop-navy) !important; }

/* ------------------------------------------------------------
   12. ISSUE TABLE OF CONTENTS & ARTICLE SUMMARIES
   ------------------------------------------------------------ */
.obj_issue_toc .heading,
.obj_issue_toc .section > h2,
.obj_issue_toc .section > h3 {
  font-family: var(--pop-sans) !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem !important;
  color: var(--pop-navy) !important;
  padding-bottom: 8px !important;
  margin: 2.6rem 0 0 !important;
  border-bottom: 1px solid var(--pop-rule) !important;
}

.obj_issue_toc .articles,
.obj_issue_toc .section ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.obj_article_summary {
  padding: 20px 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(22, 35, 63, 0.1) !important;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  align-items: baseline;
}
.obj_article_summary:last-child { border-bottom: 0 !important; }

.obj_article_summary > h3,
.obj_article_summary > .title {
  flex: 1 1 100%;
  font-family: var(--pop-display) !important;
  font-size: 1.16rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 0 6px !important;
}
.obj_article_summary > h3 a,
.obj_article_summary > .title a { color: var(--pop-navy) !important; }
.obj_article_summary > h3 a:hover,
.obj_article_summary > .title a:hover {
  color: var(--pop-blue) !important;
  text-decoration: none !important;
}

.obj_article_summary .authors,
.obj_article_summary .meta,
.obj_article_summary .published,
.obj_article_summary .pages {
  font-family: var(--pop-serif) !important;
  font-size: 0.92rem !important;
  color: #5B6577 !important;
  margin: 0 !important;
}

.obj_article_summary .galleys_links,
.obj_article_summary .galleys {
  list-style: none !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.obj_article_summary .galleys_links li { margin: 0 !important; }
.obj_article_summary .obj_galley_link {
  font-size: 0.68rem !important;
  padding: 0.45em 0.85em !important;
  background: transparent !important;
  border: 1px solid var(--pop-navy) !important;
  color: var(--pop-navy) !important;
}
.obj_article_summary .obj_galley_link:hover {
  background: var(--pop-navy) !important;
  color: var(--pop-white) !important;
}

/* Article landing page: authors, affiliations, metadata */
.obj_article_details .authors {
  font-family: var(--pop-serif) !important;
  font-size: 1.02rem !important;
  line-height: 1.5;
  margin: 0 0 1.4rem !important;
  padding: 0 0 1.4rem !important;
  border-bottom: 1px solid var(--pop-rule) !important;
  list-style: none !important;
}
.obj_article_details .authors .name {
  font-weight: 600;
  color: var(--pop-navy) !important;
}
.obj_article_details .authors .affiliation,
.obj_article_details .authors .orcid {
  font-size: 0.88rem;
  color: #5B6577 !important;
}
.obj_article_details .galleys h2 {
  font-size: 0.74rem !important;
  border-bottom: 1px solid var(--pop-rule) !important;
  padding-bottom: 8px !important;
}
.obj_article_details .galleys_links {
  list-style: none !important;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.obj_article_details .item {
  padding: 18px 0 !important;
  border-bottom: 1px solid rgba(22, 35, 63, 0.08) !important;
}
.obj_article_details .item:last-child { border-bottom: 0 !important; }
.obj_article_details .item .label {
  font-family: var(--pop-sans) !important;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.7rem !important;
  color: var(--pop-navy) !important;
  margin-bottom: 4px;
}

/* Current issue header on the homepage */
.obj_issue_toc > h1,
.obj_issue_toc .series {
  font-family: var(--pop-display) !important;
  color: var(--pop-navy) !important;
}
.obj_issue_toc .cover_image img,
.pkp_structure_main .cover_image img {
  max-width: 100% !important;
  height: auto !important;
  border: 1px solid var(--pop-rule) !important;
}

/* ------------------------------------------------------------
   13. LOGO BREATHING — homepage only
   The mark scales very slightly in and out, 4.2s cycle.
   Applies to the homepage image, not to the header logo.
   ------------------------------------------------------------ */
@keyframes pop-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.028); }
}

.pkp_structure_main .homepage_image img,
.pkp_structure_main .cmp_homepage_image img,
.pkp_structure_main > .page > .homepage_image img,
.pkp_structure_main img[src*="homepageImage"] {
  animation: pop-breathe 4.2s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
}

/* Header logo: still by default, breathes on hover only */
.pkp_site_name img {
  transition: transform 0.6s ease;
}
.pkp_site_name a:hover img {
  animation: pop-breathe 4.2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .pkp_structure_main .homepage_image img,
  .pkp_structure_main .cmp_homepage_image img,
  .pkp_structure_main img[src*="homepageImage"],
  .pkp_site_name a:hover img {
    animation: none !important;
  }
}

/* ------------------------------------------------------------
   14. FOOTER NAVIGATION MENU
   One link per line, single left-aligned column.
   ------------------------------------------------------------ */
.pkp_structure_footer_wrapper nav ul,
.pkp_structure_footer nav ul,
.pkp_structure_footer .pkp_nav_list,
.pkp_structure_footer ul {
  list-style: none !important;
  display: block !important;
  margin: 0 auto !important;
  padding: 0 !important;
  width: fit-content;
  text-align: left !important;
}
.pkp_structure_footer_wrapper nav ul li,
.pkp_structure_footer nav ul li,
.pkp_structure_footer .pkp_nav_list li,
.pkp_structure_footer ul li {
  display: block !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}
.pkp_structure_footer_wrapper nav ul li a,
.pkp_structure_footer nav ul li a,
.pkp_structure_footer .pkp_nav_list li a,
.pkp_structure_footer ul li a {
  display: block !important;
  padding: 7px 0 !important;
  text-align: left !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
}
.pkp_structure_footer_wrapper nav ul li a:hover,
.pkp_structure_footer ul li a:hover {
  text-decoration: underline !important;
}
/* Section heading above the list */
.pkp_structure_footer_wrapper nav h2,
.pkp_structure_footer nav h2,
.pkp_structure_footer > h2 {
  font-family: var(--pop-sans) !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem !important;
  color: var(--pop-white) !important;
  text-align: center !important;
  margin: 0 0 14px !important;
}

/* ------------------------------------------------------------
   11. ACCESSIBILITY
   ------------------------------------------------------------ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--pop-blue) !important;
  outline-offset: 2px;
}
.pkp_structure_footer a:focus-visible { outline-color: var(--pop-white) !important; }
::selection { background: var(--pop-blue); color: var(--pop-white); }
