/* ==========================================================================
   İMAYDER — Sayfa Özel Stilleri
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Ana sayfa: takdim bloğu
   -------------------------------------------------------------------------- */

.intro {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } }

.intro__visual, .intro__media { position: relative; }

.intro__frame {
  position: relative;
  border-radius: var(--r-arch);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--sh-xl);
  background: linear-gradient(160deg, var(--brand-700), var(--brand-900));
}
.intro__frame img { width: 100%; height: 100%; object-fit: cover; }

/* Kemerin çevresindeki ince altın çerçeve */
.intro__frame::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 162, 39, 0.55);
  border-radius: var(--r-arch);
  pointer-events: none;
}

.intro__badge {
  position: absolute;
  right: -18px; bottom: 42px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  border: 1px solid var(--border-soft);
  max-width: 250px;
}
.intro__badge-icon {
  width: 46px; height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--gold-50);
  color: var(--gold-600);
}
.intro__badge-num { font-family: var(--font-display); font-size: 1.5rem; color: var(--brand-800); line-height: 1; }
.intro__badge-label { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 3px; }

@media (max-width: 620px) { .intro__badge { right: 0; bottom: 0; } }

.intro__list { display: flex; flex-direction: column; gap: 1.15rem; margin-top: 1.75rem; }
.intro__list-item { display: flex; gap: 0.95rem; align-items: flex-start; }
.intro__list-icon {
  width: 26px; height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-600);
  margin-top: 2px;
}
.intro__list-icon svg { width: 14px; height: 14px; }
.intro__list-title { font-weight: 600; color: var(--ink-800); font-size: var(--fs-md); }
.intro__list-text { font-size: var(--fs-base); color: var(--text-muted); margin-top: 2px; }

/* Hakkımızda bölümündeki küçük özellik listesi (büyük .feature kart bileşeniyle
   isim çakışmasını önlemek için burada özel olarak sıfırlanır/yeniden düzenlenir) */
.feature-list { display: flex; flex-direction: column; gap: 1.15rem; margin-top: 1.75rem; }
.feature-list .feature {
  display: flex;
  grid-template-columns: none;
  gap: 0.95rem;
  align-items: flex-start;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.feature-list .feature__icon {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-600);
  margin-top: 2px;
}
.feature-list .feature__icon svg { width: 20px; height: 20px; }
.feature-list .feature > div { min-width: 0; }
.feature-list .feature strong { display: block; font-weight: 600; color: var(--ink-800); font-size: var(--fs-md); margin-bottom: 2px; }
.feature-list .feature p { font-size: var(--fs-base); color: var(--text-muted); margin: 0; }

/* --------------------------------------------------------------------------
   2. Öne çıkan yazı (büyük kart)
   -------------------------------------------------------------------------- */

.feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-md);
}
@media (max-width: 880px) { .feature { grid-template-columns: 1fr; } }

.feature__media {
  position: relative;
  min-height: 340px;
  background: linear-gradient(150deg, var(--brand-700), var(--brand-900));
  overflow: hidden;
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.feature__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(0,0,0,0.12));
}

