/* ============================================================
   Eldaghayes Premium — Design System (v2)
   Palette: Scholar Ink #0A2540 · Deep Navy #10375C · Gold #C9A227
            Ivory #FAF8F2 · Slate #5B6B7C · Link Blue #1B5FAA
   Type:    Source Serif 4 (headings) + Inter (body/UI)
   Spacing: 8pt scale · Container 1200px · Radius 8/12/20
   ============================================================ */

:root {
  --ink: #0A2540;
  --navy: #10375C;
  --gold: #C9A227;
  --gold-soft: #E3C567;
  --ivory: #FAF8F2;
  --slate: #5B6B7C;
  --line: #E4DFD3;
  --link: #1B5FAA;
  --white: #FFFFFF;
  --red: #B3261E;
  --green: #15803D;
  --shadow-rest: 0 1px 2px rgba(10, 37, 64, 0.08);
  --shadow-hover: 0 12px 32px rgba(10, 37, 64, 0.14);
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 20px;
  --container: 1200px;
  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Subject accents (muted academic tones) */
  --acc-veterinary: #2F6D5F;
  --acc-medical: #1B5FAA;
  --acc-agriculture: #567039;
  --acc-engineering: #9A5B26;
  --acc-ai: #4E5A8A;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; color: var(--ink); margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important; word-wrap: normal !important;
}
.skip-link {
  position: absolute; top: -48px; left: 12px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: 0 0 var(--radius-s) var(--radius-s); font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: #fff; }
.eldp-hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Layout primitives ---------- */
.eldp-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eldp-section { padding: 84px 0; background: var(--white); }
.eldp-section--muted { background: var(--ivory); }
.eldp-section--ink { background: var(--ink); color: #DCE6F2; }
.eldp-section--ink .eldp-h2, .eldp-section--ink h3 { color: #fff; }
.eldp-section--band { background: linear-gradient(120deg, var(--navy) 0%, var(--ink) 70%); color: #DCE6F2; }
.eldp-section--band .eldp-h2 { color: #fff; }
.eldp-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.eldp-section-head--center { flex-direction: column; align-items: center; text-align: center; margin-bottom: 44px; }
.eldp-section-sub { color: var(--slate); max-width: 640px; margin: 10px auto 0; }
.eldp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate);
  margin-bottom: 14px;
}
.eldp-eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--gold); flex-shrink: 0;
}
.eldp-eyebrow--gold { color: var(--gold); }
.eldp-eyebrow--gold::before { background: var(--gold-soft); }
.eldp-h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; letter-spacing: -0.01em; }

/* ---------- Buttons & links ---------- */
/* The hidden attribute must always win over the display: inline-flex of
   .eldp-btn — otherwise buttons hidden by scripts (e.g. "Show more
   reviewers" once every row is on screen) would stay visible. */
.eldp-btn[hidden] { display: none; }
.eldp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-s); border: 2px solid transparent;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.2;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  position: relative; overflow: hidden; text-decoration: none;
}
.eldp-btn--lg { padding: 14px 30px; font-size: 16px; }
.eldp-btn--primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.eldp-btn--primary::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transition: transform 0.5s ease;
}
.eldp-btn--primary:hover::after { transform: translateX(120%); }
.eldp-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(201, 162, 39, 0.35); color: var(--ink); }
.eldp-btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.eldp-btn--ghost:hover { background: var(--ink); color: #fff; }
.eldp-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.65); }
.eldp-btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.eldp-link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 14px; color: var(--link);
}
.eldp-link-arrow svg { transition: transform 0.2s ease; }
.eldp-link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; background: var(--white); }
.eldp-topbar {
  background: var(--ink); color: #B9C8DA; font-size: 12.5px; letter-spacing: 0.04em;
}
.eldp-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.eldp-topbar__note, .eldp-topbar__contact { margin: 0; }
.eldp-topbar__contact a { color: var(--gold-soft); }
.eldp-header-main {
  background: var(--white); border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.is-stuck .eldp-header-main { position: fixed; top: 0; left: 0; right: 0; box-shadow: var(--shadow-hover); animation: eldp-slide-down 0.28s ease; }
.site-header.is-stuck { height: 72px; }
@keyframes eldp-slide-down { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.eldp-header-main__inner { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; max-width: 1320px; }
.site-header.is-stuck .eldp-header-main__inner { padding-top: 10px; padding-bottom: 10px; }
.site-branding { flex-shrink: 0; }
.eldp-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.eldp-brand__mark { display: inline-flex; color: var(--gold); }
.eldp-brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.eldp-brand__text strong { font-family: var(--font-head); font-size: 19px; font-weight: 700; letter-spacing: 0.01em; }
.eldp-brand__text small { font-size: 10.5px; color: var(--slate); letter-spacing: 0.05em; text-transform: uppercase; }
/* Custom logo (Appearance → Customize → Site Identity). Heights are
 * capped so ANY uploaded logo always fits the header — normal, stuck
 * and mobile states — instead of rendering at its natural size. */
.site-branding .custom-logo-link { display: inline-flex; line-height: 0; }
.site-branding .custom-logo { display: block; width: auto; height: 64px; transition: height 0.2s ease; }
.site-header.is-stuck .site-branding .custom-logo { height: 44px; }
@media (max-width: 900px) {
  .site-branding .custom-logo { height: 50px; }
  .site-header.is-stuck .site-branding .custom-logo { height: 40px; }
}

.main-navigation { margin-left: auto; }
.eldp-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.eldp-menu .menu-item { position: relative; }
.eldp-menu .menu-item > a {
  display: flex; align-items: center; gap: 7px; padding: 10px 10px; color: var(--ink);
  font-size: 13.5px; font-weight: 500; border-radius: var(--radius-s);
  position: relative; white-space: nowrap;
}
/* gold hover underline (pseudo switched to ::before so the caret can own ::after) */
.eldp-menu .menu-item > a::before {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.22s ease;
}
.eldp-menu .menu-item > a:hover::before,
.eldp-menu .menu-item.current-menu-item > a::before { transform: scaleX(1); }
/* dropdown caret — sits AFTER the label (world standard), rotates 180° when open */
.eldp-menu .menu-item-has-children > a::after {
  content: ""; flex: 0 0 auto; width: 8px; height: 8px;
  border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: translateY(-2px) rotate(45deg); opacity: 0.55;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, border-color 0.2s ease;
}
.eldp-menu .menu-item-has-children > a:hover,
.eldp-menu .menu-item-has-children > a:focus-visible { color: var(--link); }
.eldp-menu .menu-item-has-children > a:hover::after,
.eldp-menu .menu-item-has-children > a:focus-visible::after {
  opacity: 1; border-color: var(--gold);
  transform: translateY(-2px) rotate(225deg);
}
.eldp-menu .menu-item.is-open > a::after,
.eldp-menu .menu-item:focus-within > a::after {
  opacity: 1; border-color: var(--gold);
  transform: translateY(-2px) rotate(225deg);
}
.eldp-menu .menu-item-has-children > a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.eldp-menu .sub-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 320px;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--radius-m); box-shadow: var(--shadow-hover);
  list-style: none; margin: 0; padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.eldp-menu .menu-item:hover > .sub-menu,
.eldp-menu .menu-item:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.eldp-menu .sub-menu .menu-item > a { padding: 10px 14px; font-size: 13.5px; border-radius: var(--radius-s); }
.eldp-menu .sub-menu .menu-item > a::before { display: none; }
.eldp-menu .sub-menu .menu-item > a:hover { background: var(--ivory); color: var(--link); }

.eldp-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.eldp-search-toggle, .eldp-nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--radius-s);
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
  transition: background 0.18s ease;
}
.eldp-search-toggle:hover { background: var(--ivory); }
.eldp-nav-toggle { display: none; flex-direction: column; gap: 5px; }
.eldp-nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
.eldp-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.eldp-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.eldp-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.eldp-search-bar { background: var(--white); border-top: 1px solid var(--line); padding: 20px 0; }
.eldp-search-bar:not([hidden]) { display: block; }
.eldp-search-form { display: flex; gap: 12px; }
.eldp-search-form input[type="search"] {
  flex: 1; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-s);
  font-size: 15px; font-family: var(--font-body);
}
.eldp-search-results { margin-top: 12px; font-size: 14px; }
.eldp-search-results ul { list-style: none; margin: 0; padding: 0; }
.eldp-search-results li { border-bottom: 1px solid var(--line); }
.eldp-search-results li a { display: block; padding: 10px 4px; }
.eldp-search-results .result-type {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold); margin-right: 10px;
}

