/* ==========================================================================
   Fransa'da Oku 2026 — ANASAYFA bileşenleri (v2 · 2026-09-11)
   --------------------------------------------------------------------------
   Yalnızca anasayfada yüklenir (inc/enqueue.php → is_front_page()).
   Önek: fdo-home-  ·  Token'lar: tokens.css  ·  Taban bileşenler: theme.css
   Hiçbir Elementor sınıfına bağımlılık YOK. Elementor global kit CSS'i
   `.elementor-kit-8 a` (0,1,1) ile link renklerini ezdiği için link kuralları
   `.fdo .fdo-home-… a` (≥0,2,0) özgüllüğüyle yazılmıştır (bkz. theme.css §12).
   ========================================================================== */

/* NOT: theme.css'teki `.fdo img { max-width:100%; height:auto }` (0,1,1) özgüllüğü,
   tek sınıflı `.fdo-home-…__img { height:100% }` kurallarını (0,1,0) eziyordu →
   görseller kutularını doldurmuyordu. Bu yüzden görsel kuralları `.fdo` öneki
   (≥0,2,0) ile yazılmıştır. */

/* §0 Bölüm iskeleti (.fdo-home-section / .fdo-home-head) ve §5 partner şeridi
   theme.css §15'e taşındı — sayfa şablonları (Hakkımızda, Eğitim Danışmanlığı)
   aynı bileşeni kullanıyor. */

/* ==========================================================================
   1. Hero — tam genişlik slider (v3)
   Kullanıcı geri bildirimi: üstte blog başlığı satırı YOK, büyük görsel,
   alt-sol gradyan üzerinde içerik, ince tricolor ilerleme çubuğu.
   ========================================================================== */
/* v3.1 (2026-09-11) — görsel genişliği doldurmuyordu.
   KÖK NEDEN: görsel kutusunda `aspect-ratio: 16/9` + `max-height: 480/560px`
   vardı. CSS Sizing 4'e göre bir `aspect-ratio` kutusunda max-height, oran
   üzerinden max-WIDTH'e aktarılır (480 × 16/9 = 853 px) → 1000 px ekranda görsel
   853 px'te kalıyor, sağda hero'nun lacivert zemini görünüyordu.
   ÇÖZÜM: yükseklik HERO KAPSAYICISINDA sabit (clamp) → CLS yok; sahne, slayt
   ve görsel `position:absolute; inset:0` ile kutuyu tam doldurur. Görselin
   üzerinde aspect-ratio / max-height YOK. Lacivert zemin yalnızca görsel
   yüklenene kadar görünen placeholder'dır. */
.fdo-home-hero {
  position: relative; overflow: hidden; isolation: isolate;
  height: clamp(320px, 75vw, 440px); background: var(--color-navy);
}
@media (min-width: 600px) { .fdo-home-hero { height: clamp(420px, 56vw, 620px); } }

.fdo-home-hero__stage { position: absolute; inset: 0; display: grid; grid-template: 100% / 100%; }
.fdo-home-hero__slide { grid-area: 1 / 1; position: relative; min-width: 0; min-height: 0; opacity: 0; visibility: hidden; transition: opacity var(--duration-base) var(--ease-out); }
.fdo-home-hero__slide.is-active { opacity: 1; visibility: visible; }

.fdo .fdo-home-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; max-height: none; background: var(--color-navy); }
.fdo .fdo-home-hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: center; }

.fdo-home-hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,26,58,0) 30%, rgba(0,26,58,.55) 62%, rgba(0,26,58,.92) 100%); }
@media (min-width: 900px) { .fdo-home-hero__scrim { background: linear-gradient(100deg, rgba(0,26,58,.88) 0%, rgba(0,26,58,.62) 42%, rgba(0,26,58,.10) 75%), linear-gradient(180deg, rgba(0,26,58,0) 55%, rgba(0,26,58,.75) 100%); } }