.feature__body {
  padding: clamp(1.75rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.feature__title { font-size: var(--fs-2xl); line-height: 1.24; }
.feature__title a { color: var(--heading); }
.feature__title a:hover { color: var(--brand-600); }
.feature__text { color: var(--text-muted); font-size: var(--fs-md); line-height: 1.72; }

/* --------------------------------------------------------------------------
   3. Kıssa kartı (özel — hisse vurgulu)
   -------------------------------------------------------------------------- */

.kissa-card {
  position: relative;
  background: var(--paper-warm);
  border: 1px solid var(--gold-100);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.75rem;
  overflow: hidden;
  isolation: isolate;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.kissa-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }

.kissa-card::before {
  content: '“';
  position: absolute;
  top: -20px; right: 14px;
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  color: var(--gold-300);
  opacity: 0.35;
  z-index: -1;
}

.kissa-card__title { font-size: var(--fs-xl); }
.kissa-card__title a { color: var(--brand-900); }
.kissa-card__title a:hover { color: var(--brand-600); }
.kissa-card__text { color: var(--ink-600); font-size: var(--fs-base); flex: 1; }

.kissa-card__lesson {
  margin-top: auto;
  padding: 0.95rem 1.15rem;
  background: rgba(255,255,255,0.72);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: var(--fs-sm);
  line-height: 1.62;
  color: var(--ink-700);
}
.kissa-card__lesson strong {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 0.35rem;
}

/* Hisse kutusu (detay sayfası) */
.hisse-box {
  position: relative;
  margin-block: 2.5rem;
  padding: 2rem 2rem 2rem 2.5rem;
  background: linear-gradient(120deg, var(--gold-50), var(--paper-warm));
  border: 1px solid var(--gold-100);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.hisse-box::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--gold-500), var(--gold-300));
}
.hisse-box__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 0.85rem;
}
.hisse-box__label svg { width: 16px; height: 16px; }
.hisse-box__text {
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.68;
  color: var(--brand-900);
}

/* --------------------------------------------------------------------------
   4. Dua kartı
   -------------------------------------------------------------------------- */

.dua-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.dua-card:hover { box-shadow: var(--sh-md); border-color: var(--brand-200); }

.dua-card__head {
  padding: 1.25rem 1.6rem;
  background: linear-gradient(120deg, var(--brand-800), var(--brand-700));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.dua-card__title { color: #fff; font-size: var(--fs-lg); margin: 0; }
.dua-card__title a { color: #fff; }
.dua-card__body { padding: 1.6rem; }

.dua-arabic {
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: center;
  font-size: 1.75rem;
  line-height: 2.4;
  color: var(--brand-900);
  padding: 1.25rem 0;
  border-bottom: 1px dashed var(--border);
}

.dua-block { padding-top: 1.15rem; }
.dua-block + .dua-block { border-top: 1px dashed var(--border); margin-top: 1.15rem; }
.dua-block__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.5rem;
}
.dua-block__text { color: var(--ink-700); line-height: 1.78; }
.dua-block--translit .dua-block__text { font-style: italic; color: var(--brand-700); }

.dua-card__foot {
  padding: 1rem 1.6rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   5. Siyer zaman çizelgesi
   -------------------------------------------------------------------------- */

.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 11px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-300), var(--gold-300), var(--brand-200));
}

.tl-item { position: relative; padding-bottom: 2.5rem; }
.tl-item:last-child { padding-bottom: 0; }

.tl-item__dot {
  position: absolute;
  left: -2.5rem; top: 4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--brand-500);
  display: grid;
  place-items: center;
  transition: all var(--dur-base) var(--ease-out);
}
.tl-item__dot::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-500);
  transition: background-color var(--dur-base) var(--ease-out);
}
.tl-item:hover .tl-item__dot { border-color: var(--gold-500); transform: scale(1.15); }
.tl-item:hover .tl-item__dot::after { background: var(--gold-500); }

.tl-item__year {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-700);
  background: var(--gold-50);
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-pill);
  margin-bottom: 0.75rem;
}

.tl-item__card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 1.5rem 1.65rem;
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.tl-item:hover .tl-item__card { box-shadow: var(--sh-md); border-color: var(--brand-200); transform: translateX(4px); }
.tl-item__title { font-size: var(--fs-xl); margin-bottom: 0.55rem; }
.tl-item__title a { color: var(--heading); }
.tl-item__title a:hover { color: var(--brand-600); }
.tl-item__text { color: var(--text-muted); font-size: var(--fs-base); }
.tl-item__period {
  font-size: var(--fs-xs);
  color: var(--text-faint);
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

@media (max-width: 560px) {
  .timeline { padding-left: 1.9rem; }
  .timeline::before { left: 7px; }
  .tl-item__dot { left: -1.9rem; width: 18px; height: 18px; }
  .tl-item__card { padding: 1.15rem 1.25rem; }
}

/* --------------------------------------------------------------------------
   6. Kur'an modülü
   -------------------------------------------------------------------------- */

.surah-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 1rem;
}

