/* ==========================================================================
   FONTS

   Pick a pairing in the admin:
     Settings > Website > Appearance > Theme > Typography

   The chosen set is loaded from Google Fonts and writes over the
   --font-serif / --font-sans tokens below. To add a pairing to that list,
   edit getFontSets() in AiJournalThemePlugin.inc.php.

   The values below are only the fallback used before the option is applied.
   ========================================================================== */
/* ВАРИАНТ 1: Lora + Source Sans 3 (Более мягкий и теплый научный стиль) */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400;1,700&family=Source+Sans+3:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ВАРИАНТ 2: Merriweather + Inter (Максимальная четкость и читаемость) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Merriweather:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ВАРИАНТ 3: Spectral + IBM Plex Sans (Строгий академический стиль) */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Spectral:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ВАРИАНТ 4: Literata + Public Sans (Современный книжно-журнальный стиль) */
@import url('https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,400;0,7..72,700;1,7..72,400;1,7..72,700&family=Public+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/**
 * plugins/themes/aiJournal/styles/index.css
 *
 * Layers, in order:
 *   1  tokens
 *   2  reset + base
 *   3  utilities
 *   4  header + navigation
 *   5  footer
 *   6  homepage
 *   7  OJS core pages (classes emitted by templates this theme does NOT
 *      override - article, issue, archive, search, forms, sidebar blocks)
 *   8  PDF viewer chrome
 *   9  responsive
 */

/* =========================================================== 1. tokens === */
:root{
  --navy:#1B2A3A;
  --navy-dark:#121D28;
  --steel:#3D5A6B;
  --gold:#E0913F;
  --gold-dark:#B8722C;
  --slate-1:#6E8698;
  --slate-2:#9BB0BE;
  --gray-cool:#D6DBDD;
  --gray-bg:#F5F6F7;
  --beige:#E9E3D6;
  --white:#FFFFFF;
  --ink:#16212B;
  --text-muted:#5A6B72;
  /* ---- FONTS: change these two lines (see the note at the top) ---- */
  /* Вариант 0: PT Sans + PT Serif (Активен) */
  /* --font-sans:'PT Sans','Segoe UI',system-ui,-apple-system,sans-serif; */
  /* --font-serif:'PT Serif',Georgia,'Times New Roman',serif; */

  /* Вариант 1: Source Sans 3 + Lora */
  /* --font-sans:'Source Sans 3','Segoe UI',system-ui,-apple-system,sans-serif; */
  /* --font-serif:'Lora',Georgia,'Times New Roman',serif; */

  /* Вариант 2: Inter + Merriweather */
  /* --font-sans:'Inter','Segoe UI',system-ui,-apple-system,sans-serif; */
  /* --font-serif:'Merriweather',Georgia,'Times New Roman',serif; */

  /* Вариант 3: IBM Plex Sans + Spectral */
  /* --font-sans:'IBM Plex Sans','Segoe UI',system-ui,-apple-system,sans-serif; */
  /* --font-serif:'Spectral',Georgia,'Times New Roman',serif; */

  /* Вариант 4: Public Sans + Literata */
  --font-sans:'Public Sans','Segoe UI',system-ui,-apple-system,sans-serif;
  --font-serif:'Literata',Georgia,'Times New Roman',serif;
  /* --------------------------------------------------------- */
  /* ----------------------------------------------------------------- */
  --wrap:1180px;
  --pad:24px;
  --radius:2px;
}

/* ================================================== 2. reset + base ====== */
*,*::before,*::after{box-sizing:border-box;}
body,h1,h2,h3,h4,h5,h6,p,figure,blockquote,dl,dd{margin:0;}
[hidden]{display:none !important;}

html{scroll-behavior:smooth;}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important;}
}

body{
  font-family:var(--font-sans);
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  font-size:15px;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;           /* guards against any single wide child */
}

h1,h2,h3,h4,.serif{font-family:var(--font-serif);line-height:1.25;}
a{color:var(--steel);text-decoration:none;}
a:hover{color:var(--navy);}
img{max-width:100%;height:auto;display:block;}

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:2px solid var(--gold);outline-offset:2px;border-radius:var(--radius);
}

/* ==================================================== 3. utilities ======= */
/* NOTE: .wrap owns the horizontal gutters. Never put a `padding` shorthand on
   an element that also carries .wrap - it resets left/right to 0. Use
   padding-top / padding-bottom on those. */
.wrap{
  max-width:var(--wrap);margin:0 auto;width:100%;
  padding-left:var(--pad);padding-right:var(--pad);
}

