/* ==========================================================================
   AIJISR - UI DESIGN SYSTEM
   ElevenLabs Editorial Design Language with Noto Serif & Inter
   Central Typography configuration: public/assets/css/typography.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS (:root)
   -------------------------------------------------------------------------- */

:root {
  --header-total-height: 171px;
  /* ── ElevenLabs Brand & Accent ── */
  --primary:        #2b2b2b;
  --primary-active:  #0c0a09;
  --ink:            #0c0a09;
  --body-color:     #4e4e4e;
  --body-strong:    #2b2b2b;
  --muted:          #777169;
  --muted-soft:     #a8a29e;
  --on-primary:     #ffffff;
  --on-dark:        #ffffff;
  --on-dark-soft:   #a8a29e;

  /* ── Surfaces ── */
  --canvas:              #f5f5f5;
  --canvas-soft:         #fafafa;
  --canvas-deep:         #0c0a09;
  --surface-card:        #ffffff;
  --surface-strong:      #f0efed;
  --surface-dark:        #0c0a09;
  --surface-dark-elevated: #1c1917;

  /* ── Hairlines ── */
  --hairline:        #e7e5e4;
  --hairline-soft:   #f0efed;
  --hairline-strong: #d6d3d1;

  /* ── Atmospheric Gradient Orbs ── */
  --gradient-mint:     #a7e5d3;
  --gradient-peach:    #f4c5a8;
  --gradient-lavender: #c8b8e0;
  --gradient-sky:      #a8c8e8;
  --gradient-rose:     #e8b8c4;

  /* ── Semantic ── */
  --semantic-success: #16a34a;
  --semantic-error:   #dc2626;
  --success-700: #16a34a;
  --success-100: #e3f4ea;
  --warning-700: #9a6700;
  --warning-100: #fff4d6;
  --danger-700:  #dc2626;
  --danger-100:  #fde8e6;
  --info-700:    #175cd3;
  --info-100:    #e5efff;

  /* ── Typography: fonts, weights, sizes and line heights live only in typography.css ──
     (redefining them here as var(--x, …) of themselves made them invalid: the site fell back to Times New Roman) */

  /* legacy compat aliases */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  1.875rem;
  --fs-3xl:  2.375rem;

  /* ── Rounded ── */
  --rounded-none: 0px;
  --rounded-xs:   4px;
  --rounded-sm:   6px;
  --rounded-md:   8px;
  --rounded-lg:   10px;
  --rounded-xl:   10px;
  --rounded-xxl:  12px;
  --rounded-btn:  10px;
  --rounded-card: 10px;
  --rounded-pill: 9999px;
  --rounded-full: 9999px;

  /* legacy aliases */
  --radius-sm: var(--rounded-sm);
  --radius-md: var(--rounded-md);
  --radius-lg: var(--rounded-lg);

  /* ── Spacing (4px base) ── */
  --space-xxs: 4px;
  --space-xs:  8px;
  --space-sm:  12px;
  --space-base: 16px;
  --space-md:  20px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-xxl: 48px;
  --space-section: 96px;

  /* legacy spacing aliases */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* ── Grid ── */
  --container:      1200px;
  --container-read: 760px;
  --gutter:         24px;

  /* ── Elevation ── */
  --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-sm:   0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md:   0 4px 12px rgba(0, 0, 0, 0.06);

  /* legacy aliases */
  --bg-main:  var(--canvas);
  --bg-card:  var(--surface-card);
  --white:    #ffffff;
  --text-main: var(--ink);
  --text-muted: var(--muted);
  --border:    var(--hairline);
  --border-focus: var(--ink);

  /* ── Legacy color aliases (referenced in views/partials) ── */
  --brand-900: var(--ink);
  --brand-800: var(--primary);
  --brand-700: var(--primary);
  --brand-600: var(--primary);
  --brand-500: var(--body-strong);
  --brand-100: var(--surface-strong);
  --brand-050: var(--canvas-soft);
  --accent-600: var(--semantic-error);
  --accent-100: var(--danger-100);
  --gray-950: #121417;
  --gray-900: var(--ink);
  --gray-700: var(--body-color);
  --gray-600: var(--muted);
  --gray-500: var(--muted-soft);
  --gray-400: var(--muted-soft);
  --gray-300: var(--hairline-strong);
  --gray-200: var(--hairline);
  --gray-100: var(--hairline-soft);
  --gray-050: var(--canvas);
  --success: var(--semantic-success);
  --success-bg: var(--success-100);
  --warning: var(--warning-700);
  --warning-bg: var(--warning-100);
  --danger: var(--danger-700);
  --danger-bg: var(--danger-100);
  --info: var(--info-700);
  --info-bg: var(--info-100);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE ELEMENTS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-synthesis: none !important;
  -webkit-font-synthesis: none !important;
  font-synthesis-weight: none !important;
  font-synthesis-style: none !important;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 54px;
  text-size-adjust: 100%;
  overflow-x: clip;
  font-synthesis: none !important;
  -webkit-font-synthesis: none !important;
}

body {
  font-family: var(--font-serif);
  font-weight: var(--font-weight-normal, 400);
  font-synthesis: none !important;
  -webkit-font-synthesis: none !important;
  font-synthesis-weight: none !important;
  font-synthesis-style: none !important;
  background-color: var(--canvas);
  color: var(--body-color);
  font-size: var(--body-md);
  line-height: var(--lh-normal);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
}

/* Erişilebilirlik: İçeriğe Atla Bağlantısı */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--ink);
  color: var(--on-primary);
  padding: 10px 20px;
  z-index: 99999;
  font-size: var(--btn-size);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--rounded-btn);
  transition: top 0.2s ease-out;
}
.skip-link:focus {
  top: 1rem;
  outline: 3px solid rgba(41, 37, 36, 0.35);
}