.surah-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  transition: all var(--dur-base) var(--ease-out);
}
.surah-tile:hover {
  border-color: var(--brand-300);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

.surah-tile__num {
  width: 44px; height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  transform: rotate(45deg);
  border-radius: var(--r-xs);
  transition: all var(--dur-base) var(--ease-out);
}
.surah-tile__num span { transform: rotate(-45deg); }
.surah-tile:hover .surah-tile__num { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }

.surah-tile__info { flex: 1; min-width: 0; }
.surah-tile__name { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--heading); line-height: 1.25; }
.surah-tile__meta { font-size: var(--fs-xs); color: var(--text-faint); margin-top: 3px; }
.surah-tile__arabic {
  font-family: var(--font-arabic);
  direction: rtl;
  font-size: 1.35rem;
  color: var(--brand-500);
  flex: none;
  transition: color var(--dur-base) var(--ease-out);
}
.surah-tile:hover .surah-tile__arabic { color: var(--gold-600); }

/* Sure okuma başlığı */
.surah-head {
  position: relative;
  text-align: center;
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(26,123,163,0.3), transparent 65%),
    linear-gradient(145deg, var(--brand-900), var(--brand-800));
  border-radius: var(--r-xl);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.surah-head .motif-grid { opacity: 0.3; z-index: -1; }
.surah-head__in { position: relative; z-index: 1; }
.surah-head__arabic {
  font-family: var(--font-arabic);
  direction: rtl;
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--gold-300);
  line-height: 1.5;
}
.surah-head__name { color: #fff; font-size: var(--fs-2xl); margin-top: 0.5rem; }
.surah-head__meta {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.15rem;
}

/* Besmele */
.besmele {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
  font-family: var(--font-arabic);
  direction: rtl;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  color: var(--brand-800);
  padding: 2rem 1rem;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 1rem;
}
.besmele .ornament { flex: 1 1 auto; max-width: 160px; order: 1; }
.besmele p.arabic { margin: 0; flex: none; direction: rtl; order: 1; }
.besmele small { order: 3; flex-basis: 100%; direction: ltr; font-family: var(--font-body, inherit); font-size: var(--fs-sm); color: var(--text-muted); }

/* Ayet satırı */
.ayah {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border-soft);
  scroll-margin-top: calc(var(--header-h) + 20px);
  transition: background-color var(--dur-base) var(--ease-out);
}
.ayah__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.ayah:target, .ayah.is-active {
  background: var(--gold-50);
  border-radius: var(--r-md);
  padding-inline: 1.15rem;
  box-shadow: inset 0 0 0 1px var(--gold-100);
}

