/* U-ETDS rehberi (Figma: "Rehber" sayfası — Rehber / Rehber Yazısı, masaüstü 1440 ve mobil 390).
   Menü, düğmeler ve alt bilgi anasayfa.css'ten gelir. */
body { background: #f6f7fb; }
svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Koyu başlık (ana sayfa ile aynı dil) */
.r-ust { position: relative; overflow: hidden; color: #fff; padding: 0 24px;
  background: radial-gradient(520px 520px at 6% 0%, rgba(79, 70, 229, .55), transparent 70%),
    radial-gradient(460px 460px at 82% 90%, rgba(124, 58, 237, .35), transparent 70%), linear-gradient(135deg, #0b1120 0%, #1e1b4b 100%); }
.r-ust::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; }
.r-ust > * { position: relative; }
.r-nav { max-width: 1200px; margin: 0 auto; padding: 26px 0; position: relative; z-index: 3; }
.r-nav .nav-linkler a.aktif { color: #fff; }
.r-ust-icerik { max-width: 1200px; margin: 0 auto; padding: 40px 0 72px; display: flex; flex-direction: column; gap: 16px; }
.r-ust-icerik h1 { margin: 0; font-size: 50px; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; max-width: 860px; }
.r-ust-icerik h1 span { background: linear-gradient(90deg, #a5b4fc, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.r-ust-icerik > p { margin: 0; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .75); max-width: 720px; }
.r-etiket { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 13px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06); font-size: 13px; font-weight: 600; }
.r-etiket i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }

/* Arama ve konu filtreleri */
.r-arama { margin-top: 10px; display: flex; align-items: center; gap: 12px; width: min(560px, 100%); height: 54px; padding: 0 18px; border-radius: 13px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .55); cursor: text; }
.r-arama:focus-within { border-color: rgba(165, 180, 252, .8); background: rgba(255, 255, 255, .12); }
.r-arama svg { width: 20px; height: 20px; flex: none; }
.r-arama input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: #fff; font: inherit; font-size: 15px; }
.r-arama input::placeholder { color: rgba(255, 255, 255, .55); }
.r-konular { display: flex; flex-wrap: wrap; gap: 10px; }
.r-konular button { font: inherit; cursor: pointer; padding: 8px 14px; border-radius: 99px; font-size: 13.5px; font-weight: 600; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85); }
.r-konular button:hover { background: rgba(255, 255, 255, .14); }
.r-konular button.secili { background: #fff; color: #312e81; border-color: #fff; }

/* Ortak parçalar */
.r-ana { padding: 0 24px; }
.r-kat { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: #4f46e5; text-transform: uppercase; }
.r-kat.acik { color: #a5b4fc; }
.r-simge { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; }
.r-simge svg { width: 22px; height: 22px; }
.i1 { background: #eef2ff; color: #4f46e5; } .i2 { background: #ecfeff; color: #0891b2; } .i3 { background: #fef3c7; color: #b45309; } .i4 { background: #f3e8ff; color: #7c3aed; }
.r-kart-meta { font-size: 13px; color: #64748b; }
.r-oku { font-size: 15px; font-weight: 700; color: #4338ca; }

/* Rehber ana sayfası */
.r-liste-govde { max-width: 1200px; margin: 0 auto; padding: 56px 0 80px; }
.r-bolum { margin: 0 0 22px; font-size: 24px; letter-spacing: -.02em; }
.r-bolum-ust { display: flex; justify-content: space-between; align-items: baseline; }
.r-bolum-ust span { font-size: 14px; color: #64748b; }
.r-one { display: grid; grid-template-columns: 1.25fr 1fr; background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; overflow: hidden; margin-bottom: 40px;
  transition: box-shadow .15s, transform .15s; }
.r-one:hover { box-shadow: 0 20px 40px -24px rgba(15, 23, 42, .35); transform: translateY(-2px); }
.r-one-gorsel { background: linear-gradient(135deg, #312e81, #4f46e5 55%, #7c3aed); min-height: 320px; padding: 36px; display: flex; align-items: flex-end; }
.r-ornek { display: flex; flex-direction: column; background: #fff; border-radius: 14px; padding: 16px 18px; width: min(340px, 100%); box-shadow: 0 20px 40px -12px rgba(15, 23, 42, .45); color: #0f172a; }
.r-rozet { display: inline-flex; align-items: center; align-self: flex-start; gap: 6px; font-size: 12px; font-weight: 700; color: #15803d; background: #dcfce7; padding: 4px 10px; border-radius: 99px; }
.r-rozet i { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.r-durak { display: flex; gap: 10px; align-items: center; margin-top: 12px; font-size: 14px; font-weight: 600; }
.r-durak i { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; flex: none; }
.r-durak i.k { background: #ef4444; }
.r-durak small { display: block; font-size: 11.5px; color: #64748b; font-weight: 500; }
.r-one-metin { padding: 40px 44px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.r-one-metin h3 { margin: 0; font-size: 30px; line-height: 1.2; letter-spacing: -.02em; }
.r-one-metin p { margin: 0; font-size: 16px; line-height: 1.65; color: #475569; }
.r-izgara { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.r-kart { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow .15s, transform .15s, border-color .15s; }
.r-kart:hover { border-color: #c7d2fe; box-shadow: 0 16px 32px -22px rgba(15, 23, 42, .35); transform: translateY(-2px); }
.r-kart h3 { margin: 0; font-size: 18.5px; line-height: 1.35; letter-spacing: -.01em; }
.r-kart p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #475569; flex: 1; }
.r-kart.r-oner { background: transparent; border-style: dashed; justify-content: center; }
.r-kart.r-oner h3 { color: #475569; }
.r-kart.r-oner p { flex: 0; }
/* Öne çıkan yazı, arama ya da konu seçilmedikçe ızgarada tekrar gösterilmez */
.r-izgara:not(.suzuluyor) .r-kart-one { display: none; }
.r-bos { text-align: center; color: #64748b; padding: 32px 0; }
.r-cta { margin-top: 64px; border-radius: 22px; padding: 44px 52px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: radial-gradient(400px 300px at 90% 0%, rgba(124, 58, 237, .5), transparent 70%), linear-gradient(135deg, #1e1b4b, #312e81); }
.r-cta h2 { margin: 0; font-size: 28px; letter-spacing: -.02em; }
.r-cta p { margin: 8px 0 0; font-size: 16px; color: rgba(255, 255, 255, .75); max-width: 560px; line-height: 1.55; }
.r-cta-dugme { display: flex; gap: 12px; flex-wrap: wrap; }

/* Yazı sayfası */
.r-yol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.r-yol a:hover { color: #fff; }
.r-yol b { font-weight: 500; color: rgba(255, 255, 255, .9); }
.r-yazi-sayfasi .r-ust-icerik { padding-bottom: 64px; }
.r-yazi-sayfasi .r-ust-icerik h1 { font-size: 44px; line-height: 1.12; }
.r-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 13.5px; color: rgba(255, 255, 255, .65); margin-top: 6px; }
.r-meta img { border-radius: 8px; }
.r-meta i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.r-yazi-govde { max-width: 1200px; margin: 0 auto; padding: 48px 0 80px; display: grid; grid-template-columns: 240px minmax(0, 1fr) 280px; gap: 36px; align-items: start; }
.r-icindekiler { position: sticky; top: 20px; }
.r-icindekiler details { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px; }
.r-icindekiler summary { list-style: none; cursor: default; font-size: 12px; font-weight: 700; letter-spacing: .07em; color: #64748b; text-transform: uppercase; padding: 4px 10px 10px; pointer-events: none; }
.r-icindekiler summary::-webkit-details-marker { display: none; }
.r-icindekiler summary small { display: none; }
.r-ic-liste { display: flex; flex-direction: column; gap: 2px; }
.r-ic-liste a { font-size: 14px; line-height: 1.4; padding: 8px 10px; border-radius: 0 8px 8px 0; color: #334155; border-left: 2px solid transparent; }
.r-ic-liste a:hover { background: #f8fafc; }
.r-ic-liste a.aktif { background: #eef2ff; color: #4338ca; font-weight: 600; border-left-color: #4f46e5; }
.r-ilerleme { height: 4px; border-radius: 4px; background: #e2e8f0; margin: 14px 10px 2px; overflow: hidden; }
.r-ilerleme i { display: block; width: 0; height: 100%; background: #4f46e5; border-radius: 4px; transition: width .1s; }
.r-makale { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 44px 52px; font-size: 16.5px; line-height: 1.75; color: #1e293b; min-width: 0; overflow-wrap: break-word; }
.r-makale h2 { font-size: 24px; letter-spacing: -.02em; margin: 36px 0 10px; color: #0f172a; line-height: 1.3; scroll-margin-top: 20px; }
.r-makale > h2:first-child { margin-top: 0; }
.r-makale h3 { font-size: 18px; margin: 22px 0 6px; color: #0f172a; }
.r-makale p { margin: 0 0 14px; }
.r-makale ul, .r-makale ol { padding-left: 22px; margin: 0 0 14px; }
.r-makale li { margin-bottom: 6px; }
.r-makale a { color: #4338ca; font-weight: 600; text-decoration: underline; text-decoration-color: #c7d2fe; text-underline-offset: 3px; }
.r-makale .btn { text-decoration: none; }
/* Yazı içi bileşenler: numaralı adımlar, bilgi ve uyarı kutuları, sonuçta demo kutusu */
.r-adimlar { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
.r-adim { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border: 1px solid #e2e8f0; border-radius: 14px; }
.r-adim .r-no { width: 34px; height: 34px; border-radius: 10px; background: #4f46e5; color: #fff; font-weight: 700; display: grid; place-items: center; flex: none; font-size: 15px; }
.r-adim b { display: block; font-size: 16px; color: #0f172a; }
.r-adim span:not(.r-no) { display: block; font-size: 14.5px; color: #475569; line-height: 1.55; }
.kutu-r { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; margin: 20px 0; font-size: 15px; line-height: 1.6; }
.kutu-r svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.kutu-r b { display: block; margin-bottom: 2px; }
.kutu-r.bilgi { background: #eef2ff; color: #312e81; border: 1px solid #c7d2fe; }
.kutu-r.uyari { background: #fffbeb; color: #78350f; border: 1px solid #fde68a; }
.r-cta-kutu { margin-top: 36px; padding: 24px 26px; border-radius: 14px; background: #eef2ff; border: 1px solid #c7d2fe; }
.r-cta-kutu b { display: block; font-size: 17px; color: #0f172a; }
.r-cta-kutu p { margin: 6px 0 14px; }
.r-oy { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 34px; padding-top: 22px; border-top: 1px solid #e2e8f0; font-size: 14.5px; color: #475569; }
.r-oy div { display: flex; gap: 10px; }
.r-oy button { font: inherit; cursor: pointer; padding: 8px 14px; border: 1px solid #e2e8f0; border-radius: 10px; font-weight: 600; color: #0f172a; background: #fff; }
.r-oy button:hover { background: #f8fafc; }
.r-oy.tamam div { display: none; }
.r-yan { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 18px; }
.r-yan-cta { border-radius: 16px; padding: 24px; color: #fff; background: linear-gradient(150deg, #312e81, #4f46e5); display: flex; flex-direction: column; gap: 10px; }
.r-yan-cta b { font-size: 19px; line-height: 1.3; }
.r-yan-cta p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .8); }
.r-yan-cta .btn { margin-top: 6px; height: 44px; font-size: 14.5px; }
.r-yan-kart { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; }
.r-yan-kart b { font-size: 12px; letter-spacing: .07em; color: #64748b; margin-bottom: 4px; }
.r-yan-kart a { padding: 12px 0; border-bottom: 1px solid #f1f5f9; font-size: 14.5px; font-weight: 600; color: #0f172a; line-height: 1.4; }
.r-yan-kart a:hover { color: #4338ca; }
.r-yan-kart a:last-child { border-bottom: 0; padding-bottom: 0; }
.r-yan-kart small { display: block; font-weight: 500; color: #64748b; font-size: 12.5px; margin-top: 3px; }
.btn-cizgi { border: 1px solid #e2e8f0; color: #0f172a; background: #fff; }
.r-mobil-bar { display: none; }

/* Dar ekranlar */
@media (max-width: 1200px) {
  .r-yazi-govde { grid-template-columns: 220px minmax(0, 1fr); }
  .r-yan { grid-column: 1 / -1; position: static; flex-direction: row; }
  .r-yan > * { flex: 1; }
}
@media (max-width: 1080px) {
  .r-izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r-one { grid-template-columns: minmax(0, 1fr); }
  .r-one-gorsel { min-height: 200px; }
}
@media (max-width: 860px) {
  .r-yazi-govde { grid-template-columns: minmax(0, 1fr); padding-top: 0; gap: 16px; }
  .r-icindekiler { position: relative; top: -22px; margin-bottom: -22px; z-index: 2; }
  .r-icindekiler details { padding: 14px 16px; box-shadow: 0 10px 24px -12px rgba(15, 23, 42, .25); }
  .r-icindekiler summary { pointer-events: auto; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 0; font-size: 14.5px;
    letter-spacing: 0; text-transform: none; color: #0f172a; }
  .r-icindekiler summary small { display: block; font-size: 12px; font-weight: 500; color: #64748b; }
  .r-icindekiler details[open] summary { margin-bottom: 10px; }
  .r-yan { flex-direction: column; }
  .r-mobil-bar { display: flex; gap: 10px; position: sticky; bottom: 0; z-index: 5; margin: 0 -24px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid #e2e8f0; }
  .r-mobil-bar .btn { flex: 1; height: 48px; }
}
@media (max-width: 640px) {
  .r-ust, .r-ana { padding: 0 16px; }
  .r-nav { padding: 18px 0; }
  .r-nav-demo { display: none; }
  .r-ust-icerik { padding: 20px 0 44px; gap: 12px; }
  .r-ust-icerik h1, .r-yazi-sayfasi .r-ust-icerik h1 { font-size: 29px; }
  .r-ust-icerik > p { font-size: 15.5px; }
  .r-meta { font-size: 12.5px; gap: 10px; }
  .r-meta img, .r-meta span:first-of-type { display: none; }
  .r-meta i:first-of-type { display: none; }
  .r-arama { height: 48px; }
  .r-liste-govde { padding: 36px 0 56px; }
  .r-izgara { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .r-one-metin { padding: 24px 22px; }
  .r-one-metin h3 { font-size: 22px; }
  .r-one-gorsel { padding: 22px; min-height: 0; }
  .r-cta { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .r-cta h2 { font-size: 22px; }
  .r-makale { padding: 24px 20px; font-size: 15.5px; border-radius: 16px; }
  .r-makale h2 { font-size: 20px; }
  .r-adim { padding: 14px; gap: 12px; }
  .r-mobil-bar { margin: 0 -16px; }
}
