/**
 * Article / issue cover presentation — appearance only.
 * Includes hero building illustration for the homepage.
 */

/* ═══════════════════════════════════════════════════════════════════
   Homepage hero — Sarbon Universiteti binosi (right-side illustration)
   ═══════════════════════════════════════════════════════════════════ */
.hero-building {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(72%, 900px);
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-building__image {
  position: absolute;
  right: 0%;
  bottom: -50px;
  /* bottom: -12px; */
  /* width: 108%; */
  height: auto;
  /* max-height: 100%; */
  object-fit: contain;
  object-position: right bottom;
  mix-blend-mode: screen;
  opacity: 0.92;
  /* filter:
    brightness(1.08)
    contrast(1.05)
    saturate(0.85)
    drop-shadow(0 0 32px rgba(56, 189, 248, 0.16)); */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 12%,
    rgba(0, 0, 0, 0.85) 32%,
    #000 55%,
    #000 100%
  );
          mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 12%,
    rgba(0, 0, 0, 0.85) 32%,
    #000 55%,
    #000 100%
  );
  animation: hero-building-float 9s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
}

@keyframes hero-building-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (min-width: 1280px) {
  .hero-building {
    width: min(65%, 1150px);
  }
  .hero-building__image {
    right: 1%;
  }
}

@media (max-width: 1023px) {
  .hero-building {
    width: 75%;
    opacity: 0.55;
  }
  .hero-building__image {
    right: -4%;
    width: 118%;
  }
}

@media (max-width: 767px) {
  .hero-building {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-building__image {
    animation: none;
  }
}

.article-card-v2 {
  padding: 0;
}

.article-card-v2__cover {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1729;
}

.article-card-v2__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.article-card-v2:hover .article-card-v2__cover img {
  transform: scale(1.04);
}

.article-card-v2__cover--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
}

.article-card-v2__cover--empty svg {
  width: 2rem;
  height: 2rem;
}

.article-card-v2__cover-fade {
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(11, 23, 41, 0.35), transparent);
  pointer-events: none;
}

.article-card-v2__number {
  z-index: 2;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
}

.article-card-v2__body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.article-card-v2__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: auto;
}

.article-card-v2__footer .article-card-v2__meta {
  margin-top: 0;
}

.article-card-v2__footer .article-card-v2__read {
  margin-top: 0;
}

.article-cover-figure {
  margin: 0 0 2rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #e8edf3;
  box-shadow: 0 12px 32px -20px rgba(16, 32, 55, 0.35);
}

.article-cover-figure img {
  display: block;
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
}

/* ── Homepage: max 4 cards, 1 column list ── */
.latest-articles {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  /* max-width: 56rem; */
}

.latest-articles__item {
  min-width: 0;
}

.article-card-v2--list {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  box-shadow: 0 8px 28px -18px rgba(16, 32, 55, 0.28);
}

.article-card-v2--list .article-card-v2__cover {
  aspect-ratio: 16 / 9;
  min-height: 11rem;
}

.article-card-v2--list .article-card-v2__number {
  top: 0.9rem;
  left: 0.9rem;
  right: auto;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #1e3a5f;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(30, 58, 95, 0.08);
  box-shadow: 0 6px 16px -10px rgba(16, 32, 55, 0.45);
}

.article-card-v2--list .article-card-v2__body {
  padding: 1.25rem 1.35rem 1.35rem;
}

