/**
 * Digilayf for Health Sciences child theme: shared reader interface rules.
 *
 * Target: OJS 3.5.0-5 with PKP Health Sciences 1.1.3.2 as the parent theme.
 * Migrated from src/digilayf-academia/digilayf-academia.css (frozen for the
 * journal-stylesheet deployment). Homepage, utility bar and submission CTA
 * rules live in digilayf-home.css, digilayf-layout.css and later work packages.
 */

:root {
  /*
   * Palette: two brand colours and tones derived from them, plus neutrals.
   * Only --da-navy and --da-cyan carry brand hue; every tinted tone below is
   * mixed from them, so changing a brand colour updates its whole family.
   * --da-cyan-strong is the only cyan allowed for text (6.1:1 on white);
   * --da-cyan itself is 2.9:1 and is used for lines, states and fills only.
   *
   * These are the Digilayf defaults. A journal that picks its own colours in
   * the theme settings gets an inline html:root override of --da-navy,
   * --da-navy-hover, --da-cyan, --da-cyan-strong and --da-on-accent, computed
   * by the theme plugin with the same contrast rules; keep these two brand
   * values in sync with DigilayfHealthSciencesThemePlugin::BRAND_COLOUR_DEFAULTS.
   */
  --da-navy: #132a4f;
  --da-navy-hover: #193b6a;
  --da-cyan: #10a5ca;
  --da-cyan-strong: #0a6b83;
  --da-cyan-tint: color-mix(in srgb, var(--da-cyan) 10%, transparent);
  --da-cyan-line: color-mix(in srgb, var(--da-cyan) 35%, transparent);
  --da-cyan-line-strong: color-mix(in srgb, var(--da-cyan) 65%, transparent);
  /* Text and lines on dark brand surfaces (navy, strong cyan). */
  --da-on-dark: #ffffff;
  --da-on-dark-muted: rgb(255 255 255 / 82%);
  --da-on-dark-line: rgb(255 255 255 / 20%);
  --da-on-dark-line-strong: rgb(255 255 255 / 45%);
  --da-on-dark-fill: rgb(255 255 255 / 10%);
  /* Text on a --da-cyan fill (4.9:1); recomputed with custom colours. */
  --da-on-accent: var(--da-navy);
  /* Neutrals: independent of the brand colours. */
  --da-text: #1f2937;
  --da-text-muted: #5b6675;
  --da-surface: #ffffff;
  --da-surface-muted: #f4f7fa;
  --da-surface-tint: color-mix(in srgb, var(--da-cyan) 5%, var(--da-surface-muted));
  --da-border: #dce4ea;
  /* Edge of text inputs and selects: 3:1 or more on both surfaces (WCAG 1.4.11). */
  --da-control-border: #7d8d9c;
  --da-focus: #c16200;
  --da-shadow-color: color-mix(in srgb, var(--da-navy) 7%, transparent);
  --da-shadow-color-strong: color-mix(in srgb, var(--da-navy) 18%, transparent);
  --da-radius-sm: 6px;
  --da-radius: 8px;
  --da-shadow: 0 10px 30px var(--da-shadow-color);
  --da-content-width: 1320px;
  --da-hover-duration: 200ms;
  --da-hover-easing: ease;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--da-surface);
  color: var(--da-text);
  font-size: 16px;
  line-height: 1.65;
}

body,
.page-content,
.page-content p,
.page-content li {
  color: var(--da-text);
}

.container {
  max-width: var(--da-content-width);
}

a {
  color: var(--da-cyan-strong);
  text-underline-offset: 0.18em;
  transition:
    background-color var(--da-hover-duration) var(--da-hover-easing),
    border-color var(--da-hover-duration) var(--da-hover-easing),
    box-shadow var(--da-hover-duration) var(--da-hover-easing),
    color var(--da-hover-duration) var(--da-hover-easing),
    opacity var(--da-hover-duration) var(--da-hover-easing),
    text-decoration-color var(--da-hover-duration) var(--da-hover-easing),
    transform var(--da-hover-duration) var(--da-hover-easing);
}

button {
  transition:
    background-color var(--da-hover-duration) var(--da-hover-easing),
    border-color var(--da-hover-duration) var(--da-hover-easing),
    box-shadow var(--da-hover-duration) var(--da-hover-easing),
    color var(--da-hover-duration) var(--da-hover-easing),
    opacity var(--da-hover-duration) var(--da-hover-easing),
    transform var(--da-hover-duration) var(--da-hover-easing);
}

.page-content p a,
.page-content li a,
.article-details a:not(.btn),
.page-announcement-content a,
/* Links inside form sentences (consent labels, "No account? Register here"). */
label a,
.form-group-register a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

