/* ==========================================================================
   Cengiz Güngör — modern site katmanı
   Eski temanın üzerine yüklenir; yeni sayfalar bu katmanı kullanır.
   ========================================================================== */

:root {
  --ink: #12211d;
  --ink-soft: #3e504a;
  --muted: #71817a;
  --paper: #f6f3ec;
  --paper-deep: #ece7db;
  --surface: #ffffff;
  --brand: #0f766e;
  --brand-strong: #0a5a55;
  --brand-soft: #d9f0eb;
  --accent: #c2703d;
  --accent-soft: #f3ddcd;
  --line: rgba(18, 33, 29, 0.12);
  --line-strong: rgba(18, 33, 29, 0.2);
  --shadow-sm: 0 8px 22px rgba(18, 33, 29, 0.06);
  --shadow-md: 0 18px 46px rgba(18, 33, 29, 0.1);
  --shadow-lg: 0 32px 80px rgba(18, 33, 29, 0.18);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shell: min(1180px, calc(100vw - 48px));
  --header-h: 84px;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.site-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(15, 118, 110, 0.09), transparent 65%),
    radial-gradient(700px 400px at 0% 30%, rgba(194, 112, 61, 0.07), transparent 60%),
    linear-gradient(180deg, #f8f6f0 0%, var(--paper) 45%, #f2eee5 100%);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

a:hover,
a:focus {
  color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.55em;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.12rem; }
h5, h6 { font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }

ul, ol { margin-top: 0; }

:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.35);
  outline-offset: 3px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgba(246, 243, 236, 0.82);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transition: background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease,
    height 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 35px rgba(18, 33, 29, 0.07);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  color: var(--ink);
}

.brand:hover { color: var(--ink); }

.brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(18, 33, 29, 0.12);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.brand__text strong {
  overflow: hidden;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand__text small {
  overflow: hidden;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-active,
.nav-drop.is-active > .site-nav__link {
  background: rgba(15, 118, 110, 0.09);
  color: var(--brand);
}

.site-nav__link svg {
  width: 10px;
  height: 8px;
  transition: transform 180ms ease;
}

.nav-drop {
  position: relative;
}

.nav-drop.is-open > .nav-drop__trigger svg {
  transform: rotate(180deg);
}

.nav-drop__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  display: grid;
  min-width: 286px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms var(--ease), visibility 180ms ease;
}

.nav-drop__panel--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(620px, calc(100vw - 32px));
}

.nav-drop:hover .nav-drop__panel,
.nav-drop:focus-within .nav-drop__panel,
.nav-drop.is-open .nav-drop__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-drop__panel a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border-radius: 12px;
  color: var(--ink);
}

.nav-drop__panel a:hover,
.nav-drop__panel a:focus-visible {
  background: #f3f7f5;
  color: var(--ink);
}

.nav-drop__panel a strong {
  display: block;
  font-size: 0.86rem;
  line-height: 1.25;
}

.nav-drop__panel a small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.25;
}

.nav-drop__all {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.1), rgba(194, 112, 61, 0.08));
}

.nav-drop__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 1rem;
  font-weight: 800;
}

.nav-drop__icon--course {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.nav-drop__icon--course img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-admin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-admin svg { width: 15px; height: 15px; }

.nav-admin:hover,
.nav-admin:focus-visible {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Ana sayfada şeffaf header */
body.is-home .site-header:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(8, 20, 17, 0.55), rgba(8, 20, 17, 0));
  border-bottom-color: transparent;
}

body.is-home .site-header:not(.is-scrolled) .brand__text strong,
body.is-home .site-header:not(.is-scrolled) .site-nav__link {
  color: #fff;
}

body.is-home .site-header:not(.is-scrolled) .brand__text small {
  color: rgba(255, 255, 255, 0.72);
}

