/* Travia rehber sayfaları (KBS vb.) — home.css + pages.css ile birlikte yüklenir. Tüm sınıflar gd- önekli, .hv altında. */
.gd-page{--gd-text:#3a3350;--gd-glass:rgba(255,255,255,.72);--gd-glass-b:rgba(124,58,237,.12);--gd-tint:rgba(124,58,237,.06);--gd-warn:#b45309;--gd-warn-bg:rgba(245,158,11,.09)}
html.dark .gd-page{--gd-text:#cfcadb;--gd-glass:rgba(255,255,255,.04);--gd-glass-b:rgba(255,255,255,.09);--gd-tint:rgba(167,139,250,.08);--gd-warn:#fbbf24;--gd-warn-bg:rgba(245,158,11,.08)}

/* Hero meta çipleri */
.gd-meta{margin:26px auto 0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.gd-meta-i{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 13px;border-radius:11px;font-size:13px;font-weight:600;color:#14202e;
  background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.95);backdrop-filter:blur(12px) saturate(1.3);-webkit-backdrop-filter:blur(12px) saturate(1.3)}
.gd-meta-i svg{width:14px;height:14px;color:#7c3aed}

/* Düzen: solda yapışkan içindekiler, sağda metin */
.gd-sec{padding:72px 0 90px}
.gd{display:grid;grid-template-columns:280px minmax(0,1fr);gap:72px;align-items:start}
.gd-side{position:sticky;top:104px;display:flex;flex-direction:column;gap:16px;max-height:calc(100vh - 124px);overflow:auto;scrollbar-width:thin;padding-bottom:4px}

.gd-toc{border-radius:20px;background:var(--gd-glass);border:1px solid var(--gd-glass-b);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:var(--shadow);padding:18px 14px 14px}
.gd-toc>summary{display:none;list-style:none}
.gd-toc>summary::-webkit-details-marker{display:none}
.gd-toc-h{margin:0 8px 10px;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--p)}
html.dark .gd-toc-h{color:#c4a8ff}
.gd-toc ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.gd-toc a{display:grid;grid-template-columns:26px 1fr;gap:6px;padding:8px 10px;border-radius:11px;font-size:13.5px;line-height:1.4;color:var(--muted);transition:background .2s,color .2s}
.gd-toc a span{font-size:11.5px;font-weight:700;color:var(--soft);padding-top:1px}
.gd-toc a:hover{background:var(--gd-tint);color:var(--ink)}
.gd-toc a.is-on{background:var(--gd-tint);color:var(--ink);font-weight:600}
.gd-toc a.is-on span{color:var(--p)}

.gd-side-card{padding:18px;border-radius:18px;background:linear-gradient(160deg,rgba(124,58,237,.10),rgba(124,58,237,.02));border:1px solid var(--gd-glass-b)}
.gd-side-card b{display:block;color:var(--ink);font-size:15px}
.gd-side-card p{margin:6px 0 10px;font-size:13.5px;line-height:1.55}
.gd-side-card a{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:600;color:var(--p)}
html.dark .gd-side-card a{color:#c4a8ff}

/* Metin */
.gd-body{max-width:720px;min-width:0;color:var(--gd-text);font-size:17px;line-height:1.75}
.gd-part{scroll-margin-top:100px;padding-bottom:20px}
.gd-part+.gd-part{padding-top:36px;border-top:1px solid var(--line-2)}
.hv .gd-body h2{display:flex;align-items:baseline;gap:12px;margin:0 0 18px;font-family:'Sora',sans-serif;font-weight:500;font-size:clamp(24px,2.6vw,31px);line-height:1.2;letter-spacing:-.035em;color:var(--ink);text-wrap:balance}
.gd-n{flex-shrink:0;font-size:13px;font-weight:700;letter-spacing:0;color:var(--p);transform:translateY(-3px)}
html.dark .gd-n{color:#c4a8ff}
.gd-body p{margin:0 0 16px;text-wrap:pretty}
.gd-body strong,.gd-body b{color:var(--ink);font-weight:600}
.gd-body a:not(.tw-btn){color:var(--ink);font-weight:600;border-bottom:1px solid rgba(124,58,237,.45);transition:border-color .2s}
.gd-body a:not(.tw-btn):hover{border-bottom-color:var(--p)}
.gd-body code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.86em;padding:2px 7px;border-radius:7px;background:var(--gd-tint);color:var(--ink);word-break:break-word}

/* Alıntılanabilir tanım kutusu */
.gd-def{position:relative;padding:22px 24px 22px 26px;border-radius:18px;background:var(--gd-glass);border:1px solid var(--gd-glass-b);box-shadow:var(--shadow);font-size:18px;line-height:1.7;color:var(--ink)}
.gd-def::before{content:'';position:absolute;left:0;top:18px;bottom:18px;width:4px;border-radius:0 4px 4px 0;background:linear-gradient(180deg,#a78bfa,#7c3aed)}

/* Listeler */
.gd-list{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-direction:column;gap:10px}
.gd-list li{position:relative;padding-left:26px}
.gd-list li::before{content:'';position:absolute;left:4px;top:.68em;width:8px;height:8px;border-radius:3px;background:var(--p);opacity:.75}
.gd-list.is-check li::before{width:16px;height:16px;left:0;top:.38em;border-radius:6px;opacity:1;background:#16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat}
.gd-list.is-x li::before{width:16px;height:16px;left:0;top:.38em;border-radius:6px;opacity:1;background:#dc2626 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center/10px no-repeat}

/* Cam bilgi kutusu */
.gd-note{display:grid;grid-template-columns:38px 1fr;gap:14px;margin:6px 0 20px;padding:18px 20px;border-radius:18px;background:var(--gd-glass);border:1px solid var(--gd-glass-b);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.gd-note-ic{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;color:#fff;background:#14121c}
.gd-note-ic svg{width:18px;height:18px}
html.dark .gd-note-ic{background:#fff;color:#14121c}
.gd-note b{display:block;margin-bottom:4px;font-size:16px}
.gd-note p{margin:0;font-size:15.5px;line-height:1.65}
.gd-note.is-warn{background:var(--gd-warn-bg);border-color:rgba(245,158,11,.28)}
.gd-note.is-warn .gd-note-ic{background:var(--gd-warn);color:#fff}

/* Numaralı adımlar */
.gd-steps{list-style:none;counter-reset:gd;margin:4px 0 20px;padding:0;display:flex;flex-direction:column;gap:12px}
.gd-steps li{counter-increment:gd;position:relative;display:flex;flex-direction:column;gap:3px;padding:16px 18px 16px 66px;border-radius:16px;background:var(--gd-glass);border:1px solid var(--gd-glass-b)}
.gd-steps li::before{content:counter(gd,decimal-leading-zero);position:absolute;left:16px;top:15px;width:36px;height:36px;border-radius:11px;display:grid;place-items:center;font-size:13px;font-weight:700;color:#fff;background:linear-gradient(150deg,#8b5cf6,#6d28d9);box-shadow:0 10px 20px -12px rgba(109,40,217,.8)}
.gd-steps b{font-size:16.5px}
.gd-steps span{font-size:15.5px;line-height:1.6}

/* Tablo */
.gd-table{margin:4px 0 20px;overflow-x:auto;border-radius:18px;border:1px solid var(--gd-glass-b);background:var(--gd-glass);-webkit-overflow-scrolling:touch}
.gd-table table{width:100%;min-width:560px;border-collapse:collapse;font-size:14.5px;line-height:1.5}
.gd-table th,.gd-table td{padding:13px 16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line-2)}
.gd-table tr:last-child>*{border-bottom:0}
.gd-table thead th{font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--p);background:var(--gd-tint)}
html.dark .gd-table thead th{color:#c4a8ff}
.gd-table tbody th{width:28%;color:var(--ink);font-weight:600}

/* SSS (home.css fq-* üstüne) */
.gd-faq{margin-top:4px}
.gd-faq .fq-q{margin:0;line-height:1.35}
.gd-faq .fq-a{padding:0 48px 22px 52px}
.gd-faq .fq-a p{font-size:15.5px;line-height:1.7;margin:0}

/* CTA kutusu */
.gd-cta{margin:34px 0 40px;padding:26px;border-radius:22px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  background:linear-gradient(135deg,rgba(167,139,250,.22),rgba(124,58,237,.08) 55%,rgba(255,255,255,.3));border:1px solid var(--gd-glass-b);box-shadow:var(--shadow)}
.gd-cta>div:first-child{flex:1 1 300px}
.gd-cta b{display:block;font-size:19px;color:var(--ink)}
.gd-cta p{margin:6px 0 0;font-size:15px;line-height:1.6}
.gd-cta-btns{display:flex;flex-wrap:wrap;gap:10px}
html.dark .gd-cta .tw-btn-dark{background:#fff;color:#14121c}

/* Kaynaklar */
.gd-src ol{margin:0 0 20px;padding-left:22px;display:flex;flex-direction:column;gap:8px;font-size:15px;line-height:1.55}
.gd-src ol li::marker{color:var(--soft);font-weight:600}
.gd-src ol a{border-bottom:1px solid var(--line)!important;font-weight:500!important;overflow-wrap:anywhere}
.gd-src ol a svg{display:inline-block!important;width:12px;height:12px;margin-left:3px;vertical-align:-1px;opacity:.6}
.gd-disc{display:flex;gap:12px;padding:16px 18px;border-radius:16px;background:var(--gd-tint);font-size:14.5px!important;line-height:1.6;color:var(--ink)}
.gd-disc svg{width:18px;height:18px;margin-top:3px;color:var(--p)}
.gd-by{font-size:13.5px!important;color:var(--soft)}

/* Tablet / mobil */
@media(max-width:1023px){
  .gd{grid-template-columns:1fr;gap:28px}
  .gd-side{position:static;max-height:none;overflow:visible}
  .gd-side-card{display:none}
  .gd-toc{padding:0}
  .gd-toc>summary{display:flex;align-items:center;gap:10px;padding:16px 18px;font-weight:600;font-size:15px;color:var(--ink);cursor:pointer}
  .gd-toc>summary svg{width:17px;height:17px}
  .gd-toc-x{margin-left:auto;display:grid;place-items:center;transition:transform .3s}
  .gd-toc[open] .gd-toc-x{transform:rotate(180deg)}
  .gd-toc nav{padding:0 10px 12px}
  .gd-toc-h{display:none}
  .gd-body{max-width:none}
}
@media(max-width:767px){
  .gd-sec{padding:40px 0 64px}
  .gd-body{font-size:16px;line-height:1.72}
  .gd-def{font-size:16.5px;padding:18px 18px 18px 22px}
  .gd-steps li{padding:14px 14px 14px 58px}
  .gd-steps li::before{left:12px;width:32px;height:32px}
  .gd-note{grid-template-columns:1fr;gap:10px;padding:16px}
  .gd-faq .fq-a{padding:0 0 18px 42px}
  .gd-cta{padding:20px}
  .gd-cta-btns,.gd-cta-btns .tw-btn{width:100%}
}
@media(max-width:600px){
  .gd-table{overflow:visible;background:none;border:0;border-radius:0}
  .gd-table table{min-width:0;display:block}
  .gd-table thead{display:none}
  .gd-table tbody{display:flex;flex-direction:column;gap:10px}
  .gd-table tr{display:block;padding:14px 16px;border-radius:16px;background:var(--gd-glass);border:1px solid var(--gd-glass-b)}
  .gd-table th,.gd-table td{display:block;padding:0;border:0}
  .gd-table tbody th{width:auto;margin-bottom:8px;font-size:15px}
  .gd-table td+td{margin-top:8px}
  .gd-table td::before{content:attr(data-l);display:block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--p);margin-bottom:2px}
  html.dark .gd-table td::before{color:#c4a8ff}
}