a:hover,
a:focus {
  color: var(--da-navy-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
/*
 * Health Sciences sets `outline: 0` on focused header links, the user and
 * language toggles and dropdown items with selectors that outrank the
 * generic ones above; these match them (and load later) so keyboard focus
 * keeps its ring.
 */
.navbar-light .navbar-nav .nav-link:focus-visible,
#userNav .nav-link:focus-visible,
.language-toggle .dropdown-toggle:focus-visible,
.dropdown-menu .dropdown-item:focus-visible,
/* Bootstrap does the same for form fields, check boxes, buttons and the menu toggle. */
.form-control:focus-visible,
.form-check-input:focus-visible,
.btn:focus-visible,
.navbar-toggler:focus-visible {
  outline: 3px solid var(--da-focus);
  outline-offset: 2px;
  /*
   * Two-tone ring: a white halo fills the offset gap inside the orange
   * outline. On white surfaces it is invisible; on dark brand surfaces it
   * keeps the ring at 3:1 or more whatever primary colour a journal picks
   * (one colour cannot contrast with both white and every dark colour).
   */
  box-shadow: 0 0 0 2px var(--da-surface);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: var(--da-navy);
  line-height: 1.25;
}

.page-header {
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: clamp(1.65rem, 2.5vw, 1.9rem);
  font-weight: 700;
}

.page-content {
  margin-bottom: 4rem;
  padding-top: 2.5rem;
  border-top-color: var(--da-border);
  font-size: 1rem;
  line-height: 1.7;
}

.page-content p,
.page-content li {
  font-size: 1rem;
  line-height: 1.7;
}

.page-about .page-content,
.page-submissions .page-content,
.page-custom .page-content,
.page-information .page-content,
.page-contact .page-content,
.page-privacy .page-content,
.page-masthead .page-content,
.page-announcement-content {
  max-width: 76ch;
  margin-right: auto;
  margin-left: auto;
}

/* Avoid stacking heading, content padding and the first prose element's margin. */
:is(.page-about, .page-masthead, .page-privacy, .page-contact, .page-information, .page-custom, .page-submissions) > .page-header {
  margin-bottom: 16px;
}

:is(.page-about, .page-masthead, .page-privacy, .page-contact, .page-information, .page-custom, .page-submissions) .page-content {
  padding-top: 20px;
}

:is(.page-about, .page-masthead, .page-privacy, .page-contact, .page-information, .page-custom, .page-submissions) .page-content > :first-child {
  margin-top: 0;
}

/* Editorial public profiles: optional portraits never reserve an empty column. */
.page-masthead .user_listing .dla-masthead-member {
  margin-bottom: 1.25rem;
}

.page-masthead .dla-masthead-member--with-image {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.page-masthead .dla-masthead-image {
  display: block;
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: var(--da-radius-sm);
}

.page-masthead .dla-masthead-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.page-masthead .dla-masthead-copy > .name,
.page-masthead .dla-masthead-copy > .affiliation,
.page-masthead .dla-masthead-copy > .date_start {
  display: block;
}

.page-masthead .dla-masthead-copy > .date_start {
  margin-top: 4px;
  font-size: 13px;
  color: var(--da-text-muted);
}

.page-masthead .page-content .dla-masthead-biography {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

/* Header and navigation */

.main-header {
  background: var(--da-navy);
  border-bottom: 3px solid var(--da-cyan);
  box-shadow: 0 6px 20px var(--da-shadow-color-strong);
}

.main-header .container {
  max-width: var(--da-content-width);
}

.navbar-logo,
.navbar-brand {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.navbar-logo a,
.navbar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-logo img,
.navbar-brand img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

.navbar-toggler {
  min-width: 48px;
  min-height: 44px;
  border-color: var(--da-on-dark-line-strong);
  border-radius: var(--da-radius-sm);
  transition:
    background-color var(--da-hover-duration) var(--da-hover-easing),
    border-color var(--da-hover-duration) var(--da-hover-easing),
    color var(--da-hover-duration) var(--da-hover-easing);
}

.navbar-toggler:hover,
.navbar-toggler:focus {
  background: var(--da-on-dark-fill);
  border-color: var(--da-cyan);
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.navbar-nav .nav-link,
.navbar-nav .dropdown-item,
#languageSmallNav .btn {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* OJS does not mark these primary navigation items as current. */
body:has(.page-archives) #primaryNav .nmi_type_archives > .nav-link,
body:has(.page-announcement) #primaryNav .nmi_type_announcements > .nav-link,
body:has(.page-about, .page-masthead, .page-privacy, .page-contact) #primaryNav .nmi_type_about > .nav-link,
/* The guide page marks a top-level Submissions item when the menu has one, otherwise About. */
body:has(.page-submissions) #primaryNav > .nmi_type_submissions > .nav-link,
body:has(.page-submissions) #primaryNav:not(:has(> .nmi_type_submissions)) .nmi_type_about > .nav-link,
body:has(.page-search) #primaryNav .nmi_type_search > .nav-link,
body:has(.page-search) #primaryNav .dla-search > summary,
#primaryNav .active > .nav-link,
#primaryNav .nav-link[aria-current="page"] {
  background: var(--da-on-dark-fill);
  box-shadow: inset 3px 0 0 var(--da-cyan);
  color: var(--da-on-dark);
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .dropdown-item {
  color: var(--da-on-dark);
  transition-duration: var(--da-hover-duration);
  transition-timing-function: var(--da-hover-easing);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .dropdown-item:hover,
.navbar-light .navbar-nav .dropdown-item:focus {
  background: var(--da-on-dark-fill);
  color: var(--da-on-dark);
}

#languageSmallNav .btn {
  border: 1px solid var(--da-on-dark-line-strong);
  border-radius: var(--da-radius-sm);
  background: transparent;
  color: var(--da-on-dark);
}

/*
 * Health Sciences paints .alert-primary with the accent as background and
 * white links in every state (2.9:1 on the default accent, invisible on the
 * tint). A tint keeps it recognisable; links use the primary colour and the
 * accent text tone on hover, so they stay readable for any brand colours.
 */
.alert-primary {
  border: 1px solid var(--da-cyan-line);
  border-radius: var(--da-radius-sm);
  background: var(--da-cyan-tint);
  color: var(--da-text);
}

.alert-primary a {
  color: var(--da-navy);
  font-weight: 600;
}

.alert-primary a:hover,
.alert-primary a:focus,
.alert-primary a:active {
  color: var(--da-cyan-strong);
}

/* Buttons and form controls */

.btn,
button.btn,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--da-border);
  border-radius: var(--da-radius-sm);
  background: var(--da-surface);
  color: var(--da-navy);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color var(--da-hover-duration) var(--da-hover-easing),
    border-color var(--da-hover-duration) var(--da-hover-easing),
    color var(--da-hover-duration) var(--da-hover-easing),
    transform var(--da-hover-duration) var(--da-hover-easing);
}

.btn:hover,
.btn:focus,
.btn:active {
  background: var(--da-surface-muted);
  border-color: var(--da-cyan);
  color: var(--da-navy);
  transform: translateY(-1px);
}

.btn-primary,
a.btn-primary,
button.btn-primary,
.block_make_submission .block_make_submission_link {
  background: var(--da-cyan);
  border-color: var(--da-cyan);
  color: var(--da-on-accent);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.block_make_submission .block_make_submission_link:hover,
.block_make_submission .block_make_submission_link:focus {
  background: var(--da-navy-hover) !important;
  border-color: var(--da-navy-hover) !important;
  color: var(--da-on-dark) !important;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control,
select.form-control,
textarea.form-control {
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--da-control-border);
  border-radius: var(--da-radius-sm);
  background: var(--da-surface);
  color: var(--da-text);
  box-shadow: none;
  transition:
    background-color var(--da-hover-duration) var(--da-hover-easing),
    border-color var(--da-hover-duration) var(--da-hover-easing),
    box-shadow var(--da-hover-duration) var(--da-hover-easing),
    color var(--da-hover-duration) var(--da-hover-easing);
}

textarea.form-control {
  min-height: 8rem;
}

.form-control:hover {
  border-color: var(--da-cyan-strong);
}

.form-control:focus {
  border-color: var(--da-cyan-strong);
  box-shadow: 0 0 0 3px var(--da-cyan-tint);
}

::placeholder {
  color: #6b7683;
  font-style: normal;
  opacity: 1;
}

label,
legend {
  color: var(--da-navy);
  font-weight: 600;
}

/*
 * Checkboxes: a clearly visible frame when empty (above 3:1 on white,
 * WCAG 1.4.11) and the dark primary colour with a white tick when checked;
 * the primary colour is always dark enough for white (brand colour check).
 */
.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 1.5px solid var(--da-text-muted);
  border-radius: 4px;
  background-color: var(--da-surface);
  cursor: pointer;
  transition: background-color var(--da-hover-duration) var(--da-hover-easing), border-color var(--da-hover-duration) var(--da-hover-easing);
}

.form-check-input:hover {
  border-color: var(--da-cyan);
}

/* Room between the box and its label; the box sits on the label's first line. */
.form-check {
  padding-left: 2rem;
}

.form-check .form-check-input {
  margin-top: 0.125rem;
  margin-left: -2rem;
}

/* Same specificity as the parent's black tick rule, which it replaces. */
.form-check-input:checked[type="checkbox"] {
  background-color: var(--da-navy);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
  border-color: var(--da-navy);
}

.form-check-input:checked[type="checkbox"]:hover {
  background-color: var(--da-navy-hover);
  border-color: var(--da-navy-hover);
}

@media (prefers-reduced-motion: reduce) {
  .form-check-input {
    transition: none;
  }
}

/* Homepage */

.homepage-announcement a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.homepage-announcements {
  margin-top: 2rem;
  margin-right: 0;
  margin-bottom: 2.25rem;
  margin-left: 0;
  row-gap: 1rem;
}

.homepage-announcements > .visually-hidden {
  position: static !important;
  flex: 0 0 100%;
  width: auto !important;
  height: auto !important;
  margin: 0;
  padding: 0 0 0 0.85rem !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  border: 0 !important;
  border-left: 4px solid var(--da-cyan) !important;
  white-space: normal !important;
  color: var(--da-navy);
  font-size: 1.25rem;
  font-weight: 700;
}

.homepage-announcement {
  padding: 1.25rem 1.5rem;
  background: var(--da-surface);
  border: 1px solid var(--da-border);
  border-left: 4px solid var(--da-cyan);
  border-radius: var(--da-radius);
  box-shadow: 0 6px 20px var(--da-shadow-color);
}

.homepage-announcement:only-of-type {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}

.homepage-announcement-title {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.homepage-announcement p {
  margin-bottom: 0.65rem;
}

.homepage-announcement p:empty,
.homepage-announcement br {
  display: none;
}

.homepage-announcement footer {
  margin-top: 0.6rem;
}

.homepage-announcement-date {
  color: var(--da-text-muted);
  font-size: 0.85rem;
}

.issue-toc-section-title {
  margin: 1.75rem 0 1rem;
  padding-left: 0.85rem;
  border-left: 4px solid var(--da-cyan);
  color: var(--da-navy);
  font-size: 1.25rem;
  font-weight: 700;
}

/* Shared issue and article summaries */

.article-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 2rem;
  margin: 0 0 1rem;
  padding: 1.45rem 1.6rem;
  background: var(--da-surface);
  border: 1px solid var(--da-border);
  border-left: 4px solid var(--da-border);
  border-radius: var(--da-radius-sm);
  transition:
    border-color var(--da-hover-duration) var(--da-hover-easing),
    box-shadow var(--da-hover-duration) var(--da-hover-easing),
    transform var(--da-hover-duration) var(--da-hover-easing);
}

.article-summary:hover,
.article-summary:focus-within {
  border-color: var(--da-cyan-line-strong);
  border-left-color: var(--da-cyan);
  box-shadow: var(--da-shadow);
  transform: translateY(-1px);
}

.article-summary > :not(.article-summary-galleys) {
  grid-column: 1;
}

.article-summary-title {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.4;
}

.article-summary-title a {
  color: var(--da-navy);
  font-weight: 700;
  text-decoration-color: transparent;
  transition:
    color var(--da-hover-duration) var(--da-hover-easing),
    text-decoration-color var(--da-hover-duration) var(--da-hover-easing);
}

.article-summary-title a:hover,
.article-summary-title a:focus-visible {
  color: var(--da-cyan-strong);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}

.article-summary-authors,
.article-summary-pages,
.article-summary-doi,
.article-summary-date {
  color: var(--da-text-muted);
  font-size: 0.9rem;
}

.article-summary-authors {
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.article-summary-galleys {
  grid-column: 2;
  grid-row: 1 / span 8;
  align-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0;
}

.article-summary-galleys .btn,
.article-details-galley .btn {
  min-width: 64px;
  background: var(--da-cyan);
  border-color: var(--da-cyan);
  color: var(--da-on-accent);
}

/* Issue contents: optional image, compact metadata, stacked galley links. */
.page-issue {
  --dla-issue-card-inline-padding: 24px;
}

.page-issue .issue-toc {
  display: grid;
  gap: 10px;
}

.page-issue .issue-toc-section {
  margin: 0;
  padding: 1.25rem;
  padding-inline: var(--dla-issue-card-inline-padding);
  background: var(--da-surface);
  border: 1px solid var(--da-border);
  border-radius: var(--da-radius-sm);
  box-shadow: none;
}

.page-issue .issue-toc-section:not(:has(.article-summary)) {
  display: none;
}

.page-issue .issue-toc-section-title {
  margin: 0 0 1rem;
  padding: 0 0 0.5rem;
  border-left: 0;
  border-bottom: 1px solid var(--da-border);
  color: var(--da-navy);
  font-family: "PT Serif", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.35;
}

.page-issue .issue-toc-section > .article-summary {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.page-issue .issue-toc-section > .article-summary + .article-summary {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--da-border);
}

.page-issue .article-summary {
  column-gap: 1.25rem;
}

.page-issue .article-summary--with-cover {
  --dla-issue-article-cover-width: 9.4875rem;
  grid-template-columns: var(--dla-issue-article-cover-width) minmax(0, 1fr) auto;
  align-items: start;
}

.page-issue .article-summary > .dla-issue-article-copy {
  min-width: 0;
}

.page-issue .article-summary--with-cover > .dla-issue-article-copy {
  grid-column: 2;
  grid-row: 1;
}

.page-issue .article-summary > .dla-issue-article-cover {
  grid-column: 1;
  grid-row: 1;
  width: var(--dla-issue-article-cover-width);
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--da-radius-sm);
}

.page-issue .article-summary-title {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.35;
}

.page-issue .dla-issue-article-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  margin: 0.4rem 0 0;
  color: var(--da-text-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.page-issue .article-summary-authors {
  font-size: 13px;
  font-weight: 400;
}

.page-issue .article-summary-galleys {
  grid-row: 1;
  flex-direction: column;
  flex-wrap: nowrap;
}

.page-issue .article-summary--with-cover > .article-summary-galleys {
  grid-column: 3;
}

.page-issue .article-summary-galleys .btn {
  min-width: 4rem;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .page-issue .article-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .page-issue .article-summary--with-cover {
    --dla-issue-article-cover-width: 6.325rem;
    grid-template-columns: var(--dla-issue-article-cover-width) minmax(0, 1fr);
  }

  .page-issue .article-summary-galleys {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin-top: 0;
  }

  .page-issue .article-summary--with-cover > .article-summary-galleys {
    grid-column: 2;
    grid-row: 2;
  }
}

/* Issue detail and archive */

.page-issue-details {
  align-items: center;
  flex-direction: row-reverse;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--da-surface-tint) 0%, var(--da-surface-muted) 100%);
  border: 1px solid var(--da-border);
  border-top: 5px solid var(--da-navy-hover);
  border-radius: var(--da-radius);
  box-shadow: var(--da-shadow);
}

.page-issue-header {
  margin-bottom: 1.25rem;
  text-align: left;
}

.page-issue-header h1 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.65rem, 2.5vw, 1.9rem);
}

.page-issue-description-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0;
  background: transparent;
}