/* Klavye Odak Halkası */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Bağlantılar */
a {
  color: var(--ink);
  text-decoration: none;
  transition: color 150ms ease-out, opacity 150ms ease-out;
}
a:hover {
  color: var(--primary-active);
  text-decoration: underline;
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY (Editorial Academic: Noto Serif & Inter System)
   -------------------------------------------------------------------------- */

/* Prevent faux-bold (yapay kalınlaştırma) on all elements */
*, *::before, *::after, html, body {
  font-synthesis: none !important;
  -webkit-font-synthesis: none !important;
  font-synthesis-weight: none !important;
  font-synthesis-style: none !important;
}

/* Headings: Noto Serif 600, tight letter-spacing, elegant line-height */
h1, h2, h3,
.font-display,
.font-serif-heading,
.editorial-title,
.article-reading-title,
.home-hero__title,
.journal-cover__title,
.article-related-title,
.page-article-body h1, .page-article-body h2, .page-article-body h3,
.about-page h1, .about-page h2, .about-page h3,
.about-page-container h1, .about-page-container h2, .about-page-container h3,
.page-article-body--two-col h1, .page-article-body--two-col h2, .page-article-body--two-col h3 {
  font-family: var(--font-display) !important;
  font-weight: var(--font-weight-heading, 600) !important;
  color: var(--ink);
}

h1, h2 {
  font-weight: var(--font-weight-heading, 600) !important;
  letter-spacing: -0.015em;
  line-height: 1.08;
}

h3 {
  font-weight: var(--font-weight-heading, 600) !important;
  letter-spacing: -0.012em;
  line-height: 1.2;
}

h4, h5, h6 {
  color: var(--ink);
  font-family: var(--font-sans) !important;
  font-weight: var(--font-weight-heading, 600) !important;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* Headings with strong/b inside */
h1 strong, h2 strong, h3 strong,
h1 b, h2 b, h3 b,
.editorial-title strong, .editorial-title b,
.article-reading-title strong, .article-reading-title b,
.page-article-body h1 strong, .page-article-body h2 strong, .page-article-body h3 strong,
.page-article-body h1 b, .page-article-body h2 b, .page-article-body h3 b,
.about-page h1 strong, .about-page h2 strong, .about-page h3 strong,
.about-page h1 b, .about-page h2 b, .about-page h3 b {
  font-family: inherit;
  font-weight: 600;
  color: inherit;
}

/* All emphasis (strong, b): Authentic 600 Semi-Bold everywhere (never 700 or faux bold) */
h1, h2, h3, strong, b {
  font-weight: 600;
}

strong, b {
  font-weight: 600;
  color: var(--ink);
}

.article-body strong,
.article-body b,
.page-article-body strong,
.page-article-body b,
.about-page strong,
.about-page b,
.about-page-container strong,
.about-page-container b,
.page-article-body--two-col strong,
.page-article-body--two-col b,
.privacy-policy-page strong,
.privacy-policy-page b,
.abstract-text strong,
.abstract-text b,
.cite-preview-box strong,
.cite-preview-box b {
  font-family: inherit;
  font-weight: 600;
  color: var(--ink);
}

/* Scholarly In-Text Italic retains authentic Noto Serif Italic (weight 400) */
.article-body em,
.article-body i,
.page-article-body em,
.page-article-body i,
.about-page em,
.about-page i,
.about-page-container em,
.about-page-container i,
.page-article-body--two-col em,
.page-article-body--two-col i,
.privacy-policy-page em,
.privacy-policy-page i,
.abstract-text em,
.abstract-text i,
[style*="font-family: var(--font-serif)"] em,
[style*="font-family: var(--font-serif)"] i,
[style*="font-family: var(--font-display)"] em,
[style*="font-family: var(--font-display)"] i {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: var(--font-weight-normal, 400) !important;
}

/* ==========================================================================
   ABOUT PAGE (/about) - AUTHENTIC NOTO SERIF SCHOLARLY TYPOGRAPHY
   Body text: Noto Serif Regular (400)
   Headings: Noto Serif Semi-Bold (600), -0.015em letter-spacing, 1.08 line-height
   Emphasis: Noto Serif Semi-Bold (600)
   ========================================================================== */
.about-page-container,
.about-page-container *,
.about-page,
.about-page *,
.about-page-article,
.about-page-article *,
.page-article-body--two-col,
.page-article-body--two-col * {
  font-family: var(--font-serif);
  font-synthesis: none !important;
  -webkit-font-synthesis: none !important;
  font-synthesis-weight: none !important;
}

.about-page p, .about-page span, .about-page div, .about-page li, .about-page a,
.page-article-body--two-col p, .page-article-body--two-col span, .page-article-body--two-col div,
.page-article-body--two-col li, .page-article-body--two-col a {
  font-weight: var(--font-weight-normal, 400);
}

.about-page h1, .about-page h2,
.about-page-container h1, .about-page-container h2,
.page-article-body--two-col h1, .page-article-body--two-col h2 {
  font-family: var(--font-display) !important;
  font-weight: var(--font-weight-heading, 600) !important;
  letter-spacing: -0.015em !important;
  line-height: 1.08 !important;
  color: var(--ink) !important;
}

.about-page h3,
.about-page-container h3,
.page-article-body--two-col h3 {
  font-family: var(--font-display) !important;
  font-weight: var(--font-weight-heading, 600) !important;
  letter-spacing: -0.012em !important;
  line-height: 1.2 !important;
  color: var(--ink) !important;
}

.about-page strong,
.about-page b,
.about-page-container strong,
.about-page-container b,
.page-article-body--two-col strong,
.page-article-body--two-col b {
  font-family: var(--font-serif) !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
}

.about-page em,
.about-page i,
.about-page-container em,
.about-page-container i,
.page-article-body--two-col em,
.page-article-body--two-col i {
  font-family: var(--font-serif) !important;
  font-style: italic !important;
  font-weight: var(--font-weight-normal, 400) !important;
}

h1 {
  font-size: var(--h1-size, 41px);
  line-height: 1.15;
  margin-bottom: var(--space-base);
  letter-spacing: 0 !important;
}

h2 {
  font-size: var(--display-md);
  line-height: 1.2;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  letter-spacing: 0 !important;
}

h3 {
  font-size: var(--title-md);
  line-height: 1.25;
  margin-bottom: var(--space-xs);
  letter-spacing: 0 !important;
}

h4 {
  font-size: var(--title-sm);
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0 !important;
}

p {
  margin-bottom: 1em;
}

code, pre, kbd, samp {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
}

/* --------------------------------------------------------------------------
   4. LAYOUT (CONTAINER, GRID, UTILITIES)
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container-read {
  max-width: var(--container-read);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.main-content {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: var(--space-xl) var(--gutter);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

.col-12 { grid-column: span 12; }
.col-8  { grid-column: span 8; }
.col-7  { grid-column: span 7; }
.col-5  { grid-column: span 5; }
.col-4  { grid-column: span 4; }
.col-3  { grid-column: span 3; }
.col-2  { grid-column: span 2; }

/* --------------------------------------------------------------------------
   5. COMPONENTS
   -------------------------------------------------------------------------- */

/* 5.1 Buttons (10px Rounded Geometry) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  height: 40px;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: var(--btn-size);
  font-weight: 500;
  border-radius: var(--rounded-btn);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 200ms ease-out, border-color 200ms ease-out, color 200ms ease-out, box-shadow 200ms ease-out, transform 200ms ease-out;
}
.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--on-primary) !important;
  border-color: var(--primary);
}
.btn-primary:hover {
  background-color: var(--primary-active);
  border-color: var(--primary-active);
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--ink) !important;
  border-color: var(--hairline-strong);
}
.btn-secondary:hover {
  background-color: var(--surface-strong);
  border-color: var(--ink);
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  color: var(--ink) !important;
  border-color: var(--hairline-strong);
}
.btn-outline:hover {
  background-color: var(--surface-strong);
  border-color: var(--ink);
  text-decoration: none;
}

.btn-danger {
  background-color: var(--semantic-error);
  color: var(--on-primary) !important;
  border-color: var(--semantic-error);
}
.btn-danger:hover {
  background-color: #b91c1c;
  text-decoration: none;
}

.btn-text {
  background: transparent;
  border: none;
  color: var(--ink);
  text-decoration: underline;
  padding: 0;
  height: auto;
  border-radius: 0;
}
.btn-text:hover {
  color: var(--primary-active);
  transform: none;
}

.btn-sm {
  height: 32px;
  padding: 6px 14px;
  font-size: var(--caption);
}

.btn-lg {
  height: 48px;
  padding: 0 28px;
  font-size: var(--body-md);
}

.btn:disabled, .btn.disabled {
  background-color: var(--surface-strong) !important;
  color: var(--muted-soft) !important;
  border-color: var(--hairline) !important;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

/* 5.2 Cards (xl-rounded, hairline, soft hover shadow) */
.card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-xl);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  transition: border-color 200ms ease-out, box-shadow 300ms ease-out;
}

.card:hover {
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-soft);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-base);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--hairline);
}

.card-title {
  font-family: var(--font-sans);
  font-size: var(--title-md);
  font-weight: 500;
  color: var(--ink);
}

/* 5.3 Form Elements */
.form-group {
  margin-bottom: var(--space-base);
}

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--caption);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-xxs);
  letter-spacing: 0;
}

.form-label .required-star {
  color: var(--semantic-error);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  height: 44px;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: var(--body-md);
  color: var(--ink);
  background-color: var(--surface-card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--rounded-md);
  transition: border-color 200ms ease-out, box-shadow 200ms ease-out;
  letter-spacing: 0;
}

textarea.form-control {
  height: auto;
  min-height: 120px;
  padding: var(--space-sm) var(--space-base);
  resize: vertical;
}

.form-control:focus {
  outline: none;
  border-color: var(--ink);
  border-width: 2px;
  box-shadow: none;
}

.form-control.is-invalid {
  border-color: var(--semantic-error);
}

.form-hint {
  font-size: var(--caption-up);
  color: var(--muted);
  margin-top: var(--space-xxs);
}

.form-error {
  font-size: var(--caption-up);
  color: var(--semantic-error);
  margin-top: var(--space-xxs);
  display: flex;
  align-items: center;
  gap: var(--space-xxs);
}

/* Sürükle-Bırak Dosya Yükleme Alanı */
.file-dropzone {
  border: 2px dashed var(--hairline-strong);
  border-radius: var(--rounded-xl);
  padding: var(--space-xl);
  text-align: center;
  background-color: var(--canvas-soft);
  cursor: pointer;
  transition: border-color 200ms ease-out, background-color 200ms ease-out;
}
.file-dropzone:hover {
  border-color: var(--ink);
  background-color: var(--surface-strong);
}

/* 5.4 Status Badges (Pill — ElevenLabs) */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--rounded-pill);
  font-family: var(--font-sans);
  font-size: var(--caption-up);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.96px;
  white-space: nowrap;
}

.badge-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Rozet Çeşitleri */
.badge-status--gray {
  background-color: var(--surface-strong);
  color: var(--body-color);
}
.badge-status--gray .badge-status__dot {
  background-color: var(--muted-soft);
}

.badge-status--info {
  background-color: var(--info-100);
  color: var(--info-700);
}
.badge-status--info .badge-status__dot {
  background-color: var(--info-700);
}

.badge-status--warning {
  background-color: var(--warning-100);
  color: var(--warning-700);
}
.badge-status--warning .badge-status__dot {
  background-color: var(--warning-700);
}

.badge-status--warning-dark {
  background-color: var(--warning-100);
  color: #78350f;
  font-weight: 600;
}
.badge-status--warning-dark .badge-status__dot {
  background-color: #b45309;
}

.badge-status--success {
  background-color: var(--success-100);
  color: var(--success-700);
}
.badge-status--success .badge-status__dot {
  background-color: var(--success-700);
}

.badge-status--success-solid {
  background-color: var(--success-700);
  color: var(--on-primary);
}
.badge-status--success-solid .badge-status__dot {
  background-color: var(--on-primary);
}

.badge-status--danger {
  background-color: var(--danger-100);
  color: var(--danger-700);
}
.badge-status--danger .badge-status__dot {
  background-color: var(--danger-700);
}

/* Legacy badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--rounded-pill);
  font-family: var(--font-sans);
  font-size: var(--caption-up);
  font-weight: 600;
  letter-spacing: 0.96px;
  text-transform: uppercase;
}

/* 5.5 Tags */
.tag {
  display: inline-block;
  background-color: var(--surface-strong);
  color: var(--ink);
  font-size: var(--caption);
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--rounded-pill);
  text-decoration: none;
  transition: background-color 200ms ease-out, color 200ms ease-out;
}
.tag:hover {
  background-color: var(--hairline);
  color: var(--ink);
  text-decoration: none;
}

/* Açık Erişim Rozeti */
/* Open Access logo (no hover effect; currently not used on the home page) */
.oa-logo {
  display: inline-block;
  width: 112px;
  height: 45px;
  background-color: #0c0a09;
  -webkit-mask: var(--oa) left center / contain no-repeat;
  mask: var(--oa) left center / contain no-repeat;
  cursor: default;
}

.tag-oa {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--surface-strong);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--caption-up);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--rounded-pill);
  letter-spacing: 0.96px;
  text-transform: uppercase;
}

.tag-type {
  display: inline-block;
  background-color: var(--surface-strong);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--caption-up);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--rounded-pill);
  letter-spacing: 0.5px;
  text-transform: none;
}

/* 5.6 Alerts */
.alert {
  padding: var(--space-base) var(--space-lg);
  border-radius: var(--rounded-xl);
  margin-bottom: var(--space-base);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--body-sm);
  border-left: 4px solid transparent;
  line-height: 1.5;
}