body.is-home .site-header:not(.is-scrolled) .site-nav__link:hover,
body.is-home .site-header:not(.is-scrolled) .site-nav__link.is-active,
body.is-home .site-header:not(.is-scrolled) .nav-drop.is-active > .site-nav__link {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

body.is-home .site-header:not(.is-scrolled) .nav-admin {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

body.is-home .site-header:not(.is-scrolled) .nav-admin:hover {
  background: #fff;
  color: var(--ink);
}

body.is-home .site-header:not(.is-scrolled) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

body.is-home .site-header:not(.is-scrolled) .nav-toggle span {
  background: #fff;
}

/* --------------------------------------------------------------------------
   Ana sayfa hero (kaydırdıkça değişen fotoğraf + parallax)
   -------------------------------------------------------------------------- */

.scroll-hero {
  position: relative;
  height: 270vh;
  background: #0a1512;
}

.scroll-hero__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
}

.scroll-hero__slides,
.scroll-hero__slide,
.scroll-hero__shade {
  position: absolute;
  inset: 0;
}

.scroll-hero__slide {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1.08) translate3d(0, 0, 0);
  transition: opacity 700ms ease;
  will-change: opacity, transform;
}

.scroll-hero__slide.is-active { opacity: 1; }

.scroll-hero__shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 15, 12, 0.78) 0%, rgba(5, 15, 12, 0.34) 52%, rgba(5, 15, 12, 0.12) 100%),
    linear-gradient(0deg, rgba(5, 15, 12, 0.78) 0%, rgba(5, 15, 12, 0.05) 45%, rgba(5, 15, 12, 0.28) 100%);
}

.scroll-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(70px, 9vh, 120px);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.scroll-hero .eyebrow,
.page-hero .eyebrow {
  color: #f0c9a8;
}

.hero-title {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.2vw, 6.5rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero-title em {
  color: #f2c9a4;
  font-style: italic;
  font-weight: 400;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.scroll-hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 52px;
}

.hero-caption {
  display: flex;
  align-items: baseline;
  gap: 16px;
  min-height: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.hero-caption__index {
  color: #f2c9a4;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.hero-dots {
  display: flex;
  gap: 9px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 220ms ease, background-color 220ms ease;
}

.hero-dot.is-active {
  width: 34px;
  background: #f2c9a4;
}

.scroll-hint {
  position: absolute;
  right: max(24px, calc((100vw - min(1180px, calc(100vw - 48px))) / 2));
  bottom: 28px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), transparent);
  animation: hintPulse 2.4s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { transform: scaleY(0.55); opacity: 0.45; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* --------------------------------------------------------------------------
   İç sayfa başlığı
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 430px;
  padding: calc(var(--header-h) + 80px) 0 62px;
  overflow: hidden;
  background: #0c1916;
  color: #fff;
}

.page-hero__bg,
.page-hero__overlay {
  position: absolute;
  inset: -12% 0;
  background-image: var(--page-hero-image);
  background-position: center;
  background-size: cover;
  will-change: transform;
}

.page-hero__bg {
  transform: translate3d(0, 0, 0) scale(1.06);
}

.page-hero__overlay {
  background-image:
    linear-gradient(90deg, rgba(6, 16, 13, 0.82) 0%, rgba(6, 16, 13, 0.46) 55%, rgba(6, 16, 13, 0.16) 100%),
    linear-gradient(0deg, rgba(6, 16, 13, 0.7), rgba(6, 16, 13, 0.05));
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 920px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  font-weight: 500;
}

.page-hero__lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.page-hero__meta span {
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.breadcrumbs a { color: rgba(255, 255, 255, 0.72); }
.breadcrumbs a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Bölümler ve ortak bileşenler
   -------------------------------------------------------------------------- */

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.section--tight { padding: clamp(42px, 5vw, 64px) 0; }
.section--paper { background: rgba(255, 255, 255, 0.36); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
}

.section-head p {
  max-width: 520px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.section-head__link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease,
    transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--brand-strong);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.22);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(6px);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.button--light {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.button--light:hover,
.button--light:focus-visible {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.button--accent {
  background: var(--accent);
}

.button--accent:hover {
  background: #a85a2c;
}

.button--small {
  padding: 9px 15px;
  font-size: 0.7rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.stat-card__value {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-card__label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-card--accent .stat-card__value { color: var(--accent); }
.stat-card--brand .stat-card__value { color: var(--brand); }

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}

.intro-figure {
  position: relative;
  margin: 0;
}

.intro-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.intro-figure::after {
  content: "";
  position: absolute;
  inset: 22px -18px -22px 18px;
  z-index: 0;
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: var(--radius-lg);
}

.intro-copy h2 { max-width: 560px; }
.intro-copy p { color: var(--ink-soft); }

.signature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--brand-strong);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
}

.signature::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--brand);
}