.fdo-home-hero__body {
  position: absolute; inset: auto 0 0 0; display: grid; gap: var(--space-3);
  padding-bottom: calc(var(--space-10) + 8px); color: var(--color-white);
}
@media (min-width: 900px) { .fdo-home-hero__body { max-width: 900px; padding-bottom: calc(var(--space-12) + 8px); } }
.fdo-home-hero__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fdo .fdo-home-hero__title {
  color: var(--color-white); font-family: var(--font-heading); font-weight: var(--weight-bold);
  font-size: clamp(1.5rem, 1.05rem + 2.2vw, 3.25rem); line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight); margin: 0; max-width: 20ch;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  text-shadow: 0 2px 18px rgba(0, 12, 28, .35);
}
.fdo .fdo-home-hero__title a { color: var(--color-white); text-decoration: none; }
.fdo .fdo-home-hero__title a:hover { text-decoration: underline; }
/* Slaytın tamamı tıklanabilir (tek link — ikinci bir "Devamını oku" linki yok). */
.fdo-home-hero__title a::after { content: ""; position: absolute; inset: 0; }
.fdo-home-hero__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-5); margin: 0; color: rgba(255,255,255,.78); font-size: var(--text-sm); }
.fdo-home-hero__more { display: inline-flex; align-items: center; gap: 6px; color: var(--color-white); font-weight: var(--weight-semibold); }
.fdo-home-hero__more svg { width: 17px; height: 17px; transition: transform var(--duration-fast); }
.fdo-home-hero__slide:hover .fdo-home-hero__more svg { transform: translateX(3px); }

/* ---- Kontroller: sağ altta oklar, solda ince çubuk navigasyonu ---- */
.fdo-home-hero__controls {
  position: absolute; left: 0; right: 0; bottom: calc(var(--space-4) + 4px); z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  pointer-events: none;
}
.fdo-home-hero__dots { display: flex; gap: 8px; pointer-events: auto; }
.fdo-home-hero__dot { width: 34px; height: 24px; padding: 10px 0; background: none; border: 0; cursor: pointer; }
@media (min-width: 768px) { .fdo-home-hero__dot { width: 56px; } }
.fdo-home-hero__dot span { display: block; height: 4px; border-radius: var(--radius-pill); background: rgba(255,255,255,.38); transition: background var(--duration-fast); }
.fdo-home-hero__dot:hover span { background: rgba(255,255,255,.7); }
.fdo-home-hero__dot.is-active span { background: var(--color-white); }
.fdo-home-hero__arrows { display: flex; gap: var(--space-2); pointer-events: auto; }
.fdo-home-hero__arrow {
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(0,26,58,.35);
  color: var(--color-white); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background var(--duration-fast), border-color var(--duration-fast);
}
.fdo-home-hero__arrow:hover { background: var(--color-white); border-color: var(--color-white); color: var(--color-navy); }
.fdo-home-hero__arrow svg { width: 22px; height: 22px; }

/* ---- İlerleme çizgisi: hero'nun İÇİNDE, alt kenara tam oturan TEK ince çizgi ----
   Eskiden 4 px'lik yarı saydam bir ray + `scaleX` ile büyüyen tricolor dolgu
   vardı: dolgu ölçeklenirken üç renk sıkışıyor, ray ve dolgu ayrı parçalar gibi
   görünüyordu. Şimdi ray yok; tricolor çizgi `clip-path` ile soldan sağa açılır,
   renk bölmeleri yerinde durur (mavi | beyaz | kırmızı). */