.article-card-v2--list .article-card-v2__title {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.article-card-v2--list .article-card-v2__abstract {
  margin-bottom: 0.85rem;
  -webkit-line-clamp: 2;
}

@media (min-width: 768px) {
  .article-card-v2--list {
    grid-template-columns: 15.5rem minmax(0, 1fr);
    min-height: 11.5rem;
  }

  .article-card-v2--list .article-card-v2__cover {
    aspect-ratio: auto;
    min-height: 100%;
    height: 100%;
  }

  .article-card-v2--list .article-card-v2__body {
    padding: 1.35rem 1.6rem;
    justify-content: center;
  }

  .article-card-v2--list .article-card-v2__title {
    font-size: 1.15rem;
  }

  .article-card-v2--list:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-card-v2__cover img,
  .article-card-v2--list {
    transition: none;
  }
}

/* ── Article page blocks ── */
.article-panel {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 25px 50px -12px rgba(16,32,55,0.12);
}

@media (min-width: 768px) {
  .article-panel {
    padding: 2.75rem 3rem;
  }
}

.article-block {
  margin-bottom: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eef2f7;
}

.article-block:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.article-block--soft {
  background: #f8fafc;
  border: 1px solid #e8edf3;
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.75rem;
}

.article-block__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.article-block__icon {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  color: #1e3a5f;
  background: rgba(30, 58, 95, 0.08);
}

.article-block__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.article-block__title {
  margin: 0;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #102037;
  letter-spacing: -0.02em;
}

.article-block__subtitle {
  margin: 0 0 0.85rem;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #102037;
}

.article-block__body {
  color: #4b5563;
  line-height: 1.75;
}

.article-keyword {
  display: inline-flex;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #eef4fb;
  color: #1e3a5f;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.article-keyword:hover {
  background: #dce8f6;
}

.article-refs {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sarbon-ref;
  display: grid;
  gap: 0.75rem;
}

.article-refs__item {
  position: relative;
  counter-increment: sarbon-ref;
  padding: 0.85rem 1rem 0.85rem 3rem;
  border-radius: 0.85rem;
  background: #f8fafc;
  border: 1px solid #e8edf3;
  color: #374151;
  font-size: 0.92rem;
  line-height: 1.55;
}

.article-refs__item::before {
  content: counter(sarbon-ref);
  position: absolute;
  left: 0.75rem;
  top: 0.85rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #1e3a5f;
  background: rgba(30, 58, 95, 0.1);
}

.article-url-card {
  background: linear-gradient(160deg, #0b1729 0%, #1e3a5f 55%, #254872 100%);
  color: #fff;
  border-radius: 1.25rem;
  padding: 1.35rem 1.25rem 1.25rem;
  box-shadow: 0 18px 40px -20px rgba(16, 32, 55, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.article-url-card__head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.article-url-card__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fde68a;
  background: rgba(201, 168, 76, 0.16);
  border: 1px solid rgba(201, 168, 76, 0.28);
}

.article-url-card__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.article-url-card__title {
  margin: 0 0 0.25rem;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.article-url-card__hint {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.62);
}

.article-url-card__box {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.85rem;
  border-radius: 0.95rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-url-card__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253, 230, 138, 0.85);
}

.article-url-card__link {
  display: block;
  min-height: 2.6rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.6rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fde68a;
  font-size: 0.74rem;
  line-height: 1.45;
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.article-url-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.article-url-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 0.65rem;
  cursor: pointer;
  padding: 0.55rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  color: #0b1729;
  background: #c9a84c;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.article-url-card__btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.article-url-card__btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.article-url-card__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.article-url-card__status {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  color: #86efac;
}

.article-url-card__doi {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  text-decoration: none;
  background: rgba(201, 168, 76, 0.14);
  border: 1px solid rgba(201, 168, 76, 0.28);
  color: #fff;
  transition: background 0.15s ease;
}

.article-url-card__doi:hover {
  background: rgba(201, 168, 76, 0.22);
}

.article-url-card__doi span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fde68a;
  font-weight: 700;
}

.article-url-card__doi strong {
  font-size: 0.85rem;
  font-weight: 600;
  word-break: break-all;
}

.article-related {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 25px 50px -12px rgba(16,32,55,0.1);
}

.article-related__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9a84c;
}

.article-related__title {
  margin: 0 0 1.1rem;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #102037;
}

.article-related__card {
  display: flex;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  background: #f8fafc;
  border: 1px solid #e8edf3;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.article-related__card:hover {
  transform: translateY(-1px);
  border-color: rgba(30, 58, 95, 0.2);
  box-shadow: 0 12px 28px -18px rgba(16, 32, 55, 0.35);
  background: #fff;
}

.article-related__media {
  flex-shrink: 0;
  width: 5.5rem;
  height: 4.25rem;
  border-radius: 0.7rem;
  overflow: hidden;
  background: #0b1729;
}

.article-related__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-related__media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
}

.article-related__media--empty svg {
  width: 1.4rem;
  height: 1.4rem;
}

