@font-face { font-family: Lora; font-style: normal; font-weight: 400; font-display: swap; src: url("../images/fonts/lora-regular.woff2") format("woff2"); }
@font-face { font-family: Lora; font-style: italic; font-weight: 400; font-display: swap; src: url("../images/fonts/lora-italic.woff2") format("woff2"); }
@font-face { font-family: Lora; font-style: normal; font-weight: 700; font-display: swap; src: url("../images/fonts/lora-700.woff2") format("woff2"); }
@font-face { font-family: Lora; font-style: italic; font-weight: 700; font-display: swap; src: url("../images/fonts/lora-700italic.woff2") format("woff2"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400; font-display: swap; src: url("../images/fonts/montserrat-regular.ttf") format("truetype"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 700; font-display: swap; src: url("../images/fonts/montserrat-bold.ttf") format("truetype"); }
/* QTimes public theme. Native OJS components retain their behaviour. */
.qtimes-theme {
  --qt-paper: #fffdf8;
  --qt-wash: #f5f0e5;
  --qt-soft: #eee7d7;
  --qt-ink: #292b28;
  --qt-muted: #62645c;
  --qt-line: #dcd5c5;
  --qt-accent: #ecb042;
  --qt-link: #79500d;
  margin: 0;
  background: var(--qt-paper);
  color: var(--qt-ink);
  font: 16px/1.72 Lora, Georgia, serif;
}
.qtimes-theme *, .qtimes-theme *::before, .qtimes-theme *::after { box-sizing: border-box; }
.qtimes-theme [hidden] { display: none !important; }
.qtimes-theme a { color: var(--qt-link); text-underline-offset: 3px; }
.qtimes-theme a:hover { color: var(--qt-ink); }
.qtimes-theme :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #24536d; outline-offset: 3px;
}
.qtimes-theme :is(h1,h2,h3,h4,h5,h6,legend,dt,button,label,.label,.authors,.pages,.published) {
  font-family: Montserrat, Arial, sans-serif;
}
.qtimes-theme :is(h1,h2,h3,h4,h5,h6) { line-height: 1.45; font-weight: 400; overflow-wrap: anywhere; }
.qtimes-theme h1, .qtimes-theme .obj_article_details > .page_title { font-size: clamp(1.7rem,3vw,2.6rem); line-height: 1.45; }
.qtimes-theme h2 { font-size: clamp(1.3rem,2vw,1.85rem); }
.qtimes-theme img { max-width: 100%; height: auto; }
.qtimes-theme .pkp_structure_page { background: var(--qt-paper); min-height: 100vh; }
.qtimes-theme :is(.qtimes-masthead,.qtimes-navigation,.qtimes-footer-inner,.pkp_structure_content) {
  width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 40px;
}
.qtimes-theme .pkp_structure_content { padding-block: 40px; display: flex; gap: 40px; }
.qtimes-theme .pkp_structure_content::before, .qtimes-theme .pkp_structure_content::after,
.qtimes-theme .pkp_structure_main::before, .qtimes-theme .pkp_structure_main::after { display: none; }
.qtimes-theme .pkp_structure_main { width: 100%; min-width: 0; padding: 0; float: none; border: 0; }
.qtimes-theme .has_sidebar .pkp_structure_main { flex: 1; }
.qtimes-theme .pkp_structure_sidebar { width: 260px; flex: 0 0 260px; padding: 0; float: none; }
.qtimes-theme .pkp_structure_main p { line-height: 1.72; }
.qtimes-theme .cmp_breadcrumbs { margin: 0 0 24px; font: 13px/1.6 Montserrat,Arial,sans-serif; }
.qtimes-theme .qtimes-header { background: var(--qt-paper); border-bottom: 1px solid var(--qt-line); color: var(--qt-ink); }
.qtimes-theme .qtimes-masthead { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; gap: 32px; padding-block: 32px; }
.qtimes-theme .qtimes-logo { display: block; text-align: center; }
.qtimes-theme .qtimes-logo img { width: 340px; max-height: 140px; object-fit: contain; }
.qtimes-theme .qtimes-search { position: relative; display: flex; align-items: center; gap: 8px; }
.qtimes-theme .qtimes-search input { min-width: 0; width: 100%; }
.qtimes-theme .qtimes-account { font: 13px/1.6 Montserrat,Arial,sans-serif; text-align: end; }
.qtimes-theme .qtimes-account .pkp_navigation_user { position: static; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.qtimes-theme .qtimes-account .pkp_navigation_user > li { margin: 0; padding: 0; }
.qtimes-theme .qtimes-account .pkp_navigation_user > li > a { color: var(--qt-link); padding: 8px; font-size: 13px; }
.qtimes-theme .qtimes-classification { max-width: 1280px; padding: 0 40px 24px; margin: auto; text-align: center; color: var(--qt-muted); font: 12px/1.6 Montserrat,Arial,sans-serif; }
.qtimes-theme .qtimes-navigation { display: block; border-top: 1px solid var(--qt-line); }
/* Match QTimes primary links without inheriting native OJS navigation styles. */
.qtimes-theme .pkp_navigation_primary { display: flex; align-items: stretch; justify-content: space-between; flex-wrap: nowrap; gap: 4px; width: 100%; max-width: none; margin: 0; padding: 0; font: 14px/1.72 Montserrat,Arial,sans-serif; }
.qtimes-theme .pkp_navigation_primary::before,.qtimes-theme .pkp_navigation_primary::after { display: none; }
.qtimes-theme .pkp_navigation_primary > li { position: relative; display: flex; align-items: stretch; float: none; margin: 0; }
.qtimes-theme .pkp_navigation_primary > li > a {
  min-height: 66px; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 4px;
  color: var(--qt-ink); background: transparent; border: 0; border-radius: 0; box-shadow: none;
  font: 700 14px/1.72 Montserrat,Arial,sans-serif; text-transform: uppercase; text-decoration: none; white-space: nowrap; text-align: center;
}
.qtimes-theme .pkp_navigation_primary > li > a:hover,
.qtimes-theme .pkp_navigation_primary > li > a:focus { background: transparent; color: var(--qt-ink); border: 0; }
@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
  .qtimes-theme .pkp_navigation_primary > li > a:hover { box-shadow: inset 0 -3px #f3d498; }
}
.qtimes-theme :is(.pkp_navigation_primary,.pkp_navigation_user) ul {
  background: var(--qt-paper); border: 1px solid var(--qt-line); border-bottom: 3px solid var(--qt-accent); box-shadow: 0 12px 30px #292b281a; max-width: min(280px,90vw);
}
.qtimes-theme :is(.pkp_navigation_primary,.pkp_navigation_user) ul a { color: var(--qt-ink); font: 13px/1.6 Montserrat,Arial,sans-serif; white-space: normal; overflow-wrap: anywhere; }
.qtimes-theme :is(.pkp_navigation_primary,.pkp_navigation_user) ul a:hover,
.qtimes-theme :is(.pkp_navigation_primary,.pkp_navigation_user) ul a:focus { background: var(--qt-wash); }
.qtimes-theme .pkp_navigation_primary > li > a[aria-haspopup]::after { content: ""; display: block; width: 6px; height: 6px; margin: -3px 2px 0; border: 0; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
/* Primary dropdowns use QTimes spacing and neutral edges in every interaction state. */
.qtimes-theme .pkp_navigation_primary ul { display: none; width: 280px; max-width: min(280px,90vw); margin: 0; padding: 20px; border-radius: 0; }
.qtimes-theme .pkp_navigation_primary > li.qtimes-dropdown-open > ul,
.qtimes-theme .pkp_navigation_primary ul.show,
.qtimes-theme .pkp_navigation_primary > li:hover > ul { display: block; }
.qtimes-theme .pkp_navigation_primary ul a,
.qtimes-theme .pkp_navigation_primary ul a:hover,
.qtimes-theme .pkp_navigation_primary ul a:focus {
  display: block; padding: 6px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
  color: var(--qt-ink); font: 400 13px/1.72 Montserrat,Arial,sans-serif; text-align: start; text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .qtimes-theme .pkp_navigation_primary ul a:hover { text-decoration: underline; }
}
@media (min-width: 960px) {
  .qtimes-theme nav.qtimes-navigation { position: relative; z-index: 20; padding-inline: 40px; }
  .qtimes-theme .pkp_navigation_primary > li > ul {
    position: absolute; top: 100% !important; right: 0 !important; left: auto !important; transform: none !important;
  }
}
@media (min-width: 960px) and (max-width: 1199px) {
  .qtimes-theme .pkp_navigation_primary > li > a { min-height: 48px; }
}
.qtimes-theme .qtimes-menu-toggle { display: none; }
.qtimes-theme :is(.cmp_button,.cmp_button_wire,.obj_galley_link,button[type=submit],.qtimes-button) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 22px;
  border: 1px solid var(--qt-accent); border-radius: 24px; background: var(--qt-accent); color: var(--qt-ink);
  font: 700 13px/1.5 Montserrat,Arial,sans-serif; text-shadow: none; box-shadow: none; text-decoration: none;
}
.qtimes-theme :is(.cmp_button,.cmp_button_wire,.obj_galley_link,button[type=submit],.qtimes-button):hover { background: #f1c16a; color: var(--qt-ink); text-decoration: none; }
.qtimes-theme :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea) {
  max-width: 100%; min-height: 44px; border: 1px solid var(--qt-line); border-radius: 22px; background: white; color: var(--qt-ink); padding: 9px 16px; font: 16px/1.5 Montserrat,Arial,sans-serif;
}
.qtimes-theme textarea { border-radius: 12px; }
.qtimes-theme :is(input[type=checkbox],input[type=radio]) { accent-color: var(--qt-link); }
.qtimes-theme :is(.page_login,.page_register,.page_lost_password) { max-width: 720px; margin-inline: auto; }
.qtimes-theme :is(.cmp_form,.cmp_form fieldset,.cmp_form .fields) { max-width: 100%; }
.qtimes-theme .cmp_form :is(.label,.description) { color: var(--qt-ink); }
.qtimes-theme .cmp_notification { border-color: var(--qt-line); background: var(--qt-wash); color: var(--qt-ink); }
.qtimes-theme .page_index_journal :is(.current_issue,.homepage_about,.additional_content,.cmp_announcements) { margin: 0 0 40px; padding: 28px; border: 1px solid var(--qt-line); background: var(--qt-wash); }
.qtimes-theme .page_index_journal .current_issue { background: var(--qt-soft); }
.qtimes-theme .page_index_journal .current_issue > h2 { margin-top: 0; padding-top: 0; border: 0; }
.qtimes-theme .current_issue_title { font: 600 16px/1.6 Montserrat,Arial,sans-serif; margin-bottom: 24px; }
.qtimes-theme .obj_issue_toc .heading { margin-bottom: 24px; }
.qtimes-theme .obj_issue_toc .sections:not(:first-child) { margin-top: 32px; }
.qtimes-theme .obj_issue_toc .section { margin: 0 0 32px; }
.qtimes-theme .obj_issue_toc .section > h2, .qtimes-theme .obj_issue_toc .section > h3 { margin: 0 0 20px; padding: 16px 0 0; border-top: 2px solid var(--qt-accent); background: none; }
.qtimes-theme .obj_article_summary { padding: 24px 0; border-bottom: 1px solid var(--qt-line); margin: 0; }
.qtimes-theme .obj_article_summary .title { font: 400 20px/1.45 Montserrat,Arial,sans-serif; }
.qtimes-theme .obj_article_summary .title a { color: var(--qt-ink); }
.qtimes-theme .obj_article_summary :is(.meta,.authors,.pages) { color: var(--qt-muted); font: 13px/1.6 Montserrat,Arial,sans-serif; }
.qtimes-theme .obj_article_summary .galleys_links { margin-top: 12px; }
.qtimes-theme .obj_issue_summary { padding: 24px 0; border-bottom: 1px solid var(--qt-line); }
.qtimes-theme .obj_issue_summary .title { font: 400 20px/1.45 Montserrat,Arial,sans-serif; }
.qtimes-theme .page_issue_archive .issues > li { margin: 0; padding: 0; border: 0; }
.qtimes-theme .obj_article_details > .row { display: grid; grid-template-columns: minmax(0,2fr) minmax(260px,1fr); gap: 40px; margin: 32px 0 0; border: 0; }
.qtimes-theme .obj_article_details > .row::before, .qtimes-theme .obj_article_details > .row::after { display: none; }
.qtimes-theme .obj_article_details :is(.main_entry,.entry_details) { float: none; width: auto; min-width: 0; border: 0; margin: 0; }
.qtimes-theme .obj_article_details .main_entry .item { padding: 0 0 28px; }
.qtimes-theme .obj_article_details .entry_details { background: var(--qt-wash); align-self: start; border-top: 3px solid var(--qt-accent); }
.qtimes-theme .obj_article_details .entry_details .item { padding: 24px; margin: 0; border-bottom: 1px solid var(--qt-line); }
.qtimes-theme .obj_article_details .entry_details .label { color: var(--qt-muted); font-weight: 600; margin-bottom: 8px; }
.qtimes-theme .obj_article_details .authors .name { font-weight: 600; }
.qtimes-theme .obj_article_details .authors .affiliation { color: var(--qt-muted); }
.qtimes-theme .obj_article_details .main_entry .item > .label { font-weight: 400; font-size: 22px; }
.qtimes-theme .obj_article_details .galleys_links { flex-wrap: wrap; gap: 8px; }
.qtimes-theme .obj_article_details :is(.references,.doi,.citation_display,.copyright) { overflow-wrap: anywhere; }
.qtimes-theme .obj_article_details .citation_formats_button { min-height: 44px; color: var(--qt-ink); }
.qtimes-theme .pkp_structure_main :is(table,pre) { max-width: 100%; overflow-x: auto; }
.qtimes-theme .qtimes-footer { margin-top: 40px; border-top: 4px solid var(--qt-accent); background: var(--qt-ink); color: #e7e1d4; font: 13px/1.72 Montserrat,Arial,sans-serif; }
.qtimes-theme .qtimes-footer-inner { padding-block: 40px; }
.qtimes-theme .qtimes-footer a { color: #f4c56d; }
.qtimes-theme .qtimes-footer .pkp_footer_content { max-width: 900px; overflow-wrap: anywhere; }
.qtimes-theme .qtimes-footer .pkp_brand_footer { padding: 24px 0 0; float: none; width: auto; }
.qtimes-theme .qtimes-footer .pkp_brand_footer img { width: 100px; }
.qtimes-theme .qtimes-footer-links { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 24px; border-top: 1px solid #55574d; }
/* Keep the profile dropdown inside the page on hover and when Bootstrap opens it. */
@media (min-width: 993px) {
  .qtimes-theme .qtimes-account .pkp_navigation_user > li > .dropdown-menu {
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
  }
}
@media (max-width: 991px) {
  .qtimes-theme :is(.qtimes-masthead,.qtimes-navigation,.qtimes-footer-inner,.pkp_structure_content) { padding-inline: 30px; }
  .qtimes-theme .qtimes-masthead { grid-template-columns: 1fr auto; gap: 20px; padding-block: 20px; }
  .qtimes-theme .qtimes-logo { grid-column: 1; grid-row: 1; text-align: start; }
  .qtimes-theme .qtimes-logo img { width: 200px; }
  .qtimes-theme .qtimes-search { grid-column: 1; grid-row: 2; }
  .qtimes-theme .qtimes-account { grid-column: 2; grid-row: 2; }
  .qtimes-theme .pkp_structure_content { flex-direction: column; padding-block: 30px; }
  .qtimes-theme .pkp_structure_sidebar { width: 100%; flex-basis: auto; }
  .qtimes-theme .obj_article_details > .row { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 959px) {
  .qtimes-theme .qtimes-menu-toggle { display: inline-flex; grid-column: 2; grid-row: 1; min-height: 44px; padding: 8px 12px; border: 1px solid var(--qt-accent); background: transparent; color: var(--qt-ink); }
  .qtimes-theme .qtimes-navigation { display: block; padding-block: 12px; }
  .qtimes-theme .qtimes-navigation .pkp_navigation_primary { display: block; }
  .qtimes-theme .pkp_navigation_primary > li { display: block; }
  .qtimes-theme .pkp_navigation_primary > li > a { min-height: 44px; justify-content: space-between; padding: 12px 0; font-size: 13px; text-align: start; }
  .qtimes-theme .pkp_navigation_primary ul { position: static !important; transform: none !important; width: 100%; max-width: none; border: 0; box-shadow: none; }
}
@media (max-width: 639px) {
  .qtimes-theme :is(.qtimes-masthead,.qtimes-navigation,.qtimes-footer-inner,.pkp_structure_content) { padding-inline: 16px; }
  .qtimes-theme .qtimes-search { grid-column: 1 / -1; }
  .qtimes-theme .qtimes-account { grid-column: 1 / -1; grid-row: 3; text-align: start; }
  .qtimes-theme .qtimes-account .pkp_navigation_user { justify-content: flex-start; }
  .qtimes-theme .page_index_journal :is(.current_issue,.homepage_about,.additional_content,.cmp_announcements) { padding: 20px 16px; }
  .qtimes-theme .obj_article_summary .meta { display: block; }
  .qtimes-theme .obj_issue_toc .cover { float: none; margin: 0 0 20px; }
}
@media (prefers-reduced-motion: reduce) { .qtimes-theme * { scroll-behavior: auto !important; transition: none !important; } }

.qtimes-theme .qtimes-article-card { display: flex; gap: 28px; align-items: start; }
.qtimes-theme .qtimes-article-card::before, .qtimes-theme .qtimes-article-card::after { display: none; }
.qtimes-theme .qtimes-article-card .qtimes-summary-image { width: 120px; flex: 0 0 120px; float: none; margin: 0; }
.qtimes-theme .qtimes-summary-content { flex: 1; min-width: 0; }
.qtimes-theme .qtimes-summary-content > .title { margin: 0 0 12px; border: 0; }
.qtimes-theme .qtimes-summary-content .galleys_links { flex-wrap: wrap; }
@media (max-width: 959px) {
  .qtimes-js .qtimes-navigation:not(.qtimes-navigation--open) { display: none; }
}
@media (max-width: 639px) {
  .qtimes-theme .qtimes-article-card { gap: 16px; }
  .qtimes-theme .qtimes-article-card .qtimes-summary-image { width: 72px; flex-basis: 72px; }
}
/* Neutralize the parent's masthead scaffolding around the new grid. */
.qtimes-theme .qtimes-masthead::before, .qtimes-theme .qtimes-masthead::after { display: none; }
.qtimes-theme .qtimes-account { position: static; top: auto; right: auto; width: auto; padding: 0; }
.qtimes-theme .qtimes-account .pkp_navigation_user { width: auto; border: 0; padding: 0; }
.qtimes-theme .qtimes-search-field { display: flex; width: 100%; gap: 8px; }
.qtimes-theme .qtimes-search-field button { flex-shrink: 0; padding-inline: 16px; }
.qtimes-theme .pkp_navigation_primary > li > a { margin: 0; }
.qtimes-theme .qtimes-footer-inner { text-align: start; }
.qtimes-theme .qtimes-footer .pkp_footer_content { padding: 0; }
.qtimes-theme .qtimes-footer .pkp_brand_footer a { float: none; }
.qtimes-theme .qtimes-languages { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.qtimes-theme .qtimes-languages [aria-current] { font-weight: 700; text-decoration: underline; }
.qtimes-theme .pkp_navigation_primary :is(a,button):focus-visible,
.qtimes-theme .pkp_navigation_user :is(a,button):focus-visible,
.qtimes-theme .citation_formats :is(a,button):focus-visible { outline: 3px solid #24536d; outline-offset: 3px; }
@media (max-width: 639px) { .qtimes-theme .qtimes-languages { justify-content: flex-start; } }
.qtimes-theme .qtimes-account { left: auto; transform: none; }
.qtimes-theme .qtimes-account .pkp_navigation_user > li > a:focus { background: var(--qt-wash); color: var(--qt-ink); }
.qtimes-theme :is(.pkp_navigation_primary,.pkp_navigation_user) { list-style: none; }
.qtimes-theme :is(.pkp_navigation_primary,.pkp_navigation_user) ul { list-style: none; }
.qtimes-theme .pkp_brand_footer img { background: var(--qt-paper); border-radius: 4px; padding: 10px; width: 130px; }
.qtimes-theme :is(.read_more,.read_more::after,.cmp_pagination a) { color: var(--qt-link); }
.qtimes-theme .qtimes-summary-content .title a { text-decoration: none; }
.qtimes-theme .qtimes-summary-content .title a:hover { text-decoration: underline; }
.qtimes-theme .obj_issue_toc :is(.section,.galleys) { padding: 0; margin: 32px 0; }
.qtimes-theme .obj_issue_toc :is(.section,.galleys)::before { display: none; }
.qtimes-theme .obj_issue_toc :is(.section,.galleys) > :is(h2,h3,h4,h5) {
  display: block; left: auto; margin: 0 0 20px; padding: 16px 0 0; border-top: 2px solid var(--qt-accent); background: transparent; color: var(--qt-ink); line-height: 1.45;
}
.qtimes-theme .page_index_journal .current_issue .read_more,
.qtimes-theme .page_index_journal .current_issue .read_more::after { color: var(--qt-link); font-family: Montserrat,Arial,sans-serif; }
.qtimes-theme .page_index_journal .current_issue .read_more::after { font-family: FontAwesome; }
.qtimes-theme .page_index_journal .homepage_image { margin: 0 0 32px; }
@media (min-width: 1024px) {
  .qtimes-theme .obj_issue_toc .articles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 40px; }
  .qtimes-theme .obj_issue_toc .articles > li { min-width: 0; }
  .qtimes-theme .obj_issue_toc .articles .qtimes-article-card { height: 100%; }
}