.alert-success {
  background-color: var(--success-100);
  color: var(--success-700);
  border-left-color: var(--success-700);
}

.alert-warning {
  background-color: var(--warning-100);
  color: var(--warning-700);
  border-left-color: var(--warning-700);
}

.alert-error, .alert-danger {
  background-color: var(--danger-100);
  color: var(--danger-700);
  border-left-color: var(--danger-700);
}

.alert-info {
  background-color: var(--info-100);
  color: var(--info-700);
  border-left-color: var(--info-700);
}

/* 5.7 Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--caption);
  color: var(--muted);
  /* room above (below the menu bar) and below (before the page title) */
  margin-top: 28px;
  margin-bottom: 26px;
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.breadcrumb-separator {
  color: var(--muted-soft);
}
.breadcrumb-current {
  color: var(--ink);
  font-weight: 500;
}

/* 5.8 Tables */
.table-responsive {
  overflow-x: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-xl);
  margin-bottom: var(--space-base);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--body-sm);
  text-align: left;
  background-color: var(--surface-card);
}

.table th {
  background-color: var(--surface-strong);
  padding: var(--space-sm) var(--space-base);
  font-weight: 600;
  color: var(--body-color);
  border-bottom: 1px solid var(--hairline-strong);
  text-transform: uppercase;
  font-size: var(--caption-up);
  letter-spacing: 0.96px;
}

.table td {
  padding: var(--space-base);
  border-bottom: 1px solid var(--hairline);
  vertical-align: middle;
  color: var(--ink);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table tbody tr:hover {
  background-color: var(--canvas-soft);
}

/* --------------------------------------------------------------------------
   6. HEADER (Single-tier Editorial Nav — ElevenLabs)
   -------------------------------------------------------------------------- */
.header-academic {
  width: 100%;
  background: var(--canvas);
  position: relative;
  z-index: 1000;
  border-bottom: none;
}
@media (min-width: 769px) {
  .header-academic {
    position: -webkit-sticky;
    position: sticky;
    top: var(--header-sticky-offset, -84px);
    z-index: 1000;
  }
}

/* Nav Menu Language Picker */
.header-nav-item--lang {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.nav-lang-picker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--rounded-pill);
  font-family: var(--font-sans);
  font-size: var(--caption-up);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background-color 150ms, border-color 150ms;
}
.nav-lang-picker:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}
.nav-lang-icon {
  color: #a8a29e;
  opacity: 0.9;
  flex-shrink: 0;
}
.nav-lang-link {
  color: #d6d3d1;
  text-decoration: none;
  transition: color 150ms;
}
.nav-lang-link:hover {
  color: #ffffff;
  text-decoration: none;
}
.nav-lang-link.active {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}
.nav-lang-sep {
  opacity: 0.3;
  color: rgba(255, 255, 255, 0.6);
}

/* Katman 2: Ana Başlık Çubuğu (64px, canvas background) */
.header-mainbar {
  background-color: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  padding: var(--space-sm) 0;
  height: 84px; /* taller bar so the wordmark logo has room */
}
.header-mainbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  height: 100%;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none !important;
}
.header-brand__img { display: block; height: 42px; width: auto; max-width: 100%; }
.footer-logo { display: block; height: 36px; width: auto; max-width: 100%; margin-bottom: 18px; }
@media (max-width: 640px) { .header-brand__img { height: 32px; } .footer-logo { height: 30px; margin-bottom: 16px; } }
.header-brand__logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.5px;
  line-height: 1;
}
.header-brand__tagline {
  font-family: var(--font-sans);
  font-size: var(--caption-up);
  color: var(--muted);
  display: block;
  margin-top: 2px;
  letter-spacing: 0.5px;
}
.header-brand__badge {
  background-color: var(--surface-strong);
  color: var(--ink);
  font-size: 0.6rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--rounded-pill);
  text-transform: uppercase;
  letter-spacing: 0.96px;
}

.header-mainbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header-search-form {
  position: relative;
  width: 260px;
}
.header-search-input {
  width: 100%;
  height: 38px;
  padding: 0 var(--space-sm) 0 34px;
  font-family: var(--font-sans);
  font-size: var(--caption);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--rounded-btn);
  background-color: var(--surface-card);
  color: var(--ink);
  transition: border-color 200ms, background-color 200ms;
}
.header-search-input:focus {
  background-color: var(--surface-card);
  border-color: var(--ink);
  outline: none;
}
.header-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-soft);
  pointer-events: none;
}

/* Katman 3: Ana Navigasyon Çubuğu */
.header-navbar {
  background-color: #2b2b2b;
  border-bottom: 1px solid #1c1917;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.header-nav-list {
  display: flex;
  align-items: center;
  width: 100%;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
}
.header-nav-item {
  position: relative;
}
.header-nav-link {
  display: inline-block;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: var(--nav-size);
  font-weight: 500;
  color: #d6d3d1;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease-out, border-color 180ms ease-out, background-color 180ms ease-out;
}
.header-nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}
.header-nav-link.active {
  color: #ffffff;
  font-weight: 600;
  border-bottom-color: #ffffff;
}

/* Dropdown Menu Styles */
.header-nav-item--dropdown {
  position: relative;
}
.header-nav-link--dropdown {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.header-nav-link--dropdown .nav-chevron {
  transition: transform 180ms ease;
  opacity: 0.65;
  color: currentColor;
}
.header-nav-item--dropdown:hover .header-nav-link--dropdown .nav-chevron,
.header-nav-item--dropdown:focus-within .header-nav-link--dropdown .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.header-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.1), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  list-style: none;
  padding: 6px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  z-index: 1050;
}

.header-nav-item--dropdown:hover .header-dropdown-menu,
.header-nav-item--dropdown:focus-within .header-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-dropdown-link {
  display: block;
  padding: 9px 18px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  line-height: 1.35;
  transition: background 120ms ease, color 120ms ease;
  white-space: nowrap;
}

.header-dropdown-link:hover {
  background: #f8fafc;
  color: #0f172a;
  text-decoration: none;
}

/* Mobil Hamburger & Menü Temelleri */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: var(--space-xs);
}

.mobile-nav-search,
.mobile-only-nav-item,
.mobile-nav-actions {
  display: none;
}

.responsive-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: var(--space-base);
}

/* Issues Archive 2-Column Grid (User requested 2 cards per row) */
.issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 260px));
  gap: var(--space-lg);
  width: 100%;
}

/* Cover is its own card; volume info sits below it */
.issue-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.issue-card-cover {
  border-radius: var(--rounded-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--hairline);
  background: #ffffff;
}

.issue-card:hover {
  box-shadow: none;
  transform: none;
}

.issue-card-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.issue-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}



/* Policy pages: the heading block shares the footer's dark ground and light text */
.policy-band {
  display: flow-root; /* keeps the breadcrumb margin inside the band */
  padding-top: 42px;
  --ink: #ffffff;
  --body-color: #c8c4be;
  --muted: #a8a39c;
  --hairline: rgba(255, 255, 255, 0.18);
  background-color: #1e1e1e;
  color: var(--body-color);
}
.policy-band .breadcrumb {
  margin-top: 14px;
  margin-bottom: 28px;
}
.policy-band a { color: #e7e3dd; }
.policy-band a:hover { color: #ffffff; }
.policy-band .breadcrumb-current { color: #ffffff; }
.policy-band h1 { color: #ffffff !important; }
@media (max-width: 640px) {
  .policy-band {
    padding-top: 28px;
  }
}

/* --------------------------------------------------------------------------
   7. FOOTER (Off-white Canvas — ElevenLabs Editorial)
   -------------------------------------------------------------------------- */
.footer-academic {
  /* Dark footer: the shared text tokens are re-pointed to light tones inside it */
  --ink: #ffffff;
  --body-color: #c8c4be;
  --muted: #8f8a84;
  --hairline: rgba(255, 255, 255, 0.12);
  background-color: #1e1e1e;
  color: var(--body-color);
  padding: var(--space-8) 0 var(--space-xxl);
  margin-top: auto;
  font-size: 12px;
  line-height: 1.8;
}
.footer-academic p,
.footer-academic li,
.footer-academic a,
.footer-academic span {
  font-size: 12px;
  line-height: 1.8;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.footer-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.96px;
  margin-bottom: var(--space-base);
  line-height: 1.4;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 1.6;
}
.footer-links a {
  color: var(--body-color);
  font-size: 12px;
  line-height: 1.6;
  text-decoration: none;
  transition: color 150ms;
  letter-spacing: 0;
}
.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: var(--space-lg);
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.footer-bottom p {
  font-size: 12px;
  line-height: 1.8;
}
.footer-bottom a {
  color: var(--body-color);
  font-size: 12px;
  line-height: 1.8;
  text-decoration: none;
  transition: color 150ms;
}
.footer-bottom a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   8. HOME PAGE COMPONENTS (Editorial Magazine)
   -------------------------------------------------------------------------- */

/* Hero Band — Atmospheric editorial with gradient orbs */
.home-hero {
  background-color: var(--canvas);
  padding: 3rem 0;
  position: relative;
  overflow-x: clip; /* bottom stays open so the peach glow fades into the next section instead of being cut off */
}

/* Atmospheric gradient orbs — pure decoration */
.home-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gradient-mint) 0%, transparent 70%);
  opacity: 0.35;
  pointer-events: none;
  animation: orb-drift 9s ease-in-out infinite;
}
.home-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gradient-peach) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
  animation: orb-drift 11s ease-in-out infinite reverse;
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.home-hero__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: var(--space-xxl);
  position: relative;
  z-index: 1;
}
.home-hero__title {
  font-family: var(--font-display);
  font-size: 57px;
  font-weight: var(--font-weight-heading, 600);
  line-height: 1.05;
  letter-spacing: -1px !important; /* beats the global h1 { letter-spacing: 0 !important } */
  color: var(--ink);
  margin-bottom: var(--space-base);
}
.home-hero__desc {
  font-family: var(--font-sans);
  font-size: var(--body-md);
  color: var(--body-color);
  line-height: 1.5;
  letter-spacing: 0;
  margin-bottom: var(--space-xl);
  max-width: 520px;
}
.home-hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-base);
  flex-wrap: wrap;
}