.pkp_screen_reader,.pkp_helpers_hide{
  position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

/* Skip links (lib/pkp/templates/frontend/components/skipLinks.tpl) */
.cmp_skip_to_content a{
  position:absolute;left:-9999px;top:0;z-index:400;
  background:var(--gold);color:var(--navy-dark);padding:12px 18px;font-weight:700;
}
.cmp_skip_to_content a:focus{left:16px;top:16px;}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  font-family:var(--font-sans);font-size:14px;font-weight:700;line-height:1.2;
  min-height:44px;padding:11px 20px;border-radius:var(--radius);
  border:1px solid transparent;cursor:pointer;white-space:nowrap;text-align:center;
}
.btn-gold{background:var(--gold);color:var(--navy-dark);}
.btn-gold:hover{background:var(--gold-dark);color:var(--navy-dark);}
.btn-outline{border-color:rgba(255,255,255,.45);color:var(--white);background:transparent;}
.btn-outline:hover{border-color:var(--white);background:rgba(255,255,255,.1);color:var(--white);}
.btn-navy{background:var(--navy);color:var(--white);}
.btn-navy:hover{background:var(--navy-dark);color:var(--white);}
.btn-outline-navy{border-color:var(--navy);color:var(--navy);background:transparent;}
.btn-outline-navy:hover{background:var(--navy);color:var(--white);}

.icon-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;flex:0 0 auto;
  border:1px solid rgba(255,255,255,.25);border-radius:var(--radius);
  background:transparent;color:var(--white);cursor:pointer;padding:0;
}
.icon-btn:hover{border-color:rgba(255,255,255,.55);background:rgba(255,255,255,.08);}
.icon-btn svg{width:18px;height:18px;}

.ornament-strip{
  height:6px;width:100%;background-repeat:repeat-x;background-size:36px 6px;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='6'><circle cx='3' cy='3' r='1.6' fill='%23E0913F'/><line x1='4.6' y1='3' x2='16' y2='3' stroke='%23E0913F' stroke-width='1'/><circle cx='18' cy='3' r='1.6' fill='%23E0913F'/><line x1='19.6' y1='3' x2='31' y2='3' stroke='%23E0913F' stroke-width='1'/><circle cx='33' cy='3' r='1.6' fill='%23E0913F'/></svg>");
}

.link-more{
  font-size:14px;font-weight:700;color:var(--steel);
  border-bottom:1px solid var(--gray-cool);padding-bottom:2px;white-space:nowrap;
}
.link-more:hover{color:var(--navy);border-color:var(--navy);}

/* Rich text coming out of the OJS HTML editor */
.rich-text > * + *{margin-top:1em;}
.rich-text h2{font-size:22px;margin-top:1.4em;}
.rich-text h3{font-size:18px;margin-top:1.3em;}
.rich-text ul,.rich-text ol{padding-left:1.4em;}
.rich-text a{text-decoration:underline;}
.rich-text img{margin:1em 0;}
.rich-text table{width:100%;border-collapse:collapse;}
.rich-text td,.rich-text th{border:1px solid var(--gray-cool);padding:8px 10px;}

/* ============================================ 4. header + navigation ===== */
.site-header{
  background:var(--navy);color:var(--white);
  position:sticky;top:0;z-index:100;
}
.topbar{border-bottom:1px solid rgba(255,255,255,.12);font-size:12.5px;}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;min-height:36px;}
.topbar-institution{color:var(--slate-2);}
.topbar-user{display:flex;gap:4px;list-style:none;margin:0 0 0 auto;padding:0;flex-wrap:wrap;}
.topbar-user a{color:var(--slate-2);padding:6px 8px;display:inline-block;}
.topbar-user a:hover{color:var(--gold);}
.topbar-user .submenu{display:none;}          /* user menu never nests visually */
.topbar-user .submenu-toggle{display:none;}

.navrow{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:16px;padding-bottom:16px;}

.brand{display:flex;align-items:center;gap:14px;min-width:0;}
.brand-mark{
  width:46px;height:46px;flex:0 0 auto;border-radius:50%;background:var(--white);
  color:var(--navy);display:flex;align-items:center;justify-content:center;
}
.brand-mark svg{width:28px;height:28px;}
.brand-logo img{max-height:56px;width:auto;}
.brand-text{min-width:0;}
.brand-eyebrow{
  display:block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--gold);font-weight:700;
}
.brand-title{
  font-family:var(--font-serif);font-size:19px;line-height:1.2;color:var(--white);
  display:block;
}
.brand-title:hover{color:var(--gold);}

