/* Ana sayfa eğitim şeridi (14 Kas 2026). Renk/yazı değişkenleri .v1-kapsam'dan
   (ana-slider-20261019b.css) gelir; kurallar .ae-* ile kapalı, style.css'e dokunmaz. */
.ana-egitimler { padding: clamp(40px, 6vw, 88px) 0 clamp(28px, 4vw, 56px); }
.ana-egitimler[hidden] { display: none; }
.ae-wrap { width: min(1200px, 92vw); margin: 0 auto; }

.ae-bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(18px, 2.4vw, 28px); }
.ae-ust { margin: 0 0 6px; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.ae-baslik { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.02; color: var(--parchment); }

.ae-oklar { display: flex; gap: 10px; flex-shrink: 0; }
.ae-oklar[hidden] { display: none; }
.ae-ok {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02); color: var(--parchment); font-size: 1.1rem; cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur), transform var(--dur) var(--ease), opacity var(--dur);
}
.ae-ok:hover:not(:disabled) { border-color: var(--gold); background: rgba(201, 162, 75, 0.1); transform: translateY(-1px); }
.ae-ok:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.ae-ok:disabled { opacity: 0.3; cursor: default; }

/* Şerit: yatay kaydırma + yapışma; masaüstünde 3, tablette 2, telefonda ~1,2 kart. */
.ae-serit {
  list-style: none; margin: 0; padding: 4px 2px 18px;
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 18px) / 3); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.ae-serit::-webkit-scrollbar { height: 6px; }
.ae-serit::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }

.ae-kart { --pr: var(--gold); scroll-snap-align: start; min-width: 0; }
.ae-kart__bag {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit;
  border: 1px solid rgba(212, 175, 95, 0.22); border-top: 3px solid var(--pr); border-radius: 18px;
  background: rgba(255, 255, 255, 0.025); overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur), box-shadow var(--dur);
}
.ae-kart__bag:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--pr) 60%, transparent); box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--pr) 55%, transparent); }
.ae-kart__bag:focus-visible { outline: 2px solid var(--pr); outline-offset: 3px; }

.ae-kart__gorsel { display: block; aspect-ratio: 16 / 9; background: #15110c; overflow: hidden; }
.ae-kart__gorsel img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms var(--ease); }
.ae-kart__bag:hover .ae-kart__gorsel img { transform: scale(1.04); }
.ae-kart__gorsel .kapak-yazi { display: grid; place-items: center; height: 100%; padding: 16px; font-family: var(--display); font-size: 1.8rem; color: var(--pr); text-align: center; }

.ae-kart__ic { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 18px 18px; }
.ae-kart__tur { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pr); }
.ae-kart__ad { font-family: var(--display); font-size: 1.5rem; font-weight: 500; line-height: 1.15; color: var(--parchment); }
.ae-kart__bilgi { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-sm); color: var(--parchment-dim); }
.ae-kart__bilgi--canli { color: #f0a35e; font-weight: 600; }
.ae-kart__bilgi--canli i { width: 7px; height: 7px; border-radius: 50%; background: #f0a35e; box-shadow: 0 0 0 0 rgba(240, 163, 94, 0.6); animation: ae-nabiz 2s infinite; flex-shrink: 0; }
.ae-kart__git { margin-top: auto; padding-top: 10px; font-size: var(--text-sm); font-weight: 600; color: var(--pr); }
.ae-kart__git span { display: inline-block; transition: transform var(--dur) var(--ease); }
.ae-kart__bag:hover .ae-kart__git span { transform: translateX(4px); }

.ae-alt { display: flex; justify-content: center; margin-top: clamp(14px, 2vw, 24px); }

@keyframes ae-nabiz { 70% { box-shadow: 0 0 0 7px rgba(240, 163, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(240, 163, 94, 0); } }

@media (max-width: 960px) { .ae-serit { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 600px) {
  .ae-serit { grid-auto-columns: 82%; gap: 14px; }
  .ae-oklar { display: none; }
  .ae-hepsi { width: 100%; }
}
[dir="rtl"] .ae-ok { transform: scaleX(-1); }
[dir="rtl"] .ae-kart__bag:hover .ae-kart__git span { transform: translateX(-4px) scaleX(-1); }
[dir="rtl"] .ae-kart__git span { transform: scaleX(-1); }

@media (prefers-reduced-motion: reduce) {
  .ae-serit { scroll-behavior: auto; }
  .ae-kart__bag, .ae-kart__gorsel img, .ae-ok, .ae-kart__git span { transition: none; }
  .ae-kart__bag:hover { transform: none; }
  .ae-kart__bag:hover .ae-kart__gorsel img { transform: none; }
  .ae-kart__bilgi--canli i { animation: none; }
}
[dir="rtl"] .ae-ok:hover:not(:disabled) { transform: scaleX(-1) translateY(-1px); }