/* Tipografik Dergi Kapağı */
.journal-cover {
  width: 240px;
  height: 330px;
  background-color: var(--ink);
  color: var(--on-dark);
  padding: var(--space-lg);
  border-radius: var(--rounded-xxl);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border: none;
}

/* ==========================================================================
   ElevenLabs Abstract Orb (resources/orbs.md)
   ========================================================================== */
.hero-orb-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 470px;
  perspective: 1200px;
}

.orb-container {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  overflow: hidden;
  background: #a8c8e8;
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.85),
    inset 0 -10px 22px rgba(41, 37, 36, 0.12);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
  /* Slowly cycles the whole palette through other colours */
  animation: orb-hue 10s linear infinite;
  /* iOS Safari ignores border-radius clipping on a filtered/animated box (square orb): clip explicitly */
  clip-path: circle(50% at 50% 50%);
  -webkit-clip-path: circle(50% at 50% 50%);
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

/* Primary Swirling Gradient Layer (Mint, Peach, Sky from orbs.md & elevenlabs-DESIGN.md) */
.orb::before {
  content: "";
  position: absolute;
  inset: -35%;
  background:
    radial-gradient(circle at 30% 30%, #a7e5d3 0 25%, transparent 55%),
    radial-gradient(circle at 70% 25%, #f4c5a8 0 20%, transparent 50%),
    radial-gradient(circle at 60% 80%, #3da5f0 0 30%, transparent 60%),
    radial-gradient(circle at 25% 75%, #c8b8e0 0 25%, transparent 55%);
  filter: blur(30px);
  animation: orb-spin 4s linear infinite;
}

/* Secondary Multi-layer Swirl for Organic Depth (orbs.md tip) */
.orb__layer--secondary {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 75% 30%, #e8b8c4 0 22%, transparent 50%),
    radial-gradient(circle at 25% 70%, #a7e5d3 0 28%, transparent 55%),
    radial-gradient(circle at 80% 80%, #a8c8e8 0 30%, transparent 60%);
  filter: blur(34px);
  mix-blend-mode: multiply;
  opacity: 0.72;
  animation: orb-spin-reverse 5s ease-in-out infinite;
}

/* Accent Tertiary Layer */
.orb__layer--tertiary {
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.8) 0 15%, transparent 45%),
    radial-gradient(circle at 35% 65%, #c8b8e0 0 25%, transparent 55%),
    radial-gradient(circle at 75% 65%, #f4c5a8 0 25%, transparent 50%);
  filter: blur(24px);
  mix-blend-mode: soft-light;
  animation: orb-shift 2.5s ease-in-out infinite alternate;
}

/* 3D Specular Highlight */
.orb__specular {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.18) 32%, transparent 62%);
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Tactile Film Grain Filter (as specified in resources/orbs.md) */
.orb::after {
  content: "";
  position: absolute;
  inset: 0;
  filter: url(#grain);
  opacity: 0.6;
  mix-blend-mode: overlay;
  background: #888;
  pointer-events: none;
  border-radius: 50%;
}

@keyframes orb-spin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.08); }
  100% { transform: rotate(360deg) scale(1.1); }
}

@keyframes orb-spin-reverse {
  0% { transform: rotate(360deg) scale(1.06); }
  50% { transform: rotate(180deg) scale(0.96); }
  100% { transform: rotate(0deg) scale(1.06); }
}

@keyframes orb-shift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10px, 12px) scale(1.04); }
  100% { transform: translate(8px, -8px) scale(0.98); }
}

@keyframes orb-hue {
  0%   { filter: hue-rotate(0deg) saturate(1); }
  25%  { filter: hue-rotate(70deg) saturate(1.15); }
  50%  { filter: hue-rotate(160deg) saturate(1.05); }
  75%  { filter: hue-rotate(250deg) saturate(1.2); }
  100% { filter: hue-rotate(360deg) saturate(1); }
}

@keyframes orb-pulse {
  0% { transform: scale(0.96); opacity: 0.75; }
  100% { transform: scale(1.08); opacity: 0.95; }
}