.article-related__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.article-related__card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #102037;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-related__meta {
  font-size: 0.75rem;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══════════════════════════════════════════════════════════════════
   Shared inner-page hero (editorial / archive)
   ═══════════════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1729 0%, #102037 42%, #1e3a5f 100%);
  color: #fff;
  padding: 2.5rem 0 4.5rem;
  min-height: 22rem;
}

.page-hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}

.page-hero__glow {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
  filter: blur(100px);
}

.page-hero__glow--gold {
  width: 28rem;
  height: 28rem;
  top: -8rem;
  right: -6rem;
  background: rgba(201, 168, 76, 0.14);
}

.page-hero__glow--blue {
  width: 22rem;
  height: 22rem;
  bottom: -8rem;
  left: -5rem;
  background: rgba(85, 128, 189, 0.12);
}

/* Right-side blueprint illustration (about / team / archive / …) */
.page-hero__art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(58%, 720px);
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.page-hero__art-img {
  position: absolute;
  right: 0%;
  bottom: 0;
  width: 108%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: right bottom;
  mix-blend-mode: screen;
  opacity: 0.9;
  filter: brightness(1.05) contrast(1.04);
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.25) 10%,
    rgba(0, 0, 0, 0.8) 28%,
    #000 48%,
    #000 100%
  );
          mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.25) 10%,
    rgba(0, 0, 0, 0.8) 28%,
    #000 48%,
    #000 100%
  );
  animation: page-hero-art-float 10s ease-in-out infinite;
}

@keyframes page-hero-art-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.page-hero__body {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  margin-top: 1.75rem;
}

.page-hero__eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(253, 230, 138, 0.85);
}

.page-hero__title {
  margin: 0;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}