.fdo-home-hero__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 3; pointer-events: none; }
.fdo-home-hero__progress span {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(90deg, #5A86BF 0 33.333%, #fff 33.333% 66.666%, var(--color-red) 66.666%);
  clip-path: inset(0 100% 0 0);
  animation: fdo-hero-progress var(--fdo-hero-delay, 6000ms) linear forwards;
}
.fdo-home-hero.is-paused .fdo-home-hero__progress span { animation-play-state: paused; }
@keyframes fdo-hero-progress { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---- Mobil: tek slayt genişliğinde yatay scroll-snap ---- */
@media (max-width: 899px) {
  .fdo-home-hero__stage {
    display: flex; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .fdo-home-hero__stage::-webkit-scrollbar { display: none; }
  .fdo-home-hero__slide { flex: 0 0 100%; height: 100%; opacity: 1; visibility: visible; scroll-snap-align: start; }
  .fdo-home-hero__controls, .fdo-home-hero__progress { display: none; }
}

/* ==========================================================================
   2. Eğitim programları
   ========================================================================== */
.fdo-home-progs { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
@media (min-width: 600px)  { .fdo-home-progs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fdo-home-progs { grid-template-columns: repeat(4, 1fr); } }
.fdo-home-prog {
  position: relative; display: grid; gap: var(--space-2); align-content: start;
  padding: var(--space-5); background: var(--color-white); border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  transition: background var(--duration-base) var(--ease-out), border-color var(--duration-base), box-shadow var(--duration-base), transform var(--duration-base);
}
.fdo-home-prog:hover, .fdo-home-prog:focus-within { background: var(--color-navy); border-color: var(--color-navy); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.fdo-home-prog__icon { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--color-navy-50); color: var(--color-navy); margin-bottom: var(--space-2); transition: background var(--duration-base), color var(--duration-base); }
.fdo-home-prog__icon svg { width: 26px; height: 26px; }
.fdo .fdo-home-prog__photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.fdo-home-prog:hover .fdo-home-prog__icon, .fdo-home-prog:focus-within .fdo-home-prog__icon { background: rgba(255,255,255,.16); color: var(--color-white); }
.fdo .fdo-home-prog__title { font-size: var(--text-lg); letter-spacing: 0; margin: 0; }
.fdo .fdo-home-prog__title a { color: var(--color-navy); text-decoration: none; }
.fdo-home-prog__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-card); }
.fdo-home-prog__text { margin: 0; font-size: 15px; color: var(--color-gray-700); transition: color var(--duration-base); }
.fdo-home-prog__form { position: relative; z-index: 1; margin: var(--space-2) 0 0; font-size: 14px; }
.fdo .fdo-home-prog__form a { color: var(--color-navy-700); font-weight: var(--weight-semibold); text-decoration: none; }
.fdo .fdo-home-prog__form a:hover { text-decoration: underline; }
.fdo-home-prog__arrow { position: absolute; top: var(--space-5); right: var(--space-5); color: var(--color-gray-400); transition: color var(--duration-base), transform var(--duration-base); }
.fdo-home-prog__arrow svg { width: 20px; height: 20px; }
.fdo .fdo-home-prog:hover .fdo-home-prog__title a, .fdo .fdo-home-prog:focus-within .fdo-home-prog__title a,
.fdo .fdo-home-prog:hover .fdo-home-prog__form a, .fdo .fdo-home-prog:focus-within .fdo-home-prog__form a { color: var(--color-white); }
.fdo-home-prog:hover .fdo-home-prog__text, .fdo-home-prog:focus-within .fdo-home-prog__text { color: rgba(255,255,255,.85); }
.fdo-home-prog:hover .fdo-home-prog__arrow, .fdo-home-prog:focus-within .fdo-home-prog__arrow { color: var(--color-white); transform: translateX(4px); }

/* ==========================================================================
   3. Canlı destek kartı
   ========================================================================== */
.fdo-home-support {
  position: relative; overflow: hidden; display: grid; gap: var(--space-5);
  padding: var(--space-6) var(--space-5); background: var(--color-white);
  border: 1px solid var(--color-line); border-radius: var(--radius-card); box-shadow: var(--shadow-card);
}
.fdo-home-support::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--color-navy) 33.3%, var(--color-gray-200) 33.3% 66.6%, var(--color-red) 66.6%); }
@media (min-width: 900px) { .fdo-home-support { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-8); padding: var(--space-8); } }
.fdo .fdo-home-support__title { font-size: var(--text-xl); letter-spacing: 0; margin-top: 6px; }
@media (min-width: 768px) { .fdo .fdo-home-support__title { font-size: var(--text-2xl); } }
.fdo-home-support__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ==========================================================================
   4. Neden Fransa'da Eğitim? (sayaçlar)
   ========================================================================== */