/* ---------- Hero ---------- */
.eldp-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(130deg, var(--ink) 0%, var(--navy) 55%, #1B5FAA 130%);
  color: #fff;
}
.eldp-hero__media { position: absolute; inset: 0; opacity: 0.5; will-change: transform; }
.eldp-hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: right center;
  mix-blend-mode: luminosity; animation: eldp-kenburns 18s ease-in-out infinite alternate;
}
@keyframes eldp-kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.eldp-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 37, 64, 0.94) 0%, rgba(10, 37, 64, 0.68) 45%, rgba(10, 37, 64, 0.28) 100%);
}
.eldp-hero__inner {
  position: relative; z-index: 2; padding-top: 104px; padding-bottom: 104px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px; align-items: center;
}
.eldp-hero__copy { max-width: 620px; }
.eldp-hero__kicker {
  font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 600; margin-bottom: 16px;
}
.eldp-hero__title { font-size: clamp(34px, 4.8vw, 56px); color: #fff; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 18px; }
.eldp-hero__lead { font-size: 17px; color: #D3DFEC; max-width: 560px; margin-bottom: 32px; }
.eldp-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.eldp-hero__panel {
  justify-self: end; width: 100%; max-width: 340px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(201, 162, 39, 0.4); border-radius: var(--radius-l);
  padding: 26px 28px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 18px 44px rgba(4, 16, 28, 0.35);
}
.eldp-hero__panel-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-soft); margin: 0 0 14px;
}
.eldp-hero__facts { list-style: none; margin: 0; padding: 0; }
.eldp-hero__facts li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.eldp-hero__facts li:last-child { border-bottom: 0; }
.eldp-hero__facts strong {
  font-family: var(--font-head); font-size: 30px; font-weight: 700; color: #fff;
  min-width: 84px; line-height: 1.1;
}
.eldp-hero__facts span { font-size: 13px; color: #B9C8DA; }
.eldp-hero__panel-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.eldp-hero__panel-chips span {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78); border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px; padding: 5px 12px;
}
.eldp-hero__trustbar {
  position: relative; z-index: 2;
  background: rgba(255, 255, 255, 0.06); border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.eldp-hero__trust-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 15px; padding-bottom: 15px; flex-wrap: wrap;
}
.eldp-trust-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-soft);
}
.eldp-trust-item {
  font-family: var(--font-head); font-size: 13.5px; letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8); white-space: nowrap;
}
.eldp-trust-item:not(:last-of-type)::after {
  content: "·"; margin-left: 16px; color: rgba(255, 255, 255, 0.35);
}
/* v1.4.2 — official publisher logos on white chips (readable on navy). */
.eldp-trust-item--logo {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); border-radius: var(--radius-s);
  padding: 8px 14px; min-height: 37px;
  box-shadow: 0 2px 12px rgba(4, 20, 40, 0.35);
}
.eldp-trust-item--logo::after { content: none; margin: 0; }
.eldp-trust-item--logo img { display: block; height: 20px; width: auto; }
.eldp-trust-item--logo img.eldp-trust-logo--wide { height: 16px; }
.eldp-trust-item--logo img.eldp-trust-logo--tall { height: 26px; }