.ayah__num {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  font-size: var(--fs-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  flex: none;
  align-self: start;
  position: relative;
}
.ayah__num::before, .ayah__num::after {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid var(--brand-200);
  border-radius: 50%;
  opacity: 0.6;
}

.ayah__arabic {
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
  font-size: var(--quran-size, 1.9rem);
  line-height: 2.5;
  color: var(--brand-900);
  margin-bottom: 1rem;
}

.ayah__translit {
  font-style: italic;
  color: var(--brand-600);
  font-size: var(--fs-base);
  line-height: 1.72;
  padding-bottom: 0.9rem;
}

.ayah__translation {
  color: var(--ink-700);
  font-size: 1.03rem;
  line-height: 1.82;
}

.ayah__tools {
  display: flex;
  gap: 0.4rem;
  margin-top: 1rem;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.ayah:hover .ayah__tools, .ayah:focus-within .ayah__tools { opacity: 1; }
.ayah__tool {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--bg-alt);
  color: var(--ink-500);
  transition: all var(--dur-fast) var(--ease-out);
}
.ayah__tool:hover { background: var(--brand-600); color: #fff; }
.ayah__tool svg { width: 15px; height: 15px; }

.ayah__tafsir {
  margin-top: 1.15rem;
  padding: 1.15rem 1.35rem;
  background: var(--bg-alt);
  border-radius: var(--r-sm);
  font-size: var(--fs-base);
  color: var(--ink-600);
  line-height: 1.78;
  border-left: 3px solid var(--brand-300);
}

@media (max-width: 600px) {
  .ayah { grid-template-columns: 1fr; gap: 0.85rem; }
  .ayah__num { width: 38px; height: 38px; }
  .ayah__arabic { font-size: 1.6rem; line-height: 2.3; }
  .ayah__tools { opacity: 1; }
}

/* Okuyucu araç çubuğu */
.reader-bar {
  position: sticky;
  top: calc(var(--header-h) + 10px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-sm);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.reader-bar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}
.reader-bar__left, .reader-bar__right { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.reader-bar__group { display: flex; align-items: center; gap: 0.4rem; }
.reader-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-600);
  background: transparent;
  transition: all var(--dur-fast) var(--ease-out);
}
.reader-bar__btn:hover { background: var(--brand-50); color: var(--brand-700); }
.reader-bar__btn.is-active { background: var(--brand-600); color: #fff; }
.reader-bar__btn svg { width: 15px; height: 15px; }

/* Sure gezinme */
.surah-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.surah-nav__link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  transition: all var(--dur-base) var(--ease-out);
}
.surah-nav__link:hover { border-color: var(--brand-300); box-shadow: var(--sh-sm); }
.surah-nav__link--next { justify-content: flex-end; text-align: right; }
.surah-nav__label { font-size: var(--fs-xs); color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; }
.surah-nav__name { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--heading); }
@media (max-width: 560px) { .surah-nav { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   7. Soru-Cevap modülü
   -------------------------------------------------------------------------- */

.qa-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.qa-hero__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  grid-column: 1 / -1;
}
@media (max-width: 900px) {
  .qa-hero, .qa-hero__in { grid-template-columns: 1fr; }
}

.ask-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.ask-card__head {
  padding: 1.6rem 1.85rem;
  background: linear-gradient(125deg, var(--brand-800), var(--brand-600));
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.ask-card__head .motif-grid { opacity: 0.4; z-index: -1; }
.ask-card__head h3 { color: #fff; margin-bottom: 0.3rem; }
.ask-card__head p { color: rgba(255,255,255,0.78); font-size: var(--fs-sm); }
.ask-card__body { padding: 1.85rem; }

.ask-steps { display: flex; flex-direction: column; gap: 1.5rem; }
.ask-step { display: flex; gap: 1.15rem; align-items: flex-start; }
.ask-step__num {
  width: 42px; height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-arch);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.ask-step__title { font-weight: 600; color: var(--ink-800); font-size: var(--fs-md); margin-bottom: 0.25rem; }
.ask-step__text { font-size: var(--fs-base); color: var(--text-muted); }

/* Soru-cevap listesi */
.qa-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.qa-item + .qa-item { margin-top: 1.15rem; }
.qa-item:hover { box-shadow: var(--sh-md); border-color: var(--brand-200); }

.qa-item__q {
  display: flex;
  gap: 1.1rem;
  padding: 1.5rem 1.75rem;
  align-items: flex-start;
}
.qa-item__mark {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: 1.2rem;
  background: var(--brand-600);
  color: #fff;
}
.qa-item__mark--a { background: var(--gold-500); color: var(--brand-900); }

.qa-item__title { font-size: var(--fs-lg); margin-bottom: 0.4rem; }
.qa-item__title a { color: var(--heading); }
.qa-item__title a:hover { color: var(--brand-600); }
.qa-item__text { color: var(--text-muted); font-size: var(--fs-base); }

.qa-item__a {
  display: flex;
  gap: 1.1rem;
  padding: 1.5rem 1.75rem;
  background: var(--paper-warm);
  border-top: 1px solid var(--gold-100);
  align-items: flex-start;
}

.qa-item__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.75rem;
  border-top: 1px solid var(--border-soft);
  font-size: var(--fs-xs);
  color: var(--text-faint);
  background: var(--bg-alt);
}
.qa-item__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.qa-item__meta svg { width: 13px; height: 13px; }

@media (max-width: 560px) {
  .qa-item__q, .qa-item__a { padding: 1.15rem 1.15rem; gap: 0.85rem; }
  .qa-item__meta { padding-inline: 1.15rem; }
  .qa-item__mark { width: 32px; height: 32px; font-size: 1rem; }
}

/* Takip kodu kutusu */
.ref-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--success-bg);
  border: 1px dashed var(--success);
  border-radius: var(--r-md);
}
.ref-box__code {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--success);
}