/* Drifting colour blobs: each wanders on its own slow path, so the gradient shifts unevenly */
.orb__blob {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.75;
  pointer-events: none;
  will-change: transform;
}
.orb__blob--a { top: -10%; left: -10%; background: radial-gradient(circle, #a7e5d3 0%, transparent 65%); animation: orb-wander-a 2.5s ease-in-out infinite alternate; }
.orb__blob--b { top: 35%; left: 40%; background: radial-gradient(circle, #f4c5a8 0%, transparent 65%); animation: orb-wander-b 3s ease-in-out infinite alternate; }
.orb__blob--c { top: 40%; left: -15%; background: radial-gradient(circle, #3da5f0 0%, transparent 62%); opacity: 0.6; animation: orb-wander-c 3.5s ease-in-out infinite alternate; }
.orb__blob--d { top: -15%; left: 35%; background: radial-gradient(circle, #c8b8e0 0%, transparent 65%); animation: orb-wander-d 3s ease-in-out infinite alternate; }
@keyframes orb-wander-a { 0% { transform: translate(0, 0) scale(1) rotate(0deg); border-radius: 42% 58% 63% 37% / 45% 39% 61% 55%; } 35% { transform: translate(40%, 25%) scale(1.2) rotate(40deg); border-radius: 61% 39% 44% 56% / 58% 62% 38% 42%; } 70% { transform: translate(10%, 55%) scale(0.9) rotate(90deg); border-radius: 37% 63% 52% 48% / 41% 47% 53% 59%; } 100% { transform: translate(55%, 40%) scale(1.1) rotate(140deg); border-radius: 55% 45% 38% 62% / 63% 36% 64% 37%; } }
@keyframes orb-wander-b { 0% { transform: translate(0, 0) scale(1.1) rotate(0deg); border-radius: 58% 42% 36% 64% / 52% 61% 39% 48%; } 30% { transform: translate(-45%, -20%) scale(0.9) rotate(-50deg); border-radius: 40% 60% 61% 39% / 37% 44% 56% 63%; } 65% { transform: translate(-20%, -55%) scale(1.25) rotate(-95deg); border-radius: 63% 37% 47% 53% / 59% 38% 62% 41%; } 100% { transform: translate(-55%, 5%) scale(1) rotate(-150deg); border-radius: 45% 55% 58% 42% / 42% 57% 43% 58%; } }
@keyframes orb-wander-c { 0% { transform: translate(0, 0) scale(0.95) rotate(0deg); border-radius: 50% 50% 38% 62% / 62% 41% 59% 38%; } 40% { transform: translate(45%, -35%) scale(1.15) rotate(60deg); border-radius: 36% 64% 57% 43% / 45% 63% 37% 55%; } 75% { transform: translate(70%, 5%) scale(1) rotate(110deg); border-radius: 62% 38% 41% 59% / 38% 52% 48% 62%; } 100% { transform: translate(25%, -50%) scale(1.2) rotate(170deg); border-radius: 44% 56% 64% 36% / 55% 36% 64% 45%; } }
@keyframes orb-wander-d { 0% { transform: translate(0, 0) scale(1) rotate(0deg); border-radius: 39% 61% 55% 45% / 60% 44% 56% 40%; } 30% { transform: translate(-30%, 45%) scale(1.15) rotate(-45deg); border-radius: 64% 36% 43% 57% / 41% 58% 42% 59%; } 60% { transform: translate(15%, 60%) scale(0.9) rotate(-100deg); border-radius: 47% 53% 62% 38% / 36% 61% 39% 64%; } 100% { transform: translate(-40%, 20%) scale(1.1) rotate(-160deg); border-radius: 57% 43% 37% 63% / 53% 40% 60% 47%; } }
@media (prefers-reduced-motion: reduce) { .orb__blob, .orb { animation: none; } }

/* Floating Editorial Glass Badges */
.orb-chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(231, 229, 228, 0.9);
  border-radius: var(--rounded-pill);
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 4px 10px -2px rgba(0, 0, 0, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto;
}

.orb-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -5px rgba(0, 0, 0, 0.12);
}

.orb-chip--top {
  top: 74px;
  left: 205px;
  animation: chip-float-top 5s ease-in-out infinite;
}

.orb-chip--bottom {
  top: 317px;
  left: -27px;
  animation: chip-float-bottom 6s ease-in-out infinite;
}

.orb-chip--top { overflow: hidden; transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.3s ease, box-shadow 0.3s ease; }
.orb-chip__text { display: inline-block; transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease; }
.orb-chip__text.is-out { opacity: 0; transform: translateY(-4px); filter: blur(2px); }

.orb-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--semantic-success);
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.6);
  display: inline-block;
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.orb-chip__title {
  font-weight: 600;
  color: var(--ink);
}

.orb-chip__mono {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 0.72rem;
  padding-left: 6px;
  border-left: 1px solid var(--hairline);
}

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

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

@media (max-width: 900px) {
  .hero-orb-stage {
    min-height: 330px;
    margin-top: var(--space-lg);
  }
  .orb-container {
    width: 300px;
    height: 300px;
  }
  .orb {
    width: 270px;
    height: 270px;
  }
  .orb-chip--top {
    right: 28px;
    left: auto;
    top: 24px;
    display: none;
  }
  .orb-chip--bottom {
    left: 52px;
    top: auto;
    bottom: 52px;
  }
}

/* Orb on cover */
.journal-cover::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gradient-lavender) 0%, transparent 70%);
  opacity: 0.25;
  pointer-events: none;
}
.journal-cover__top {
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: var(--space-sm);
}
.journal-cover__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: var(--font-weight-heading, 600);
  color: var(--on-dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.journal-cover__subtitle {
  font-family: var(--font-sans);
  font-size: var(--caption-up);
  color: var(--on-dark-soft);
  text-transform: uppercase;
  letter-spacing: 0.96px;
  margin-top: var(--space-xxs);
}
.journal-cover__center {
  margin: auto 0;
  text-align: center;
}
.journal-cover__icon {
  color: var(--gradient-sky);
}
.journal-cover__bottom {
  font-family: var(--font-sans);
  font-size: var(--caption);
  color: var(--on-dark-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--space-sm);
  display: flex;
  justify-content: space-between;
}

/* Ana Sayfa İçerik Alanı */
.home-content-section {
  background-color: var(--surface-card, #ffffff);
  border-top: 1px solid var(--hairline);
  width: 100%;
}

/* Hızlı Arama Bandı */
.home-search-band {
  background-color: var(--canvas-soft);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--hairline);
}
.home-search-box {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: var(--space-sm);
}
.home-search-box .form-control {
  height: 48px;
  font-size: var(--body-md);
  border-radius: var(--rounded-btn);
}

.search-main-form {
  display: flex;
  gap: var(--space-3);
  max-width: 860px;
  width: 100%;
}
@media (max-width: 640px) {
  .search-main-form {
    flex-direction: column;
    gap: var(--space-xs);
  }
  .search-main-form .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Süreç Şeması */
.process-flow {
  padding: var(--space-xxl);
  margin: var(--space-section) 0;
  position: relative;
  isolation: isolate;
}
/* The card itself (background, border, orb): a layer behind the content. While the steps play it
   widens to the full screen width (--bleed = distance from the content edge to the screen edge). */
.process-flow__bg {
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  z-index: -1;
  background-color: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-xxl);
  overflow: hidden;
  transition: left 0.7s cubic-bezier(0.22, 0.8, 0.2, 1), right 0.7s cubic-bezier(0.22, 0.8, 0.2, 1), top 0.25s linear, bottom 0.25s linear, border-radius 0.7s ease, border-color 0.5s ease, background-color 0.7s ease;
}
/* pinned: the card fills the whole screen */
.process-flow.is-wide .process-flow__bg {
  left: calc(-1 * var(--bleed, 0px));
  right: calc(-1 * var(--bleed, 0px));
  top: calc(-1 * var(--bleed-t, 0px));
  bottom: calc(-1 * var(--bleed-b, 0px));
  border-radius: 0;
  border-color: transparent;
  background-color: #f6f7f9;
}

/* Content stage that smoothly zooms when centered in view and zooms back after step 5 */
.process-flow__stage {
  position: relative;
  z-index: 1;
  width: 100%;
  transform: scale(var(--flow-zoom, 1));
  transform-origin: center center;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .process-flow__stage { transform: none !important; }
}

/* Wavy line through the circles (built by the script on wide screens; the straight line above is the fallback) */
.process-steps.has-wave::before, .process-steps.has-wave::after { display: none; }
.process-wave { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.process-wave path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pw-track { stroke: var(--hairline-strong, #d6d3d1); stroke-width: 3; }
.pw-glow {
  stroke: #a0e5ce;
  stroke-width: 3.5;
  filter: drop-shadow(0 0 2.5px rgba(160, 229, 206, 0.45));
}
.pw-fill {
  stroke: #1baf7a;
  stroke-width: 3.5;
}
.process-step__title, .process-step p { position: relative; z-index: 1; }

/* Notification preview under the steps: the message the author gets at the current stage, crossfading as the stage changes */
.process-notify { position: relative; width: 100%; height: 66px; max-width: 700px; margin: 3.4rem auto 0; }
.pn-item {
  position: absolute; inset: 0;
  display: flex; gap: 0.8rem; align-items: center;
  padding: 0.6rem 1rem;
  background: #fff;
  border: 1px solid var(--hairline-strong, #e7e5e4);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  text-align: left;
}
.pn-item.is-active { opacity: 1; transform: none; }
.pn-bell { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #e7f8f0; color: #0a8f5f; }
.pn-bell::after { content: ""; position: absolute; top: 6px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; border: 2px solid #fff; }
.pn-item.is-active .pn-bell svg { animation: pn-ring 0.9s ease 0.25s; transform-origin: 50% 10%; }
@keyframes pn-ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(16deg); } 40% { transform: rotate(-14deg); } 60% { transform: rotate(9deg); } 80% { transform: rotate(-5deg); } }
.pn-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.pn-head { display: flex; align-items: baseline; gap: 0.6rem; white-space: nowrap; }
.pn-title { font: 600 0.84rem/1.25 var(--font-sans, system-ui); color: var(--ink, #0c0a09); }
.pn-text { font: 400 0.78rem/1.35 var(--font-sans, system-ui); color: #57534e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-meta { font: 500 0.68rem/1.2 var(--font-sans, system-ui); color: #a8a29e; }
@media (max-width: 640px) { .process-notify { height: 84px; margin-top: 2.2rem; } .pn-text { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }
@media (prefers-reduced-motion: reduce) { .pn-item { transition: none; } .pn-item.is-active .pn-bell svg { animation: none; } }

/* "AI traffic" streaming behind the steps while the card fills the screen */
.process-flow__bg .fx-line, .process-flow__bg .fx-track { opacity: 0; transition: opacity 0.9s ease 0.2s; }
.process-flow.is-wide .process-flow__bg .fx-line { opacity: 1; }
.process-flow.is-wide .process-flow__bg .fx-track { opacity: 1; }
.fx-line {
  position: absolute;
  top: var(--y);
  left: 0;
  white-space: nowrap;
  font: 500 12px/1 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
  color: rgba(51, 65, 85, var(--o, 0.2));
  transform: translateX(-100%);
  animation: fx-run var(--d, 28s) linear var(--delay, 0s) infinite;
  will-change: transform;
}
.fx-line.fx-rev { left: auto; right: 0; transform: translateX(100%); animation-name: fx-run-rev; }
@keyframes fx-run { from { transform: translateX(-100%); } to { transform: translateX(100vw); } }
@keyframes fx-run-rev { from { transform: translateX(100%); } to { transform: translateX(-100vw); } }
/* faint data packets travelling along thin lines */
.fx-track {
  position: absolute;
  left: 0; right: 0;
  top: var(--y);
  height: 1px;
  background: rgba(100, 116, 139, 0.12);
}
.fx-track::after {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 160px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, rgba(27, 175, 122, 0.55), transparent);
  animation: fx-packet var(--d, 6s) linear var(--delay, 0s) infinite;
}
@keyframes fx-packet { from { transform: translateX(-180px); } to { transform: translateX(100vw); } }
@media (max-width: 700px) { .fx-line:nth-child(even) { display: none; } }
@media (prefers-reduced-motion: reduce) { .fx-line, .fx-track { display: none; } }
/* Atmospheric orb on process section */
.process-flow__bg::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gradient-sky) 0%, transparent 70%);
  opacity: 0.2;
  pointer-events: none;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-base);
  position: relative;
  margin-bottom: var(--space-base);
  z-index: 1;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step__number {
  width: 40px;
  height: 40px;
  border-radius: var(--rounded-full);
  background-color: var(--ink);
  color: var(--on-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xs);
  font-size: var(--caption);
  transition: transform 200ms;
}
.process-step:hover .process-step__number {
  transform: scale(1.1);
}

/* Scroll-driven progress: the section stays pinned while the page is scrolled; the green line grows with the scroll
   (--p, 0..1, set by the script) and each circle turns green when the line reaches it. */
.process-pin { position: relative; }
.process-pin .process-flow { position: sticky; top: 14vh; z-index: 2; }
.process-pin__spacer { height: 0; }
.process-pin.is-pinned .process-pin__spacer { height: 480vh; }
.process-steps::before, .process-steps::after {
  content: "";
  position: absolute;
  top: 20px;
  left: calc((100% - 4 * var(--space-base)) / 10);
  right: calc((100% - 4 * var(--space-base)) / 10);
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
  z-index: 0;
}
.process-steps::before { background: var(--hairline-strong, #d6d3d1); }
.process-steps::after {
  background: linear-gradient(90deg, #1baf7a, #a0e5ce);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
  will-change: transform;
}
.process-step__number { position: relative; z-index: 1; transition: background-color 0.3s ease, transform 0.2s; }
.process-step.is-on .process-step__number {
  background-color: #1baf7a;
  animation: step-pop 0.5s ease;
}
@keyframes step-pop {
  0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(27, 175, 122, 0.5); }
  45%  { transform: scale(1.22); box-shadow: 0 0 0 10px rgba(27, 175, 122, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(27, 175, 122, 0); }
}
@media (max-width: 1024px) {
  .process-steps::before, .process-steps::after { display: none; } /* stacked cards on small screens: only the circles light up */
  .process-pin.is-pinned .process-pin__spacer { height: 340vh; }
  .process-pin .process-flow { top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .process-steps::after { transform: scaleX(1); transition: none; }
  .process-steps .process-step__number { background-color: #1baf7a; animation: none; }
  .process-pin .process-flow { position: static; }
}
.process-step__title {
  font-family: var(--font-sans);
  font-size: var(--caption);
  font-weight: 500;
  color: var(--ink);
}

/* İstatistik Şeridi */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin: var(--space-section) 0 var(--space-xxl);
  padding: var(--space-xxl) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.stat-box {
  text-align: center;
}
.stat-box__val {
  font-family: var(--font-display);
  font-size: var(--display-lg);
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.36px;
}
.stat-box__lbl {
  font-family: var(--font-sans);
  font-size: var(--caption);
  color: var(--muted);
  letter-spacing: 0;
}

/* --------------------------------------------------------------------------
   9. ARTICLE CARD (Editorial List Item)
   -------------------------------------------------------------------------- */
.article-card {
  border-bottom: 1px solid var(--hairline);
  padding: var(--space-lg) 0;
}
.article-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xs);
}
.article-card__title {
  font-family: var(--font-display);
  font-size: var(--display-sm);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: var(--space-xs);
}
.article-card__title a {
  color: var(--ink);
  text-decoration: none;
}
.article-card__title a:hover {
  color: var(--primary-active);
  text-decoration: underline;
}
.article-card__authors {
  font-family: var(--font-sans);
  font-size: var(--body-sm);
  color: var(--ink);
  font-weight: 500;
  margin-bottom: var(--space-xxs);
  letter-spacing: 0;
}
.article-card__meta {
  font-family: var(--font-sans);
  font-size: var(--caption);
  color: var(--muted);
  margin-bottom: var(--space-sm);
}
.article-card__snippet {
  font-family: var(--font-sans);
  font-size: var(--body-sm);
  color: var(--body-color);
  line-height: 1.47;
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0;
}
.article-card__actions {
  display: flex;
  align-items: center;
  gap: var(--space-base);
  font-size: var(--body-sm);
}
.article-card__accordion {
  display: none;
  background-color: var(--canvas-soft);
  border-left: 3px solid var(--ink);
  padding: var(--space-base);
  margin-top: var(--space-sm);
  border-radius: var(--rounded-md);
  font-size: var(--body-sm);
  line-height: var(--lh-read);
  color: var(--ink);
}
.article-card__accordion.active {
  display: block;
}

/* --------------------------------------------------------------------------
   9.5. STATIC SUBPAGES (Clean Typography directly on canvas - No card wrapper)
   -------------------------------------------------------------------------- */
.page-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
}

.page-article-body {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: var(--lh-read);
  color: var(--ink);
  max-width: 100%;
}

.page-article-body p {
  margin-bottom: 1.6rem;
  color: var(--ink);
  font-size: 16px;
  line-height: var(--lh-read);
}

.page-article-body h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: var(--font-weight-heading, 600);
  color: var(--ink);
  margin: 3rem 0 1.25rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--hairline-strong);
  letter-spacing: -0.3px;
}

.page-article-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: var(--font-weight-heading, 600);
  color: var(--ink);
  margin: 2.25rem 0 1rem 0;
}

.page-article-body ul, 
.page-article-body ol {
  margin: 1rem 0 1.75rem 0;
  padding-left: 2rem;
  line-height: var(--lh-read);
}

.page-article-body li {
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.page-article-body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 150ms;
}

.page-article-body a:hover {
  opacity: 0.75;
}

.page-article-body .lead {
  background: transparent !important;
  border-left: 3px solid var(--ink) !important;
  box-shadow: none !important;
  padding: 0.75rem 0 0.75rem 1.5rem !important;
  border-radius: 0 !important;
  margin-bottom: 2.5rem !important;
  font-size: 1.2rem !important;
  line-height: var(--lh-read) !important;
  color: var(--ink) !important;
}

/* --------------------------------------------------------------------------
   10. ARTICLE DETAIL (2-Column Layout & Academic Editorial: Left Menu + Full Width Content)
   -------------------------------------------------------------------------- */
body.page-article-detail {
  background-color: #ffffff !important;
}

.site-main--article-detail {
  background-color: #ffffff !important;
  overflow: visible !important;
}

.article-page-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-4) var(--space-8);
  box-sizing: border-box;
  background-color: #ffffff;
  overflow: visible !important;
}

.article-breadcrumb {
  margin-bottom: var(--space-4);
  width: 100%;
}

.article-layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  width: 100%;
  background-color: #ffffff;
  position: relative;
  overflow: visible !important;
}

/* Sol Sütun: Sabit Genişlikte Yapışkan Navigasyon & Menü (260px) */
.article-sidebar-left {
  flex: 0 0 260px;
  width: 260px;
  min-width: 260px;
  max-width: 260px;
  position: -webkit-sticky;
  position: sticky;
  top: 24px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: var(--caption);
  box-sizing: border-box;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--hairline-strong) transparent;
  z-index: 50;
}

.article-sidebar-left::-webkit-scrollbar {
  width: 4px;
}
.article-sidebar-left::-webkit-scrollbar-track {
  background: transparent;
}
.article-sidebar-left::-webkit-scrollbar-thumb {
  background: var(--hairline-strong);
  border-radius: 4px;
}
.article-sidebar-left::-webkit-scrollbar-thumb:hover {
  background: var(--muted-soft);
}
.article-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-md);
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
}
.article-sidebar-header {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hairline-soft);
}
.article-sidebar-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  display: block;
}
.article-toc-list {
  list-style: none;
  border-left: 2px solid var(--hairline);
  margin: 0;
  padding: 0;
}
.article-toc-link {
  display: block;
  padding: 6px 12px;
  color: var(--muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -2px;
  font-size: 0.85rem;
  line-height: 1.4;
  transition: color 150ms, border-color 150ms;
}
.article-toc-link:hover {
  color: var(--ink);
  text-decoration: none;
}
.article-toc-link.active {
  color: var(--ink);
  font-weight: 600;
  border-left-color: var(--ink);
}
.article-btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  padding: 10px 14px;
}
.article-sidebar-actions .btn-block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}
.article-sidebar-actions .btn-block:last-child {
  margin-bottom: 0;
}