.page-issue-description .h2 {
  color: var(--da-navy);
  font-size: 1.65rem;
  font-weight: 700;
  text-align: left;
}

.page-issue-cover {
  margin: auto;
  border-radius: 4px;
  box-shadow: 0 14px 28px var(--da-shadow-color-strong);
}

.page-issue-date,
.page-issue-doi,
.page-issue-doi a {
  color: var(--da-text-muted);
}

/* The issue identification is part of the cover card, not a separate page band. */
.page-issue .page-issue-details--unified {
  align-items: flex-start;
  border-top: 1px solid var(--da-border);
  border-left: 3px solid var(--da-cyan);
  padding-inline: var(--dla-issue-card-inline-padding);
  margin-top: 15px;
  margin-right: 0;
  margin-bottom: 10px;
  margin-left: 0;
  box-shadow: none;
}

.page-issue-details--unified > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

/* Fit the cover column to the image instead of reserving a quarter of the card. */
@media (min-width: 992px) {
  .page-issue .page-issue-details--unified {
    display: grid;
    padding-block: 30px;
    grid-template-columns: 210px minmax(0, 1fr);
    column-gap: 24px;
  }

  .page-issue-details--unified > [class*="col-"] {
    min-width: 0;
    width: 100%;
  }

  .page-issue-details--unified > .col-lg-3 {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
  }

  .page-issue-details--unified > .col-lg-9 {
    grid-column: 2;
    grid-row: 1;
    max-width: none;
  }

  .page-issue-details--unified > .col-12 {
    grid-column: 1 / -1;
    max-width: none;
  }

  .page-issue-details--unified .page-issue-cover {
    width: 100%;
  }
}

.page-issue .dla-issue-contents {
  margin: 0;
}

.page-issue .dla-issue-contents > .col-12 {
  padding-right: 0;
  padding-left: 0;
}

.page-issue-details--unified .page-issue-cover {
  margin-left: 0;
  margin-right: auto;
  box-shadow: none;
}

.page-issue-details--unified .page-issue-description-wrapper {
  display: block;
}

.page-issue-details--unified .page-issue-header {
  margin-top: 0;
  margin-bottom: 1rem;
}

.page-issue-details--unified .page-issue-header:last-child {
  margin-bottom: 0;
}

.page-issue-details--unified .page-issue-header h1 {
  overflow-wrap: anywhere;
}