/* ---------- About (light section) ---------- */
.eldp-about { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.eldp-about__copy p { color: var(--slate); font-size: 16px; }
.eldp-about__cards { display: grid; gap: 18px; }
.eldp-entity-card {
  position: relative; display: flex; gap: 18px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 26px 26px 24px; box-shadow: var(--shadow-rest);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.eldp-entity-card::before {
  content: ""; position: absolute; top: 10px; left: 10px; width: 20px; height: 20px;
  border-top: 2px solid var(--gold); border-left: 2px solid var(--gold);
  border-top-left-radius: 6px; opacity: 0.85;
}
.eldp-entity-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: rgba(201, 162, 39, 0.6); }
.eldp-entity-card__seal {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(150deg, var(--gold-soft), var(--gold));
  color: var(--ink); font-family: var(--font-head); font-size: 18px; font-weight: 700;
  letter-spacing: 0.06em; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.eldp-entity-card__body h3 { font-size: 18.5px; margin-bottom: 4px; }
.eldp-entity-card__meta {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 8px;
}
.eldp-entity-card__body p:last-child { font-size: 14px; margin: 0; color: var(--slate); line-height: 1.65; }

/* ---------- Stats (dark band) ---------- */
.eldp-stats-band { padding-top: 72px; padding-bottom: 72px; }
.eldp-stats-band .eldp-section-sub { color: #B9C8DA; }
.eldp-stats-band .eldp-eyebrow { color: var(--gold-soft); }
.eldp-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.eldp-stat {
  padding: 18px 28px; border-left: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease;
}
.eldp-stat:first-child { border-left: 0; padding-left: 0; }
.eldp-stat:last-child { padding-right: 0; }
.eldp-stat:hover { transform: translateY(-3px); }
.eldp-stat__value {
  display: block; font-family: var(--font-head); font-size: 46px; font-weight: 700;
  color: var(--gold-soft); line-height: 1.05; margin-bottom: 10px;
}
.eldp-stat__value::after {
  content: ""; display: block; width: 42px; height: 3px; background: var(--gold);
  margin-top: 12px; transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s ease 0.2s;
}
.eldp-stat.in-view .eldp-stat__value::after { transform: scaleX(1); }
.eldp-stat__label { font-size: 13.5px; color: #B9C8DA; }

/* ---------- Journal cards ---------- */
.eldp-journal-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.eldp-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); color: var(--slate); font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: all 0.18s ease;
}
.eldp-chip::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--line); transition: background 0.18s ease;
}
.eldp-chip:hover { border-color: var(--gold); color: var(--ink); }
.eldp-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.eldp-chip.is-active::before { background: var(--gold); }
.eldp-journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.eldp-journal-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease;
}
.eldp-journal-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.eldp-journal-card.is-hidden { display: none; }
.eldp-journal-card.is-entering { opacity: 0; transform: translateY(16px); }

/* --- CSS-art journal cover (fallback until a featured image is set) --- */
.eldp-journal-card__cover {
  position: relative; display: block; aspect-ratio: 3 / 4;
  overflow: hidden;
}
.eldp-journal-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.eldp-journal-card__cover:hover img { transform: scale(1.04); }
.eldp-jcover {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  background:
    repeating-linear-gradient(135deg, rgba(16, 55, 92, 0.035) 0 1px, transparent 1px 9px),
    linear-gradient(180deg, #FDFCF9 0%, var(--ivory) 100%);
}
.eldp-jcover__mast {
  order: 0; height: 44%; flex-shrink: 0;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(255, 255, 255, 0.18) 0%, transparent 55%),
    var(--jcover-accent, var(--navy));
  border-bottom: 3px solid var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 18px;
}
.eldp-jcover__initials {
  font-family: var(--font-head); font-size: 46px; font-weight: 700; letter-spacing: 0.14em;
  color: #fff; line-height: 1;
  text-shadow: 0 2px 14px rgba(4, 16, 28, 0.35);
}
.eldp-jcover__imprint {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
.eldp-jcover__title {
  order: 1; flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 18px 22px; text-align: center;
  font-family: var(--font-head); font-size: 15.5px; font-weight: 600; line-height: 1.5;
  color: var(--ink); text-transform: capitalize;
}
.eldp-jcover__foot {
  order: 2; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line);
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--slate);
}
.eldp-jcover__foot span:last-child { color: var(--gold); }
/* per-subject accent */
.eldp-jcover--veterinary  { --jcover-accent: var(--acc-veterinary); }
.eldp-jcover--medical     { --jcover-accent: var(--acc-medical); }
.eldp-jcover--agriculture { --jcover-accent: var(--acc-agriculture); }
.eldp-jcover--engineering { --jcover-accent: var(--acc-engineering); }
.eldp-jcover--ai          { --jcover-accent: var(--acc-ai); }
.eldp-jcover--general     { --jcover-accent: var(--navy); }
/* shine sweep on hover */
.eldp-journal-card__cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transition: transform 0.6s ease;
}
.eldp-journal-card__cover:hover::after { transform: translateX(120%); }
.eldp-journal-card__badge {
  position: absolute; left: 12px; top: 12px; background: var(--gold); color: var(--ink);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; padding: 5px 11px;
  border-radius: 999px; box-shadow: 0 2px 8px rgba(4, 16, 28, 0.3);
  max-width: calc(100% - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* body */
.eldp-journal-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.eldp-journal-card__subject {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--slate); margin: 0 0 10px;
}
.eldp-subject-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); flex-shrink: 0; }
.eldp-journal-card[data-subject="veterinary"]  .eldp-subject-dot { background: var(--acc-veterinary); }
.eldp-journal-card[data-subject="medical"]     .eldp-subject-dot { background: var(--acc-medical); }
.eldp-journal-card[data-subject="agriculture"] .eldp-subject-dot { background: var(--acc-agriculture); }
.eldp-journal-card[data-subject="engineering"] .eldp-subject-dot { background: var(--acc-engineering); }
.eldp-journal-card[data-subject="ai"]          .eldp-subject-dot { background: var(--acc-ai); }
.eldp-journal-card__title { font-size: 19px; margin-bottom: 6px; }
.eldp-journal-card__title a { color: var(--ink); }
.eldp-journal-card__title a:hover { color: var(--link); }
.eldp-journal-card__excerpt { font-size: 14px; color: var(--slate); flex: 1; margin-bottom: 16px; }
.eldp-journal-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto;
}
.eldp-journal-card__oa {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate); opacity: 0.75;
}