.fdo-home-why__panel {
  position: relative; overflow: hidden; color: var(--color-white);
  padding: var(--space-8) var(--space-5); border-radius: var(--radius-lg);
  background: var(--color-navy) center / cover no-repeat;
}
@media (min-width: 768px)  { .fdo-home-why__panel { padding: var(--space-12); } }
@media (min-width: 1024px) { .fdo-home-why__panel { padding: var(--space-16) var(--space-12); } }
.fdo-home-why__panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(0,26,58,.96) 0%, rgba(0,38,84,.90) 55%, rgba(0,38,84,.72) 100%); }
.fdo-home-why__panel > * { position: relative; }
.fdo-home-stats { display: grid; gap: var(--space-6); margin: 0; }
@media (min-width: 768px) { .fdo-home-stats { grid-template-columns: repeat(3, 1fr); gap: var(--space-8); } }
.fdo-home-stat { position: relative; display: grid; gap: var(--space-2); align-content: start; padding-top: var(--space-5); border-top: 1px solid rgba(255,255,255,.20); }
.fdo-home-stat::before { content: ""; position: absolute; top: -1px; left: 0; width: 72px; height: 3px; border-radius: var(--radius-pill); background: linear-gradient(90deg, #5A86BF 0 33.3%, #fff 33.3% 66.6%, var(--color-red) 66.6%); }
.fdo .fdo-home-stat__icon { width: 40px; height: 40px; object-fit: contain; opacity: .9; }
.fdo-home-stat__num { font-family: var(--font-heading); font-size: var(--text-5xl); font-weight: var(--weight-bold); line-height: 1; letter-spacing: var(--tracking-tight); color: var(--color-white); font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .fdo-home-stat__num { font-size: var(--text-6xl); } }
.fdo-home-stat__text { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.85); }

/* ==========================================================================
   6. Yorumlar — alıntı düzeni
   ========================================================================== */
.fdo-home-quotes { background: var(--color-navy-50); }
.fdo-home-quotes__inner { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 900px) { .fdo-home-quotes__inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--space-12); } }
.fdo-home-quotes__aside .fdo-home-head { margin-bottom: var(--space-5); }
.fdo-home-quotes__photo { display: none; }
@media (min-width: 900px) { .fdo-home-quotes__photo { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); } }
.fdo .fdo-home-quotes__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fdo-home-quotes__stage { position: relative; background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: var(--space-6) var(--space-5) var(--space-5); }
@media (min-width: 768px) { .fdo-home-quotes__stage { padding: var(--space-10); } }
.fdo-home-quotes__mark { position: absolute; top: var(--space-4); right: var(--space-5); width: 56px; height: 56px; color: var(--color-navy); opacity: .10; }
.fdo-home-quotes__slides { display: grid; }
.fdo-home-quote { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; gap: var(--space-4); opacity: 0; visibility: hidden; transition: opacity var(--duration-base) var(--ease-out); }
.fdo-home-quote.is-active { opacity: 1; visibility: visible; }
.fdo-home-quote__text { margin: 0; font-family: var(--font-heading); font-size: var(--text-md); font-weight: var(--weight-medium); line-height: 1.55; color: var(--color-gray-800); }
@media (min-width: 768px) { .fdo-home-quote__text { font-size: var(--text-lg); } }
.fdo-home-quote__text p { margin: 0; }
.fdo-home-quote__name { margin-top: auto; font-family: var(--font-heading); font-weight: var(--weight-bold); color: var(--color-navy); }
.fdo-home-quote__name::before { content: ""; display: block; width: 32px; height: 3px; margin-bottom: var(--space-3); border-radius: var(--radius-pill); background: var(--color-red); }
.fdo-home-quotes__nav { display: flex; gap: 8px; margin-top: var(--space-6); }
.fdo-home-quotes__dot { width: 28px; height: 24px; padding: 10px 0; background: none; border: 0; cursor: pointer; display: grid; place-items: center; }
.fdo-home-quotes__dot span { display: block; width: 100%; height: 4px; border-radius: var(--radius-pill); background: var(--color-gray-300); transition: background var(--duration-fast); }
.fdo-home-quotes__dot.is-active span, .fdo-home-quotes__dot:hover span { background: var(--color-red); }

/* ==========================================================================
   7. Son paylaşımlar + videolar
   ========================================================================== */