.dla-issue-subtitle {
  margin: 0 0 0.55rem;
  color: var(--da-navy);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.page-issue-details--unified .page-issue-date,
.page-issue-details--unified .page-issue-doi {
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.page-issue-details--unified .page-issue-date {
  margin-top: 0;
}

.page-issue-details--unified .page-issue-doi {
  margin-top: 0.5rem;
}

.page-issue-details--unified .page-issue-description > :last-child {
  margin-bottom: 0;
}

.page-issue > .row:not(.page-issue-details) > [class*="col-"] {
  flex: 0 0 100%;
  max-width: 100%;
}

.da-capabilities {
  padding: 2rem;
  background: linear-gradient(135deg, var(--da-navy) 0%, var(--da-navy-hover) 100%);
  border: 1px solid var(--da-cyan-line-strong);
  border-radius: var(--da-radius);
  box-shadow: var(--da-shadow);
  color: var(--da-on-dark);
}

.da-capabilities h2 {
  margin: 0 0 0.65rem;
  color: var(--da-on-dark);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

.dla-additional .da-capabilities-intro,
.dla-additional .da-capabilities-note {
  color: var(--da-on-dark-muted);
}

.da-capabilities-intro {
  max-width: 76ch;
  margin-bottom: 1.4rem;
}

.da-capabilities ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.da-capabilities li {
  padding: 1rem;
  background: var(--da-on-dark-fill);
  border: 1px solid var(--da-on-dark-line);
  border-radius: var(--da-radius-sm);
  color: var(--da-on-dark-muted);
}

.da-capabilities li strong,
.da-capabilities li span {
  display: block;
}

.da-capabilities li strong {
  margin-bottom: 0.35rem;
  color: var(--da-cyan);
  font-size: 1rem;
}

.da-capabilities li span {
  color: var(--da-on-dark-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.dla-additional .da-capabilities-note {
  margin: 1.4rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--da-on-dark-line);
  font-size: 0.88rem;
}

.page-archives {
  padding-bottom: 4rem;
}

.page-archives-header {
  text-align: center;
}

.page-archives > .row {
  justify-content: center !important;
  margin-right: 0;
  margin-left: 0;
  column-gap: 1.5rem;
  row-gap: 1.5rem;
}

.page-archives > .row > [class*="col-"]:empty {
  display: none;
}

.page-archives > .row > [class*="col-"]:not(:empty) {
  flex: 0 1 300px;
  width: 100%;
  max-width: 300px;
  padding: 0;
}

.page-archives .issue-summary {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 0;
  padding: 0;
  overflow: hidden;
  background: var(--da-surface);
  border: 1px solid var(--da-border);
  border-top: 4px solid var(--da-navy-hover);
  border-radius: var(--da-radius);
  box-shadow: 0 6px 20px var(--da-shadow-color);
  text-align: center;
  transition:
    border-color var(--da-hover-duration) var(--da-hover-easing),
    box-shadow var(--da-hover-duration) var(--da-hover-easing),
    transform var(--da-hover-duration) var(--da-hover-easing);
}

.page-archives .issue-summary:hover,
.page-archives .issue-summary:focus-within {
  border-color: var(--da-cyan-line-strong);
  box-shadow: var(--da-shadow);
  transform: translateY(-2px);
}

.page-archives .issue-summary > a:first-child {
  display: block;
  padding: 1rem;
  background: linear-gradient(135deg, var(--da-surface-tint) 0%, var(--da-surface-muted) 100%);
}

.page-archives .issue-summary .card-body {
  display: flex;
  flex: 1;
  align-items: center;
  flex-direction: column;
  padding: 1.15rem 1.25rem 1.25rem;
}

.issue-summary-cover {
  display: block;
  width: 100%;
  margin-inline: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 10px 24px var(--da-shadow-color-strong);
}

.issue-summary-series {
  margin: 0 0 0.65rem;
  font-size: 1.12rem;
  line-height: 1.35;
}

.issue-summary-series a {
  color: var(--da-navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--da-cyan-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition:
    color var(--da-hover-duration) var(--da-hover-easing),
    text-decoration-color var(--da-hover-duration) var(--da-hover-easing);
}

.issue-summary-series a:hover,
.issue-summary-series a:focus-visible {
  color: var(--da-cyan-strong);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}

.page-archives .issue-summary .card-text {
  display: flex;
  flex: 1;
  align-items: center;
  flex-direction: column;
  width: 100%;
  margin: 0;
}

.issue-summary-title {
  order: -1;
  margin: 0 0 0.35rem;
  color: var(--da-navy);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.issue-summary-date {
  margin: auto 0 0;
  color: var(--da-text-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.page-archives .issue-summary:not(:has(.issue-summary-cover)) {
  min-height: 260px;
  background: linear-gradient(135deg, var(--da-surface-tint) 0%, var(--da-surface) 100%);
}

.page-archives .issue-summary:not(:has(.issue-summary-cover)) .card-body {
  justify-content: flex-end;
}

/* Article detail */

.article-details > .page-header {
  margin-top: 2rem;
  margin-right: 0;
  margin-bottom: 2rem;
  margin-left: 0;
  padding-left: 1.25rem;
  border-left: 4px solid var(--da-cyan);
  text-align: left;
}

.article-details h1 {
  max-width: none;
  color: var(--da-navy);
  font-size: clamp(1.5rem, 2.3vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
}

.article-details-issue-identifier a {
  color: var(--da-navy);
  font-weight: 700;
  text-decoration-color: var(--da-cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.article-details-issue-identifier,
.article-details-issue-section,
.article-details-doi,
.article-details-published,
.article-details-author-affiliation {
  color: var(--da-text-muted);
}

.article-details-issue-section.large-screen {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  margin-top: 0.65rem;
  padding: 0.25rem 0.65rem;
  background: var(--da-cyan-tint);
  border: 1px solid var(--da-cyan-line);
  border-radius: 999px;
  color: var(--da-cyan-strong);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.article-details-published {
  margin-top: 0.65rem;
}

.article-details .dla-article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  order: 1;
}

.dla-article-hero-meta .article-details-issue-identifier,
.dla-article-hero-meta .article-details-published {
  margin: 0;
}

.dla-article-hero-meta > div {
  position: relative;
}

.dla-article-hero-meta > div + div::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(-0.5rem - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--da-navy);
  transform: translateY(-50%);
}

.article-details .dla-article-hero-type {
  margin: 0;
  padding: 0.15rem 0.55rem;
  border: 1px solid var(--da-cyan-line);
  border-radius: 999px;
  background: var(--da-cyan-tint);
  color: var(--da-cyan-strong);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.025em;
}

.dla-article-hero-meta .article-details-published {
  font-size: 0.8rem;
  line-height: 1.5;
}

.article-details .dla-article-hero-doi {
  order: 3;
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.article-details .article-meta-mobile > .article-details-fulltitle {
  order: 2;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.article-details .article-meta-mobile > .authors-string,
.article-details .article-meta-mobile > .article-details-authors {
  order: 4;
}

.article-details .dla-article-hero-galleys {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  order: 5;
  margin-top: 0.75rem;
}

.dla-article-hero-galleys .article-details-galley {
  margin: 0;
}

.dla-article-hero-galleys .btn,
.page-issue .article-summary-galleys .btn {
  min-height: 36px;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
}

.authors-string {
  color: var(--da-navy);
  font-weight: 600;
}

.authors-string .author-string-href {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  text-decoration-color: var(--da-cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.article-details .authors-string .author-string-href {
  text-decoration: none;
}

/* Keep both symbols in the DOM for the parent theme's author toggle handler. */
.article-details .authors-string .author-minus {
  display: none !important;
}

.article-details .authors-string .author-plus {
  display: inline !important;
}

.article-details-main {
  display: flex;
  flex-direction: column;
  background: var(--da-surface-muted);
  border: 1px solid var(--da-border);
  border-radius: var(--da-radius);
  box-shadow: var(--da-shadow);
}

.article-details-main .article-details-heading,
.article-details-main .item > .label {
  color: var(--da-navy);
  font-weight: 700;
}

.article-details-main .article-details-heading {
  padding-left: 0.75rem;
  border-left: 3px solid var(--da-cyan);
}

.article-details-main > .article-details-block {
  margin-bottom: 2.5rem;
}

.article-details-sidebar > .dla-other-articles {
  margin-bottom: 10px;
  padding: 1.15rem;
  background: var(--da-surface);
  border: 1px solid var(--da-border);
  border-radius: var(--da-radius-sm);
}

.article-details-sidebar > .article-details-block {
  margin-bottom: 10px;
}

.dla-other-articles-list {
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.dla-other-articles-list li + li {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--da-border);
}

.article-details .dla-other-articles-list a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  color: var(--da-navy);
  font-family: "PT Serif", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.dla-other-articles-all {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--da-cyan-strong);
  font-weight: 700;
  text-decoration: underline;
}

.dla-other-articles-list a:hover,
.dla-other-articles-all:hover {
  color: var(--da-cyan-strong);
}

.dla-other-articles-list a:hover,
.dla-other-articles-list a:focus {
  text-decoration: none;
}

.dla-other-articles-list a,
.dla-other-articles-all {
  transition: color var(--da-hover-duration) var(--da-hover-easing);
}

.dla-other-articles-list a:focus-visible,
.dla-other-articles-all:focus-visible {
  outline: 2px solid var(--da-cyan-strong);
  outline-offset: 3px;
}

.article-details-how-to-cite-citation {
  max-width: 76ch;
}

.article-details-abstract,
.article-details-references-value {
  max-width: none;
}

.article-details-abstract {
  line-height: 1.8;
}

.article-details-galleys:not(.article-details-galleys-supplementary) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.article-details-galleys:not(.article-details-galleys-supplementary) .btn {
  min-height: 44px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
}

.article-details-keywords-value {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.article-details-keywords-value br {
  display: none;
}

.article-details-keywords-value span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.3rem 0.65rem;
  background: var(--da-surface-muted);
  border: 1px solid var(--da-border);
  border-radius: 999px;
  color: var(--da-navy);
  font-size: 0.82rem;
  line-height: 1.25;
}

.article-details-keywords-value span:not(:last-child)::after {
  content: none;
}

.article-details-how-to-cite .dropdown {
  display: inline-block;
  max-width: 100%;
}

#cslCitationFormatsButton {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0.5rem;
}

#cslCitationFormatsButton[aria-expanded="true"] {
  background: var(--da-surface-muted);
  border-color: var(--da-cyan);
  color: var(--da-navy);
  transform: none;
}

.article-details-how-to-cite .dropdown-menu {
  width: max-content;
  min-width: 100%;
  max-width: min(20rem, calc(100vw - 2rem));
  max-height: min(24rem, calc(100vh - 2rem));
  padding: 0.5rem;
  overflow-y: auto;
  background: var(--da-surface);
  border: 1px solid var(--da-border);
  border-radius: var(--da-radius-sm);
  box-shadow: var(--da-shadow);
  color: var(--da-text);
}

.article-details-how-to-cite a.dropdown-item {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--da-navy);
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

.article-details-how-to-cite a.dropdown-item:hover,
.article-details-how-to-cite a.dropdown-item:focus {
  background: var(--da-cyan-tint);
  border-color: var(--da-cyan-line);
  color: var(--da-navy);
  outline: 0;
  text-decoration: none;
}

.article-details-how-to-cite a.dropdown-item:focus-visible {
  outline: 3px solid var(--da-focus);
  outline-offset: -2px;
}

.article-details-how-to-cite .dropdown-header {
  margin: 0.4rem 0 0;
  padding: 0.75rem 0.75rem 0.35rem;
  border-top: 1px solid var(--da-border);
  color: var(--da-text-muted);
  font-family: "Fira Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.article-details-how-to-cite-citation {
  padding: 0.85rem;
  background: var(--da-surface-muted);
  border-left: 3px solid var(--da-cyan);
  border-radius: 0 var(--da-radius-sm) var(--da-radius-sm) 0;
  overflow-wrap: anywhere;
}

.article-details-references-value {
  font-size: 0.95rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.article-details-references-value p {
  margin-bottom: 1rem;
}

.article-details-galleys-supplementary .article-details-galley {
  margin-right: 0.65rem;
  margin-bottom: 0.65rem;
}

/* PDF viewer */

.pdf-header {
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 64px;
  padding: 0.5rem 1rem;
  background: var(--da-surface);
  border-bottom: 3px solid var(--da-cyan);
  box-shadow: 0 4px 16px var(--da-shadow-color-strong);
}

.pdf-return-article {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
}

.pdf-return-article .btn {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-download-button {
  flex: 0 0 auto;
  max-width: none;
}

.pdf-download-button .btn {
  min-height: 44px;
  padding: 0.6rem 0.85rem;
  white-space: nowrap;
}

/* Search, pagination and alerts */

.page-search > .page-header {
  margin-bottom: 1.5rem;
}

.page-search > .page-header h1 {
  overflow-wrap: anywhere;
}

.page-search .search-col-filters {
  margin-bottom: 2rem;
}

.page-search .search-filters {
  padding: 1.75rem;
  background: linear-gradient(180deg, var(--da-surface) 0%, var(--da-surface-muted) 100%);
  border: 1px solid var(--da-border);
  border-top: 4px solid var(--da-cyan);
  border-radius: var(--da-radius);
  box-shadow: 0 8px 24px var(--da-shadow-color);
}

.page-search .search-filters h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--da-border);
  color: var(--da-navy);
  font-size: 1.3rem;
  font-weight: 700;
}

.page-search .form-group {
  margin-bottom: 1.15rem;
}

.page-search .form-group label {
  margin-bottom: 0.4rem;
  color: var(--da-navy);
  font-size: 0.9rem;
  font-weight: 700;
}

.page-search .form-control {
  min-height: 44px;
  background: var(--da-surface);
  border-color: var(--da-control-border);
  border-radius: 0.55rem;
  transition:
    background-color var(--da-hover-duration) var(--da-hover-easing),
    border-color var(--da-hover-duration) var(--da-hover-easing),
    box-shadow var(--da-hover-duration) var(--da-hover-easing);
}

.page-search .form-control:hover {
  border-color: var(--da-cyan-strong);
}

.page-search .form-group-query {
  margin-bottom: 1.35rem;
  padding: 1rem;
  background: var(--da-cyan-tint);
  border: 1px solid var(--da-cyan-line);
  border-radius: var(--da-radius-sm);
}

.page-search .form-group-query label {
  color: var(--da-cyan-strong);
  font-size: 0.95rem;
}

.page-search .form-group-query .form-control {
  min-height: 52px;
  border-color: var(--da-cyan-line-strong);
  box-shadow: 0 4px 12px var(--da-shadow-color);
}

.page-search .form-group-authors {
  margin-bottom: 1.5rem;
}

.page-search .form-group-authors .form-control {
  min-height: 48px;
}

.page-search .form-group-date-from,
.page-search .form-group-date-to {
  margin-bottom: 0.9rem;
  padding: 0.9rem;
  background: var(--da-surface-muted);
  border: 1px solid var(--da-border);
  border-radius: var(--da-radius-sm);
}

.page-search .form-group-date-from {
  position: relative;
  margin-top: 1.75rem;
}

.page-search .form-group-date-from::before {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  left: 0;
  height: 1px;
  background: var(--da-border);
  content: "";
}

.page-search .form-group-date-from label,
.page-search .form-group-date-to label {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--da-cyan-strong);
  font-size: 0.78rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.page-search .form-control-date {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr) minmax(0, 0.75fr);
  column-gap: 0.875rem;
}

.page-search .form-control-date > select.form-control {
  margin-right: 0;
  margin-left: 0;
  min-width: 0;
  min-height: 48px;
  padding-right: 1.75rem;
  padding-left: 0.65rem;
}

.page-search .form-group-buttons {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.page-search .form-group-buttons .btn {
  width: 100%;
  min-height: 46px;
  font-weight: 700;
}

.page-search .search-results > .alert {
  margin: 0;
  padding: 1.15rem 1.25rem;
  background: var(--da-cyan-tint);
  border: 1px solid var(--da-cyan-line);
  border-left: 4px solid var(--da-cyan);
  border-radius: var(--da-radius-sm);
  color: var(--da-navy);
  font-weight: 600;
}

.page-search .search-results .article-summary {
  margin-bottom: 1rem;
  padding: 1.5rem;
  border-left-color: var(--da-cyan);
}

.page-search .search-results .article-summary-title {
  margin-top: 0.35rem;
}

.page-search .search-results .article-summary-title a {
  text-decoration-color: var(--da-cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.page-search .search-results .article-summary-date {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  margin-top: 0.65rem;
  padding: 0.2rem 0.55rem;
  background: var(--da-surface-muted);
  border: 1px solid var(--da-border);
  border-radius: 999px;
}

.page-search .search-results .pagination {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--da-border);
}

.pagination,
.page-search .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.page-link,
.page-search .pagination a,
.page-search .pagination strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  border: 1px solid var(--da-border);
  border-radius: var(--da-radius-sm);
}

.page-item.active .page-link,
.page-search .pagination strong {
  background: var(--da-navy);
  border-color: var(--da-navy);
  color: var(--da-on-dark);
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--da-radius-sm);
}

/* Login, registration and account forms */

.page-login .page-content,
.page-register .page-content,
.page-lost-password .page-content,
.page-register-complete .page-content {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  padding: 2rem;
  background: var(--da-surface);
  border: 1px solid var(--da-border);
  border-radius: var(--da-radius);
  box-shadow: var(--da-shadow);
}

.form-login .form-group-buttons,
.form-register .form-group-buttons {
  margin-top: 2rem;
}

.form-register fieldset {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--da-border);
  border-radius: var(--da-radius-sm);
}

.form-register legend {
  width: auto;
  margin: 0 0 1rem;
  padding: 0 0.4rem;
  font-size: 1.2rem;
  text-transform: none;
}

/*
 * Simplified registration (Digilayf Journal Flow plugin, İP-5): four fields
 * in one narrow block. Its fieldsets only group fields for assistive
 * technology (hidden legends), so they get no frame of their own. The login
 * page has the same width, so moving between the two keeps the layout.
 */
.page-register.dla-register .page-content,
.page-login .page-content {
  max-width: 520px;
}

.dla-register .form-register fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.dla-register .form-register .form-group {
  margin-bottom: 1.25rem;
}

.dla-register .form-register .consent {
  margin-top: 0.25rem;
}

.dla-register .form-register .form-group-buttons {
  margin-top: 1.5rem;
}

.dla-register .form-register .form-group-buttons .btn,
.page-login .form-login .form-group-buttons .btn {
  width: 100%;
}

.dla-register .form-register .form-group-login,
.page-login .form-login .form-group-register {
  margin: 1rem 0 0;
  text-align: center;
}

/* Announcements and footer */

.page-announcement .page-content,
.page-announcement-content {
  padding: 1.75rem;
  background: var(--da-surface);
  border: 1px solid var(--da-border);
  border-radius: var(--da-radius);
  box-shadow: var(--da-shadow);
}

.announcement-summary h2 {
  font-size: clamp(1.25rem, 2vw, 1.4rem);
  line-height: 1.35;
}

.site-footer {
  margin-top: 4rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  background: var(--da-navy);
  color: var(--da-on-dark);
}

.site-footer .title {
  color: var(--da-on-dark);
  font-size: 1.25rem;
  font-weight: 700;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--da-on-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer-sidebar {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom-color: var(--da-on-dark-line);
}

/* Replace the legacy feed badges with the accessible footer RSS action. */
.site-footer .block_web_feed {
  display: none;
}

.site-footer-sidebar:not(:has(.pkp_block:not(.block_web_feed))) {
  display: none;
}

.site-footer-content > .row > .col-md {
  flex: 0 0 100%;
  max-width: 100%;
}

.site-footer .custom-footer-container {
  width: 100%;
}

.site-footer .da-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.site-footer .da-footer-section,
.site-footer .da-footer-rss-card {
  min-width: 0;
}

.site-footer .da-footer-brand,
.site-footer .da-footer-heading {
  margin: 0 0 0.65rem;
  color: var(--da-on-dark);
  font-weight: 700;
  line-height: 1.3;
}

.site-footer .da-footer-brand {
  font-family: "PT Serif", Georgia, serif;
  font-size: 1.35rem;
}

.site-footer .da-footer-heading {
  font-size: 1rem;
}

.site-footer .da-footer-copy {
  max-width: 40rem;
  margin: 0;
  color: var(--da-on-dark-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.site-footer .da-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .da-footer-links li + li {
  margin-top: 0.1rem;
}

.site-footer .da-footer-links a {
  color: var(--da-on-dark-muted);
  font-size: 0.92rem;
  text-decoration-color: var(--da-on-dark-line-strong);
}

.site-footer .da-footer-links a:hover,
.site-footer .da-footer-links a:focus {
  color: var(--da-on-dark);
  text-decoration-color: var(--da-cyan);
}

.site-footer .da-footer-rss-card {
  padding: 1rem;
  background: var(--da-on-dark-fill);
  border: 1px solid var(--da-on-dark-line);
  border-radius: var(--da-radius-sm);
}

.site-footer .da-footer-rss-card .da-footer-copy {
  margin-bottom: 0.8rem;
  font-size: 0.86rem;
}

.site-footer .da-footer-rss {
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  background: var(--da-cyan-tint);
  border: 1px solid var(--da-cyan-line-strong);
  border-radius: 0.4rem;
  color: var(--da-on-dark);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.site-footer .da-footer-rss:hover,
.site-footer .da-footer-rss:focus {
  background: var(--da-cyan);
  border-color: var(--da-cyan);
  color: var(--da-on-accent);
  text-decoration: none;
}

@media (min-width: 768px) {
  .site-footer .da-footer-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 1.75rem 2rem;
  }
}

@media (min-width: 992px) {
  .site-footer .da-footer-grid {
    grid-template-columns:
      minmax(0, 1.7fr)
      minmax(9rem, 0.8fr)
      minmax(9rem, 0.9fr)
      minmax(14rem, 1.15fr);
    gap: 2rem;
  }
}

/*
 * Footer row (reference faz1dizayn.jpeg): brand, link columns, then social
 * icons, language, copyright and legal links. Stacks on narrow screens.
 */
.site-footer .dla-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
  color: var(--da-on-dark);
  font-size: 0.9375rem;
}

.site-footer .site-footer-content + .dla-footer-main {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--da-on-dark-line);
}

/* Low specificity, so the spacing set on single footer lines below applies. */
.site-footer .dla-footer-main :where(p) {
  margin: 0;
}

.site-footer .dla-footer-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-footer a.dla-footer-logo {
  flex: none;
  min-height: 0;
}

.site-footer .dla-footer-logo img {
  display: block;
  width: auto;
  height: 3.5rem;
}

.site-footer .dla-footer-logo + .dla-footer-identity {
  padding-left: 1.25rem;
  border-left: 1px solid var(--da-on-dark-line-strong);
}

.site-footer .dla-footer-name {
  font-size: 1.0625rem;
  font-weight: 600;
}

.site-footer .dla-footer-tagline {
  margin-top: 0.25rem;
  color: var(--da-on-dark-muted);
}

.site-footer .dla-footer-nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 2.5rem;
  column-rule: 1px solid var(--da-on-dark-line-strong);
}

.site-footer .dla-footer-nav-list li {
  break-inside: avoid;
}

.site-footer .dla-footer-nav-list a,
.site-footer .dla-footer-legal-list a {
  text-decoration: none;
}

.site-footer .dla-footer-nav-list a:hover,
.site-footer .dla-footer-nav-list a:focus,
.site-footer .dla-footer-legal-list a:hover,
.site-footer .dla-footer-legal-list a:focus {
  text-decoration: underline;
}

.site-footer .dla-footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.site-footer .dla-footer-social {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a.dla-footer-social-link {
  justify-content: center;
  min-width: 44px;
  border-radius: var(--da-radius-sm);
}

.site-footer a.dla-footer-social-link:hover,
.site-footer a.dla-footer-social-link:focus {
  background: var(--da-on-dark-fill);
}

.site-footer .dla-social-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.site-footer .dla-footer-social + .dla-footer-lang {
  padding-left: 1rem;
  border-left: 1px solid var(--da-on-dark-line-strong);
}

.site-footer .dla-footer-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 0.5rem;
  border: 0;
  border-radius: var(--da-radius-sm);
  background: transparent;
  color: var(--da-on-dark);
  font: inherit;
}

.site-footer .dla-footer-lang-toggle:hover,
.site-footer .dla-footer-lang-toggle:focus-visible {
  background: var(--da-on-dark-fill);
}

/* Same menu surface as the header's language and user menus. */
.site-footer .dla-footer-lang .dropdown-menu {
  min-width: 10rem;
  padding: 0.5rem;
  background: var(--da-surface);
  border: 1px solid var(--da-border);
  border-radius: var(--da-radius-sm);
  box-shadow: var(--da-shadow);
}

.site-footer .dla-footer-lang .dropdown-item {
  display: flex;
  min-height: 44px;
  align-items: center;
  border-radius: var(--da-radius-sm);
  background: transparent;
  color: var(--da-text);
  text-decoration: none;
}

.site-footer .dla-footer-lang .dropdown-item.active {
  font-weight: 700;
}

.site-footer .dla-footer-lang a.dropdown-item:hover,
.site-footer .dla-footer-lang a.dropdown-item:focus {
  background: var(--da-cyan);
  color: var(--da-on-accent);
}

.site-footer .dla-footer-copyright {
  margin-top: 1.125rem;
  color: var(--da-on-dark-muted);
  font-size: 0.8125rem;
}

.site-footer .dla-footer-legal-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
}

.site-footer .dla-footer-legal-list a {
  color: var(--da-on-dark-muted);
  text-decoration: underline;
}

.site-footer .dla-footer-legal-list a:hover,
.site-footer .dla-footer-legal-list a:focus {
  color: var(--da-on-dark);
}

.site-footer .dla-footer-legal-list li + li::before {
  content: "|";
  margin: 0 0.6rem;
  color: var(--da-on-dark-line-strong);
}

@media (max-width: 575px) {
  .site-footer .dla-footer-brand {
    gap: 1rem;
  }

  .site-footer .dla-footer-logo img {
    height: 2.5rem;
  }

  .site-footer .dla-footer-logo + .dla-footer-identity {
    padding-left: 1rem;
  }
}

@media (min-width: 768px) {
  .site-footer .dla-footer-main {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  /* Pointer layouts: a compact list as in the reference; targets stay above 24px (WCAG 2.5.8). */
  .site-footer .dla-footer-nav-list a {
    min-height: 1.75rem;
  }

  .site-footer .dla-footer-legal-list a {
    min-height: 1.5rem;
  }

  .site-footer .dla-footer-meta {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1200px) {
  .site-footer .dla-footer-main {
    grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1fr);
    gap: 2.5rem;
  }

  .site-footer .dla-footer-meta {
    grid-column: auto;
    justify-self: end;
  }
}

.pkp_block {
  padding: 0.75rem 1rem;
}

/* Desktop navigation and layouts */

@media (min-width: 768px) {
  .homepage-announcements {
    margin-top: 1rem;
    margin-bottom: 1.25rem;
  }

  .homepage-announcement:only-of-type {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 2rem;
    align-items: start;
  }

  .homepage-announcement:only-of-type .homepage-announcement-title {
    grid-column: 1;
    grid-row: 1;
    margin-top: 0 !important;
  }

  .homepage-announcement:only-of-type > p:not(:empty) {
    grid-column: 1;
    grid-row: 2;
    display: block;
    margin-top: 0;
    margin-bottom: 0;
  }

  .homepage-announcement:only-of-type > a {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    justify-self: end;
    width: auto;
  }

  .homepage-announcement:only-of-type footer {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
    white-space: nowrap;
  }
}

@media (min-width: 992px) {
  .main-header .container {
    display: grid;
    grid-template-columns: minmax(170px, 200px) minmax(0, 1fr);
    grid-template-areas: "logo navigation";
    align-items: end;
    column-gap: 0.75rem;
    padding: 1.25rem 1rem 0.55rem;
  }

  .navbar-logo {
    grid-area: logo;
    width: 100%;
    max-width: 200px;
    margin: 0;
    padding: 0;
    text-align: left;
  }

  .navbar-logo img {
    width: auto;
    max-width: 100%;
    max-height: 68px;
  }

  .navbar-logo a {
    justify-content: flex-start;
  }

  .navbar {
    grid-area: navigation;
    min-width: 0;
    padding: 0;
  }

  .main-header .navbar-collapse {
    justify-content: center !important;
  }

  .navbar-brand {
    display: none;
  }

  /* Wrap instead of overflowing when managers add many or long menu items. */
  #primaryNav {
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
    gap: 0 0.65rem;
    padding: 0;
  }

  /* Keep the content navigation grouped at the end of the header row. */
  #primaryNav > .nav-item:first-child {
    margin-left: auto;
  }

  #primaryNav .nav-link {
    box-sizing: border-box;
    min-height: 48px;
    max-width: 18rem;
    white-space: normal;
    padding: 0.7rem 0.75rem;
    border: 0;
    border-bottom: 3px solid transparent;
    color: var(--da-on-dark);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: none;
  }

  /* Keep the accessible link name while using a compact search icon on desktop. */
  #primaryNav .nav-link[href*="/search"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    padding-right: 0.65rem;
    padding-left: 0.65rem;
    overflow: hidden;
    font-size: 0;
  }

  #primaryNav .nav-link[href*="/search"]::before {
    width: 1.1rem;
    height: 1.1rem;
    background-color: currentColor;
    content: "";
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 4a6 6 0 1 0 0 12 6 6 0 0 0 0-12Zm-8 6a8 8 0 1 1 14.32 4.906l5.387 5.387-1.414 1.414-5.387-5.387A8 8 0 0 1 2 10Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 4a6 6 0 1 0 0 12 6 6 0 0 0 0-12Zm-8 6a8 8 0 1 1 14.32 4.906l5.387 5.387-1.414 1.414-5.387-5.387A8 8 0 0 1 2 10Z'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  #primaryNav .nav-link:hover,
  #primaryNav .nav-link:focus,
  #primaryNav .show > .nav-link,
  #primaryNav .active > .nav-link,
  #primaryNav .nav-link[aria-current="page"] {
    background: transparent;
    border-bottom-color: var(--da-cyan);
    color: var(--da-on-dark);
  }

  body:has(.page-archives) #primaryNav .nmi_type_archives > .nav-link,
  body:has(.page-announcement) #primaryNav .nmi_type_announcements > .nav-link,
  body:has(.page-about, .page-masthead, .page-privacy, .page-contact) #primaryNav .nmi_type_about > .nav-link,
  body:has(.page-submissions) #primaryNav > .nmi_type_submissions > .nav-link,
  body:has(.page-submissions) #primaryNav:not(:has(> .nmi_type_submissions)) .nmi_type_about > .nav-link,
  body:has(.page-search) #primaryNav .nmi_type_search > .nav-link,
  body:has(.page-search) #primaryNav .dla-search > summary,
  #primaryNav .active > .nav-link,
  #primaryNav .nav-link[aria-current="page"] {
    background: transparent;
    border-bottom-color: var(--da-cyan);
    box-shadow: none;
  }

  #primaryNav .dropdown-menu.show {
    left: 50%;
    width: max-content;
    max-width: 100%;
    column-gap: 0.75rem;
    row-gap: 0.25rem;
    justify-content: center;
    padding: 0.75rem;
    background: var(--da-navy);
    border: 1px solid var(--da-cyan);
    border-top-width: 3px;
    border-radius: 0 0 var(--da-radius) var(--da-radius);
    box-shadow: var(--da-shadow);
    transform: translateX(-50%);
  }

  #primaryNav .dropdown-item {
    min-height: 44px;
    color: var(--da-on-dark);
    font-size: 0.95rem;
    text-transform: none;
  }

  #primaryNav .dropdown-item:hover,
  #primaryNav .dropdown-item:focus {
    background: var(--da-on-dark-fill);
    color: var(--da-on-dark);
  }

  .page-issue-details {
    padding: 2.5rem;
  }

  .article-details-main {
    position: relative;
    padding: 3rem 4rem;
  }

  .article-details-galleys.article-details-galleys-btm {
    position: absolute;
    top: 3rem;
    right: 4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
    margin: 0;
  }

  .article-details-main > .article-details-abstract .article-details-heading {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 1rem;
    padding-right: 0;
  }

  .article-details-galleys.article-details-galleys-sidebar {
    display: none;
  }

  .article-details-sidebar > .article-details-block {
    margin-bottom: 10px;
    padding: 1.15rem;
    background: var(--da-surface);
    border: 1px solid var(--da-border);
    border-radius: var(--da-radius-sm);
    box-shadow: 0 6px 20px var(--da-shadow-color);
  }

  .article-details-sidebar > .article-details-cover {
    width: 100%;
    max-width: none;
    padding: 0;
    overflow: hidden;
  }

  .article-details-sidebar > .article-details-cover img {
    display: block;
    width: 100%;
    height: auto;
  }

  .article-details-sidebar .article-details-heading {
    margin-bottom: 0.75rem;
    color: var(--da-navy);
    font-size: 1rem;
    font-weight: 700;
  }

  .page-search .search-col-filters {
    flex: 0 0 37.5%;
    max-width: 37.5%;
    margin-bottom: 0;
  }

  .page-search .search-col-results {
    flex: 0 0 62.5%;
    max-width: 62.5%;
  }
}

