/* ================================================================
   Yapay zekâ asistanı (Arzakademi.Asistan). Yalnız asistan açıkken yüklenir.
   Mevcut "Kurs Danışmanı" penceresinin tasarım dilini kullanır:
   lacivert #1C2539, turuncu #FD762D. Ortak sınıflar (chat-message, message-bubble,
   chat-input, chat-send-btn...) temadaki footer-custom.css dosyasından gelir.
   ================================================================ */

/* Yapay zekâ modunda eski (seçenekli) akış gizlenir; eski akış modunda yapay zekâ alanı gizlenir */
.chat-widget.asistan-acik #chatAkis,
.chat-widget.asistan-acik #chatForm,
.chat-widget.asistan-acik .chat-adim,
.chat-widget.asistan-acik .chat-kvkk:not(.asistan-kvkk),
.chat-widget.asistan-klasik .asistan-akis,
.chat-widget.asistan-klasik .asistan-form,
.chat-widget.asistan-klasik .asistan-kvkk,
.chat-widget.asistan-klasik .asistan-kisa--temizle { display: none; }

.asistan-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

/* Mesaj alanı: uzun yanıtlarda kayar */
.asistan-akis { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.asistan-akis .chat-messages { padding-bottom: 8px; }
.asistan-akis .message-content { max-width: 84%; min-width: 0; }
.asistan-metin { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.user-message .asistan-metin { color: #fff; }

/* Yanıt içindeki bağlantı: tek satır, sığmazsa üç nokta (tam adres ipucunda) */
.asistan-baglanti {
  display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom;
  color: #b4470a; font-weight: 600; text-decoration: underline; text-underline-offset: 2px;
}
.asistan-baglanti:hover, .asistan-baglanti:focus-visible { color: #1C2539; }

/* Kısayollar: WhatsApp her zaman erişilebilir */
.asistan-kisayol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 9px 12px 0; background: #fff; border-top: 1px solid #e9ecf2; }
.asistan-kisa {
  display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 4px 11px; border: 1px solid #e3e7ee; border-radius: 15px; cursor: pointer;
  background: #fff; color: #1C2539; font-family: inherit; font-size: 12.5px; font-weight: 600; line-height: 1.2; text-decoration: none;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.asistan-kisa:hover, .asistan-kisa:focus-visible { border-color: #FD762D; color: #1C2539; outline: none; }
.asistan-kisa:focus-visible { box-shadow: 0 0 0 3px rgba(253, 118, 45, .25); }
.asistan-kisa--wp { border-color: #25D366; color: #0f7a3d; }
.asistan-kisa--wp svg { color: #25D366; flex: none; }
.asistan-kisa--wp:hover, .asistan-kisa--wp:focus-visible { border-color: #1ebe5b; background: #f0fbf4; color: #0f7a3d; }
.asistan-kisa--vurgu { border-color: #FD762D; background: #FD762D; color: #fff; }
.asistan-kisa--vurgu:hover, .asistan-kisa--vurgu:focus-visible { background: #e9651f; border-color: #e9651f; color: #fff; }
.asistan-kisa--temizle { margin-left: auto; justify-content: center; width: 30px; padding: 0; border-color: transparent; border-radius: 50%; color: #6b7485; }
.asistan-kisa--temizle:hover, .asistan-kisa--temizle:focus-visible { border-color: #e3e7ee; color: #1C2539; }

/* Eski akış modunda kısayol satırı eski formun üstünde durur */
.chat-widget.asistan-klasik .asistan-kisayol { padding-bottom: 9px; }

/* Yazma alanı */
.asistan-form { position: relative; align-items: flex-end; border-top: 0; padding-top: 9px; }
.asistan-giris {
  display: block; height: 42px; min-height: 42px; max-height: 104px; padding: 10px 16px; resize: none; overflow-y: auto;
  line-height: 1.45; border-radius: 21px; font-family: inherit;
}
.asistan-giris:focus-visible { border-color: #1C2539; box-shadow: 0 0 0 3px rgba(28, 37, 57, .12); }
.asistan-form .chat-send-btn:focus-visible { outline: 3px solid rgba(28, 37, 57, .35); outline-offset: 2px; }
.asistan-sayac { position: absolute; right: 70px; top: -7px; padding: 0 5px; border-radius: 8px; background: #fff; color: #8a93a3; font-size: 10.5px; line-height: 14px; pointer-events: none; }
.asistan-sayac:empty { display: none; }

/* Bilgilendirme (KVKK) satırı: iki satıra sığar */
.asistan-kvkk { align-items: flex-start; justify-content: flex-start; padding-top: 1px; line-height: 1.4; text-align: left; }
.asistan-kvkk svg { flex: none; margin-top: 2px; }

/* Hata balonu ve çıkış yolları */
.asistan-hata .message-bubble { border-color: #f6cdb5; background: #fff8f3; }
.asistan-eylem { display: flex; flex-wrap: wrap; gap: 6px; margin: 9px 0 3px; }

/* ================================================================
   Kurs kartları: yanıtın altında, sitedeki kurs kartı ve kurs sayfası bölümleriyle aynı dil.
   İçerik veritabanından gelir; burada yalnız görünüm var.
   ================================================================ */
.asistan-kartlar { display: flex; flex-direction: column; gap: 10px; margin: -2px 0 14px; }
.ak {
  position: relative; min-width: 0; padding: 12px; border: 1px solid #e3e7ee; border-radius: 16px; background: #fff; color: #1C2539;
  box-shadow: 0 6px 18px rgba(28, 37, 57, .07); animation: akBelir .4s ease both; animation-delay: calc(var(--s, 0) * .09s);
}
.ak::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, #FD762D, #FF9A5A); }
@keyframes akBelir { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.ak-ust { display: flex; align-items: flex-start; gap: 11px; }
.ak-kapak { flex: none; display: block; width: 76px; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #F5F7FA; }
.ak-kapak img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ak:hover .ak-kapak img { transform: scale(1.05); }
.ak-bilgi { flex: 1; min-width: 0; }
.ak-kat { display: block; margin-bottom: 3px; color: #c2530f; font-size: 10.5px; font-weight: 700; letter-spacing: .3px; line-height: 1.3; text-transform: uppercase; overflow-wrap: anywhere; }
.ak-ad { display: block; color: #1C2539; font-family: var(--font-heading--family, inherit); font-size: 14px; font-weight: 600; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.ak-ad:hover, .ak-ad:focus-visible { color: #c2530f; text-decoration: underline; }

.ak-fiyat { margin-top: 10px; padding-top: 9px; border-top: 1px dashed #e3e7ee; }
.ak-fiyat__etiket { display: block; color: #6b7485; font-size: 11.5px; line-height: 1.3; }
.ak-fiyat__satir { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 8px; margin-top: 1px; }
.ak-eski { color: #7A8394; font-size: 13px; font-weight: 500; text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: #E5484D; white-space: nowrap; }
.ak-guncel { color: #1C2539; font-family: var(--font-heading--family, inherit); font-size: 21px; font-weight: 700; line-height: 1.15; white-space: nowrap; }
.ak-rozet, .ak-etiket { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-style: normal; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.ak-rozet { position: relative; overflow: hidden; background: linear-gradient(90deg, #FD762D, #FF9A5A); color: #fff; box-shadow: 0 3px 8px rgba(253, 118, 45, .26); }
.ak-rozet::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-20deg); animation: akParilti 3.6s ease-in-out infinite; }
@keyframes akParilti { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.ak-etiket { background: #EEF1F6; color: #1C2539; font-weight: 600; }
.ak-sonraki { display: flex; align-items: center; gap: 5px; margin: 5px 0 0; color: #6b7485; font-size: 11.5px; line-height: 1.4; }
.ak-sonraki svg { flex: none; color: #FD762D; }

.ak-dugmeler { display: flex; gap: 7px; margin-top: 10px; }
.ak-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 6px 10px; border-radius: 11px;
  font-size: 13px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.ak-btn svg { flex: none; }
.ak-btn--sayfa { border: 1px solid #d9dee8; background: #fff; color: #1C2539; }
.ak-btn--sayfa:hover, .ak-btn--sayfa:focus-visible { border-color: #1C2539; color: #1C2539; }
.ak-btn--sayfa svg { transition: transform .2s ease; }
.ak-btn--sayfa:hover svg { transform: translateX(3px); }
.ak-btn--satin { border: 1px solid #FD762D; background: #FD762D; color: #fff; box-shadow: 0 6px 14px rgba(253, 118, 45, .28); }
.ak-btn--satin:hover, .ak-btn--satin:focus-visible { background: #e9651f; border-color: #e9651f; color: #fff; transform: translateY(-1px); }
.ak-btn:focus-visible { outline: 3px solid rgba(28, 37, 57, .3); outline-offset: 2px; }

.ak-bolum { margin-top: 11px; padding-top: 10px; border-top: 1px solid #eef0f4; }
.ak-bolum__baslik { display: flex; align-items: center; gap: 7px; margin: 0 0 8px; color: #1C2539; font-family: var(--font-heading--family, inherit); font-size: 13px; font-weight: 600; line-height: 1.3; }
.ak-bolum__baslik span { padding: 1px 7px; border-radius: 10px; background: rgba(253, 118, 45, .12); color: #c2530f; font-family: var(--font-body--family, inherit); font-size: 10.5px; font-weight: 700; }
.ak-bolum ul { margin: 0; padding: 0; list-style: none; }
.ak-bolum:not(.ak-acik) .ak-fazla { display: none; }
.ak-tumu { display: block; width: 100%; margin-top: 7px; padding: 6px; border: 1px dashed #d9dee8; border-radius: 10px; cursor: pointer; background: transparent; color: #6b7485; font-family: inherit; font-size: 12px; font-weight: 600; transition: border-color .2s ease, color .2s ease; }
.ak-tumu:hover, .ak-tumu:focus-visible { border-color: #FD762D; color: #1C2539; outline: none; }

/* Katlı bölüm ("Ayrıntı" kartında): başlığa dokununca açılır */
.ak-bolum__dugme { display: flex; align-items: center; gap: 7px; width: 100%; padding: 0; border: 0; cursor: pointer; background: transparent; color: inherit; font: inherit; text-align: left; }
.ak-bolum__dugme:focus-visible { outline: 3px solid rgba(28, 37, 57, .3); outline-offset: 3px; border-radius: 6px; }
.ak-bolum__ok { margin-left: auto; color: #6b7485; transform: rotate(90deg); transition: transform .25s ease; }
.ak-acilmis .ak-bolum__ok { transform: rotate(-90deg); }
.ak-katli .ak-bolum__baslik { margin-bottom: 0; }
.ak-katli.ak-acilmis .ak-bolum__baslik { margin-bottom: 8px; }
.ak-katli:not(.ak-acilmis) > :not(.ak-bolum__baslik) { display: none; }

/* Küçük kurs satırları (genel bakış yanıtlarında) */
.al { padding: 10px 10px 6px; border: 1px solid #e3e7ee; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(28, 37, 57, .07); animation: akBelir .4s ease both; }
.al-baslik { margin: 8px 2px 6px; color: #c2530f; font-family: var(--font-body--family, inherit); font-size: 10.5px; font-weight: 700; letter-spacing: .3px; line-height: 1.3; text-transform: uppercase; overflow-wrap: anywhere; }
.al-baslik:first-child { margin-top: 0; }
.al-liste { margin: 0; padding: 0; list-style: none; }
.al-satir { display: flex; align-items: center; gap: 6px; padding: 6px 0; border-top: 1px solid #f0f2f6; animation: akBelir .35s ease both; animation-delay: calc(var(--s, 0) * .05s); }
.al-liste .al-satir:first-child { border-top: 0; }
.al-ana { flex: 1; display: flex; align-items: center; gap: 9px; min-width: 0; color: #1C2539; text-decoration: none; border-radius: 10px; }
.al-ana:focus-visible { outline: 3px solid rgba(28, 37, 57, .3); outline-offset: 2px; }
.al-kapak { flex: none; display: block; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #1C2539, #28334d); }
.al-kapak img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.al-ana:hover .al-kapak img { transform: scale(1.08); }
.al-govde { flex: 1; display: block; min-width: 0; }
.al-ad { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.al-ana:hover .al-ad { color: #c2530f; }
.al-fiyat { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin-top: 2px; }
.al-fiyat .ak-eski { font-size: 11.5px; }
.al-fiyat .ak-guncel { font-size: 14.5px; }
.al-fiyat .ak-rozet { padding: 1px 6px; font-size: 9.5px; box-shadow: none; }
.al-ayrinti { flex: none; min-height: 28px; padding: 3px 9px; border: 1px solid #e3e7ee; border-radius: 14px; cursor: pointer; background: #fff; color: #1C2539; font-family: inherit; font-size: 11.5px; font-weight: 600; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.al-ayrinti:hover, .al-ayrinti:focus-visible { border-color: #FD762D; background: #FD762D; color: #fff; outline: none; }
.al-ayrinti:disabled { opacity: .55; cursor: progress; }

/* Hızlı yanıt düğmeleri: yazma alanının üstünde */
.asistan-secenekler { display: flex; flex-wrap: wrap; gap: 6px; padding: 9px 12px 0; background: #fff; border-top: 1px solid #e9ecf2; }
.asistan-secenekler[hidden] { display: none; }
.asistan-secenekler:not([hidden]) + .asistan-kisayol { border-top: 0; }
.asistan-secenek {
  max-width: 100%; min-height: 30px; padding: 4px 11px; border: 1px solid #FD762D; border-radius: 15px; cursor: pointer; background: rgba(253, 118, 45, .08); color: #b4470a;
  font-family: inherit; font-size: 12.5px; font-weight: 600; line-height: 1.25; text-align: left; overflow-wrap: anywhere; animation: akBelir .3s ease both;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.asistan-secenek:hover, .asistan-secenek:focus-visible { background: #FD762D; color: #fff; outline: none; transform: translateY(-1px); }
.asistan-secenek:focus-visible { box-shadow: 0 0 0 3px rgba(253, 118, 45, .3); }
.chat-widget.asistan-klasik .asistan-secenekler { display: none; }

/* KVKK bilgi şeridi: mesaj alanının en üstünde durur, × ile kapatılır; eski (adım adım) akışta görünmez */
.asistan-serit { display: flex; flex: none; align-items: flex-start; gap: 6px; margin: 12px 16px 0; padding: 8px 6px 8px 12px; border-radius: 12px; background: #1C2539; color: #fff; box-shadow: 0 4px 12px rgba(28, 37, 57, .16); animation: akBelir .35s ease both; }
.chat-widget.asistan-klasik .asistan-serit { display: none; }
.asistan-serit + .chat-messages { padding-top: 12px; }
.asistan-serit__metin { flex: 1; min-width: 0; margin: 0; padding: 2px 0; color: #fff; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.asistan-serit__baglanti { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.asistan-serit__baglanti:hover, .asistan-serit__baglanti:focus-visible { color: #FFC9A8; }
.asistan-serit__kapat { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; margin: -2px 0; padding: 0; border: 0; border-radius: 8px; background: transparent; color: rgba(255, 255, 255, .82); cursor: pointer; transition: background .2s ease, color .2s ease; }
.asistan-serit__kapat:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.asistan-serit__kapat:focus-visible, .asistan-serit__baglanti:focus-visible { outline: 2px solid #FD762D; outline-offset: 2px; }
/* Yanıt metni: paragraflar ve maddeler */
.message-bubble .asistan-metin + .asistan-metin, .message-bubble .asistan-liste + .asistan-metin { margin-top: 8px; }
.asistan-liste { margin: 6px 0 2px; padding: 0; list-style: none; }
.asistan-liste li { position: relative; padding-left: 14px; color: inherit; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.asistan-liste li + li { margin-top: 3px; }
.asistan-liste li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: #FD762D; }
/* Eğitmenler */
.ak-hocalar { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.ak-hoca { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 5px; border: 1px solid #eef0f4; border-radius: 12px; background: #fafbfc; }
.ak-hoca__foto { position: relative; flex: none; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: #1C2539; }
.ak-hoca__harf { color: #FD762D; font-size: 12.5px; font-weight: 700; }
.ak-hoca__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ak-hoca__bilgi { min-width: 0; }
.ak-hoca__bilgi b { display: block; font-size: 12px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.ak-hoca__bilgi span { display: block; color: #6b7485; font-size: 10.5px; line-height: 1.3; overflow-wrap: anywhere; }

/* Pakete dahil olanlar ve online kaynaklar: simge + başlık + kısa metin */
.ak-maddeler { display: flex; flex-direction: column; gap: 9px; }
.ak-madde { display: flex; align-items: flex-start; gap: 10px; }
.ak-madde__ikon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 11px; background: rgba(253, 118, 45, .1); color: #FD762D; transition: background .25s ease, color .25s ease, transform .25s ease; }
.ak-madde:hover .ak-madde__ikon { background: #FD762D; color: #fff; transform: translateY(-2px); }
.ak-madde--kaynak .ak-madde__ikon { background: #1C2539; color: #FD762D; }
.ak-madde--kaynak:hover .ak-madde__ikon { background: #FD762D; color: #fff; }
.ak-madde__govde { flex: 1; min-width: 0; }
.ak-madde__govde b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.ak-madde__govde p { margin: 2px 0 0; color: #5d6676; font-size: 11.5px; line-height: 1.5; overflow-wrap: anywhere; }
.ak-madde__tur { display: block; color: #c2530f; font-size: 10px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.ak-rozet-kucuk { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 8px; background: #EEF1F6; color: #1C2539; font-size: 10px; font-style: normal; font-weight: 700; line-height: 16px; vertical-align: 1px; white-space: nowrap; }

/* Simgelerin küçük hareketi: kurs sayfasındaki simgelerle aynı fikir */
.ak-madde__ikon .ak-ik { transform-origin: 50% 50%; animation: akZipla 3.2s ease-in-out infinite; animation-delay: var(--g, 0s); }
.ak-madde__ikon .ak-ik--pusula { animation-name: akSalla; }
.ak-madde__ikon .ak-ik--tekrar, .ak-madde__ikon .ak-ik--yenile { animation-name: akDon; animation-duration: 5s; animation-timing-function: linear; }
.ak-madde__ikon .ak-ik--saat { animation-name: akDon; animation-duration: 12s; animation-timing-function: linear; }
.ak-madde__ikon .ak-ik--danisma, .ak-madde__ikon .ak-ik--kalkan, .ak-madde__ikon .ak-ik--hedef, .ak-madde__ikon .ak-ik--video { animation-name: akNabiz; animation-duration: 2.4s; }
.ak-madde__ikon .ak-ik--destek, .ak-madde__ikon .ak-ik--takvim, .ak-madde__ikon .ak-ik--test { animation-name: akSallaKucuk; }
.ak-madde__ikon .ak-ik--simsek { animation-name: akSimsek; animation-duration: 2.4s; }
.ak-madde__ikon .ak-ik--kart { animation-name: akKay; }
.ak-madde__ikon .ak-ik--kitap { animation-name: akSayfa; }
@keyframes akSalla { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }
@keyframes akSallaKucuk { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-12deg); } 86% { transform: rotate(10deg); } 94% { transform: rotate(-4deg); } }
@keyframes akZipla { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes akDon { to { transform: rotate(360deg); } }
@keyframes akNabiz { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes akSimsek { 0%, 60%, 100% { opacity: 1; transform: scale(1); } 68% { opacity: .35; transform: scale(.9); } 76% { opacity: 1; transform: scale(1.18); } }
@keyframes akKay { 0%, 100% { transform: translateX(-1.5px); } 50% { transform: translateX(1.5px) rotate(-4deg); } }
@keyframes akSayfa { 0%, 100% { transform: perspective(40px) rotateY(0); } 50% { transform: perspective(40px) rotateY(18deg); } }

/* Kitaplar: kapak + ad (aynı adlı Ders Notları ve Soru Bankası tek kutuda, sitedeki gibi) */
.ak-kitaplar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px 8px; }
.ak-kitap { min-width: 0; }
.ak-kitap__kapak { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1.08; border-radius: 12px; overflow: hidden; background: radial-gradient(80% 70% at 50% 100%, #E9EDF4 0%, #F5F7FA 70%); color: #b3bac6; }
.ak-kitap__kapak img { position: absolute; left: 50%; bottom: 8px; max-width: 72%; max-height: 84%; object-fit: contain; transform: translateX(-50%); filter: drop-shadow(0 5px 6px rgba(28, 37, 57, .18)); transition: transform .4s cubic-bezier(.2, .8, .3, 1); }
.ak-kitap__kapak--cift .k1 { left: 38%; max-width: 58%; max-height: 72%; }
.ak-kitap__kapak--cift .k2 { left: 64%; max-width: 54%; z-index: 1; }
.ak-kitap:hover .ak-kitap__kapak img { transform: translateX(-50%) translateY(-3px); }
.ak-kitap:hover .ak-kitap__kapak--cift .k1 { transform: translateX(-60%) translateY(-2px) rotate(-5deg); }
.ak-kitap:hover .ak-kitap__kapak--cift .k2 { transform: translateX(-40%) translateY(-4px) rotate(4deg); }
.ak-kitap > b { display: block; margin-top: 5px; font-size: 11.5px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.ak-kitap__turler { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 3px; }
.ak-kitap__turler em { padding: 0 5px; border-radius: 7px; background: #EEF1F6; color: #4b5565; font-size: 9.5px; font-style: normal; font-weight: 600; line-height: 15px; }

/* Ders programı */
.ak-saatler, .ak-dersler { display: flex; flex-direction: column; gap: 5px; }
.ak-saatler li, .ak-dersler li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 6px 9px; border-radius: 10px; background: #F5F7FA; border-left: 3px solid #FD762D; font-size: 12px; line-height: 1.4; }
.ak-saatler b, .ak-dersler b { font-weight: 600; }
.ak-saat { margin-left: auto; color: #1C2539; font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.ak-saatler small, .ak-dersler small { flex-basis: 100%; color: #6b7485; font-size: 10.5px; overflow-wrap: anywhere; }
.ak-saatler + .ak-dersler { margin-top: 6px; }
.ak-dersler li { border-left-color: #1C2539; }
.ak-ozet { display: flex; flex-direction: column; gap: 4px; margin: 8px 0 0; color: #4b5565; font-size: 11.5px; line-height: 1.45; }
.ak-ozet span { display: flex; align-items: flex-start; gap: 6px; overflow-wrap: anywhere; }
.ak-ozet svg { flex: none; margin-top: 2px; color: #FD762D; }
@media (max-width: 480px) {
  /* iOS, 16px'ten küçük yazı alanına odaklanınca sayfayı yakınlaştırır */
  .asistan-giris { font-size: 16px; }
  .asistan-akis .message-content { max-width: 88%; }
  .asistan-kisayol { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 360px) {
  .ak-hocalar { grid-template-columns: 1fr; }
  .ak-kapak { width: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .asistan-kisa { transition: none; }
  .ak, .al, .al-satir, .asistan-secenek, .asistan-serit, .ak-rozet::after, .ak-madde__ikon .ak-ik { animation: none; }
  .al-kapak img, .al-ayrinti, .asistan-secenek, .ak-bolum__ok { transition: none; }
  .ak-kapak img, .ak-kitap__kapak img, .ak-btn, .ak-btn svg, .ak-madde__ikon { transition: none; }
}