/* Sağ Sütun: Makale Okuma (Kalan Tüm Alan) */
.article-reading-col {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  background-color: #ffffff;
}

.article-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-3);
}

.tag-discipline {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-pill);
  font-family: var(--font-sans);
  font-size: var(--caption-up);
  font-weight: 600;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0.5px;
}

.article-reading-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: var(--font-weight-heading, 600);
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: var(--space-xs) 0 var(--space-md);
}

.article-reading-authors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}
.author-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.author-name {
  font-weight: 600;
  color: var(--ink);
}
.author-sup {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}
.author-orcid-link {
  display: inline-flex;
  align-items: center;
  transition: transform 150ms ease;
}
.card-author { white-space: nowrap; }
.card-author .author-orcid-link { margin-left: 4px; vertical-align: -1px; }
.author-orcid-link:hover {
  transform: scale(1.18);
}
.author-sep {
  color: var(--muted-soft);
  margin-left: -6px;
  margin-right: 4px;
}

.author-affiliations {
  background-color: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: 14px 20px;
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: var(--body-sm);
  color: var(--body-color);
  line-height: 1.5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.affiliation-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.affiliation-num {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.affiliation-text {
  flex: 1;
}
.affiliation-corr {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
}

.article-meta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 12px 18px;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: var(--space-md);
}
.article-meta-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-meta-item strong {
  color: var(--ink);
  font-weight: 600;
}
.article-doi-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8f4fd; /* ice blue */
  border: 1px solid #c9e3f7;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.article-doi-badge a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.article-doi-badge a:hover {
  text-decoration: underline;
}
.btn-copy-doi {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 0 2px;
  display: inline-flex;
  align-items: center;
  transition: color 150ms;
}
.btn-copy-doi:hover {
  color: var(--ink);
}

/* ÖZET AKORDEONU (Akordeon Şeklinde Türkçe ve İngilizce Özet) */
.abstract-accordion {
  margin-bottom: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.abstract-accordion-item {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-xl);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.abstract-accordion-item:hover {
  border-color: var(--hairline-strong);
}
.abstract-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #ffffff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  transition: background-color 150ms ease;
}
.abstract-accordion-header:hover {
  background: var(--surface-strong);
}
.abstract-accordion-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}
.lang-pill {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}
.lang-pill--tr {
  background: #fee2e2;
  color: #991b1b;
}
.lang-pill--en {
  background: #e0f2fe;
  color: #075985;
}
.abstract-accordion-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}
.abstract-chevron {
  transition: transform 250ms ease;
  color: var(--muted);
}
.abstract-accordion-item.is-open .abstract-chevron {
  transform: rotate(180deg);
}
.abstract-accordion-body {
  display: none;
  padding: 22px 24px;
  border-top: 1px solid var(--hairline-soft);
  background: var(--surface-card);
}
.abstract-accordion-item.is-open .abstract-accordion-body {
  display: block;
}
.abstract-accordion-body .abstract-text {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: var(--lh-read);
  color: var(--body-strong);
  text-align: justify;
  margin: 0;
}

/* Anahtar Kelimeler Kutusu */
.article-keywords-box {
  margin-bottom: var(--space-xl);
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.keywords-heading {
  font-family: var(--font-sans);
  font-size: var(--caption-up);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.keywords-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.keyword-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-pill);
  font-size: 0.82rem;
  color: var(--body-color);
  text-decoration: none;
  transition: all 150ms ease;
}
.keyword-tag:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Makale Gövdesi */
.article-body {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: var(--lh-read);
  color: var(--ink);
  max-width: 100%;
  text-wrap: pretty;
  font-weight: 400;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: var(--display-md);
  font-weight: var(--font-weight-heading, 600);
  color: var(--ink);
  border-top: 1px solid var(--hairline);
  padding-top: var(--space-lg);
  margin-top: var(--space-xxl);
  scroll-margin-top: 28px;
  letter-spacing: -0.32px;
  line-height: 1.13;
}
.article-body p {
  text-align: justify;
}
.article-fulltext {
  margin: 0 0 var(--space-xl, 2rem);
}
.article-fulltext p {
  margin: 0 0 1.15em;
  text-align: justify;
}
.article-body a {
  text-decoration: underline;
}