/* --------------------------------------------------------------------------
   Ders kartları
   -------------------------------------------------------------------------- */

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.course-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms ease;
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: var(--shadow-md);
}

.course-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(15, 118, 110, 0.13), transparent 55%),
    linear-gradient(145deg, #f4f8f6, #e8e2d5);
}

.course-card__media img {
  width: 100%;
  height: 100%;
  padding: 9%;
  object-fit: contain;
  transition: transform 500ms var(--ease);
}

.course-card:hover .course-card__media img {
  transform: scale(1.04);
}

.course-card__season {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-strong);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.course-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.course-card__body h3 {
  margin-bottom: 8px;
  font-size: 1.42rem;
  line-height: 1.12;
}

.course-card__body h3 a { color: var(--ink); }
.course-card__body h3 a:hover { color: var(--brand); }

.course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.course-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.course-card__meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.course-card__meta span:first-child::before { display: none; }

.course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.course-card__footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
}

.course-card__footer a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   Galeri vitrin + kartlar
   -------------------------------------------------------------------------- */

.collection-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.collection-feature {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 360px;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #0d1a17;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.collection-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--collection-image);
  background-position: center;
  background-size: cover;
  transition: transform 700ms var(--ease);
}

.collection-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 16, 13, 0.86), rgba(6, 16, 13, 0.08) 65%);
}