/* Tablet and mobile */

@media (max-width: 991px) {
  .main-header .container {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .navbar {
    min-height: 72px;
    padding: 0.65rem 0;
  }

  .navbar-brand {
    width: 150px;
    max-width: calc(100% - 4.5rem);
    min-height: 48px;
    padding: 0.35rem 0;
  }

  .navbar-brand img {
    width: auto;
    max-width: 100%;
    max-height: 44px;
  }

  .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: var(--da-navy-hover);
    border: 1px solid var(--da-on-dark-line);
    border-radius: var(--da-radius);
    box-shadow: 0 12px 30px var(--da-shadow-color-strong);
  }

  .navbar-nav .nav-link,
  .navbar-nav .dropdown-item,
  #languageSmallNav .btn {
    width: 100%;
  }

  .navbar-nav .dropdown-menu {
    padding-left: 0.75rem;
  }

  .page-issue-details {
    margin-right: 0;
    margin-left: 0;
    padding: 1.5rem;
  }

  .page-issue-details {
    flex-direction: column-reverse;
  }

  .page-issue-cover {
    margin-bottom: 1.35rem;
  }

  .page-issue-description-wrapper {
    padding: 0;
  }

  .article-details-main {
    padding: 1.5rem;
  }

  .article-details > .page-header {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
  }

  .article-details-issue-section.large-screen {
    display: none;
  }

  .article-details-fulltitle {
    margin-top: 1.5rem;
    margin-bottom: 0.9rem;
  }

  .article-blocks-mobile > * {
    margin-top: 0;
    margin-bottom: 2rem;
  }

  .article-blocks-mobile > .article-details-abstract {
    padding: 1.25rem;
    background: var(--da-surface-muted);
    border: 1px solid var(--da-border);
    border-radius: var(--da-radius);
    box-shadow: 0 6px 20px var(--da-shadow-color);
  }

  .article-blocks-mobile > .article-details-abstract .article-details-heading,
  .article-blocks-mobile > .article-details-references .article-details-heading {
    padding-left: 0.75rem;
    border-left: 3px solid var(--da-cyan);
    color: var(--da-navy);
    font-weight: 700;
  }

  .article-details-galleys-sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .article-details-galleys.article-details-galleys-btm {
    display: none;
  }

  .article-details-how-to-cite .dropdown {
    display: block;
    width: 100%;
  }

  #cslCitationFormatsButton {
    justify-content: space-between;
    width: 100%;
  }

  .article-details-how-to-cite .dropdown-menu {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .page-search .search-col-filters {
    max-width: 100%;
    order: -1;
  }

  .page-search:has(#query[value]:not([value=""])) .search-col-results,
  .page-search:has(#authors[value]:not([value=""])) .search-col-results {
    order: -1;
  }

  .page-search:has(#query[value]:not([value=""])) .search-col-filters,
  .page-search:has(#authors[value]:not([value=""])) .search-col-filters {
    order: 0;
    margin-top: 2rem;
  }

  .da-capabilities ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .page-header {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
  }

  .page-issue-header {
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .page-content {
    padding-top: 2rem;
  }

  .article-details > .page-header {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    padding-left: 0.85rem;
  }

  .article-details h1 {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .article-details-fulltitle {
    margin-top: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .article-details-published {
    margin-top: 0.25rem;
    line-height: 1.5;
  }

  .article-blocks-mobile > * {
    margin-bottom: 1.5rem;
  }

  .article-blocks-mobile > .article-details-abstract {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .article-details-galleys-sidebar:not(.article-details-galleys-supplementary) {
    width: 100%;
  }

  .article-details-galleys-sidebar:not(.article-details-galleys-supplementary) .article-details-galley,
  .article-details-galleys-sidebar:not(.article-details-galleys-supplementary) .btn {
    width: 100%;
  }

  .page-issue-details {
    padding: 0.9rem;
  }

  .page-issue-details {
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .page-issue-cover {
    max-width: min(150px, 52vw);
    margin-bottom: 1rem;
  }

  .page-issue-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .page-issue-description > .h2 {
    margin-bottom: 0.6rem;
    font-size: 1.25rem;
    line-height: 1.35;
  }

  .page-issue-description > p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .homepage-announcements {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .homepage-announcement {
    padding: 1rem;
  }

  .homepage-announcement-title {
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
  }

  .homepage-announcement > p:not(:empty) {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .homepage-announcement footer {
    margin-top: 0.45rem;
  }

  .issue-toc-section-title {
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .da-capabilities {
    padding: 1.1rem;
  }

  .da-capabilities ul {
    grid-template-columns: 1fr;
  }

  .article-summary,
  .page-announcement .page-content,
  .page-announcement-content,
  .page-login .page-content,
  .page-register .page-content,
  .page-lost-password .page-content,
  .page-register-complete .page-content {
    padding: 1rem;
  }

  .article-summary {
    display: block;
    border-left-width: 3px;
  }

  .article-summary-galleys {
    margin-top: 1rem;
  }

  .page-archives .issue-summary {
    max-width: none;
  }

  .article-summary-galleys .btn,
  .article-details-galley .btn {
    min-width: 72px;
  }

  .site-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 420px) {
  .page-search .search-filters {
    padding: 1.25rem;
  }

  .page-search .form-group-query {
    padding: 0.85rem;
  }

  .page-search .form-group-date-from,
  .page-search .form-group-date-to {
    padding: 0.75rem;
  }

  .page-search .form-control-date {
    column-gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