/* --------------------------------------------------------------------------
   8. Ders kartı (medya)
   -------------------------------------------------------------------------- */

.lesson-card { position: relative; }
.lesson-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
}
.play-btn {
  width: 62px; height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--brand-700);
  box-shadow: var(--sh-lg);
  transition: transform var(--dur-base) var(--ease-spring), background-color var(--dur-fast) var(--ease-out);
}
.play-btn svg { width: 22px; height: 22px; margin-left: 3px; }
.lesson-card:hover .play-btn { transform: scale(1.12); background: var(--gold-500); color: var(--brand-900); }

.play-btn::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  animation: pulse-ring 2.2s var(--ease-out) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}

.lesson-card__duration {
  position: absolute;
  right: 0.85rem; bottom: 0.85rem;
  z-index: 2;
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-xs);
  background: rgba(6,41,58,0.82);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(4px);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-900);
  box-shadow: var(--sh-lg);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------
   9. Yazı detay
   -------------------------------------------------------------------------- */

.article-head { position: relative; margin-bottom: 2.25rem; overflow: hidden; isolation: isolate; }
.article-head__in { position: relative; z-index: 1; }
.article-head__title { font-size: var(--fs-3xl); margin-block: 0.85rem 1rem; }
.article-head__sub {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--text-muted);
  line-height: 1.55;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
  padding-block: 1.15rem;
  margin-top: 1.35rem;
  border-block: 1px solid var(--border-soft);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.article-meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.article-meta svg { width: 15px; height: 15px; opacity: 0.65; }

.article-cover {
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 2.25rem;
  box-shadow: var(--sh-md);
  aspect-ratio: 16 / 9;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Paylaş */
.share {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding-block: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border-soft);
}
.share__label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-700); margin-right: 0.35rem; }
.share__btn {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--ink-500);
  border: 1px solid var(--border-soft);
  transition: all var(--dur-fast) var(--ease-out);
}
.share__btn:hover { background: var(--brand-600); color: #fff; border-color: var(--brand-600); transform: translateY(-2px); }
.share__btn svg { width: 17px; height: 17px; }

/* İçindekiler */
.toc {
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 1.35rem 1.5rem;
  margin-bottom: 2rem;
}
.toc__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 0.85rem;
}
.toc ol { list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 0.55rem; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 0.6rem; font-size: var(--fs-base); color: var(--ink-600); }
.toc a::before { content: counter(toc) '.'; color: var(--gold-600); font-weight: 600; flex: none; }
.toc a:hover { color: var(--brand-600); }

/* --------------------------------------------------------------------------
   10. İletişim
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-item {
  display: flex;
  gap: 1.1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.contact-item:last-child { border-bottom: 0; }
.contact-item__icon {
  width: 46px; height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-arch);
  background: var(--brand-50);
  color: var(--brand-600);
}
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item__label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.09em; color: var(--text-faint); }
.contact-item__value { font-size: var(--fs-md); color: var(--ink-800); font-weight: 500; margin-top: 3px; }

.map-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --------------------------------------------------------------------------
   11. Hata sayfaları
   -------------------------------------------------------------------------- */

.error-page {
  min-height: 76vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 10rem);
  line-height: 1;
  color: var(--brand-100);
  letter-spacing: -0.03em;
}
.error-title { font-size: var(--fs-2xl); margin-top: -0.4em; }
.error-text { color: var(--text-muted); max-width: 46ch; margin: 1rem auto 2rem; }