.page-hero__desc {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.page-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-hero__pill--soft {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 768px) {
  .page-hero {
    padding: 3rem 0 5.5rem;
    min-height: 26rem;
  }
}

@media (min-width: 1280px) {
  .page-hero__art {
    width: min(55%, 1150px);
  }

  .page-hero__art-img {
    right: 2%;
    width: 104%;
  }
}

@media (max-width: 1023px) {
  .page-hero__art {
    width: 72%;
    opacity: 0.5;
  }

  .page-hero__art-img {
    right: -4%;
    width: 118%;
  }

  .page-hero__body {
    max-width: 28rem;
  }
}

@media (max-width: 767px) {
  .page-hero__art {
    display: none;
  }

  .page-hero__body {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__art-img {
    animation: none;
  }
}

/* ── Empty state ── */
.page-empty {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px dashed #d7e0ea;
}

.page-empty__icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.1rem;
  color: #1e3a5f;
  background: rgba(30, 58, 95, 0.07);
}

.page-empty__icon svg {
  width: 1.85rem;
  height: 1.85rem;
}

.page-empty__title {
  margin: 0 0 0.5rem;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #102037;
}

.page-empty__text {
  margin: 0 auto;
  max-width: 28rem;
  color: #6b7280;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════
   Editorial team page
   ═══════════════════════════════════════════════════════════════════ */
.editorial-page .editorial-group + .editorial-group {
  margin-top: 2.75rem;
}

.editorial-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e4ebf3;
}

.editorial-group__index {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #1e3a5f;
  background: rgba(30, 58, 95, 0.08);
}

.editorial-group__titles {
  flex: 1 1 12rem;
  min-width: 0;
}

.editorial-group__title {
  margin: 0;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #102037;
}

.editorial-group__hint {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: #7a8798;
}

.editorial-group__tag {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #92640f;
  background: rgba(201, 168, 76, 0.16);
  border: 1px solid rgba(201, 168, 76, 0.28);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .editorial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.editor-card--page {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  padding: 1.2rem 1.25rem;
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid #e8edf3;
  box-shadow: 0 8px 28px -20px rgba(16, 32, 55, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.editor-card--page:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 58, 95, 0.16);
  box-shadow: 0 16px 36px -22px rgba(16, 32, 55, 0.4);
}

.editor-card--page .editor-card__avatar {
  flex-shrink: 0;
  width: 3.6rem;
  height: 3.6rem;
  margin: 0;
  border-radius: 1rem;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #1e3a5f;
  background: linear-gradient(145deg, #e8eef6 0%, #d5e0ef 100%);
}

.editor-card--page.editor-card--chief {
  background: linear-gradient(165deg, #fffaf0 0%, #fff 55%);
  border-color: rgba(201, 168, 76, 0.35);
}

.editor-card--page.editor-card--chief .editor-card__avatar {
  color: #92640f;
  background: linear-gradient(145deg, #f8e9c4 0%, #f0d79a 100%);
}

.editor-card--page .editor-card__content {
  min-width: 0;
  flex: 1;
}

.editor-card--page .editor-card__badge {
  margin-bottom: 0.4rem;
}

.editor-card--page .editor-card__name {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.3;
}

.editor-card--page .editor-card__role {
  margin: 0.25rem 0 0;
}

.editor-card--page .editor-card__affil {
  margin: 0.35rem 0 0;
  line-height: 1.4;
}

.editor-card__orcid {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1e3a5f;
  text-decoration: none;
}

.editor-card__orcid:hover {
  color: #c9a84c;
}

.editorial-html {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 28px -20px rgba(16, 32, 55, 0.28);
}

@media (min-width: 768px) {
  .editorial-html {
    padding: 2.75rem 3rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   Issue archive page
   ═══════════════════════════════════════════════════════════════════ */
.archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .archive-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.archive-card--page {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 10px 30px -22px rgba(16, 32, 55, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.archive-card--page:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 58, 95, 0.18);
  box-shadow: 0 22px 40px -24px rgba(16, 32, 55, 0.45);
}

.archive-card--page .archive-card__cover {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(160deg, #0b1729 0%, #1e3a5f 55%, #254872 100%);
}

.archive-card--page .archive-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.archive-card--page:hover .archive-card__cover img {
  transform: scale(1.05);
}

.archive-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.25rem;
  text-align: center;
}

.archive-card--page .archive-card__vol {
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.88);
}

.archive-card__year {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(253, 230, 138, 0.8);
}

.archive-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background: linear-gradient(to top, rgba(11, 23, 41, 0.82), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.archive-card--page:hover .archive-card__overlay {
  opacity: 1;
}

.archive-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
}

.archive-card--page .archive-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.05rem 1.15rem 1.2rem;
  flex: 1;
}

.archive-card--page .archive-card__title {
  margin: 0;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  color: #102037;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.archive-card--page:hover .archive-card__title {
  color: #1e3a5f;
}

.archive-card__subtitle {
  margin: 0;
  font-size: 0.78rem;
  color: #7a8798;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.archive-card--page .archive-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.45rem;
  font-size: 0.75rem;
  color: #8b97a8;
}

@media (prefers-reduced-motion: reduce) {
  .editor-card--page,
  .archive-card--page,
  .archive-card--page .archive-card__cover img {
    transition: none;
  }

  .editor-card--page:hover,
  .archive-card--page:hover {
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   Shared content pages (about / search / submissions)
   ═══════════════════════════════════════════════════════════════════ */
.page-container--narrow {
  /* max-width: 52rem; */
}

.page-hero__body--wide {
  max-width: 32rem;
}

.page-hero__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
  animation: page-hero-pulse 2s ease-in-out infinite;
}

@keyframes page-hero-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.page-panel {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 1.25rem;
  padding: 1.75rem 1.35rem;
  box-shadow: 0 10px 32px -22px rgba(16, 32, 55, 0.35);
}

@media (min-width: 768px) {
  .page-panel {
    padding: 2.75rem 3rem;
  }
}

.page-prose {
  color: #4b5563;
  line-height: 1.75;
  font-size: 1.05rem;
}

.page-prose > *:first-child {
  margin-top: 0;
}

.page-prose h1,
.page-prose h2,
.page-prose h3,
.page-prose h4 {
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #102037;
  line-height: 1.25;
}

.page-prose h2 {
  font-size: 1.45rem;
  margin: 2.25rem 0 0.85rem;
}

.page-prose h3 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.65rem;
}

.page-prose p {
  margin: 0 0 1rem;
}

.page-prose ul,
.page-prose ol {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
}

.page-prose li {
  margin-bottom: 0.4rem;
}

.page-prose a {
  color: #1e3a5f;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 58, 95, 0.2);
}

.page-prose a:hover {
  color: #c9a84c;
  border-bottom-color: rgba(201, 168, 76, 0.45);
}

.page-prose strong {
  color: #102037;
}

.page-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.25rem 0;
}

.page-prose th,
.page-prose td {
  border: 1px solid #e8edf3;
  padding: 0.65rem 0.75rem;
  text-align: left;
}

.page-prose th {
  background: #f5f8fc;
  color: #102037;
  font-weight: 700;
}

.page-prose--compact {
  font-size: 0.95rem;
}

.page-prose--compact h2 {
  font-size: 1.2rem;
  margin-top: 0;
}

.page-empty--soft {
  border-style: solid;
  background: #f8fafc;
}

/* ── Search ── */
.page-hero--search {
  padding-bottom: 5rem;
}

.search-hero-form {
  position: relative;
  display: flex;
  align-items: stretch;
  margin-top: 1.75rem;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 18px 48px -18px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.search-hero-form__icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: #94a3b8;
  pointer-events: none;
}

.search-hero-form__icon svg {
  width: 100%;
  height: 100%;
}

.search-hero-form__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 1.1rem 7.5rem 1.1rem 3.15rem;
  font-size: 1.05rem;
  color: #102037;
  background: transparent;
}

.search-hero-form__input::placeholder {
  color: #94a3b8;
}

.search-hero-form__btn {
  position: absolute;
  right: 0.45rem;
  top: 0.45rem;
  bottom: 0.45rem;
  padding: 0 1.35rem;
  border: 0;
  border-radius: 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #102037;
  background: #c9a84c;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.search-hero-form__btn:hover {
  background: #d4b65a;
}

.search-hero-form__btn:active {
  transform: translateY(1px);
}

.search-results__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e8edf3;
}

.search-results__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  color: #1e3a5f;
  background: rgba(30, 58, 95, 0.08);
}

.search-results__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.search-results__label {
  margin: 0;
  font-size: 0.98rem;
  color: #64748b;
  line-height: 1.45;
}

.search-results__label strong {
  color: #102037;
  font-weight: 700;
}

.search-results__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search-results__item {
  min-width: 0;
}

/* ── Submissions ── */
.submit-status {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.75rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.submit-status--ok {
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.submit-status--warn {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.submit-status__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.65);
}

.submit-status__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.submit-status__body a {
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.submit-block {
  margin-top: 2rem;
  border: 1px solid #e8edf3;
  border-radius: 1.1rem;
  overflow: hidden;
  background: #f8fafc;
}

.submit-block--soft {
  padding: 1.35rem 1.4rem 1.5rem;
  background: #fff;
}

.submit-block__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e8edf3;
  background: linear-gradient(135deg, #eef3f9, #f8fafc);
}

.submit-block__icon {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  color: #1e3a5f;
  background: rgba(30, 58, 95, 0.08);
}

.submit-block__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.submit-block__title {
  margin: 0;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #102037;
}

.submit-block__body {
  padding: 1.25rem 1.35rem 1.45rem;
}

.submit-cta {
  position: relative;
  overflow: hidden;
  margin-top: 1.75rem;
  border-radius: 1.35rem;
  background: linear-gradient(135deg, #a38639 0%, #c9a84c 48%, #d4b65a 100%);
  color: #fff;
  box-shadow: 0 22px 48px -20px rgba(201, 168, 76, 0.5);
}

.submit-cta__glow {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 70%);
  pointer-events: none;
}

.submit-cta__inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .submit-cta__inner {
    padding: 3.25rem 3rem;
  }
}

.submit-cta__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.submit-cta__title {
  margin: 0;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.submit-cta__desc {
  margin: 0.85rem auto 0;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.submit-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
  padding: 0.95rem 1.6rem;
  border-radius: 0.9rem;
  font-size: 1rem;
  font-weight: 800;
  color: #7d6628;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.submit-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__dot,
  .search-hero-form__btn,
  .submit-cta__btn {
    animation: none;
    transition: none;
  }

  .submit-cta__btn:hover {
    transform: none;
  }
}