.nav-main{margin-left:auto;}
.nav-main-list{display:flex;gap:26px;list-style:none;margin:0;padding:0;font-size:14.5px;}
.nav-main-list > li{position:relative;}
.nav-main-list > li > a{
  color:rgba(255,255,255,.86);padding:10px 0;display:inline-block;
  border-bottom:2px solid transparent;
}
.nav-main-list > li > a:hover{color:var(--white);border-bottom-color:var(--gold);}
.nav-main-list .submenu-toggle{
  background:none;border:0;color:rgba(255,255,255,.86);cursor:pointer;
  padding:4px;line-height:0;vertical-align:middle;
}
.nav-main-list .submenu-toggle svg{width:14px;height:14px;}
.nav-main-list .submenu{
  list-style:none;margin:0;padding:8px 0;position:absolute;left:-12px;top:100%;
  min-width:220px;background:var(--navy-dark);
  border:1px solid rgba(255,255,255,.12);border-radius:var(--radius);
  box-shadow:0 8px 24px rgba(0,0,0,.28);z-index:110;
}
.nav-main-list .submenu a{display:block;padding:9px 16px;color:rgba(255,255,255,.86);font-size:14px;}
.nav-main-list .submenu a:hover{background:rgba(255,255,255,.07);color:var(--white);}
.nav-main-list .submenu{display:none;}
.nav-main-list .has-children:hover > .submenu,
.nav-main-list .has-children:focus-within > .submenu,
.nav-main-list .has-children.is-open > .submenu{display:block;}

.nav-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto;}
.menu-toggle{display:none;}

.search-panel{background:var(--navy-dark);border-top:1px solid rgba(255,255,255,.1);}
.search-form{display:flex;gap:10px;padding:14px 0;}
.search-form input{
  flex:1;min-width:0;height:44px;padding:0 14px;
  border:1px solid rgba(255,255,255,.22);border-radius:var(--radius);
  background:rgba(255,255,255,.06);color:var(--white);
  font-family:var(--font-sans);font-size:15px;
}
.search-form input::placeholder{color:var(--slate-2);}

.mobile-nav{background:var(--navy-dark);padding-bottom:14px;}
.mobile-nav-list{list-style:none;margin:0;padding:0;}
.mobile-nav-list li{border-top:1px solid rgba(255,255,255,.09);}
.mobile-nav-list a{
  display:block;padding:14px var(--pad);font-size:15.5px;
  color:rgba(255,255,255,.9);min-height:44px;
}
.mobile-nav-list a:hover{background:rgba(255,255,255,.06);color:var(--white);}
.mobile-nav-list .has-children{position:relative;}
.mobile-nav-list .submenu-toggle{
  position:absolute;top:0;right:0;width:56px;height:52px;
  background:none;border:0;border-left:1px solid rgba(255,255,255,.09);
  color:rgba(255,255,255,.7);cursor:pointer;
}
.mobile-nav-list .submenu-toggle svg{width:16px;height:16px;margin:0 auto;transition:transform .18s ease;}
.mobile-nav-list .is-open > .submenu-toggle svg{transform:rotate(180deg);}
.mobile-nav-list .submenu{list-style:none;margin:0;padding:0;background:rgba(0,0,0,.22);}
.mobile-nav-list .submenu a{padding-left:calc(var(--pad) + 18px);font-size:14.5px;}
.mobile-nav-list .submenu{display:none;}
.mobile-nav-list .has-children.is-open > .submenu{display:block;}
.mobile-nav-user{margin-top:10px;}
.mobile-nav-cta{margin:16px var(--pad) 0;width:calc(100% - var(--pad) * 2);}

/* ==================================================== 5. footer ========== */
.site-footer{background:var(--navy);color:var(--slate-2);padding-top:44px;font-size:14px;}
.foot-grid{
  display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:32px;padding-bottom:36px;
}
.foot-grid > *{min-width:0;}
.foot-title{font-family:var(--font-serif);color:var(--white);font-size:18px;margin-bottom:10px;}
.foot-desc{font-size:13.5px;max-width:340px;}
.foot-heading{
  color:var(--white);font-family:var(--font-sans);font-size:12.5px;font-weight:700;
  text-transform:uppercase;letter-spacing:.07em;margin-bottom:14px;
}
.foot-list{list-style:none;margin:0;padding:0;}
.foot-list li{margin-bottom:9px;line-height:1.5;}
.foot-list a{color:var(--slate-2);}
.foot-list a:hover{color:var(--gold);}
.foot-list .submenu,.foot-list .submenu-toggle{display:none;}
.foot-issn{margin-top:14px;font-size:13px;color:var(--slate-1);}
.foot-custom{padding-bottom:24px;font-size:13.5px;}
.foot-custom a{color:var(--slate-2);text-decoration:underline;}
.foot-bottom{
  border-top:1px solid rgba(255,255,255,.12);padding-top:18px;padding-bottom:18px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
}
.foot-copyright{font-size:12.5px;color:var(--slate-1);}

