/* =====================================================================
   Mobil deneyim: tek ince üst bar · alttan açılan ikonlu menü · alt sekme çubuğu
   (feminine.css'ten sonra, tüm genel sayfalarda yüklenir)
   ===================================================================== */

/* ---------- Üst bar araçları ---------- */
.kh-mini-sub { display: none; }
.kh-burger { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #F3E3C2; border: 1px solid rgba(233, 217, 184, .45); background: rgba(255, 255, 255, .06); transition: background .2s; }
.kh-burger:hover { background: rgba(255, 255, 255, .14); }
.kh-burger svg { width: 22px; height: 22px; }
.kh-pill-lang { height: 32px; min-width: 40px; padding: 0 10px; border-radius: 999px; display: grid; place-items: center; font: 800 11px/1 Mulish, system-ui, sans-serif; letter-spacing: .08em; color: #F3E3C2; border: 1px solid rgba(233, 217, 184, .35); }

/* ---------- Alttan açılan menü ---------- */
html.kh-lock { overflow: hidden; }
.kh-sheet-bg { position: fixed; inset: 0; z-index: 80; background: rgba(20, 22, 48, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.kh-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 81; max-width: 560px; margin: 0 auto; max-height: 88vh; overflow-y: auto; overscroll-behavior: contain;
  padding: 6px 16px calc(18px + env(safe-area-inset-bottom)); color: #1E2B4A; background: #FFFDFB; border-radius: 28px 28px 0 0; box-shadow: 0 -24px 60px -20px rgba(30, 20, 60, .5); }
.kh-sheet-anim { transition: transform .34s cubic-bezier(.2, .8, .2, 1), opacity .25s; }
.kh-sheet-off { transform: translateY(100%); opacity: .5; }
.kh-sheet-on { transform: translateY(0); opacity: 1; }
.kh-sheet-handle { display: block; width: 42px; height: 4px; margin: 6px auto 8px; border-radius: 4px; background: #DDD3E6; }
.kh-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 10px; }
.kh-sheet-head > span { display: flex; align-items: center; gap: 8px; }
.kh-sheet-head b { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 21px; font-weight: 700; color: #1E2B4A; }
.kh-sheet-x { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #F4EEF6; color: #5A4374; }
.kh-sheet-x svg { width: 18px; height: 18px; }
.kh-sheet-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kh-sheet-cta a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 18px; background: #F8F1F6; border: 1px solid #EEE3EC; color: #1E2B4A; }
.kh-sheet-cta a:only-child { grid-column: 1 / -1; }
.kh-sheet-cta svg { width: 22px; height: 22px; flex: none; color: #8E5A9E; }
.kh-sheet-cta span { font: 700 14px/1.15 Mulish, system-ui, sans-serif; }
.kh-sheet-cta small { display: block; margin-top: 2px; font-size: 11px; font-weight: 600; color: #7A7F9A; }
.kh-sheet-cta a.is-main { color: #fff; border-color: transparent; background: linear-gradient(120deg, #C77D9B 0%, #8E5A9E 55%, #3A2F63 100%); box-shadow: 0 12px 24px -12px rgba(142, 90, 158, .8); }
.kh-sheet-cta a.is-main svg, .kh-sheet-cta a.is-main small { color: rgba(255, 255, 255, .85); }
.kh-sheet-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kh-sheet-grid a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; padding: 10px 6px; border-radius: 16px; background: #fff; border: 1px solid #EFE7DF; text-align: center; transition: background .2s, border-color .2s, transform .2s; }
.kh-sheet-grid a:active { transform: scale(.97); }
.kh-sheet-grid a:hover, .kh-sheet-grid a.is-active { background: #F8F1F6; border-color: rgba(142, 90, 158, .4); }
.kh-sheet-grid svg { width: 22px; height: 22px; color: #8E5A9E; }
.kh-sheet-grid span { font: 600 11.5px/1.2 Mulish, system-ui, sans-serif; color: #1E2B4A; }
.kh-sheet-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid #F0E8EE; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.kh-sheet-foot p { font-size: 11.5px; font-weight: 600; color: #7A7F9A; }
.kh-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: #F1ECF4; }
.kh-seg a { padding: 6px 12px; border-radius: 999px; font: 700 12px/1 Mulish, sans-serif; color: #6B6483; }
.kh-seg a.is-active { background: #1E2B4A; color: #fff; }

/* ---------- Alt sekme çubuğu ---------- */
.kh-tabbar { display: none; }

@media (max-width: 1023px) {
  /* Tek ince üst bar: kurum/amblem bandı gizlenir */
  body:not(.no-soft) { --kh-band: 0px; }
  .kh-band { display: none; }
  .kh-nav > div { height: 56px; }
  .kh-mini { display: flex; }
  .kh-mini > span { display: flex; flex-direction: column; line-height: 1; font-size: 18px; }
  .kh-mini-sub { display: block; margin-top: 3px; font: 600 10.5px/1 Mulish, system-ui, sans-serif; letter-spacing: .03em; color: rgba(243, 227, 194, .72); }

  .kh-tabbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; height: 62px; padding: 0 4px;
    border-radius: 22px; background: rgba(255, 255, 255, .93); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border: 1px solid rgba(140, 106, 51, .2); box-shadow: 0 16px 40px -14px rgba(30, 20, 60, .45); transition: transform .3s; }
  html.kh-lock .kh-tabbar { transform: translateY(150%); }
  .kh-tabbar > a, .kh-tabbar > button { position: relative; height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #6B7090; font: 700 10.5px/1 Mulish, system-ui, sans-serif; }
  .kh-tabbar svg { width: 22px; height: 22px; }
  .kh-tabbar > .is-active { color: #5A4374; }
  .kh-tabbar > .is-active:not(.kh-tab-main)::after { content: ""; position: absolute; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: #C77D9B; }
  .kh-tab-main { justify-content: flex-end !important; padding-bottom: 8px; color: #5A4374 !important; }
  .kh-tab-main i { width: 54px; height: 54px; margin-top: -30px; margin-bottom: 4px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 4px solid #fff;
    background: linear-gradient(135deg, #C77D9B 0%, #8E5A9E 55%, #3A2F63 100%); box-shadow: 0 10px 22px -8px rgba(142, 90, 158, .85); }
  .kh-tab-main i svg { width: 22px; height: 22px; }
  body:has(.kh-tabbar) { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ---------- Ana sayfa: mobilde sıkılaştırma ---------- */
@media (max-width: 639px) {
  .kh-hero { min-height: 0; }
  .kh-hero-body { padding-top: 22px; padding-bottom: 170px; }
  .kh-hero-grid { gap: 16px; }
  .kh-facts { display: flex; flex-wrap: wrap; gap: 8px; }
  .kh-facts li { gap: 6px; padding: 6px 11px; border-radius: 999px; font: 700 12.5px/1 Mulish, system-ui, sans-serif; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); text-shadow: none; }
  .kh-facts li:nth-child(3) { display: none; }
  .kh-facts svg { width: 15px; height: 15px; }
  .kh-script { font-size: 1.25rem !important; }
  .kh-hero-title, .kh-hero-title.is-long { font-size: 2.05rem; line-height: 1.06; }
  .kh-hero-intro { margin-top: 12px; font-size: .95rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .kh-hero-copy .mt-8 { margin-top: 18px; gap: 10px; }
  .kh-hero-copy .btn-lg { flex: 1 1 0; justify-content: center; padding: .8rem 1rem; font-size: .92rem; }
  .kh-count { width: 100%; justify-content: center; }

  .kh-feat-wrap { margin-top: -64px; }
  .kh-feat { padding: 4px 8px; border-radius: 22px; }
  .kh-feat-item { padding: 14px 6px; gap: 6px; font-size: 1.02rem; }
  .kh-feat-item svg { width: 28px; height: 28px; }
  .kh-flake { display: none; }

  body.is-home .py-20 { padding-top: 3rem; padding-bottom: 3rem; }
  body.is-home .pt-20 { padding-top: 3rem; }
  body.is-home .section-title.text-4xl { font-size: 1.95rem; }
  body.is-home .sec-head { gap: 14px; }
  body.is-home .kars-list h3 { font-size: 1.5rem; }
  .kp-apply { padding: 28px 0 12px; }
  .kp-apply-body { padding: 26px 20px 24px; }
  .kp-apply-title { font-size: 2rem; }
  .kp-apply-lead { font-size: .94rem; }
  .kp-steps { margin-top: 18px; gap: 8px; }
  .kp-steps li { padding: 10px 12px; border-radius: 16px; }
  .kp-speakers { padding: 40px 0 44px; }
  .kp-sl { margin-top: 24px; }
  .kp-sl-nav .kp-sl-btn { width: 38px; height: 38px; }
  .kp-sp { width: 210px; }
  .kp-sp h3 { font-size: 1.3rem; }
  .kh-cal { padding-top: 8px; }
}

/* ---------- Mobil: bölümleri kısalt (yatay kaydırma + sıkı ızgaralar) ---------- */
@media (max-width: 639px) {
  /* Başvuru: adımlar ve tarihler tek satır */
  .kp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kp-steps li { flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 10px 6px; }
  .kp-steps b { width: 26px; height: 26px; font-size: 11px; }
  .kp-steps strong { font-size: .74rem; line-height: 1.2; }
  .kp-steps small { display: none; }
  .kp-apply-cta { margin-top: 20px; }
  .kp-deadline { margin-top: 14px; font-size: .8rem; }
  .kp-dates { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; padding-top: 14px; }
  .kp-date { flex-direction: column; text-align: center; gap: 6px; }
  .kp-date time { width: 46px; }
  .kp-date p { font-size: .7rem; }
  .kp-apply-art { padding: 18px 16px 44px; }
  .kp-apply-art .tg { max-width: 170px; }
  .kp-apply-caption { font-size: 1.15rem; bottom: 12px; }

  /* Oturum alanları: 2 sütun, kısa kartlar */
  body.is-home .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  body.is-home .topic { min-height: 0 !important; padding: 14px 12px !important; }
  body.is-home .topic-name { font-size: 1.05rem !important; line-height: 1.2; }
  body.is-home .topic-arch { display: none; }
  body.is-home .topics-sec .sec-lead { display: none; }
  body.is-home .topics-sec .mt-10 { margin-top: 18px; }

  /* Yatay kaydırmalı şeritler: etkinlik takvimi + duyurular */
  .kh-cal-grid, body.is-home .ann-card:first-child:not(:only-child) { scroll-snap-align: start; }
  .kh-cal-grid { display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .kh-cal-grid::-webkit-scrollbar { display: none; }
  .kh-cal-title { flex: 0 0 100%; display: none !important; }
  .kh-day { flex: 0 0 78%; scroll-snap-align: start; padding: 18px !important; min-height: 0 !important; }
  .kh-day-art { display: none; }
  .kh-day-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  body.is-home .ann-card { flex: 0 0 82%; scroll-snap-align: start; }
  body.is-home .ann-card:only-child { flex-basis: 100%; }
  body.is-home section .grid.md\:grid-cols-3 { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -16px; padding: 0 16px 8px 0; scrollbar-width: none; }
  body.is-home section .grid.md\:grid-cols-3::-webkit-scrollbar { display: none; }
  body.is-home .ann-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

  /* Kars: yalnız başlıklar */
  body.is-home .kars-band .lg\:col-span-5 > p.text-lg { font-size: .95rem; margin-top: 12px; }
  body.is-home .kars-list p { display: none; }
  body.is-home .kars-list li { padding-top: 12px !important; padding-bottom: 12px !important; }
  body.is-home .kars-facts { display: none; }
  body.is-home .kars-band .btn { margin-top: 18px; }
  body.is-home .kars-band .grid { gap: 22px; }

  /* Kapanış */
  body.is-home .cta-final .cta-title { font-size: 2.1rem; }
  body.is-home .cta-final .text-lg { font-size: .95rem; }
  body.is-home .cta-final .btn-lg { padding: .75rem 1.1rem; font-size: .9rem; }
  body.is-home .cta-sky { height: 90px !important; margin-top: 24px; }

  /* Footer: sıkı */
  .site-footer > div { padding-top: 40px !important; padding-bottom: 18px !important; }
  .site-footer .grid { gap: 26px !important; }
  .site-footer .lg\:col-span-5 > p.italic, .site-footer .lg\:col-span-5 > p.text-ink-300 { display: none; }
  .site-footer .lg\:col-span-5 > p.text-2xl { font-size: 1.35rem; }
  .site-footer dl { margin-top: 16px !important; gap: 12px !important; }
  .site-footer .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 12px !important; }
  .site-footer .footer-links > li { margin: 0 !important; font-size: .9rem; }
  .site-footer address { margin-top: 12px !important; font-size: .9rem; }
  .site-footer address > * + * { margin-top: 6px !important; }
  .site-footer .footer-verify { margin-top: 14px !important; }
  .site-footer .footer-wordmark { font-size: 2.1rem !important; margin-top: 18px !important; }
}
@media (max-width: 639px) {
  body.is-home .topic { aspect-ratio: auto !important; height: auto !important; gap: 8px !important; justify-content: flex-start !important; }
  body.is-home .topic:last-child:nth-child(odd) { grid-column: 1 / -1; }
  body.is-home .topics-sec .mt-10 { flex-wrap: nowrap; gap: 8px; }
  body.is-home .topics-sec .mt-10 .btn { flex: 1 1 0; justify-content: center; padding: .7rem .6rem; font-size: .8rem; white-space: nowrap; }
}

/* Demo bandı: mobilde tek-iki satır */
@media (max-width: 639px) {
  .demo-band { font-size: 10.5px !important; padding: 5px 10px !important; gap: 2px 10px !important; line-height: 1.35 !important; }
  .demo-band > span:last-child { display: none; }
}

/* =====================================================================
   Mobil davranış: kaymasız dokunuş, iOS zoom'suz formlar, klavyede alt menü gizli
   ===================================================================== */
html { scroll-padding-top: 72px; }
@media (max-width: 1023px) {
  html { scroll-padding-bottom: 100px; }
  a, button, input, select, textarea, label, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  /* iOS 16px altındaki alanlarda sayfayı büyütüp kaydırıyor */
  input:not([type=checkbox]):not([type=radio]), select, textarea, .field, .field-select, .field-textarea { font-size: 16px !important; }
  html.kh-typing .kh-tabbar { transform: translateY(150%); }
  .kh-tabbar { will-change: transform; transform: translateZ(0); }

  /* ---------- Başvuru formu: uygulama gibi ---------- */
  body:has(.wiz-panel) .kh-tabbar { display: none; }
  body:has(.wiz-panel) { padding-bottom: 0 !important; }
  .wiz-foot { position: sticky; bottom: 0; z-index: 20; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)) !important; gap: 10px; background: rgba(255, 255, 255, .96) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 -10px 24px -16px rgba(30, 20, 60, .45); }
  .wiz-foot > span:empty { display: none; }
  .wiz-foot .btn { flex: 1 1 0; justify-content: center; min-height: 48px; }
  .wiz-foot .btn-outline { flex: 0 0 auto; }
  .summary-k { display: none; }
}

@media (max-width: 639px) {
  /* Kayıt başlığı kompakt */
  body:has(.wiz-panel) main > section:first-child > div { padding-top: 22px !important; padding-bottom: 22px !important; }
  body:has(.wiz-panel) main > section:first-child h1 { font-size: 1.9rem !important; margin-top: 6px !important; }
  body:has(.wiz-panel) main > section:first-child p.mt-4 { margin-top: 8px; font-size: .9rem; line-height: 1.5; }
  body:has(.wiz-panel) main > section:first-child p.mt-6 { margin-top: 10px; font-size: .85rem; }
  body:has(.wiz-panel) main > section:nth-of-type(2) { padding-top: 14px !important; padding-bottom: 0 !important; padding-left: 12px; padding-right: 12px; }
  .wiz-steps { position: sticky; top: 56px; z-index: 15; border-radius: 16px !important; box-shadow: 0 8px 20px -14px rgba(30, 20, 60, .5); }
  .wiz-step { padding: .55rem .3rem !important; }
  .wiz-step.is-active .t { display: inline !important; font-size: .78rem; }
  .wiz-step .n { width: 1.6rem; height: 1.6rem; }
  body:has(.wiz-panel) .mt-8.grid { margin-top: 12px; gap: 12px; }
  .wiz-panel { border-radius: 20px !important; overflow: clip; }
  .wiz-panel-head { padding: 14px 16px !important; }
  .wiz-panel-head h2 { font-size: 1.35rem !important; margin-top: 4px !important; }
  .wiz-panel-head p.text-sm { font-size: .82rem; }
  .wiz-panel-body { padding: 16px !important; gap: 14px !important; }
  .field-label { font-size: .82rem; margin-bottom: 4px; }
  .choice { padding: 12px 14px !important; }

  /* ---------- İç sayfa başlığı kompakt ---------- */
  .page-hero > .relative { padding-top: 18px !important; padding-bottom: 22px !important; }
  .page-hero .crumbs ol { font-size: .6rem; gap: .35rem; }
  .page-hero .crumbs li:not(:last-child):not(:first-child) { display: none; }
  .page-hero .mt-10.sm\:mt-14 { margin-top: 14px !important; }
  .page-hero-title { font-size: 2rem !important; line-height: 1.08 !important; }
  .page-hero .eyebrow { font-size: .62rem; }
  .page-hero p.mt-6 { margin-top: 10px !important; font-size: .95rem !important; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .page-hero .mt-10.flex { display: none !important; }
  .page-hero::before, .page-hero::after { opacity: .5; }
  .page-hero .kilim-strip { height: 6px; }

  /* İç sayfa gövdesi: daha sıkı boşluklar */
  main > section:not(.page-hero):not(.kh-hero):not(.kh-feat-wrap):not([class*="kp-"]) { scroll-margin-top: 64px; }
  main .py-16, main .py-20 { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }
  main .lg\:py-24, main .sm\:py-24 { padding-top: 2.25rem; padding-bottom: 2.25rem; }
}

/* ---------- İç sayfalar: mobile özel düzen ---------- */
@media (max-width: 639px) {
  /* Konuşmacılar: kompakt kart listesi (fotoğraf solda) */
  .speaker-list { display: grid; gap: 12px; }
  .speaker-row { display: grid !important; grid-template-columns: 84px minmax(0, 1fr); gap: 14px !important; align-items: start; padding: 14px !important; margin: 0 !important; border-radius: 22px; background: #fff; border: 1px solid #EFE7DF; box-shadow: 0 12px 28px -22px rgba(46, 38, 82, .55); }
  .speaker-row + .speaker-row { border-top: 1px solid #EFE7DF !important; }
  .speaker-row-media { width: 84px !important; max-width: none !important; position: static !important; }
  .speaker-row-media .arch-frame { width: 84px; aspect-ratio: 4 / 5; border-radius: 60px 60px 14px 14px; overflow: hidden; }
  .speaker-row-media .arch-ph span { font-size: 1.6rem !important; }
  .speaker-row-media .arch-no { display: none; }
  .speaker-row-body .section-no { display: none; }
  .speaker-row-body h2 { margin-top: 0 !important; font-size: 1.4rem !important; line-height: 1.1 !important; }
  .speaker-row-body h2 > span { font-size: .75rem !important; margin-bottom: 2px !important; }
  .speaker-meta { margin-top: 8px !important; font-size: .78rem; gap: 2px 10px !important; }
  .speaker-meta dt { font-size: .6rem; }
  .speaker-talk { margin-top: 10px !important; padding: 10px 12px !important; border-radius: 14px; background: #F8F1F6; border: 0 !important; }
  .speaker-talk figcaption { font-size: .58rem; }
  .speaker-talk blockquote { margin-top: 4px !important; font-size: 1.02rem !important; line-height: 1.3 !important; }
  .speaker-row-body > p.mt-6 { margin-top: 8px !important; font-size: .85rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

  /* CMS sayfa içeriği (davet, program, sosyal program…) */
  .prose-k, .page-content, .cms { font-size: .98rem; line-height: 1.7; }
  :is(.prose-k, .page-content, .cms) h2 { font-size: 1.45rem !important; margin-top: 1.6rem !important; margin-bottom: .6rem !important; line-height: 1.15; }
  :is(.prose-k, .page-content, .cms) h3 { font-size: 1.2rem !important; }
  :is(.prose-k, .page-content, .cms) ol, :is(.prose-k, .page-content, .cms) ul { padding-left: 1.15rem; }
  :is(.prose-k, .page-content, .cms) li { margin: .35rem 0; }
  :is(.prose-k, .page-content, .cms) table { display: block; overflow-x: auto; white-space: nowrap; }
  aside.side-box, .side-box, .side-box-dark { padding: 18px !important; border-radius: 20px !important; }
}

@media (max-width: 1023px) {
  /* "Bu sayfada" içindekiler: başlığın altında yapışkan, yatay kaydırılan çipler */
  aside:has(> .toc) { position: sticky; top: 56px; z-index: 12; margin: -8px -16px 0; padding: 8px 16px; background: rgba(251, 250, 247, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid #EFE7DF; }
  .toc > .eyebrow { display: none; }
  .toc-list { display: flex !important; gap: 8px; margin-top: 0 !important; overflow-x: auto; scrollbar-width: none; counter-reset: none; }
  .toc-list::-webkit-scrollbar { display: none; }
  .toc-list li { flex: none; margin: 0 !important; border: 0 !important; padding: 0 !important; }
  .toc-list a { display: inline-flex !important; align-items: center; gap: 6px; white-space: nowrap; padding: 7px 12px !important; border-radius: 999px; background: #fff; border: 1px solid #E9DFE8 !important; font-size: .78rem !important; font-weight: 700; color: #5A4374 !important; }
  .toc-list a.is-active, .toc-list a[aria-current] { background: #5A4374; color: #fff !important; border-color: #5A4374 !important; }
  .toc-list a::before, .toc-list a > span:first-child:not(:only-child) { font-size: .7rem; opacity: .7; }
}
@media (max-width: 639px) {
  main > .mx-auto > .grid.gap-12 { gap: 18px !important; }
  /* Program günü vurgusu + oturum kartları */
  .prose-k p[data-day] { margin: 0 0 14px; padding: 14px 16px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #5A4374, #1E2B4A); font-size: .9rem; line-height: 1.5; }
  .prose-k p[data-day] strong { display: block; font-size: 1rem; color: #F3E3C2; margin-bottom: 2px; }
  .prose-k h2 + ol, .prose-k h2 + ul { margin: 0; padding: 6px 14px 6px 34px; border-radius: 16px; background: #fff; border: 1px solid #EFE7DF; }
  .prose-k h2 + ol li, .prose-k h2 + ul li { font-size: .9rem; line-height: 1.45; padding: 6px 0; border-bottom: 1px dashed #EFE7DF; }
  .prose-k h2 + ol li:last-child, .prose-k h2 + ul li:last-child { border-bottom: 0; }
  main article .mt-16 { margin-top: 28px !important; }
  main article .mt-8.flex .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 1023px) {
  main > .mx-auto > .grid { grid-template-columns: minmax(0, 1fr); }
  main > .mx-auto > .grid > * { min-width: 0; }
  aside:has(> .toc), .toc { min-width: 0; max-width: 100vw; }
}
@media (max-width: 639px) {
  #page-content.prose-k > p:first-child:has(> strong:first-child) { margin: 0 0 14px; padding: 14px 16px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #5A4374, #1E2B4A); font-size: .9rem; line-height: 1.5; }
  #page-content.prose-k > p:first-child:has(> strong:first-child) strong { display: block; font-size: 1rem; color: #F3E3C2; margin-bottom: 2px; }
}

/* İletişim: mobil hızlı eylemler */
.m-quick { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin-bottom: 18px; }
.m-quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border-radius: 18px; background: #fff; border: 1px solid #EFE7DF; box-shadow: 0 10px 24px -20px rgba(46, 38, 82, .6); font: 700 .8rem/1 Mulish, system-ui, sans-serif; color: #1E2B4A; }
.m-quick a:first-child { color: #fff; border-color: transparent; background: linear-gradient(135deg, #C77D9B, #5A4374); }
.m-quick svg { width: 24px; height: 24px; color: #8E5A9E; }
.m-quick a:first-child svg { color: #fff; }
@media (max-width: 639px) {
  body:has(.m-quick) main > .mx-auto > .grid { gap: 22px !important; }
}
