/* ==========================================================================
   AEJ Design System
   --------------------------------------------------------------------------
   Layered on top of Bootstrap 4 — additive, so existing markup keeps working.
   Visual direction follows the approved reference layout: crimson gradient
   hero, gold accents, soft elevated cards with generous rounding, and a light
   navigation bar carrying the journal lockup.
   Must load AFTER bootstrap.min.css so overrides win on equal specificity.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --aej-crimson:       #b81d2c;
  --aej-crimson-dark:  #8a1420;
  --aej-crimson-deep:  #6d101a;
  --aej-crimson-light: #cf3340;
  --aej-crimson-wash:  rgba(184, 29, 44, 0.07);
  --aej-hero-gradient: linear-gradient(118deg, #7d121e 0%, #9c1725 38%, #b3202c 100%);

  /* Gold accent — eyebrow rules, ISSN values, hero underline */
  --aej-gold:      #e9b949;            /* decorative rules only */
  --aej-gold-text: #f5d485;            /* gold used as TEXT on crimson (AA-safe) */
  --aej-gold-soft: #f6dfa4;

  /* Ink */
  --aej-ink:      #14161a;
  --aej-ink-soft: #454a53;
  --aej-muted:    #6f7580;

  /* Surfaces */
  --aej-bg:       #f4f5f7;
  --aej-surface:  #ffffff;
  --aej-surface-2:#fafbfc;

  /* Lines */
  --aej-border:        #e6e8ec;
  --aej-border-strong: #d3d7de;

  /* Type */
  --aej-font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --aej-font-body:    "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-2xl:  clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --fs-3xl:  clamp(1.875rem, 1.5rem + 1.8vw, 2.5rem);
  --fs-hero: clamp(2.25rem, 1.5rem + 3.6vw, 4rem);

  /* Spacing */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;  --sp-3: 0.75rem;
  --sp-4: 1rem;     --sp-5: 1.5rem;  --sp-6: 2rem;
  --sp-7: 3rem;     --sp-8: 4.5rem;

  /* Geometry — rounded, per the reference */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-pill: 999px;

  /* Depth */
  --shadow-xs: 0 1px 2px rgba(20, 22, 26, 0.05);
  --shadow-sm: 0 2px 6px rgba(20, 22, 26, 0.06);
  --shadow-md: 0 6px 18px rgba(20, 22, 26, 0.08);
  --shadow-lg: 0 14px 40px rgba(20, 22, 26, 0.12);

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
body {
  font-family: var(--aej-font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--aej-ink-soft);
  background-color: var(--aej-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {
  font-family: var(--aej-font-display);
  color: var(--aej-ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1,.h1 { font-size: var(--fs-3xl); }
h2,.h2 { font-size: var(--fs-2xl); }
h3,.h3 { font-size: var(--fs-xl); }
h4,.h4 { font-size: var(--fs-lg); }
h5,.h5 { font-size: var(--fs-base); }

p { margin-bottom: var(--sp-4); }

a { color: var(--aej-crimson); text-decoration: none; transition: color .15s var(--ease); }
a:hover, a:focus { color: var(--aej-crimson-dark); text-decoration: underline; text-underline-offset: .15em; }

.text-justify { text-align: justify; hyphens: none; }

/* --------------------------------------------------------------------------
   3. Accessibility
   -------------------------------------------------------------------------- */
:focus-visible { outline: 2px solid var(--aej-crimson); outline-offset: 2px; border-radius: var(--radius-sm); }
:focus:not(:focus-visible) { outline: none; }

.aej-skip {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--aej-crimson); color: #fff; padding: var(--sp-3) var(--sp-4);
  border-radius: 0 0 var(--radius-sm) 0;
}
.aej-skip:focus { left: 0; color: #fff; text-decoration: none; }

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

/* --------------------------------------------------------------------------
   4. Top navigation — light bar carrying the journal lockup
   -------------------------------------------------------------------------- */
.aej-nav {
  background: var(--aej-surface);
  border-bottom: 1px solid var(--aej-border);
  padding: var(--sp-3) 0;
  position: sticky; top: 0; z-index: 900;
}
.aej-nav__inner { display: flex; align-items: center; gap: var(--sp-5); }

/* Lockup */
.aej-brand { display: flex; align-items: center; gap: var(--sp-3); flex: 0 0 auto; }
.aej-brand:hover { text-decoration: none; }
.aej-brand__mark {
  width: 46px; height: 46px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--aej-crimson); color: #fff;
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.aej-brand__eyebrow {
  display: block; font-size: .6875rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--aej-crimson);
  line-height: 1; margin-bottom: 3px;
}
.aej-brand__name {
  display: block; font-family: var(--aej-font-body);
  font-size: .9375rem; font-weight: 600; color: var(--aej-ink);
  line-height: 1.15; letter-spacing: -.01em;
}

/* Links */
.aej-nav__links { display: flex; align-items: center; gap: var(--sp-2); margin-left: auto; list-style: none; margin-bottom: 0; padding: 0; }
.aej-nav__link {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .75rem; border-radius: var(--radius-sm);
  font-size: .9375rem; font-weight: 500; color: var(--aej-ink-soft);
  transition: background-color .15s var(--ease), color .15s var(--ease);
  white-space: nowrap;
}
.aej-nav__link i { font-size: .95rem; color: var(--aej-muted); transition: color .15s var(--ease); }
.aej-nav__link:hover, .aej-nav__link:focus { background: var(--aej-bg); color: var(--aej-ink); text-decoration: none; }
.aej-nav__link:hover i { color: var(--aej-crimson); }
.aej-nav__link.is-active { color: var(--aej-crimson); font-weight: 600; }
.aej-nav__link.is-active i { color: var(--aej-crimson); }

.aej-nav__actions { display: flex; align-items: center; gap: var(--sp-3); flex: 0 0 auto; }

/* Round search trigger */
.aej-nav__search {
  width: 40px; height: 40px; border: 0; border-radius: var(--radius-pill);
  background: var(--aej-crimson); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background-color .15s var(--ease), transform .15s var(--ease);
}
.aej-nav__search:hover { background: var(--aej-crimson-dark); transform: translateY(-1px); color: #fff; text-decoration: none; }

.aej-nav__toggle { display: none; background: none; border: 0; font-size: 1.4rem; color: var(--aej-ink); cursor: pointer; padding: .25rem .5rem; }

/* "About" dropdown, built on <details>/<summary> so it needs no JS to
   function — the JS only enforces one-open-at-a-time and click-outside. */
.aej-nav__dropdown { position: relative; }
.aej-nav__dropdown > details { position: relative; }
.aej-nav__dropdown summary {
  list-style: none; cursor: pointer;
}
.aej-nav__dropdown summary::-webkit-details-marker { display: none; }
.aej-nav__caret { font-size: .8rem; margin-left: .15rem; transition: transform .15s var(--ease); }
.aej-nav__dropdown details[open] .aej-nav__caret { transform: rotate(180deg); }
.aej-nav__dropdown details[open] summary { background: var(--aej-bg); color: var(--aej-ink); }

.aej-nav__menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 950;
  min-width: 220px; background: var(--aej-surface);
  border: 1px solid var(--aej-border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: var(--sp-2) 0;
  display: flex; flex-direction: column;
}
.aej-nav__menu a {
  padding: .55rem 1rem; font-size: .9375rem; color: var(--aej-ink-soft);
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.aej-nav__menu a:hover, .aej-nav__menu a:focus {
  background: var(--aej-crimson-wash); color: var(--aej-crimson-dark); text-decoration: none;
}

@media (max-width: 991.98px) {
  .aej-nav__toggle { display: inline-flex; margin-left: auto; }
  .aej-nav__links, .aej-nav__actions { display: none; width: 100%; }
  .aej-nav__inner.is-open { flex-wrap: wrap; }
  .aej-nav__inner.is-open .aej-nav__links {
    display: flex; flex-direction: column; align-items: stretch;
    margin-left: 0; margin-top: var(--sp-3); gap: 0;
  }
  .aej-nav__inner.is-open .aej-nav__link { padding: .7rem .5rem; border-bottom: 1px solid var(--aej-border); }
  .aej-nav__inner.is-open .aej-nav__actions { display: flex; margin-top: var(--sp-3); }

  /* On mobile the dropdown becomes an inline flat list instead of an
     absolutely-positioned popover, so it doesn't overflow the narrow nav. */
  .aej-nav__dropdown summary { padding: .7rem .5rem; border-bottom: 1px solid var(--aej-border); }
  .aej-nav__menu {
    position: static; box-shadow: none; border: 0; border-radius: 0;
    background: var(--aej-bg); padding: 0;
  }
  .aej-nav__menu a { padding-left: 2rem; border-bottom: 1px solid var(--aej-border); }
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.aej-hero {
  position: relative;
  background: var(--aej-hero-gradient);
  color: #fff;
  padding: var(--sp-8) 0 calc(var(--sp-8) + 3.5rem);
  overflow: hidden;
  border-bottom: 3px solid var(--aej-gold);
}
/* Subtle texture so the gradient doesn't read as flat */
.aej-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .5;
}
.aej-hero > .container { position: relative; z-index: 1; }

.aej-hero__eyebrow {
  display: flex; align-items: center; gap: var(--sp-3);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--aej-gold-text); margin-bottom: var(--sp-4);
}
.aej-hero__eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--aej-gold); flex: 0 0 auto; }

.aej-hero__title {
  font-family: var(--aej-font-display);
  font-size: var(--fs-hero); font-weight: 700; line-height: 1.08;
  letter-spacing: -.02em; color: #fff; margin: 0 0 var(--sp-4); max-width: 15ch;
}
.aej-hero__lede {
  font-size: clamp(1rem, .95rem + .35vw, 1.25rem);
  color: rgba(255,255,255,.90); max-width: 46ch; margin-bottom: var(--sp-5);
}

.aej-hero__meta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.aej-issn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: var(--radius-pill);
  padding: .55rem 1.1rem; font-size: var(--fs-sm); color: rgba(255,255,255,.92);
}
.aej-issn strong { color: var(--aej-gold-text); font-weight: 600; letter-spacing: .02em; }

.aej-hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--aej-font-body); font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: .01em; border-radius: var(--radius-sm);
  padding: .65rem 1.25rem; border-width: 1px;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background-color .15s var(--ease), border-color .15s var(--ease),
              color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--aej-crimson); border-color: var(--aej-crimson); color: #fff; box-shadow: var(--shadow-xs); }