.fdo-home-latest { display: grid; gap: var(--space-10); }
@media (min-width: 1024px) { .fdo-home-latest { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-12); } }
.fdo-home-postlist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.fdo-home-postrow { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: var(--space-4); align-items: start; padding-bottom: var(--space-4); border-bottom: 1px solid var(--color-line); }
.fdo-home-postrow:last-child { padding-bottom: 0; border-bottom: 0; }
.fdo-home-postrow__thumb { display: block; width: 88px; aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; background: var(--color-navy-50); }
.fdo-home-postrow__thumb.is-empty { background: linear-gradient(135deg, var(--color-navy-50), var(--color-gray-200)); }
.fdo .fdo-home-postrow__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fdo-home-postrow__body { display: grid; gap: 6px; min-width: 0; }
.fdo-home-postrow__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fdo .fdo-home-postrow__title { font-size: var(--text-md); line-height: 1.35; letter-spacing: 0; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fdo .fdo-home-postrow__title a { color: var(--color-navy); text-decoration: none; }
.fdo .fdo-home-postrow__title a:hover { color: var(--color-navy-700); text-decoration: underline; }
.fdo-home-postrow__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--color-muted); }

.fdo-home-videos__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(2, 1fr); }
.fdo-home-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; background: var(--color-navy); }
.fdo-home-video__btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; display: block; }
.fdo .fdo-home-video__cover { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--duration-base) var(--ease-out); }
.fdo .fdo-home-video__btn:hover .fdo-home-video__cover { transform: scale(1.04); }
.fdo-home-video__play { position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%; background: rgba(206,17,38,.92); color: var(--color-white); display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: background var(--duration-fast), transform var(--duration-fast); }
.fdo-home-video__play svg { width: 26px; height: 26px; margin-left: 2px; }
.fdo-home-video__btn:hover .fdo-home-video__play { background: var(--color-red); transform: scale(1.06); }
.fdo-home-video__frame, .fdo-home-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   8. Bülten kartı (footer'daki bülten satırından farklı)
   ========================================================================== */
.fdo-home-news { display: grid; gap: var(--space-4); align-items: center; padding: var(--space-6) var(--space-5); background: var(--color-white); border: 1px solid var(--color-navy-100); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
@media (min-width: 900px) { .fdo-home-news { grid-template-columns: auto minmax(0, 1fr) minmax(300px, .95fr); gap: var(--space-6); padding: var(--space-6) var(--space-8); } }
.fdo-home-news__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--color-navy-50); color: var(--color-navy); display: grid; place-items: center; }
.fdo-home-news__icon svg { width: 24px; height: 24px; }
.fdo .fdo-home-news__title { font-size: var(--text-lg); letter-spacing: 0; }
.fdo-home-news p { margin: 4px 0 0; font-size: 15px; color: var(--color-gray-700); }
.fdo-home-news__form form { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.fdo-home-news__form input:not([type="checkbox"]):not([type="submit"]) { flex: 1 1 200px; min-width: 0; min-height: 44px; padding: .7rem .9rem; font: inherit; font-size: 15px; background: var(--color-white); border: 1px solid var(--color-line); border-radius: var(--radius-ctl); }
.fdo-home-news__form button, .fdo-home-news__form input[type="submit"] { min-height: 44px; padding: 12px 20px; font: inherit; font-weight: var(--weight-semibold); color: var(--color-white); background: var(--color-navy); border: 0; border-radius: var(--radius-ctl); cursor: pointer; }
.fdo-home-news__placeholder { margin: 0; max-width: 46ch; }

/* ==========================================================================
   9. Hareket azaltma tercihi
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .fdo-home-hero__slide, .fdo-home-quote, .fdo-home-prog, .fdo-home-video__cover,
  .fdo-home-hero__arrow, .fdo-home-prog__arrow, .fdo-home-prog__icon { transition: none; }
  .fdo-home-hero__progress span { animation: none; clip-path: none; }
  .fdo-home-prog:hover, .fdo-home-prog:focus-within { transform: none; }
  .fdo-home-video__btn:hover .fdo-home-video__cover, .fdo-home-video__btn:hover .fdo-home-video__play { transform: none; }
}