/* =================================================== 6. homepage ========= */
.hero{
  background:linear-gradient(160deg,var(--navy) 0%,var(--navy-dark) 100%);
  color:var(--white);overflow:hidden;
}
.hero-grid{
  display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center;
  padding-top:56px;padding-bottom:56px;
}
.hero-grid > *{min-width:0;}
.hero-eyebrow{
  font-size:12px;letter-spacing:.09em;text-transform:uppercase;
  color:var(--gold);font-weight:700;margin-bottom:16px;
}
.hero-title{font-size:clamp(26px,4.4vw,40px);font-weight:700;margin-bottom:16px;max-width:15em;}
.hero-lead{font-size:16px;color:var(--slate-2);max-width:34em;margin-bottom:28px;}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap;}
.hero-art{display:flex;align-items:center;justify-content:center;color:var(--gold);}
.hero-art .ring{
  position:relative;width:min(320px,100%);aspect-ratio:1;border-radius:50%;
  border:1px solid rgba(224,145,63,.35);display:flex;align-items:center;justify-content:center;
}
.hero-art .ring::before{
  content:"";position:absolute;inset:26px;border-radius:50%;
  border:1px solid rgba(255,255,255,.14);
}
.hero-art .core{
  width:62%;aspect-ratio:1;border-radius:50%;background:rgba(255,255,255,.06);
  display:flex;align-items:center;justify-content:center;
}
.hero-art svg{width:58%;height:auto;}

.trustbar{background:var(--beige);padding:16px 0;}
.trustbar-inner{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px 28px;
}
.trustbar-item{
  display:flex;align-items:center;gap:9px;
  font-size:13.5px;color:var(--navy-dark);font-weight:700;line-height:1.35;
}
.trustbar-item svg{width:17px;height:17px;flex:0 0 auto;color:var(--navy);}

.page_index_journal > section,
.page_index_journal > .homepage_about,
.page_index_journal > .current_issue,
.page_index_journal > .additional_content{padding-top:52px;padding-bottom:52px;}
.page_index_journal > .hero{padding:0;}
.page_index_journal > .trustbar{padding-top:16px;padding-bottom:16px;}

.section-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:20px;
  flex-wrap:wrap;margin-bottom:24px;
}
.section-eyebrow{
  font-size:12px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--steel);font-weight:700;margin-bottom:6px;
}
.section-title{font-size:clamp(21px,3vw,26px);color:var(--navy-dark);}

.cta-banner{background:var(--beige);}
.cta-inner{
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  flex-wrap:wrap;padding-top:36px;padding-bottom:36px;
}
.cta-copy h2{font-size:clamp(20px,3vw,24px);color:var(--navy-dark);max-width:20em;}
.cta-copy p{color:var(--text-muted);font-size:14.5px;margin-top:6px;max-width:38em;}
.cta-actions{display:flex;gap:12px;flex-wrap:wrap;}

/* ============================================ 7. OJS core page shell ===== */
/* Sticky footer: the page column always fills at least the viewport, so the
   footer never rides up under short pages and never gets overlapped. */
.pkp_structure_page{display:flex;flex-direction:column;min-height:100vh;}
.pkp_structure_page > .site-header,
.pkp_structure_page > .site-footer,
.pkp_structure_page > .ornament-strip{flex:0 0 auto;}
.pkp_structure_content{
  flex:1 0 auto;
  max-width:var(--wrap);margin:0 auto;padding:0 var(--pad);width:100%;
}
.page_index_journal + * ,
.pkp_page_index .pkp_structure_content{max-width:none;padding:0;}

.pkp_structure_content.has_sidebar{
  display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:40px;align-items:start;
}
.pkp_structure_main{min-width:0;padding:36px 0 56px;}
.pkp_page_index .pkp_structure_main{padding:0;}

.page,.page_index_site{max-width:860px;}
.pkp_structure_content.has_sidebar .page{max-width:none;}

h1.page_title,.page > h1{
  font-size:clamp(24px,3.4vw,32px);color:var(--navy-dark);margin-bottom:20px;line-height:1.2;
}
.page > h2{font-size:22px;color:var(--navy-dark);margin:1.5em 0 .6em;}
.page p{margin-bottom:1em;}
.page ul,.page ol{padding-left:1.4em;margin-bottom:1em;}
.page a{text-decoration:underline;}
.page table{width:100%;border-collapse:collapse;margin-bottom:1em;}
.page td,.page th{border:1px solid var(--gray-cool);padding:8px 10px;}
.page img{margin:1em 0;}

/* Anything that can be wider than its column scrolls inside itself */
.page table,.page pre,.obj_article_details table,.obj_article_details pre,
.rich-text table,.rich-text pre{display:block;max-width:100%;overflow-x:auto;}

/* Breadcrumbs */
.cmp_breadcrumbs{font-size:13px;color:var(--text-muted);margin-bottom:16px;}
.cmp_breadcrumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;}
.cmp_breadcrumbs li::after{content:"/";margin-left:6px;color:var(--gray-cool);}
.cmp_breadcrumbs li:last-child::after{content:none;}
.cmp_breadcrumbs a{color:var(--steel);}