/* ---------- OAS banner ---------- */
.eldp-oas { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eldp-oas__copy p { color: #C4D2E3; }
.eldp-oas__practices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.eldp-oas__practices li {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-m); padding: 18px 18px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.eldp-oas__practices li:hover { transform: translateX(4px); background: rgba(255, 255, 255, 0.09); border-color: rgba(201, 162, 39, 0.5); }
.eldp-oas__icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(201, 162, 39, 0.14); border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--gold-soft);
}
.eldp-oas__text strong { display: block; font-size: 15.5px; color: #fff; margin-bottom: 3px; }
.eldp-oas__text small { font-size: 12.5px; color: #A9BACC; line-height: 1.55; display: block; }

/* ---------- Founders (ivory band) ---------- */
.eldp-founders__head { text-align: center; margin-bottom: 48px; }
.eldp-founders__head .eldp-eyebrow { justify-content: center; }
.eldp-founders__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.eldp-founder-card {
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--radius-m); padding: 34px 26px 28px; text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.eldp-founder-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.eldp-founder-card__photo {
  width: 132px; height: 132px; margin: 0 auto; border-radius: 50%;
  overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.eldp-founder-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(30%) contrast(1.05); }
/* academic medallion seal (fallback until a photo is set) */
.eldp-seal {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  border-radius: 50%;
  background:
    radial-gradient(100% 100% at 50% 20%, #FFFFFF 0%, #F6F0E2 62%, #EFE6CF 100%);
  box-shadow:
    inset 0 0 0 1px rgba(201, 162, 39, 0.55),
    inset 0 0 0 6px rgba(250, 248, 242, 1),
    inset 0 0 0 7.5px rgba(201, 162, 39, 0.75);
  transition: box-shadow 0.25s ease;
}
.eldp-founder-card:hover .eldp-seal {
  box-shadow:
    inset 0 0 0 1px rgba(201, 162, 39, 0.7),
    inset 0 0 0 6px rgba(250, 248, 242, 1),
    inset 0 0 0 7.5px rgba(201, 162, 39, 1),
    0 10px 24px rgba(201, 162, 39, 0.25);
}
.eldp-seal__initials {
  font-family: var(--font-head); font-size: 38px; font-weight: 700;
  color: var(--ink); line-height: 1; letter-spacing: 0.04em;
}
.eldp-seal__label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--slate);
}
.eldp-founder-card__rule {
  display: block; width: 36px; height: 2px; background: var(--gold);
  margin: 20px auto 14px;
}
.eldp-founder-card h3 { font-size: 20px; color: var(--ink); margin-bottom: 6px; }
.eldp-founder-card p { font-size: 13.5px; color: var(--slate); margin: 0; }
.eldp-founders__cta { text-align: center; margin-top: 44px; }
/* v1.4.3 — member card is one big link when a Personal website URL is set */
.eldp-founder-card--linked { display: block; color: inherit; text-decoration: none; cursor: pointer; }
.eldp-founder-card--linked:hover { border-color: var(--gold); }
.eldp-founder-card--linked:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.eldp-founder-card__visit {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.eldp-founder-card__visit svg { transition: transform 0.2s ease; }
.eldp-founder-card--linked:hover .eldp-founder-card__visit svg,
.eldp-founder-card--linked:focus-visible .eldp-founder-card__visit svg { transform: translate(2px, -2px); }

/* ---------- Indexing (official logo tiles) ---------- */
.eldp-index-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.eldp-index-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 11px; min-height: 118px; padding: 20px 16px; text-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  color: var(--ink); overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.eldp-index-tile::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.eldp-index-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: rgba(201, 162, 39, 0.55); }
.eldp-index-tile:hover::after { transform: scaleX(1); }
.eldp-index-tile__logo {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 50px; flex-shrink: 0;
}
.eldp-index-tile__logo img {
  max-height: 48px; max-width: 100%; width: auto; height: auto; object-fit: contain;
  transition: transform 0.25s ease;
}
.eldp-index-tile:hover .eldp-index-tile__logo img { transform: scale(1.06); }
.eldp-index-tile__mono {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--ivory); border: 1px solid var(--line);
  font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--navy);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.eldp-index-tile:hover .eldp-index-tile__mono { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.eldp-index-tile__name { font-size: 12.5px; font-weight: 600; line-height: 1.45; color: var(--slate); }
.eldp-index-tile:hover .eldp-index-tile__name { color: var(--ink); }
.eldp-index-note {
  text-align: center; font-size: 13px; color: var(--slate); font-style: italic;
  margin: 26px 0 0;
}

/* ---------- Contact + FAQ ---------- */
.eldp-contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.eldp-contact-form {
  background: var(--ink); color: #DCE6F2; border-radius: var(--radius-l);
  padding: 40px 36px; box-shadow: var(--shadow-hover);
}
.eldp-contact-form .eldp-h2 { color: #fff; font-size: 27px; margin-bottom: 8px; }
.eldp-contact-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.eldp-contact-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: #DCE6F2;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px;
  padding: 8px 15px; background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.18s ease, color 0.18s ease;
}
.eldp-contact-chip svg { color: var(--gold-soft); }
.eldp-contact-chip:hover { border-color: var(--gold); color: var(--gold-soft); }
.eldp-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.eldp-field { margin-bottom: 16px; }
.eldp-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #DCE6F2; }
.eldp-field label em { color: var(--gold-soft); font-style: normal; }
.eldp-field input, .eldp-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-s); background: rgba(255, 255, 255, 0.07); color: #fff;
  font-family: var(--font-body); font-size: 14.5px; transition: border-color 0.18s ease, background 0.18s ease;
}
.eldp-field input::placeholder, .eldp-field textarea::placeholder { color: rgba(255, 255, 255, 0.45); }
.eldp-field input:focus, .eldp-field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, 0.1); }
.eldp-field input.is-invalid, .eldp-field textarea.is-invalid { border-color: #E07A6B; }
.eldp-form-status { min-height: 22px; margin: 12px 0 0; font-size: 13.5px; color: var(--gold-soft); }
.eldp-form-status.is-error { color: #E07A6B; }

.eldp-faq .eldp-h2 { margin-bottom: 24px; }
.eldp-accordion__item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  margin-bottom: 12px; overflow: hidden; transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.eldp-accordion__item:hover { border-color: rgba(201, 162, 39, 0.55); }
.eldp-accordion__item.is-open { box-shadow: var(--shadow-rest); border-color: var(--gold); }
.eldp-accordion__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 18px 22px; background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 15.5px; font-weight: 600; color: var(--ink); text-align: left;
}
.eldp-accordion__icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.eldp-accordion__icon::before, .eldp-accordion__icon::after {
  content: ""; position: absolute; background: var(--gold); transition: transform 0.25s ease;
}
.eldp-accordion__icon::before { left: 0; right: 0; top: 7px; height: 2px; }
.eldp-accordion__icon::after { top: 0; bottom: 0; left: 7px; width: 2px; }
.eldp-accordion__item.is-open .eldp-accordion__icon::after { transform: scaleY(0); }
.eldp-accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.eldp-accordion__panel p { padding: 0 22px 20px; margin: 0; font-size: 14.5px; color: var(--slate); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #AFC1D6; padding-top: 72px; }
.eldp-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr 1fr; gap: 48px; padding-bottom: 56px; }
.eldp-footer-title {
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; margin-bottom: 18px; padding-bottom: 10px; position: relative;
}
.eldp-footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--gold); }
.eldp-brand--footer .eldp-brand__text strong { color: #fff; }
.eldp-brand--footer .eldp-brand__mark { color: var(--gold-soft); }
.eldp-brand--footer .eldp-brand__text small { color: #8FA3B8; }
/* Uploaded footer logo: shown inside a white rounded chip so every logo
   (dark or light) stays readable on the dark navy footer, and capped in
   size so a huge image can never stretch the brand block. */
.eldp-footer-logo {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 10px; padding: 10px 14px; line-height: 0;
  flex: 0 0 auto;
}
.eldp-footer-logo img { display: block; max-height: 56px; max-width: 220px; width: auto; height: auto; }
@media (max-width: 600px) {
  .eldp-footer-logo img { max-height: 46px; max-width: 180px; }
}
.eldp-footer-about { font-size: 13.5px; margin-top: 16px; line-height: 1.8; }
.eldp-footer-address { font-style: normal; font-size: 13.5px; line-height: 1.85; margin-bottom: 14px; }
.eldp-footer-contact { font-size: 13.5px; display: flex; flex-direction: column; gap: 4px; }
.eldp-footer-contact a { color: var(--gold-soft); word-break: break-all; }
.eldp-social { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.eldp-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.08);
  color: #fff; transition: background 0.2s ease, transform 0.2s ease;
}
.eldp-social a:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }
.eldp-footer-social-note { font-size: 12.5px; margin-top: 14px; color: #8FA3B8; }
.eldp-newsletter { display: flex; flex-direction: column; gap: 10px; }
.eldp-newsletter input {
  padding: 12px 14px; border-radius: var(--radius-s); border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07); color: #fff; font-size: 14px; font-family: var(--font-body);
}
.eldp-newsletter input:focus { outline: none; border-color: var(--gold); }
.eldp-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 20px 0; font-size: 13px; }
.eldp-footer-bottom__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.eldp-footer-bottom p { margin: 0; }
.eldp-to-top { color: var(--gold-soft); font-weight: 600; }
.eldp-float-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: var(--ink); box-shadow: var(--shadow-hover);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(12px); transition: opacity 0.25s ease, transform 0.25s ease;
}
.eldp-float-top.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Pages, prose & misc ---------- */
.eldp-page-hero { background: var(--ivory); border-bottom: 1px solid var(--line); padding: 64px 0 56px; }
.eldp-page-hero--journal { background: linear-gradient(130deg, var(--ink), var(--navy)); }
.eldp-page-hero--journal .eldp-page-title, .eldp-page-hero--journal .eldp-eyebrow { color: #fff; }
.eldp-page-title { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.01em; }
.eldp-page-sub { color: var(--slate); font-size: 16px; max-width: 720px; margin: 14px 0 0; }
.eldp-page-body { padding: 64px 24px 88px; max-width: 860px; }
.eldp-prose { font-size: 16.5px; line-height: 1.85; }
.eldp-prose h2 { font-size: 26px; margin: 1.6em 0 0.6em; }
.eldp-prose h3 { font-size: 20px; margin: 1.5em 0 0.5em; }
.eldp-prose ul li, .eldp-prose ol li { margin-bottom: 0.5em; }
.eldp-prose a { text-decoration: underline; text-underline-offset: 3px; }
.eldp-empty-note { color: var(--slate); font-style: italic; }
.eldp-pagination { margin-top: 40px; }
.eldp-pagination .nav-links { display: flex; gap: 10px; justify-content: center; }
.eldp-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line);
  border-radius: var(--radius-s); color: var(--ink); font-weight: 600;
}
.eldp-pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }

.eldp-journal-hero { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.eldp-journal-hero__cover { border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-hover); aspect-ratio: 3 / 4; position: relative; background: var(--navy); }
.eldp-journal-hero__cover img { width: 100%; height: 100%; object-fit: cover; }
.eldp-journal-badge-row { margin: 0 0 16px; }
.eldp-journal-hero__excerpt { color: #C4D2E3; font-size: 16.5px; }
.eldp-journal-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 20px 0 28px; }
.eldp-journal-facts dt { font-weight: 700; color: var(--gold-soft); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.eldp-journal-facts dd { margin: 0; color: #DCE6F2; font-size: 15px; }

/* ---------- Journal page: Latest Articles band (live from journal site) ---------- */
.eldp-jlatest { background: var(--ivory); border-top: 1px solid rgba(228, 223, 211, 0.6); padding: 58px 0 66px; }
.eldp-jlatest__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.eldp-jlatest__head .eldp-eyebrow { color: var(--gold); }
.eldp-jlatest__title { font-size: clamp(24px, 3vw, 32px); margin-top: 8px; letter-spacing: -0.01em; }
.eldp-jlatest__issue {
  display: inline-flex; align-items: center; margin: 10px 0 0; padding: 5px 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--slate);
}
.eldp-jlatest__issue::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: 8px;
}
.eldp-jlatest__all {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 10px 18px; border: 1px solid rgba(10, 37, 64, 0.28); border-radius: 999px;
  color: var(--ink); font-size: 13.5px; font-weight: 600; transition: all 0.2s ease;
}
.eldp-jlatest__all:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.eldp-jlatest__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.eldp-jart {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 22px 22px 18px; box-shadow: var(--shadow-rest);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.eldp-jart::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px;
  background: var(--gold); border-radius: 3px 3px 0 0; transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.eldp-jart:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--gold-soft); }
