/* akaturk.com — shared page masthead (2026-09-25)
   Linked from partials/aka_page_header.html, so every public page that uses the
   shared header gets the same light, editorial masthead regardless of which
   page stylesheet it loads. Replaces the flat red band: warm white gradient,
   soft red glow + dotted texture on the right, muted breadcrumb with chevrons,
   red eyebrow with a short bar, heavy ink title, muted lead. Page-specific
   hero elements that used white-on-red (journal/article badges, fact lists,
   topic/glossary breadcrumbs) are re-tinted here as well. All selectors are
   prefixed with `.aka-body .aka-uni__hero` so they outrank the older
   page-level rules of equal intent. */

.aka-body .aka-uni__hero {
  --m-ink: #141a2b;
  --m-muted: #5c6675;
  --m-faint: #8892a4;
  --m-line: #ebe4e5;
  --m-red: #c1121f;
  --m-red-soft: #fdecec;
  --m-red-tint: #fff6f6;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #fffafa 0%, #ffffff 100%);
  color: var(--m-ink);
  padding: 2.1rem 0 2.4rem;
  border-bottom: 1px solid var(--m-line);
}
.aka-body .aka-uni__hero::before {
  /* soft red glow, top-right */
  content: "";
  position: absolute;
  right: -8%;
  top: -55%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #fde2e4 0%, rgba(253, 226, 228, 0.55) 35%, rgba(255, 246, 246, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.aka-body .aka-uni__hero::after {
  /* dotted texture, fades toward the content */
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 34%;
  background-image: radial-gradient(#dcc7c9 1.2px, transparent 1.3px);
  background-size: 12px 12px;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 0;
}
.aka-body .aka-uni__hero > * { position: relative; z-index: 1; }

/* breadcrumb */
.aka-body .aka-uni__hero .aka-uni__breadcrumb { margin-bottom: 1.15rem; }
.aka-body .aka-uni__hero .aka-uni__breadcrumb-list { font-size: 0.78rem; gap: 0.3rem 0.45rem; }
.aka-body .aka-uni__hero .aka-uni__breadcrumb-item { color: var(--m-faint); font-weight: 500; gap: 0.45rem; }
.aka-body .aka-uni__hero .aka-uni__breadcrumb-item:not(:last-child)::after {
  content: "\203A";
  color: #cdc3c5;
  font-size: 1.05em;
  line-height: 1;
}
.aka-body .aka-uni__hero .aka-uni__breadcrumb-item a { color: var(--m-muted); text-decoration: none; transition: color 0.15s ease; }
.aka-body .aka-uni__hero .aka-uni__breadcrumb-item a:hover { color: var(--m-red); }
.aka-body .aka-uni__hero .aka-uni__breadcrumb-item[aria-current="page"],
.aka-body .aka-uni__hero .aka-uni__breadcrumb-current { color: var(--m-ink); font-weight: 600; }

/* eyebrow · title · lead · note */
.aka-body .aka-uni__hero .aka-uni__eyebrow,
.aka-body .aka-uni__hero .aka-art__eyebrow,
.aka-body .aka-uni__hero .aka-aca__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--m-red);
}
.aka-body .aka-uni__hero .aka-uni__eyebrow::before,
.aka-body .aka-uni__hero .aka-art__eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--m-red);
}
.aka-body .aka-uni__hero .aka-uni__title,
.aka-body .aka-uni__hero .aka-art__title,
.aka-body .aka-uni__hero .aka-jrn-detail__title {
  margin: 0;
  font-family: var(--aka-font, "Inter", system-ui, sans-serif);
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--m-ink);
  text-wrap: balance;
}
.aka-body .aka-uni__hero .aka-uni__lead {
  margin: 0.8rem 0 0;
  max-width: 48rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--m-muted);
}
.aka-body .aka-uni__hero .aka-uni__hero-note,
.aka-body .aka-uni__hero .aka-jrn__coverage-note {
  margin: 0.6rem 0 0;
  padding-left: 0.75rem;
  border-left: 2px solid #f3c3c7;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--m-muted);
  max-width: 60ch;
}