.btn-primary:hover, .btn-primary:focus { background: var(--aej-crimson-dark); border-color: var(--aej-crimson-dark); box-shadow: var(--shadow-sm); }
.btn-primary:not(:disabled):not(.disabled):active { background: var(--aej-crimson-deep); border-color: var(--aej-crimson-deep); }

.btn-outline-primary { color: var(--aej-crimson); border-color: var(--aej-border-strong); background: transparent; }
.btn-outline-primary:hover, .btn-outline-primary:focus { background: var(--aej-crimson); border-color: var(--aej-crimson); color: #fff; }

/* Hero variants sit on crimson, so they invert */
.btn-hero-solid { background: #fff; border-color: #fff; color: var(--aej-crimson); box-shadow: var(--shadow-sm); }
.btn-hero-solid:hover, .btn-hero-solid:focus { background: #fff; color: var(--aej-crimson-dark); box-shadow: var(--shadow-md); }
.btn-hero-ghost { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.35); color: #fff; }
.btn-hero-ghost:hover, .btn-hero-ghost:focus { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.55); color: #fff; }

.btn-danger { background: #9d1c1c; border-color: #9d1c1c; }
.btn-danger:hover { background: #7a1414; border-color: #7a1414; }
.btn-secondary, .btn-dark { background: var(--aej-ink); border-color: var(--aej-ink); }
.btn-secondary:hover, .btn-dark:hover { background: var(--aej-ink-soft); border-color: var(--aej-ink-soft); }
.btn-sm { padding: .4rem .8rem; font-size: var(--fs-xs); }

/* --------------------------------------------------------------------------
   7. Feature cards — the three tiles overlapping the hero
   -------------------------------------------------------------------------- */
.aej-feature-row { margin-top: -3.5rem; position: relative; z-index: 2; }

.aej-feature {
  background: var(--aej-surface);
  border: 1px solid var(--aej-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  height: 100%;
  overflow: hidden;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.aej-feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.aej-feature__head {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  border-bottom: 1px solid var(--aej-border);
}
.aej-feature__icon {
  width: 44px; height: 44px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); font-size: 1.1rem;
}
.aej-feature__icon--crimson { background: rgba(184,29,44,.10); color: var(--aej-crimson); }
.aej-feature__icon--gold    { background: rgba(233,185,73,.18); color: #a9791b; }
.aej-feature__icon--green   { background: rgba(31,138,90,.12);  color: #1f8a5a; }

.aej-feature__title {
  font-family: var(--aej-font-body);
  font-size: var(--fs-lg); font-weight: 600; color: var(--aej-ink); margin: 0;
}
.aej-feature__body { padding: var(--sp-2) var(--sp-5) var(--sp-5); }

.aej-feature__list { list-style: none; margin: 0; padding: 0; }
.aej-feature__list li { border-bottom: 1px solid var(--aej-border); }
.aej-feature__list li:last-child { border-bottom: 0; }
.aej-feature__list a {
  display: flex; align-items: center; gap: .6rem;
  padding: .8rem 0; color: var(--aej-ink-soft); font-size: var(--fs-sm);
  transition: color .15s var(--ease), padding-left .15s var(--ease);
}
.aej-feature__list a::before {
  content: "\f105"; font-family: FontAwesome; color: var(--aej-muted);
  font-size: .9rem; transition: color .15s var(--ease);
}
.aej-feature__list a:hover { color: var(--aej-crimson); text-decoration: none; padding-left: 4px; }
.aej-feature__list a:hover::before { color: var(--aej-crimson); }

.aej-meta-row { display: flex; align-items: center; gap: .6rem; padding: .45rem 0; font-size: var(--fs-sm); color: var(--aej-ink-soft); }
.aej-meta-row i { color: var(--aej-muted); width: 1rem; text-align: center; }
.aej-meta-row strong { color: var(--aej-crimson); font-weight: 600; margin-left: auto; }

.aej-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(31,138,90,.10); color: #157048;
  border-radius: var(--radius-pill); padding: .4rem .85rem;
  font-size: var(--fs-xs); font-weight: 600; margin-top: var(--sp-3);
}

/* --------------------------------------------------------------------------
   8. Cards / sections
   -------------------------------------------------------------------------- */
.card {
  background: var(--aej-surface);
  border: 1px solid var(--aej-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
.card-body { padding: var(--sp-5); }
.card-header {
  background: var(--aej-surface-2); border-bottom: 1px solid var(--aej-border);
  font-family: var(--aej-font-body); font-weight: 600; color: var(--aej-ink);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
}

.aej-section { padding: var(--sp-7) 0; }
.aej-section-title {
  font-family: var(--aej-font-display); font-size: var(--fs-2xl);
  color: var(--aej-ink); margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3); border-bottom: 1px solid var(--aej-border);
  position: relative;
}
.aej-section-title::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 3.5rem; height: 3px; background: var(--aej-crimson); border-radius: 2px;
}
.aej-eyebrow {
  font-family: var(--aej-font-body); font-size: var(--fs-xs); font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em; color: var(--aej-crimson);
}

/* --------------------------------------------------------------------------
   9. Article listing
   -------------------------------------------------------------------------- */
.aej-article { padding: var(--sp-5) 0; border-bottom: 1px solid var(--aej-border); }
.aej-article:first-child { padding-top: var(--sp-3); }
.aej-article:last-child { border-bottom: 0; padding-bottom: var(--sp-3); }
.aej-article__title {
  font-family: var(--aej-font-display); font-size: var(--fs-lg);
  font-weight: 700; line-height: 1.35; margin-bottom: var(--sp-2);
}
.aej-article__title a { color: var(--aej-ink); }
.aej-article__title a:hover { color: var(--aej-crimson); text-decoration: none; }
.aej-article__authors { font-size: var(--fs-sm); color: var(--aej-muted); font-style: italic; margin-bottom: var(--sp-2); }
.aej-article__meta { font-size: var(--fs-xs); color: var(--aej-muted); letter-spacing: .02em; }
.aej-article mark { background: var(--aej-gold-soft); padding: 0 .15em; border-radius: 2px; }

/* --------------------------------------------------------------------------
   10. Stats band
   -------------------------------------------------------------------------- */
.aej-band { background: var(--aej-ink); padding: var(--sp-6) 0; }
.aej-stat { text-align: center; padding: var(--sp-4) var(--sp-2); }
.aej-stat__value {
  font-family: var(--aej-font-display); font-size: var(--fs-2xl);
  font-weight: 700; color: #fff; line-height: 1; display: block;
}
.aej-stat__label {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.6); margin-top: var(--sp-2); display: block;
}

/* --------------------------------------------------------------------------
   11. Search
   -------------------------------------------------------------------------- */
.aej-searchbar { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.aej-searchbar .form-control { flex: 1 1 260px; }

.aej-search-panel {
  background: var(--aej-surface); border-bottom: 1px solid var(--aej-border);
  padding: var(--sp-4) 0; display: none;
}
.aej-search-panel.is-open { display: block; }

/* --------------------------------------------------------------------------
   12. Forms, alerts, tables, lists
   -------------------------------------------------------------------------- */
.form-control {
  border-color: var(--aej-border-strong); border-radius: var(--radius-sm);
  font-size: var(--fs-base); color: var(--aej-ink); padding: .6rem .9rem; height: auto;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form-control:focus { border-color: var(--aej-crimson); box-shadow: 0 0 0 3px var(--aej-crimson-wash); }

/* Bootstrap's .form-control-sm keeps a fixed ~31px height, so the base font
   size and padding above overflow it and clip the text vertically. The
   visible case is DataTables' "Show N entries" select. Must stay after
   .form-control — same specificity, so source order decides. */
.form-control-sm { font-size: var(--fs-sm); padding: .3rem .5rem; height: auto; }

/* Room for the native dropdown arrow, which draws inside the padding box. */
select.form-control { padding-right: 2rem; }
select.form-control-sm { padding-right: 1.75rem; }
label { font-size: var(--fs-sm); font-weight: 500; color: var(--aej-ink); margin-bottom: var(--sp-1); }

.alert { border-radius: var(--radius-sm); border-width: 0 0 0 3px; font-size: var(--fs-sm); padding: var(--sp-4) var(--sp-5); }
.alert-success { background:#eef7f1; border-left-color:#1f8a5a; color:#14603e; }
.alert-danger  { background:#fdeef0; border-left-color:var(--aej-crimson); color:var(--aej-crimson-dark); }
.alert-warning { background:#fdf6e9; border-left-color:#b07d1a; color:#7a5410; }
.alert-info    { background:#eef3f8; border-left-color:#2a5f8f; color:#1d4265; }

/* In-page PDF viewer (view-paper.php). Wider than Bootstrap's .modal-lg 800px
   cap, since a journal page is unreadable at that width. */
.aej-pdf-modal { max-width: 1100px; }
@media (max-width: 1180px) { .aej-pdf-modal { max-width: calc(100vw - 2rem); } }

.aej-pdf-frame {
  display: block; width: 100%; height: 78vh; border: 0;
  background: var(--aej-bg);
}
@media (max-width: 767.98px) { .aej-pdf-frame { height: 65vh; } }

.aej-pdf-unavailable {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; min-height: 40vh; padding: var(--sp-5);
}

.list-group-item { border-color: var(--aej-border); padding: var(--sp-3) var(--sp-4); font-size: var(--fs-sm); color: var(--aej-ink-soft); background: var(--aej-surface); }
a.list-group-item:hover { background: var(--aej-crimson-wash); color: var(--aej-crimson-dark); text-decoration: none; }

.table { font-size: var(--fs-sm); color: var(--aej-ink-soft); background: var(--aej-surface); }
.table thead th {
  font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .07em;
  color: var(--aej-muted); background: var(--aej-surface-2);
  border-bottom: 2px solid var(--aej-border-strong); vertical-align: middle;
}
.table td { vertical-align: middle; }
.table-bordered, .table-bordered td, .table-bordered th { border-color: var(--aej-border); }
.table-striped tbody tr:nth-of-type(odd) { background: var(--aej-surface-2); }
.table-hover tbody tr:hover { background: var(--aej-crimson-wash); }

.aej-badge {
  display: inline-block; font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .04em; color: var(--aej-ink-soft);
  background: var(--aej-surface-2); border: 1px solid var(--aej-border);
  border-radius: var(--radius-pill); padding: .3rem .75rem; margin: 0 var(--sp-1) var(--sp-2) 0;
}
.aej-badge--accent { color:#fff; background: var(--aej-crimson); border-color: var(--aej-crimson); }

/* Announcement notice */
.aej-notice {
  background: var(--aej-surface); border: 1px solid var(--aej-border);
  border-left: 3px solid var(--aej-crimson); border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-5); margin-bottom: var(--sp-4);
}
.aej-notice__title { font-family: var(--aej-font-display); font-size: var(--fs-lg); font-weight: 700; color: var(--aej-ink); margin-bottom: var(--sp-1); }
.aej-notice__date { font-size: var(--fs-xs); color: var(--aej-muted); letter-spacing: .04em; text-transform: uppercase; }
.aej-notice__body { margin: var(--sp-2) 0 0; font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
footer.bg-dark { background: var(--aej-ink) !important; border-top: 3px solid var(--aej-crimson); }
footer.bg-dark p { color: rgba(255,255,255,.72); font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   14. Print
   -------------------------------------------------------------------------- */
@media print {
  .aej-nav, .aej-hero, footer, .aej-band { display: none !important; }
  body { background:#fff; color:#000; font-size: 11pt; }
  .card, .aej-feature { border:1px solid #999; box-shadow:none; }
  a { color:#000; text-decoration: underline; }
}