.eldp-jart:hover::after { transform: scaleX(1); }
.eldp-jart__type {
  align-self: flex-start; padding: 4px 11px; margin-bottom: 12px; border-radius: 999px;
  background: rgba(201, 162, 39, 0.13); color: #8A6D14; font-size: 11px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.eldp-jart__name {
  font-size: 16.5px; line-height: 1.45; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.eldp-jart__name a { color: var(--ink); transition: color 0.2s ease; }
.eldp-jart__name a:hover { color: var(--navy); }
.eldp-jart__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.eldp-jart__type, .eldp-jart__links { position: relative; z-index: 2; }
.eldp-jart__authors {
  font-size: 13px; color: var(--slate); line-height: 1.55; margin: 0 0 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.eldp-jart__foot { margin-top: auto; border-top: 1px dashed var(--line); padding-top: 12px; }
.eldp-jart__cite { font-size: 12px; color: var(--slate); font-style: italic; margin: 0 0 10px; }
.eldp-jart__links { display: flex; align-items: center; gap: 16px; }
.eldp-jart__links a {
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--link); display: inline-flex; align-items: center;
}
.eldp-jart__links a::before { content: "↗"; margin-right: 4px; font-size: 11px; color: var(--gold); }
.eldp-jart__links a:hover { color: var(--gold); }

/* ---------- Fresh Research slider (homepage — newest article of every journal) ---------- */
.eldp-fresh { border-top: 1px solid rgba(228, 223, 211, 0.6); }
.eldp-fresh__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.eldp-fresh__title { font-size: clamp(24px, 3vw, 32px); margin-top: 8px; letter-spacing: -0.01em; }
.eldp-fresh__sub { font-size: 14.5px; color: var(--slate); max-width: 560px; margin-top: 8px; line-height: 1.6; }
.eldp-fresh__nav { display: flex; gap: 10px; flex-shrink: 0; }
.eldp-fresh__arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(10, 37, 64, 0.28);
  background: var(--white); color: var(--ink); cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-rest);
}
.eldp-fresh__arrow:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.eldp-fresh__arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.eldp-fresh__viewport { overflow: hidden; padding: 10px 4px 18px; margin: 0 -4px; }
.eldp-fresh__track { display: flex; gap: 22px; transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1); will-change: transform; }
.eldp-fresh__track.is-dragging { transition: none; cursor: grabbing; user-select: none; -webkit-user-select: none; }
.eldp-fresh-card {
  position: relative; flex: 0 0 calc((100% - 44px) / 3); display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 22px 22px 18px; box-shadow: var(--shadow-rest); cursor: grab;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.eldp-fresh-card::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px;
  background: var(--gold); border-radius: 3px 3px 0 0; transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.eldp-fresh-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--gold-soft); }