/* journal / TR Dizin detail heroes */
.aka-body .aka-uni__hero .aka-jrn__badge {
  background: #ffffff;
  border-color: var(--m-line);
  color: var(--m-ink);
}
.aka-body .aka-uni__hero .aka-jrn__badge--q1 { background: var(--m-red-soft); border-color: #f3c3c7; color: #9a0e18; }
.aka-body .aka-uni__hero .aka-jrn__badge--q2 { background: #fff4e0; border-color: #f5d9a8; color: #92400e; }
.aka-body .aka-uni__hero .aka-jrn__badge--q3 { background: #f1f5f9; border-color: #d5dde7; color: #334155; }
.aka-body .aka-uni__hero .aka-jrn__badge--q4 { background: #f8fafc; border-color: #e2e8f0; color: #64748b; }
.aka-body .aka-uni__hero .aka-jrn__badge--oa { background: #e6f5ef; border-color: #b7e3cf; color: #065f46; }
.aka-body .aka-uni__hero .aka-jrn__badge--tr { background: #e0f2f1; border-color: #a7dcd6; color: #0f5f5a; }
.aka-body .aka-uni__hero .aka-jrn-detail__fact dt { color: var(--m-faint); }
.aka-body .aka-uni__hero .aka-jrn-detail__fact dd { color: var(--m-ink); }
.aka-body .aka-uni__hero .aka-jrn-detail__muted { color: var(--m-muted); }
.aka-body .aka-uni__hero .aka-jrn-authors__lead,
.aka-body .aka-uni__hero .aka-jrn-authors__note { color: var(--m-muted); }
.aka-body .aka-uni__hero .aka-jrn-authors__count { color: var(--m-ink); }

/* article detail hero */
.aka-body .aka-uni__hero .aka-art__venue { color: var(--m-muted); font-style: normal; }
.aka-body .aka-uni__hero .aka-art__venue a { color: var(--m-ink); border-bottom-color: #f3c3c7; }
.aka-body .aka-uni__hero .aka-art__venue a:hover { color: var(--m-red); border-bottom-color: var(--m-red); }
.aka-body .aka-uni__hero .aka-art__journal-k { color: var(--m-faint); }
.aka-body .aka-uni__hero .aka-art__journal-name { color: var(--m-ink); border-bottom-color: #f3c3c7; }
.aka-body .aka-uni__hero a.aka-art__journal-name:hover { color: var(--m-red); border-bottom-color: var(--m-red); }
.aka-body .aka-uni__hero .aka-art__journal-issn,
.aka-body .aka-uni__hero .aka-art__journal-note { color: var(--m-muted); }
.aka-body .aka-uni__hero .aka-art__badge { background: #ffffff; border: 1px solid var(--m-line); color: var(--m-ink); }
.aka-body .aka-uni__hero .aka-art__badge--cite { background: var(--m-red-soft); border-color: #f3c3c7; color: #9a0e18; }
.aka-body .aka-uni__hero .aka-art__badge--tr { background: #e0f2f1; border-color: #a7dcd6; color: #0f5f5a; }
.aka-body .aka-uni__hero .aka-art__fact dt { color: var(--m-faint); }
.aka-body .aka-uni__hero .aka-art__fact dd,
.aka-body .aka-uni__hero .aka-art__fact dd code { color: var(--m-ink); }
.aka-body .aka-uni__hero .aka-art__fact--doi a { color: var(--m-ink); border-bottom-color: #f3c3c7; }
.aka-body .aka-uni__hero .aka-art__fact--doi a:hover { color: var(--m-red); border-bottom-color: var(--m-red); }

/* generic chips/badges some heroes place under the title */
.aka-body .aka-uni__hero .aka-uni__detail-badge { color: var(--m-ink); background: #ffffff; border: 1px solid var(--m-line); }
.aka-body .aka-uni__hero .aka-uni__detail-badge--type { background: var(--m-red-soft); border-color: #f3c3c7; color: var(--m-red); }

@media (max-width: 640px) {
  .aka-body .aka-uni__hero { padding: 1.5rem 0 1.75rem; }
  .aka-body .aka-uni__hero::after { width: 50%; opacity: 0.4; }
  .aka-body .aka-uni__hero .aka-uni__breadcrumb { margin-bottom: 0.85rem; }
  .aka-body .aka-uni__hero .aka-uni__title,
  .aka-body .aka-uni__hero .aka-art__title,
  .aka-body .aka-uni__hero .aka-jrn-detail__title { font-size: clamp(1.55rem, 7vw, 2rem); }
  .aka-body .aka-uni__hero .aka-uni__lead { font-size: 0.95rem; margin-top: 0.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .aka-body .aka-uni__hero .aka-uni__breadcrumb-item a { transition: none; }
}

/* journal detail: ISSN chips (were white-on-red) */
.aka-body .aka-uni__hero .aka-jrn-detail__issns,
.aka-body .aka-uni__hero .aka-jrn-detail__issns li { color: var(--m-muted); }
.aka-body .aka-uni__hero .aka-jrn-detail__issns code {
  color: var(--m-ink);
  background: #ffffff;
  border: 1px solid var(--m-line);
  border-radius: 6px;
  padding: 0.08rem 0.4rem;
}