/* Kaynakça: numara sabit bir sütunda, metin ve uzun DOI adresleri onun sağında kırılır */
.references-list {
  margin: var(--space-base) 0 0;
  padding-left: 0;
  list-style: none;
  counter-reset: ref;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--body-color);
}
.references-list li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 2.75rem;
  overflow-wrap: anywhere;
}
.references-list li::before {
  counter-increment: ref;
  content: counter(ref) ".";
  position: absolute;
  left: 0;
  top: 0;
  width: 2.35rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.references-list a {
  overflow-wrap: anywhere;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--body-sm);
  color: var(--muted);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--hairline-soft);
}

/* İlgili Makaleler Bölümü */
.article-related-section {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--hairline);
}
.article-related-title {
  font-family: var(--font-display);
  font-size: var(--display-sm);
  font-weight: var(--font-weight-heading, 600);
  color: var(--ink);
  margin-bottom: var(--space-4);
}
.article-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.article-related-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.article-related-card:hover {
  transform: translateY(-2px);
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.article-related-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 8px;
}
.article-related-card-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Nasıl Atıf Yapılır? Modal Stilleri */
.cite-modal-dialog {
  max-width: 680px;
  width: 92%;
}
.cite-format-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.cite-tab-btn {
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-pill);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  padding: 5px 12px;
  cursor: pointer;
  transition: all 150ms ease;
}
.cite-tab-btn:hover {
  background: var(--surface-strong);
  color: var(--ink);
}
.cite-tab-btn.active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}
.cite-preview-box {
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  padding: 18px 20px;
  border-radius: var(--rounded-md);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 16px;
}
.cite-preview-box em {
  font-style: italic;
}
.cite-code-box {
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  padding: 16px;
  border-radius: var(--rounded-md);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink);
  overflow-x: auto;
  margin-bottom: 16px;
  white-space: pre-wrap;
}
.cite-pane-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn-copied-active {
  background-color: var(--semantic-success) !important;
  border-color: var(--semantic-success) !important;
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   11. AUTHOR PANEL & TRACKING (Dashboard)
   -------------------------------------------------------------------------- */
.dashboard-layout {
  display: flex;
  gap: var(--space-xl);
  min-height: calc(100vh - 200px);
}
.dashboard-sidebar {
  width: 220px;
  flex-shrink: 0;
}
.dashboard-menu {
  list-style: none;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-xl);
}
.dashboard-menu__item {
  border-bottom: 1px solid var(--hairline-soft);
}
.dashboard-menu__item:last-child {
  border-bottom: none;
}
.dashboard-menu__link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-base);
  color: var(--body-color);
  font-size: var(--body-sm);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 200ms, color 200ms;
  letter-spacing: 0;
}
.dashboard-menu__link:hover,
.dashboard-menu__link.active {
  background-color: var(--canvas-soft);
  color: var(--ink);
  text-decoration: none;
}

.dashboard-content {
  flex: 1;
}

/* KPI Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-base);
  margin-bottom: var(--space-xl);
}
.kpi-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-xl);
  padding: var(--space-base);
  transition: box-shadow 300ms;
}
.kpi-card:hover {
  box-shadow: var(--shadow-soft);
}
.kpi-card__val {
  font-family: var(--font-display);
  font-size: var(--display-md);
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  margin-bottom: var(--space-xxs);
  letter-spacing: -0.32px;
}
.kpi-card__lbl {
  font-family: var(--font-sans);
  font-size: var(--caption-up);
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.96px;
  text-transform: uppercase;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: var(--space-base);
}
.timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 10px;
  width: 2px;
  background-color: var(--hairline);
}
.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
}
.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--surface-card);
  border: 2px solid var(--hairline-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-dot--completed {
  background-color: var(--semantic-success);
  border-color: var(--semantic-success);
  color: var(--on-primary);
}
.timeline-dot--active {
  background-color: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(41, 37, 36, 0.15);
  animation: pulse 2s infinite ease-in-out;
}
.timeline-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-xl);
  padding: var(--space-base);
}
.timeline-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-xs);
}
.timeline-date {
  font-size: var(--caption-up);
  color: var(--muted);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(41, 37, 36, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(41, 37, 36, 0.05); }
}

/* Wizard Progress */
.wizard-progress {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: var(--space-xl);
}
.wizard-progress::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--hairline);
  z-index: 1;
}
.wizard-step {
  position: relative;
  z-index: 2;
  text-align: center;
  background: var(--canvas);
  padding: 0 var(--space-xs);
}
.wizard-step-circle {
  width: 32px;
  height: 32px;
  border-radius: var(--rounded-full);
  background: var(--surface-card);
  border: 2px solid var(--hairline-strong);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--caption-up);
  font-weight: 600;
  margin-bottom: var(--space-xxs);
}
.wizard-step.active .wizard-step-circle {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-primary);
}
.wizard-step.completed .wizard-step-circle {
  border-color: var(--semantic-success);
  background: var(--semantic-success);
  color: var(--on-primary);
}
.wizard-step-title {
  font-family: var(--font-sans);
  font-size: var(--caption-up);
  color: var(--muted);
  font-weight: 500;
}
.wizard-step.active .wizard-step-title {
  color: var(--ink);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   12. SEARCH & FILTER PAGE
   -------------------------------------------------------------------------- */
.search-layout {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: var(--gutter);
}
.filter-group {
  border-bottom: 1px solid var(--hairline);
  padding: var(--space-base) 0;
}
.filter-group__title {
  font-family: var(--font-sans);
  font-size: var(--body-sm);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-xs);
  display: flex;
  justify-content: space-between;
}
.search-highlight {
  background-color: var(--warning-100);
  color: var(--ink);
  padding: 0 2px;
  border-radius: var(--rounded-xs);
}

/* --------------------------------------------------------------------------
   13. UTILITY CLASSES & MODAL
   -------------------------------------------------------------------------- */
.visually-hidden, .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.text-muted { color: var(--muted) !important; }
.text-brand { color: var(--ink) !important; }
.font-mono  { font-family: var(--font-mono) !important; }
.font-serif { font-family: var(--font-display) !important; }

/* Modal */
.modal-wrapper {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(12, 10, 9, 0.5);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: var(--space-base);
  backdrop-filter: blur(4px);
}
.modal-dialog {
  background: var(--surface-card);
  border-radius: var(--rounded-xxl);
  max-width: 600px;
  width: 100%;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--hairline);
  padding: var(--space-xl);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-base);
}
.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  transition: color 150ms;
}
.modal-close:hover {
  color: var(--ink);
}


/* --------------------------------------------------------------------------
   14. RESPONSIVE (@media)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .article-layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
  }
  .article-reading-col {
    order: 1;
    max-width: 100%;
    width: 100%;
  }
  .article-sidebar-left {
    order: 2;
    position: static;
    flex: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-bottom: var(--space-base);
  }
  .article-toc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    border-left: none;
    gap: 6px;
  }
  .article-toc-link {
    border-left: none;
    border-radius: var(--rounded-sm);
    padding: 6px 10px;
    background: var(--canvas-soft);
    font-size: var(--caption-up);
    text-align: center;
  }
  .article-toc-link.active {
    background: var(--surface-strong);
    color: var(--ink);
  }

  .search-layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
  }
  .search-layout aside {
    width: 100%;
  }

  .home-hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-lg);
  }
  .home-hero__grid .hero-orb-stage {
    order: -1;
    margin-top: 0;
  }
  .home-hero__desc {
    margin-left: auto;
    margin-right: auto;
  }
  .home-hero__actions {
    justify-content: center;
  }
  .home-hero__title {
    font-size: var(--display-mega);
    letter-spacing: -1.8px !important;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  /* 12-Column Grid Collapse for Mobile & Tablets */
  .grid-12 {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
  }
  .col-12, .col-8, .col-7, .col-5, .col-4, .col-3, .col-2 {
    width: 100%;
    max-width: 100%;
    grid-column: span 12;
  }
  .grid-12 > aside.col-4 { order: -1; }

  .hero-orb-stage {
    min-height: 250px;
    margin-top: var(--space-md);
    max-width: 100%;
    overflow: hidden;
  }
  .orb-container {
    width: 270px;
    height: 270px;
  }
  .orb {
    width: 240px;
    height: 240px;
  }
  .orb-chip--top {
    right: 28px;
    left: auto;
    top: 24px;
  }
  .orb-chip--bottom {
    left: 52px;
    top: auto;
    bottom: 52px;
  }
}