/* Notifications */
.cmp_notification{
  border:1px solid var(--gray-cool);border-left:3px solid var(--gold);
  background:var(--gray-bg);padding:14px 16px;margin-bottom:20px;font-size:14px;
}

/* Tags / labels used across objects */
.obj_article_details .label,.obj_article_summary .label{
  font-family:var(--font-sans);font-size:11.5px;font-weight:700;
  letter-spacing:.05em;text-transform:uppercase;color:var(--steel);margin-bottom:4px;
}

/* Article summary card (issue TOC, search results, homepage) */
.cmp_article_list{list-style:none;margin:0;padding:0;}
.cmp_article_list > li{border-bottom:1px solid var(--gray-cool);}
.cmp_article_list > li:last-child{border-bottom:none;}
.obj_article_summary{display:flex;gap:18px;padding:20px 0;}
.obj_article_summary > *{min-width:0;}
.obj_article_summary .cover{flex:0 0 76px;}
.obj_article_summary .title{font-family:var(--font-serif);font-size:17.5px;margin:0 0 6px;line-height:1.35;}
.obj_article_summary .title a{color:var(--navy-dark);text-decoration:none;}
.obj_article_summary .title a:hover{color:var(--steel);}
.obj_article_summary .subtitle{display:block;font-size:15px;color:var(--text-muted);font-weight:400;margin-top:3px;}
.obj_article_summary .meta{font-size:13.5px;color:var(--text-muted);}
.obj_article_summary .authors{margin-bottom:2px;}
.obj_article_summary .galleys_links{margin-top:10px;}

/* Galley links (PDF / HTML buttons) */
.galleys_links{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px;}
.galleys_links a,.obj_galley_link{
  display:inline-flex;align-items:center;gap:6px;
  font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  background:var(--beige);color:var(--navy-dark);
  padding:7px 12px;border-radius:var(--radius);text-decoration:none;min-height:34px;
}
.galleys_links a:hover,.obj_galley_link:hover{background:var(--gold);color:var(--navy-dark);}

/* Issue table of contents */
/* `flow-root` makes .obj_issue_toc a block formatting context, so the floated
   cover is contained by it and can never spill over the footer. The article
   list still wraps alongside the cover. */
.obj_issue_toc{display:flow-root;}
.obj_issue_toc .heading{margin-bottom:20px;}
.obj_issue_toc .heading .cover{
  float:left;width:180px;margin:0 28px 20px 0;
}
.obj_issue_toc .heading .cover img{
  width:100%;height:auto;
  border:1px solid var(--gray-cool);border-radius:var(--radius);
}
.obj_issue_toc .description{margin-bottom:12px;}
.obj_issue_toc .published,.obj_issue_toc .pub_id{font-size:13.5px;color:var(--text-muted);}
.obj_issue_toc .published .label,.obj_issue_toc .pub_id .type{font-weight:700;color:var(--steel);}
.obj_issue_toc .sections > .section + .section{margin-top:28px;}
.obj_issue_toc .section > h2,.obj_issue_toc .section > h3,.obj_issue_toc .section > h4{
  font-family:var(--font-sans);font-size:12px;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;color:var(--steel);
  padding-bottom:8px;border-bottom:2px solid var(--gold);margin-bottom:4px;
}
.obj_issue_toc .galleys{margin-bottom:24px;}

/* Issue summary (archive grid) */
.issues_archive{
  list-style:none;margin:0;padding:0;display:grid;gap:32px 28px;
  grid-template-columns:repeat(auto-fill,minmax(210px,1fr));
}
.issues_archive > li{min-width:0;}
.obj_issue_summary .cover{display:block;margin-bottom:12px;}
.obj_issue_summary .cover img{
  width:100%;max-width:210px;aspect-ratio:3 / 4;object-fit:cover;
  border:1px solid var(--gray-cool);border-radius:var(--radius);
}
.obj_issue_summary h2{font-family:var(--font-serif);font-size:16.5px;margin-bottom:4px;line-height:1.35;}
.obj_issue_summary h2 a.title{color:var(--navy-dark);text-decoration:none;}
.obj_issue_summary h2 a.title:hover{color:var(--steel);}
.obj_issue_summary .series{font-family:var(--font-sans);font-size:13px;font-weight:400;color:var(--text-muted);margin-top:2px;}
.obj_issue_summary .description{font-size:13.5px;color:var(--text-muted);}
.obj_issue_summary .description p{margin:0;}