.eldp-fresh-card:hover::after { transform: scaleX(1); }
.eldp-fresh-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.eldp-fresh-card__journal {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--navy); line-height: 1.4; text-align: left;
}
.eldp-fresh-card__journal::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.eldp-fresh-card__journal:hover { color: var(--gold); }
.eldp-fresh-card__type {
  position: relative; z-index: 2; flex-shrink: 0; padding: 4px 10px; border-radius: 999px;
  background: rgba(201, 162, 39, 0.13); color: #8A6D14; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.eldp-fresh-card__name {
  font-size: 16px; line-height: 1.45; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.eldp-fresh-card__name a { color: var(--ink); transition: color 0.2s ease; }
.eldp-fresh-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.eldp-fresh-card__links { position: relative; z-index: 2; }
.eldp-fresh-card__authors {
  font-size: 13px; color: var(--slate); line-height: 1.55; margin: 0 0 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.eldp-fresh-card__foot { margin-top: auto; border-top: 1px dashed var(--line); padding-top: 12px; }
.eldp-fresh-card__cite { display: block; font-size: 12px; color: var(--slate); font-style: italic; margin: 0 0 10px; }
.eldp-fresh-card__links { display: flex; align-items: center; gap: 16px; }
.eldp-fresh-card__links a {
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--link); display: inline-flex; align-items: center;
}
.eldp-fresh-card__links a::before { content: "↗"; margin-right: 4px; font-size: 11px; color: var(--gold); }
.eldp-fresh-card__links a:hover { color: var(--gold); }
.eldp-fresh__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.eldp-fresh__dot {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(10, 37, 64, 0.18); cursor: pointer; transition: background 0.2s ease, transform 0.2s ease;
}
.eldp-fresh__dot.is-active { background: var(--gold); transform: scale(1.3); }
.eldp-fresh__dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.eldp-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.eldp-post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 26px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.eldp-post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.eldp-post-card__meta { font-size: 12.5px; color: var(--slate); margin-bottom: 10px; letter-spacing: 0.04em; }
.eldp-post-card__title { font-size: 20px; margin-bottom: 10px; }
.eldp-post-card__title a { color: var(--ink); }
.eldp-post-card__excerpt { font-size: 14.5px; color: var(--slate); }

.eldp-error-wrap { text-align: center; max-width: 640px; }
.eldp-error-code { font-family: var(--font-head); font-size: 88px; font-weight: 700; color: var(--gold); line-height: 1; display: block; margin-bottom: 12px; }

/* ---------- Reveal & filter animation ---------- */
.eldp-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.eldp-reveal.in-view { opacity: 1; transform: none; }

/* ---------- Contact info cards ---------- */
.eldp-info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px 24px; margin-bottom: 16px; }
.eldp-info-card h3 { font-size: 16px; margin-bottom: 10px; color: var(--navy); }
.eldp-info-card address { font-style: normal; font-size: 14.5px; color: var(--slate); line-height: 1.8; }
.eldp-info-card p { margin: 0; font-size: 14.5px; color: var(--slate); }