@media (max-width: 768px) {
  /* Main Header Bar */
  .header-mainbar {
    height: auto;
    min-height: 60px;
    padding: 10px 0;
  }
  .header-mainbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: var(--space-sm);
    height: auto;
  }
  .header-brand {
    gap: 8px;
    min-width: 0;
  }
  .header-brand svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }
  .header-brand__logo {
    font-size: 1.45rem;
  }
  .header-brand__badge {
    font-size: 0.55rem;
    padding: 2px 6px;
  }
  .header-brand__tagline {
    display: none;
  }
  .header-search-form {
    display: none;
  }
  .header-action-btn--desktop {
    display: none !important;
  }

  /* Hamburger Toggle */
  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: var(--rounded-md);
    background: var(--surface-card);
    border: 1px solid var(--hairline-strong);
    color: var(--ink);
    cursor: pointer;
    transition: background-color 150ms, border-color 150ms;
    flex-shrink: 0;
  }
  .mobile-nav-toggle:active,
  .mobile-nav-toggle.is-active {
    background: var(--surface-strong);
    border-color: var(--ink);
  }

  /* Mobile Navigation Dropdown Drawer */
  .header-navbar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--surface-card);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
    border-bottom: 2px solid var(--hairline-strong);
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1001;
  }
  .header-navbar.is-open {
    display: block;
    animation: mobileNavSlideDown 200ms ease-out forwards;
  }
  @keyframes mobileNavSlideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .header-navbar .container {
    padding-top: var(--space-sm);
    padding-bottom: var(--space-lg);
  }

  /* Mobile In-menu Search */
  .mobile-nav-search {
    display: block;
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--hairline);
  }
  .mobile-nav-search form {
    position: relative;
    width: 100%;
  }
  .mobile-nav-search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
  }
  .mobile-nav-search input {
    width: 100%;
    height: 42px;
    padding: 0 16px 0 40px;
    font-size: var(--body-sm);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--rounded-md);
    background: var(--canvas-soft);
    color: var(--ink);
    outline: none;
  }
  .mobile-nav-search input:focus {
    border-color: var(--ink);
    background: #fff;
  }

  /* Mobile Nav Links */
  .header-nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 2px;
    overflow-x: visible;
  }
  .header-nav-item {
    width: 100%;
  }
  .header-nav-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: var(--rounded-md);
    border-bottom: none;
    font-size: var(--body-md);
    color: var(--ink);
    transition: background-color 150ms;
  }
  .header-nav-link:hover,
  .header-nav-link.active {
    background-color: var(--canvas-soft);
    color: var(--ink);
    border-bottom: none;
    font-weight: 600;
  }

  .header-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid #cbd5e1;
    margin: 4px 0 8px 18px;
    padding: 2px 0;
    background: transparent;
  }
  .header-dropdown-link {
    padding: 8px 14px;
    font-size: 0.9rem;
    color: #475569;
  }

  .mobile-only-nav-item {
    display: block;
  }

  /* Mobile Actions inside Menu */
  .mobile-nav-actions {
    display: flex !important;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--hairline);
  }
  .mobile-nav-actions .btn {
    flex: 1;
    height: 42px;
    justify-content: center;
  }

  /* Mobile Lang Picker inside Menu */
  .header-nav-item--lang {
    margin-top: var(--space-xs);
    padding-top: var(--space-xs);
    display: flex;
    justify-content: center;
    width: 100%;
    margin-left: 0 !important;
  }
  .header-nav-item--lang .nav-lang-picker {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
    background: var(--canvas-soft);
    border: 1px solid var(--hairline-strong, #e2e8f0);
  }
  .header-nav-item--lang .nav-lang-icon,
  .header-nav-item--lang .nav-lang-link {
    color: var(--muted);
  }
  .header-nav-item--lang .nav-lang-link:hover,
  .header-nav-item--lang .nav-lang-link.active {
    color: var(--ink);
  }
  .header-nav-item--lang .nav-lang-sep {
    color: var(--muted);
    opacity: 0.3;
  }

  /* Hero Section */
  .home-hero {
    padding: var(--space-xl) 0 1rem;
    overflow-x: clip;
    overflow-y: visible;
  }
  .home-hero::before {
    width: 220px;
    height: 220px;
    top: -50px;
    right: -40px;
    filter: blur(40px);
  }
  .home-hero::after {
    width: 180px;
    height: 180px;
    bottom: -40px;
    left: -30px;
    filter: blur(40px);
  }
  .home-hero__title {
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: -1.2px !important;
    word-break: break-word;
  }
  .home-hero__desc {
    font-size: var(--body-sm);
    margin: 0 auto var(--space-lg);
  }
  .home-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-xs);
  }
  .home-hero__actions .hero-how {
    order: -1;
  }
  .home-hero__actions .btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  /* Quick Search Band on Mobile */
  .home-search-band {
    padding: var(--space-lg) 0;
  }
  .home-search-box {
    flex-direction: column;
    gap: var(--space-xs);
    width: 100%;
  }
  .home-search-box .btn {
    width: 100%;
    justify-content: center;
  }

  /* Process Flow on Mobile */
  .process-flow {
    padding: var(--space-lg) var(--space-base);
    margin: var(--space-xl) 0;
    border-radius: var(--rounded-xl);
  }
  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }
  .process-step {
    display: flex;
    align-items: center;
    text-align: left;
    gap: var(--space-sm);
    background: var(--surface-card);
    padding: 10px 14px;
    border-radius: var(--rounded-md);
    border: 1px solid var(--hairline-soft);
  }
  .process-step__number {
    margin: 0;
    width: 32px;
    height: 32px;
    font-size: var(--caption-up);
    flex-shrink: 0;
  }
  .process-step__title {
    font-size: var(--body-sm);
    font-weight: 500;
  }
  .process-step p {
    display: none;
  }

  /* Stats Strip on Mobile */
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-base);
    padding: var(--space-lg) 0;
    margin: var(--space-xl) 0;
  }
  .stat-box {
    text-align: center;
    padding: var(--space-sm);
    background: var(--surface-card);
    border-radius: var(--rounded-lg);
    border: 1px solid var(--hairline-soft);
  }
  .stat-box__val {
    font-size: 1.5rem;
    font-weight: 600;
  }
  .stat-box__lbl {
    font-size: var(--caption-up);
  }

  /* Article Details & Cards on Mobile */
  .article-reading-title {
    font-size: 1.75rem;
    line-height: 1.15;
    letter-spacing: -0.4px;
    word-break: break-word;
  }
  .article-meta-row {
    flex-wrap: wrap;
    gap: var(--space-xs);
    font-size: var(--caption-up);
  }
  .abstract-box {
    padding: var(--space-base);
    margin-bottom: var(--space-lg);
  }
  .abstract-text {
    font-size: var(--body-sm);
  }
  .article-card__actions {
    flex-wrap: wrap;
    gap: var(--space-xs);
  }
  .article-card__title {
    font-size: 1.25rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .footer-academic {
    padding: var(--space-xl) 0 var(--space-lg);
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

  /* Dashboard */
  .dashboard-layout {
    flex-direction: column;
  }
  .dashboard-sidebar {
    width: 100%;
  }
  .kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 22px;
  }
  .container {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  .main-content {
    padding: var(--space-md) var(--gutter);
  }
  h1 {
    font-size: var(--display-md);
    letter-spacing: -0.32px;
  }
  .card {
    padding: var(--space-base);
    margin-bottom: var(--space-base);
    border-radius: var(--rounded-lg);
  }
  .modal-dialog {
    margin: var(--space-base);
    max-width: calc(100vw - 32px);
    padding: var(--space-base);
  }
}

@media (max-width: 480px) {
  .home-hero__title {
    font-size: 1.65rem;
    letter-spacing: -0.3px;
  }
  .home-hero__actions {
    flex-direction: column;
    width: 100%;
  }
  .home-hero__actions .btn {
    width: 100%;
  }
  .stats-strip {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
  }
}

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

/* --------------------------------------------------------------------------
   15. PRINT (@media print)
   -------------------------------------------------------------------------- */
@media print {
  body {
    background: transparent !important;
    color: #000000 !important;
    font-size: 12pt !important;
  }
  .header-academic,
  .footer-academic,
  .article-toc-sticky,
  .article-actions-sticky,
  .btn,
  .skip-link,
  .breadcrumb {
    display: none !important;
  }
  .article-layout {
    display: block !important;
  }
  .article-reading-col {
    max-width: 100% !important;
    width: 100% !important;
  }
  .article-body {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 11pt !important;
    line-height: 1.5 !important;
  }
}

/* --------------------------------------------------------------------------
   16. ABOUT PAGE SCHOLARLY TWO-COLUMN LAYOUT
   -------------------------------------------------------------------------- */
.page-article-body--two-col .about-page,
.about-page,
.page-article-body--two-col:not(:has(.about-page)) {
  font-family: var(--font-serif) !important;
  font-weight: var(--font-weight-normal, 400) !important;
  column-count: 2;
  column-gap: 3.5rem;
  column-rule: 1px solid var(--hairline-strong, #e2e8f0);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.about-page > .lead,
.page-article-body--two-col .lead {
  font-family: var(--font-serif) !important;
  font-weight: var(--font-weight-normal, 400) !important;
  column-span: all;
  margin-bottom: 2.25rem;
  text-align: left;
}

.about-page h2,
.page-article-body--two-col h2 {
  font-family: var(--font-display) !important;
  font-weight: var(--font-weight-heading, 600) !important;
  letter-spacing: -0.015em !important;
  line-height: 1.08 !important;
  break-after: avoid;
  break-inside: avoid;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
}

.about-page h3,
.page-article-body--two-col h3 {
  font-family: var(--font-display) !important;
  font-weight: var(--font-weight-heading, 600) !important;
  letter-spacing: -0.012em !important;
  line-height: 1.2 !important;
  break-after: avoid;
  break-inside: avoid;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.about-page p,
.page-article-body--two-col p {
  margin-bottom: 1.35rem;
  line-height: var(--lh-read);
  orphans: 3;
  widows: 3;
}

.about-page ul,
.about-page ol,
.page-article-body--two-col ul,
.page-article-body--two-col ol {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  text-align: left;
}

.about-page #kaynakca,
.about-page .academic-references,
.page-article-body--two-col #kaynakca {
  break-after: avoid;
  break-inside: avoid;
}

.about-page div[style*="font-size:.93em"] p,
.about-page .academic-references p {
  break-inside: avoid;
  text-align: left;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .page-article-body--two-col .about-page,
  .about-page,
  .page-article-body--two-col:not(:has(.about-page)) {
    column-count: 1 !important;
    column-rule: none !important;
    text-align: left !important;
  }
}


/* Journal Information box on the home page: Inter */
.journal-info-list, .journal-info-list li, .journal-info-list strong, .journal-info-list span, .journal-info-list .font-mono { font-family: var(--font-sans) !important; }
.journal-info-list, .journal-info-list li, .journal-info-list strong, .journal-info-list span { font-size: 14px !important; }


.home-hero__actions .hero-submit, .home-hero__actions .hero-submit:hover { background: transparent; }

/* Article cards on phones: plainer - no OPEN ACCESS tag, 'Listen' without 'Now', no 'More Details' button */
@media (max-width: 640px) {
  .article-card .tag-oa, .article-card .lm-now, .article-card .article-card__more { display: none; }
}