.collection-feature:hover::before { transform: scale(1.06); }
.collection-feature:hover { color: #fff; }

.collection-feature__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.collection-feature__content span {
  display: inline-block;
  margin-bottom: 8px;
  color: #f0c9a8;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.collection-feature__content h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}

.collection-feature__content p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.collection-feature__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.collection-feature__stats strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
}

.top-viewed {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.top-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #dfe7e3;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}

.top-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

.top-card:hover img { transform: scale(1.06); }

.top-card__overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 34px 12px 11px;
  background: linear-gradient(0deg, rgba(6, 16, 13, 0.82), transparent);
  color: #fff;
}

.top-card__overlay strong {
  display: block;
  overflow: hidden;
  font-size: 0.76rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-card__views {
  position: absolute;
  top: 9px;
  right: 9px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.64rem;
  font-weight: 800;
}

.gallery-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.gallery-page-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.gallery-page-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.collection-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.collection-stats span {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.collection-stats strong { color: var(--brand); }

.gallery-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #dfe7e3;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 550ms var(--ease), filter 550ms ease;
}

.gallery-card:hover img {
  transform: scale(1.07);
  filter: saturate(1.08);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(0deg, rgba(6, 16, 13, 0.78), transparent);
  opacity: 0.75;
  transition: opacity 220ms ease;
}

.gallery-card:hover::after { opacity: 1; }

.gallery-card__title {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  z-index: 2;
  overflow: hidden;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-card__views {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.pagination-modern {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 42px;
}

.pagination-modern a,
.pagination-modern span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.pagination-modern a:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.pagination-modern .is-current {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.pagination-modern .is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Tek görsel görüntüleyici
   -------------------------------------------------------------------------- */

.viewer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: start;
}

.viewer-stage {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(45deg, rgba(18, 33, 29, 0.025) 25%, transparent 25%, transparent 75%, rgba(18, 33, 29, 0.025) 75%),
    linear-gradient(45deg, rgba(18, 33, 29, 0.025) 25%, transparent 25%, transparent 75%, rgba(18, 33, 29, 0.025) 75%),
    #fff;
  background-position: 0 0, 12px 12px;
  background-size: 24px 24px;
}

.viewer-stage img {
  max-height: 76vh;
  width: auto;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.viewer-side {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.viewer-side h1 {
  margin: 4px 0 10px;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
}

.viewer-side__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
}

.viewer-side__meta span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.68rem;
  font-weight: 800;
}

.viewer-nav {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.viewer-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
}

.viewer-nav a:hover { border-color: var(--brand); background: #f6fbf9; }
.viewer-nav small { color: var(--muted); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Ders detay
   -------------------------------------------------------------------------- */

.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
}

.panel {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.panel + .panel { margin-top: 22px; }

.panel h2 {
  margin-bottom: 18px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.course-lead {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.course-note-list {
  display: grid;
  gap: 10px;
}

.course-note-list p {
  margin: 0;
  padding: 12px 15px;
  border-left: 3px solid var(--accent-soft);
  border-radius: 0 10px 10px 0;
  background: #fbf8f2;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.material-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  transition: transform 220ms var(--ease), box-shadow 220ms ease, border-color 220ms ease;
}

.material-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.3);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.material-card__thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #eaf2ef, #e5ded1);
}

.material-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-card__thumb.is-contain img { object-fit: contain; padding: 6%; }

.material-card__thumb.is-placeholder {
  background:
    radial-gradient(120% 120% at 15% 0%, rgba(15, 118, 110, 0.2), transparent 55%),
    linear-gradient(135deg, #12332d, #0b1f1b);
}

.material-card__glyph {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.material-card__play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #b91c1c;
  font-size: 0.8rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.material-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 17px 17px;
}

.material-card__kind {
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.material-card__body strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.91rem;
  line-height: 1.35;
}

.material-card__body small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.material-card__arrow {
  margin-top: auto;
  padding-top: 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
}

.week-list {
  display: grid;
  gap: 10px;
}

.week {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.week[open] {
  border-color: rgba(15, 118, 110, 0.26);
  box-shadow: var(--shadow-sm);
}

.week summary {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  transition: background-color 160ms ease;
}

.week summary::-webkit-details-marker { display: none; }
.week summary:hover { background: #f8fbf9; }

.week__no {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.week__title {
  flex: 1;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.3;
}

.week__count {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.week__chevron {
  width: 22px;
  height: 22px;
  color: var(--muted);
  transition: transform 180ms ease;
}

.week[open] .week__chevron { transform: rotate(180deg); }

.week__body {
  padding: 0 18px 18px;
}

.week__note {
  margin: 0 0 14px;
  padding: 11px 14px;
  border-left: 3px solid var(--accent-soft);
  border-radius: 0 9px 9px 0;
  background: #fbf8f2;
  color: var(--muted);
  font-size: 0.82rem;
}

.material-rows {
  display: grid;
  gap: 8px;
}

.material-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfdfc;
  color: var(--ink);
  transition: border-color 160ms ease, background-color 160ms ease;
}

.material-row:hover {
  border-color: rgba(15, 118, 110, 0.34);
  background: #f5fbf8;
  color: var(--ink);
}

.material-row__thumb {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 108px;
  height: 61px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8f1ed, #e4dccf);
  color: var(--brand-strong);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.material-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-row__thumb.is-contain img { object-fit: contain; padding: 4%; }

.material-row__body { min-width: 0; }

.material-row__kind {
  display: block;
  margin-bottom: 2px;
  color: var(--accent);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.material-row__title {
  display: block;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.material-row__note {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.material-row__arrow {
  padding: 0 8px;
  color: var(--brand);
  font-size: 0.9rem;
}

.course-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  display: grid;
  gap: 16px;
}

.side-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
}

.side-card--brand {
  border-color: transparent;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(242, 201, 164, 0.28), transparent 55%),
    linear-gradient(135deg, #0d5f58, #0a3d39);
  color: #fff;
}

.side-card--brand h3 { color: #fff; }
.side-card--brand p { color: rgba(255, 255, 255, 0.76); }

.side-card h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.side-card__cover {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(145deg, #f3f7f5, #e9e2d4);
}

.side-card__cover img {
  max-height: 100%;
  object-fit: contain;
}

.side-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.side-list li:last-child a { border-bottom: 0; }
.side-list a:hover { color: var(--brand); }
.side-list span { color: var(--muted); font-size: 0.68rem; }

.course-facts {
  display: grid;
  gap: 9px;
  margin: 0;
}

.course-facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}

.course-facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.course-facts dt { color: var(--muted); font-weight: 600; }
.course-facts dd { margin: 0; color: var(--ink); font-weight: 700; text-align: right; }

/* --------------------------------------------------------------------------
   Haberler
   -------------------------------------------------------------------------- */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 240ms var(--ease), box-shadow 240ms ease;
}

.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.news-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e7ebe8;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

.news-card:hover .news-card__media img { transform: scale(1.05); }

.news-card__body { padding: 18px 19px 20px; }
.news-card__date { color: var(--accent); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.news-card__body h3 { margin: 7px 0 8px; font-size: 1.18rem; line-height: 1.2; }
.news-card__body p { color: var(--muted); font-size: 0.82rem; }

/* --------------------------------------------------------------------------
   CTA ve footer
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 70px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(242, 201, 164, 0.3), transparent 55%),
    linear-gradient(135deg, #0d5f58, #0a3633);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.cta-band h2 { color: #fff; }
.cta-band p { max-width: 620px; color: rgba(255, 255, 255, 0.76); }
.cta-band .button { margin-top: 10px; }

.site-footer {
  margin-top: clamp(60px, 8vw, 100px);
  background: #0c1a17;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 1fr 1.1fr;
  gap: clamp(26px, 4vw, 54px);
  padding: clamp(50px, 7vw, 78px) 0 clamp(36px, 5vw, 54px);
}

.brand--footer { color: #fff; }
.brand--footer:hover { color: #fff; }
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__text small { color: rgba(255, 255, 255, 0.54); }

.site-footer__brand p {
  max-width: 360px;
  margin: 20px 0 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-row a {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 700;
}

.social-row a:hover { border-color: #fff; background: #fff; color: var(--ink); }

.site-footer h2 {
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

.site-footer__links a:hover { color: #fff; }

.site-footer__contact p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

.site-footer__contact a { color: rgba(255, 255, 255, 0.82); }
.site-footer__contact a:hover { color: #fff; }
.site-footer__note { margin-top: 16px; font-size: 0.7rem !important; opacity: 0.65; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(5, 12, 10, 0.92);
  backdrop-filter: blur(8px);
}

.lightbox[hidden] { display: none; }

.lightbox figure {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  margin: 0;
  text-align: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.lightbox figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover { background: #fff; color: var(--ink); }

/* --------------------------------------------------------------------------
   Eski şablon sayfaları için yumuşak uyum katmanı
   -------------------------------------------------------------------------- */

.legacy-shell {
  padding-top: calc(var(--header-h) + 46px);
  padding-bottom: 60px;
}

.legacy-shell .row::after {
  content: "";
  display: table;
  clear: both;
}

.legacy-shell .col-padded { padding: 0 6px; }

.legacy-shell .page-title {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
}

.legacy-shell .news-featured-image {
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: var(--radius);
}

.legacy-shell .news-featured-image img { width: 100%; }

.legacy-shell .news-mini-wrap {
  height: auto;
  margin-bottom: 20px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.legacy-shell .news-mini-wrap .page-title { font-size: 1.05rem; border: 0; padding: 0; }
.legacy-shell .news-summary { color: var(--muted); font-size: 0.82rem; }
.legacy-shell .category-description { color: var(--muted); }

.legacy-shell .pagination > li > a,
.legacy-shell .pagination > li > span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
}

.legacy-shell .pagination > .active > a {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Reveal animasyonları
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .top-viewed { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-grid-modern { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .site-footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  :root { --header-h: 74px; }

  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 14px;
    left: 14px;
    z-index: 120;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: calc(100vh - var(--header-h) - 20px);
    padding: 14px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open { display: flex; }

  .site-nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
    color: var(--ink);
  }

  .nav-drop { width: 100%; }
  .nav-drop__panel,
  .nav-drop__panel--wide {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
    margin: 4px 0 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8faf9;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-drop.is-open .nav-drop__panel { display: grid; }
  .nav-drop:hover .nav-drop__panel { display: none; }
  .nav-drop.is-open:hover .nav-drop__panel { display: grid; }

  .nav-admin {
    justify-content: center;
    margin: 8px 0 0;
  }

  body.is-home .site-header:not(.is-scrolled) .nav-toggle span { background: #fff; }

  .course-layout,
  .viewer-layout { grid-template-columns: 1fr; }

  .course-sidebar,
  .viewer-side { position: static; }

  .intro-grid { grid-template-columns: 1fr; }
  .intro-figure { max-width: 520px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100vw - 32px); }

  .scroll-hero { height: 230vh; }
  .scroll-hero__sticky { min-height: 540px; }
  .scroll-hero__inner { padding-bottom: 58px; }
  .hero-title { font-size: clamp(2.5rem, 12vw, 4rem); }
  .hero-lead { font-size: 0.95rem; }
  .scroll-hero__bottom { margin-top: 34px; }
  .scroll-hint { display: none; }

  .page-hero {
    min-height: 340px;
    padding: calc(var(--header-h) + 64px) 0 46px;
  }

  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-grid { grid-template-columns: 1fr; }
  .material-grid { grid-template-columns: 1fr; }
  .collection-feature-grid { grid-template-columns: 1fr; }
  .collection-feature { min-height: 300px; }
  .news-grid { grid-template-columns: 1fr; }
  .top-viewed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid-modern { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .material-row { grid-template-columns: 86px minmax(0, 1fr) auto; }
  .material-row__thumb { width: 86px; height: 52px; }

  .gallery-page-head { flex-direction: column; align-items: flex-start; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .brand__text small { display: none; }
  .brand__mark { width: 46px; height: 46px; }
  .brand__text strong { font-size: 0.88rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .top-viewed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid-modern { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-card__title { font-size: 0.7rem; right: 10px; bottom: 9px; left: 10px; }
  .gallery-card__views { top: 7px; right: 7px; font-size: 0.56rem; }
  .material-row { grid-template-columns: 1fr auto; }
  .material-row__thumb { display: none; }
  .panel { padding: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .button--ghost { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .scroll-hero { height: auto; }
  .scroll-hero__sticky { position: relative; height: 90vh; }
}

/* ==========================================================================
   Okunabilirlik katmanı — 15 Kasım 2026
   Küçük tipografi büyütüldü; logo, menü ve mobil görünüm öncelikli.
   Bu blok en sonda olduğu için önceki boyutları geçersiz kılar.
   ========================================================================== */

html { font-size: 18px; }

body.site-body {
  font-size: 1.02rem; /* ~18,4px */
  line-height: 1.75;
}

/* --- Header: logo ve ana menü --- */
:root { --header-h: 104px; }

.site-header__inner { gap: 18px; }

.brand { gap: 15px; }

.brand__mark {
  width: 80px;
  height: 80px;
  padding: 6px;
  border-radius: 22px;
}

.brand__text strong { font-size: 1.2rem; }

.brand__text small {
  font-size: 0.84rem;
  letter-spacing: 0.05em;
}

.site-nav { gap: 6px; }

.site-nav__link {
  padding: 13px 17px;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.site-nav__link svg {
  width: 12px;
  height: 10px;
}

.nav-drop__panel {
  min-width: 330px;
  padding: 12px;
}

.nav-drop__panel a { padding: 12px; }

.nav-drop__panel a strong { font-size: 1rem; }

.nav-drop__panel a small { font-size: 0.86rem; }

.nav-drop__icon {
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
}

.nav-admin {
  padding: 12px 18px;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.nav-admin svg {
  width: 18px;
  height: 18px;
}

.nav-toggle {
  width: 56px;
  height: 56px;
  padding: 15px;
}

/* --- Küçük metinler: en az ~15-16px --- */
.eyebrow { font-size: 0.88rem; }
.hero-caption { font-size: 0.95rem; }
.hero-lead { font-size: 1.12rem; }
.scroll-hint { font-size: 0.8rem; }
.page-hero__meta span { font-size: 0.88rem; }
.breadcrumbs { font-size: 0.88rem; }
.section-head__link { font-size: 0.9rem; }
.button { font-size: 1rem; letter-spacing: 0.01em; text-transform: none; }
.button--small { font-size: 0.86rem; }
.text-link { font-size: 0.95rem; letter-spacing: 0.01em; }
.stat-card__label { font-size: 0.85rem; }
.course-card__season { font-size: 0.8rem; }
.course-card__meta,
.course-card__footer { font-size: 0.86rem; }
.collection-feature__content span { font-size: 0.85rem; }
.collection-feature__stats { font-size: 0.86rem; }
.collection-stats span { font-size: 0.86rem; }
.top-card__overlay strong { font-size: 0.92rem; }
.top-card__views { font-size: 0.8rem; }
.gallery-card__title { font-size: 0.95rem; }
.gallery-card__views { font-size: 0.8rem; }
.pagination-modern span { font-size: 0.9rem; }
.viewer-side__meta span { font-size: 0.86rem; }
.viewer-nav a { font-size: 0.9rem; }
.viewer-nav small { font-size: 0.78rem; }
.material-card__play { font-size: 0.9rem; }
.material-card__kind { font-size: 0.84rem; }
.material-card__body small { font-size: 0.88rem; }
.material-card__arrow { font-size: 0.9rem; }
.week__count { font-size: 0.84rem; }
.week__note { font-size: 0.95rem; }
.material-row__kind { font-size: 0.84rem; }
.material-row__title { font-size: 0.98rem; }
.material-row__note { font-size: 0.88rem; }
.side-list a { font-size: 0.92rem; }
.side-list span { font-size: 0.84rem; }
.course-facts div { font-size: 0.9rem; }
.news-card__date { font-size: 0.8rem; }
.news-card__body h3 { font-size: 1.28rem; }
.news-card__body p { font-size: 0.95rem; }
.site-footer__grid > * { min-width: 0; }
.brand--footer { max-width: 100%; }
.site-footer__brand p { font-size: 0.95rem; }
.social-row a { font-size: 0.86rem; }
.site-footer h2 { font-size: 0.85rem; }
.site-footer__links a,
.site-footer__contact p { font-size: 0.95rem; }
.site-footer__note { font-size: 0.84rem !important; }
.site-footer__bottom { font-size: 0.86rem; }
.lightbox figcaption { font-size: 0.92rem; }
.legacy-shell .news-summary { font-size: 0.95rem; }

/* --- Orta genişlik: menü taşmasın --- */
@media (min-width: 981px) and (max-width: 1240px) {
  .brand__text small { display: none; }
  .brand__mark { width: 72px; height: 72px; }
  .site-nav__link { padding: 12px 13px; font-size: 0.92rem; }
}

/* --- Mobil: logo ve menü daha da büyük --- */
@media (max-width: 980px) {
  :root { --header-h: 92px; }

  .brand__mark { width: 74px; height: 74px; }
  .brand__text strong { font-size: 1.12rem; }

  .site-nav__link {
    padding: 16px;
    font-size: 1.08rem;
  }

  .nav-drop__panel a strong { font-size: 1.04rem; }
  .nav-drop__panel a small { font-size: 0.92rem; }
}

@media (max-width: 520px) {
  :root { --header-h: 86px; }

  .brand__mark { width: 68px; height: 68px; padding: 5px; }
  .brand__text strong { font-size: 1.08rem; }
  .brand__text small { display: block; font-size: 0.8rem; }
  .nav-toggle { width: 54px; height: 54px; }

  .hero-title { font-size: clamp(2.6rem, 13vw, 4.2rem); }
  .hero-lead { font-size: 1.05rem; }
  .gallery-card__title { font-size: 0.9rem; }
.publications h2 {
  margin-top: 1.9em;
  padding-bottom: 0.35em;
  border-bottom: 1px solid var(--line);
}
.publications h2:first-child { margin-top: 0; }
.publications ol {
  padding-left: 1.5em;
  margin: 0.6em 0 0;
}
.publications li {
  margin-bottom: 0.65em;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