/* ---------- Contact map ---------- */
.eldp-map-embed {
  max-width: 1080px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius-m);
  overflow: hidden; box-shadow: var(--shadow-rest); background: var(--white);
  border-bottom: 3px solid var(--gold);
}
.eldp-map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }
.eldp-map-cta { text-align: center; margin-top: 22px; }
.eldp-map-cta .eldp-btn--ghost { color: var(--ink); border-color: rgba(10, 37, 64, 0.35); }
.eldp-map-cta .eldp-btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 640px) {
  .eldp-map-embed iframe { height: 300px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .eldp-index-grid { grid-template-columns: repeat(3, 1fr); }
  .eldp-footer-grid { grid-template-columns: 1fr 1fr; }
  .eldp-journal-grid, .eldp-post-grid { grid-template-columns: repeat(2, 1fr); }
  .eldp-jlatest__grid { grid-template-columns: repeat(2, 1fr); }
  .eldp-fresh-card { flex-basis: calc((100% - 22px) / 2); }
  .eldp-menu .menu-item > a { padding: 10px 8px; font-size: 13.5px; }
  .eldp-hero__panel { max-width: 300px; }
}
@media (max-width: 900px) {
  .eldp-section { padding: 68px 0; }
  .eldp-about, .eldp-oas, .eldp-contact-split { grid-template-columns: 1fr; gap: 40px; }
  .eldp-hero__inner { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 72px; gap: 40px; }
  .eldp-hero__panel { justify-self: start; max-width: 420px; }
  .eldp-stats-grid { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .eldp-stat { padding: 8px 20px; }
  .eldp-stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .eldp-stats-band .eldp-section-head { margin-bottom: 32px; }
  .eldp-main-nav-wrap { width: 100%; }
  .eldp-nav-toggle { display: inline-flex; }
  .main-navigation {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw);
    background: var(--white); z-index: 100; padding: 84px 24px 32px;
    transform: translateX(100%); transition: transform 0.28s ease;
    box-shadow: -18px 0 44px rgba(10, 37, 64, 0.18); overflow-y: auto;
  }
  .main-navigation.is-open { transform: translateX(0); }
  .eldp-menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .eldp-menu .menu-item > a { padding: 14px 12px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .eldp-menu .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--gold);
    margin: 0 0 0 12px; padding: 4px 0 4px 8px; min-width: 0; display: none;
  }
  .eldp-menu .menu-item.is-open > .sub-menu { display: block; }
  .eldp-header-cta { display: none; }
  .eldp-journal-hero { grid-template-columns: 1fr; }
  .eldp-journal-hero__cover { max-width: 260px; }
  .eldp-jlatest__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .eldp-oas__practices { grid-template-columns: 1fr; }
  .eldp-founders__grid { grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 640px) {
  .eldp-topbar__note { display: none; }
  .eldp-topbar__inner { justify-content: center; }
  .eldp-journal-grid, .eldp-post-grid { grid-template-columns: 1fr; }
  .eldp-jlatest { padding: 44px 0 52px; }
  .eldp-jlatest__grid { grid-template-columns: 1fr; }
  .eldp-fresh { padding: 44px 0 52px; }
  .eldp-fresh__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .eldp-fresh-card { flex-basis: 100%; padding: 20px 18px 16px; }
  .eldp-fresh__arrow { width: 40px; height: 40px; }
  .eldp-jlatest__all { padding: 9px 15px; font-size: 13px; }
  .eldp-stats-grid { grid-template-columns: 1fr; gap: 8px; }
  .eldp-stat { border-left: 0; padding: 12px 0; }
  .eldp-stat__value { font-size: 36px; }
  .eldp-index-grid { grid-template-columns: repeat(2, 1fr); }
  .eldp-footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .eldp-form__row { grid-template-columns: 1fr; }
  .eldp-hero__trust-inner { justify-content: flex-start; row-gap: 8px; }
  .eldp-trust-label { width: 100%; margin-bottom: 2px; }
  .eldp-trust-item--logo { padding: 6px 10px; min-height: 30px; border-radius: 7px; }
  .eldp-trust-item--logo img { height: 15px; }
  .eldp-trust-item--logo img.eldp-trust-logo--wide { height: 12px; }
  .eldp-trust-item--logo img.eldp-trust-logo--tall { height: 19px; }
  .eldp-contact-form { padding: 30px 22px; }
  .eldp-float-top { right: 16px; bottom: 16px; }
  .eldp-brand__text small { display: none; }
  .eldp-brand__text strong { font-size: 17px; }
  .eldp-jcover__initials { font-size: 36px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .eldp-reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .eldp-float-top, .eldp-journal-filters { display: none !important; }
  body { color: #000; background: #fff; }
}

/* ---------- Team grid on light band (About page) ---------- */
.eldp-founders__grid--light .eldp-founder-card { border-top-color: var(--gold); }

/* ============================================================
   Third-party compatibility guard (v1.1.0)
   Plugins such as Elementor inject global widget-kit rules like
   ".elementor-kit-6 button { background:#2F2020; color:#110D0D }"
   AFTER this stylesheet loads, which turned the journal filter
   chips and FAQ triggers brown. Every theme control below is
   re-asserted with higher specificity, so the design system
   always wins regardless of load order.
   ============================================================ */
body.eldp .eldp-btn.eldp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-s); border: 2px solid transparent;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.2;
  cursor: pointer; box-shadow: none; text-decoration: none;
}
/* The [hidden] attribute must beat the display: inline-flex above, or
   script-hidden buttons (e.g. "Show more reviewers" once every row is
   shown) would remain visible on the page. */
body.eldp .eldp-btn.eldp-btn[hidden] { display: none; }
body.eldp .eldp-btn.eldp-btn--lg { padding: 14px 30px; font-size: 16px; }
body.eldp .eldp-btn.eldp-btn--primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
body.eldp .eldp-btn.eldp-btn--primary:hover,
body.eldp .eldp-btn.eldp-btn--primary:focus { background: var(--gold-soft); color: var(--ink); border-color: var(--gold); }
body.eldp .eldp-btn.eldp-btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
body.eldp .eldp-btn.eldp-btn--ghost:hover,
body.eldp .eldp-btn.eldp-btn--ghost:focus { background: var(--ink); color: #fff; border-color: var(--ink); }
body.eldp .eldp-btn.eldp-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.65); }
body.eldp .eldp-btn.eldp-btn--ghost-light:hover,
body.eldp .eldp-btn.eldp-btn--ghost-light:focus { background: rgba(255, 255, 255, 0.12); color: #fff; }
/* Journal hero ("Publish with us"): the standard ghost style uses dark ink
   text on the dark navy gradient, which made the button look disabled or
   unreadable. On this dark background it gets the bright white treatment. */
body.eldp .eldp-page-hero--journal .eldp-btn.eldp-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
body.eldp .eldp-page-hero--journal .eldp-btn.eldp-btn--ghost:hover,
body.eldp .eldp-page-hero--journal .eldp-btn.eldp-btn--ghost:focus { background: #fff; color: var(--ink); border-color: #fff; }
body.eldp .eldp-chip.eldp-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); color: var(--slate);
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600; line-height: 1.4;
  cursor: pointer; box-shadow: none;
}
body.eldp .eldp-chip.eldp-chip::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--line); transition: background 0.18s ease;
}
body.eldp .eldp-chip.eldp-chip:hover { border-color: var(--gold); color: var(--ink); background: var(--white); }
body.eldp .eldp-chip.eldp-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
body.eldp .eldp-chip.eldp-chip.is-active::before { background: var(--gold); }
body.eldp .eldp-chip.eldp-chip.is-active:hover { background: var(--ink); color: #fff; }
body.eldp .eldp-accordion__trigger.eldp-accordion__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 18px 22px;
  background: transparent; border: 0; box-shadow: none;
  font-family: var(--font-body); font-size: 15.5px; font-weight: 600; line-height: 1.5;
  color: var(--ink); text-align: left; cursor: pointer;
}
body.eldp .eldp-accordion__item.is-open .eldp-accordion__trigger.eldp-accordion__trigger { color: var(--ink); }
body.eldp .eldp-search-toggle.eldp-search-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--radius-s); padding: 0;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  cursor: pointer; box-shadow: none;
}
body.eldp .eldp-search-toggle.eldp-search-toggle:hover { background: var(--ivory); color: var(--ink); }
body.eldp .eldp-nav-toggle.eldp-nav-toggle {
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  padding: 0; cursor: pointer; box-shadow: none;
}
body.eldp .eldp-nav-toggle.eldp-nav-toggle:hover { background: var(--ivory); color: var(--ink); }
body.eldp .eldp-nav-toggle.eldp-nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); }
body.eldp .eldp-float-top.eldp-float-top {
  width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0;
  background: var(--gold); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-hover);
  display: flex; align-items: center; justify-content: center;
}
body.eldp .eldp-float-top.eldp-float-top[hidden] { display: none; }
body.eldp .eldp-float-top.eldp-float-top.is-visible { opacity: 1; transform: translateY(0); }
body.eldp .eldp-newsletter button.eldp-btn.eldp-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.65); }
body.eldp .eldp-newsletter button.eldp-btn.eldp-btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ---------- Header fit refinements ---------- */
/* (v1.3.2: obsolete left-caret margin rule removed — the caret now lives
   on ::after after the label, spaced by the flex gap on the anchor.) */
/* The tagline under the brand only fits on very wide screens; hide it earlier. */
@media (max-width: 1500px) {
  .eldp-brand__text small { display: none; }
}
@media (min-width: 1501px) {
  .eldp-menu .menu-item > a { padding: 10px 11px; font-size: 14px; }
}
@media (max-width: 1250px) {
  .eldp-menu .menu-item > a { padding: 10px 7px; font-size: 13px; }
  .eldp-header-cta { padding: 12px 18px; }
}

/* ---------- Deep-link anchors under the sticky header ---------- */
main :target { scroll-margin-top: 110px; }