/* Article detail page */
.obj_article_details .page_title{margin-bottom:8px;}
.obj_article_details .subtitle{
  display:block;font-family:var(--font-serif);font-size:20px;
  color:var(--text-muted);font-weight:400;margin-bottom:12px;
}
.obj_article_details .row{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:40px;align-items:start;}
.obj_article_details .main_entry,.obj_article_details .entry_details{min-width:0;}
.obj_article_details .item{margin-bottom:26px;}
.obj_article_details .authors{list-style:none;margin:0;padding:0;}
.obj_article_details .authors li{margin-bottom:10px;font-size:14.5px;}
.obj_article_details .authors .name{font-weight:700;color:var(--navy-dark);}
.obj_article_details .authors .affiliation{display:block;font-size:13.5px;color:var(--text-muted);}
.obj_article_details .abstract{line-height:1.7;}
.obj_article_details .abstract p{margin-bottom:1em;}
.obj_article_details .entry_details{
  background:var(--gray-bg);border:1px solid var(--gray-cool);
  border-radius:var(--radius);padding:20px;font-size:14px;
  overflow:hidden;                     /* keeps the bleeding cover inside the radius */
}
.obj_article_details .entry_details .item{margin-bottom:18px;}
.obj_article_details .entry_details .item:last-child{margin-bottom:0;}

/* The cover is the first thing in the right-hand panel. Bleed it out of the
   panel padding so its top edge lines up with the top of the left column
   instead of sitting 20px lower. */
.obj_article_details .entry_details > .item.cover_image:first-child{
  margin:-20px -20px 20px;
}
.obj_article_details .entry_details .cover_image .sub_item,
.obj_article_details .entry_details .cover_image a{display:block;}
.obj_article_details .entry_details .cover_image img{
  width:100%;height:auto;display:block;
  border-bottom:1px solid var(--gray-cool);
}
.obj_article_details .entry_details .galleys .galleys_links{margin:0;}
.obj_article_details .entry_details .value{color:var(--ink);}
.obj_article_details .entry_details .value a{color:var(--steel);}
.obj_article_details .references .value p{margin-bottom:.8em;font-size:14px;}

/* Forms (login, register, search, contact, lost password)
   PKP markup is:
     <fieldset class="fields">
       <div class="username"><label><span class="label">Text</span><input></label></div>
       <div class="optin"><label><input type="checkbox"> bare text</label></div>
   so the <label> is the row wrapper and <span class="label"> is the caption. */
.cmp_form fieldset{border:0;margin:0 0 30px;padding:0;min-width:0;}
.cmp_form fieldset:last-of-type{margin-bottom:0;}
.cmp_form legend{
  font-family:var(--font-serif);font-size:19px;font-weight:700;
  color:var(--navy-dark);margin-bottom:16px;padding:0;
}
.cmp_form .fields > div{margin-bottom:18px;}
.cmp_form .fields > div:last-child{margin-bottom:0;}

.cmp_form label{display:block;}
.cmp_form .label,
.cmp_form label.label{
  display:block;font-family:var(--font-sans);font-size:13.5px;font-weight:700;
  color:var(--navy-dark);margin-bottom:6px;
}
.cmp_form .required{color:var(--gold-dark);margin-left:3px;}
.cmp_form .description,.cmp_form .sub_label{
  display:block;font-size:13px;font-weight:400;color:var(--text-muted);margin-top:5px;
}

.cmp_form input[type="text"],.cmp_form input[type="email"],.cmp_form input[type="password"],
.cmp_form input[type="search"],.cmp_form input[type="url"],.cmp_form input[type="tel"],
.cmp_form select,.cmp_form textarea{
  display:block;width:100%;max-width:460px;min-height:44px;padding:10px 12px;
  border:1px solid var(--gray-cool);border-radius:var(--radius);
  font-family:var(--font-sans);font-size:15px;line-height:1.4;
  background:var(--white);color:var(--ink);
}
.cmp_form select{
  max-width:460px;
  appearance:none;-webkit-appearance:none;padding-right:36px;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%235A6B72' stroke-width='1.8'/></svg>");
  background-repeat:no-repeat;background-position:right 12px center;
}
.cmp_form textarea{min-height:140px;max-width:640px;}
.cmp_form input:focus,.cmp_form select:focus,.cmp_form textarea:focus{
  border-color:var(--steel);
}
.cmp_form input[aria-invalid="true"]{border-color:var(--gold-dark);}

/* Checkbox and radio rows: the caption sits beside the control, not above it */
.cmp_form .checkbox label,.cmp_form .optin label,.cmp_form .radio label{
  display:flex;align-items:flex-start;gap:10px;
  font-size:14.5px;font-weight:400;color:var(--ink);line-height:1.45;cursor:pointer;
}
.cmp_form .checkbox input,.cmp_form .optin input,.cmp_form .radio input{
  flex:0 0 auto;width:17px;height:17px;min-height:0;margin:2px 0 0;accent-color:var(--navy);
}
.cmp_form .checkbox .label,.cmp_form .optin .label,.cmp_form .radio .label{
  display:inline;font-size:14.5px;font-weight:400;color:var(--ink);margin:0;
}
.cmp_form .optin + .optin{margin-top:12px;}

/* "Forgot your password?" sits inside the password label */
.cmp_form .password label > a{
  display:inline-block;margin-top:8px;font-size:13.5px;font-weight:400;
}

.cmp_form .buttons{
  margin-top:26px;display:flex;align-items:center;gap:18px;flex-wrap:wrap;
}
.cmp_form button.submit,.cmp_form button[type="submit"],.cmp_form input[type="submit"]{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:11px 26px;border:0;border-radius:var(--radius);
  background:var(--navy);color:var(--white);font-family:var(--font-sans);
  font-size:14.5px;font-weight:700;cursor:pointer;
}
.cmp_form button.submit:hover,.cmp_form button[type="submit"]:hover,
.cmp_form input[type="submit"]:hover{background:var(--gold);color:var(--navy-dark);}
.cmp_form .buttons a{font-size:14px;font-weight:700;}

/* ---- Search page ---- */
.page_search h1{margin-bottom:20px;}
.page_search .cmp_form{
  background:var(--gray-bg);border:1px solid var(--gray-cool);
  border-radius:var(--radius);padding:22px;margin-bottom:36px;
}
.page_search .search_input{margin-bottom:18px;}
.page_search input.query{
  max-width:none;min-height:50px;font-size:16.5px;
}
.page_search .search_advanced{
  margin:0;border-top:1px solid var(--gray-cool);padding-top:18px;
}
.page_search .search_advanced > legend{
  font-family:var(--font-sans);font-size:12px;font-weight:700;
  letter-spacing:.07em;text-transform:uppercase;color:var(--steel);margin-bottom:14px;
}
.page_search .date_range{display:flex;gap:32px;flex-wrap:wrap;margin-bottom:18px;}
.page_search .date_range fieldset{margin:0;}
.page_search .date_range legend{
  font-family:var(--font-sans);font-size:12.5px;font-weight:700;
  color:var(--navy-dark);margin-bottom:8px;
}
/* The three date selects sit on one line; their labels are captions above them */
.page_search .date_range fieldset > label{
  display:inline-block;font-size:11.5px;font-weight:400;color:var(--text-muted);
  margin:0 6px 2px 0;
}
.page_search .date_range select{
  display:inline-block;width:auto;min-width:78px;max-width:none;
  margin:0 8px 8px 0;min-height:40px;padding:6px 30px 6px 10px;font-size:14px;
}
.page_search .author input{max-width:460px;}
.page_search .submit{margin-top:18px;}
.page_search .submit button{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:11px 26px;border:0;border-radius:var(--radius);
  background:var(--navy);color:var(--white);font-size:14.5px;font-weight:700;cursor:pointer;
}
.page_search .submit button:hover{background:var(--gold);color:var(--navy-dark);}
.search_results{list-style:none;margin:0;padding:0;}
.search_results > li{border-bottom:1px solid var(--gray-cool);}
.search_results > li:last-child{border-bottom:none;}
.search_results .obj_article_summary{padding:20px 0;}

/* Pagination */
.cmp_pagination{margin-top:28px;font-size:14px;color:var(--text-muted);display:flex;gap:14px;flex-wrap:wrap;}

/* Sidebar block plugins */
.pkp_structure_sidebar{padding:36px 0 56px;min-width:0;}
.pkp_block{
  border:1px solid var(--gray-cool);border-radius:var(--radius);
  padding:18px;margin-bottom:22px;font-size:14px;background:var(--gray-bg);
}
.pkp_block .title{
  font-family:var(--font-sans);font-size:12px;font-weight:700;
  letter-spacing:.07em;text-transform:uppercase;color:var(--steel);margin-bottom:10px;
}
.pkp_block ul{list-style:none;margin:0;padding:0;}
.pkp_block li{margin-bottom:8px;}

/* Announcements */
.obj_announcement_summary{padding:18px 0;border-bottom:1px solid var(--gray-cool);}
.obj_announcement_summary h2,.obj_announcement_summary h3,.obj_announcement_summary h4{
  font-family:var(--font-serif);font-size:17px;margin-bottom:4px;
}
.obj_announcement_summary .date{font-size:13px;color:var(--text-muted);}

/* ============================================== 8. PDF viewer chrome ===== */
/* pdfJsViewer renders a standalone page (its own <head>) that still loads this
   stylesheet. It is NOT wrapped in .pkp_structure_page, so it needs its own
   layout: a fixed-height bar on top and the iframe filling the rest of the
   viewport. Without this the iframe collapses to its 500px min-height and the
   bottom of the screen stays blank. */
.header_view{
  position:relative;z-index:2;height:48px;
  display:flex;align-items:center;gap:14px;
  background:var(--navy);color:var(--white);padding:0 16px;
}
.header_view a{text-decoration:none;}
.header_view .return{
  flex:0 0 auto;color:var(--gold);font-size:20px;line-height:1;
  display:inline-flex;align-items:center;justify-content:center;
  width:28px;height:28px;
}
.header_view .return::before{content:"\2190";}   /* leftwards arrow */
.header_view .return:hover{color:var(--white);}
.header_view .title{
  flex:1 1 auto;min-width:0;color:var(--white);
  font-family:var(--font-serif);font-size:16px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.header_view .download{
  flex:0 0 auto;color:var(--gold);font-weight:700;font-size:13.5px;
}
.header_view .download:hover{color:var(--white);}

.galley_view{
  position:absolute;top:0;left:0;right:0;bottom:0;overflow-y:hidden;
}
.galley_view iframe{width:100%;height:100%;padding-top:48px;border:0;display:block;}
.galley_view.galley_view_with_notice iframe{padding-top:calc(48px * 3);}
.galley_view .galley_view_notice{
  position:absolute;top:48px;left:0;width:100%;height:calc(48px * 2);
  background:var(--beige);
}
.galley_view .galley_view_notice_message{
  position:absolute;top:50%;left:50%;width:100%;transform:translate(-50%,-50%);
  color:var(--navy-dark);font-weight:700;text-align:center;padding:0 16px;
}
.galley_view .galley_view_notice_message a{color:var(--navy-dark);text-decoration:underline;}

/* =================================================== 9. responsive ======= */
@media (max-width:1024px){
  .nav-main-list{gap:18px;font-size:14px;}
  .obj_article_details .row{grid-template-columns:1fr;gap:28px;}
  .pkp_structure_content.has_sidebar{grid-template-columns:1fr;gap:0;}
  .pkp_structure_sidebar{padding-top:0;}
}

@media (max-width:900px){
  .nav-main{display:none;}
  .menu-toggle{display:inline-flex;}
  .hero-grid{grid-template-columns:1fr;gap:32px;padding-top:44px;padding-bottom:44px;}
  .hero-art{display:none;}
  .foot-grid{grid-template-columns:1fr 1fr;gap:28px;}
  .foot-brand{grid-column:1 / -1;}
  .obj_issue_toc .heading .cover{width:120px;margin:0 18px 14px 0;}
  .page_index_journal > section,
  .page_index_journal > .homepage_about,
  .page_index_journal > .current_issue,
  .page_index_journal > .additional_content{padding-top:40px;padding-bottom:40px;}
}

@media (max-width:600px){
  :root{--pad:16px;}
  body{font-size:14.5px;}
  .site-header{position:static;}         /* give small screens the full viewport */
  .topbar-inner{justify-content:flex-start;min-height:32px;}
  .topbar-institution{display:none;}
  .topbar-user{margin-left:0;}
  .navrow{padding-top:12px;padding-bottom:12px;gap:12px;}
  .brand-mark{width:38px;height:38px;}
  .brand-mark svg{width:23px;height:23px;}
  .brand-title{font-size:16px;}
  .brand-eyebrow{font-size:10px;}
  .nav-submit{display:none;}             /* the CTA lives in the mobile menu */
  .search-form{flex-direction:column;}
  .search-form .btn{width:100%;}
  .hero-grid{padding-top:36px;padding-bottom:36px;}
  .hero-lead{font-size:15px;}
  .hero-ctas .btn{width:100%;}
  .trustbar-inner{grid-template-columns:1fr;gap:10px;}
  .section-head{flex-direction:column;align-items:flex-start;gap:10px;}
  .obj_article_summary{flex-direction:column;gap:10px;padding:16px 0;}
  .obj_article_summary .cover{flex:none;max-width:120px;}
  .cta-inner{flex-direction:column;align-items:stretch;padding-top:28px;padding-bottom:28px;}
  .cta-actions .btn{flex:1 1 auto;}
  .foot-grid{grid-template-columns:1fr;gap:24px;}
  .foot-brand{grid-column:auto;}
  .foot-desc{max-width:none;}
  .foot-bottom{justify-content:center;}
  .obj_article_details .entry_details{padding:16px;}
  .issues_archive{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:24px 18px;}
}

@media (max-width:380px){
  .cta-actions{flex-direction:column;}
  .cta-actions .btn{width:100%;}
  .galleys_links a,.obj_galley_link{font-size:11.5px;padding:7px 10px;}
}

@media print{
  .site-header,.site-footer,.cta-banner,.trustbar,.pkp_structure_sidebar,
  .cmp_skip_to_content,.ornament-strip{display:none !important;}
  body{font-size:11pt;color:#000;}
  .pkp_structure_content{max-width:none;padding:0;}
}
