/* I-REDAP statik sayfalar (üniversite kriterleri). Tanitim.tsx ile aynı renk dili. */
:root {
  --gece: #0d1f38; --gece-2: #16345c; --mavi: #4a90d9; --mavi-koyu: #1f5f9e; --mavi-acik: #e9f3fc;
  --altin: #f2b84b; --ink: #21303f; --ink-2: #46586e; --muted: #7d8ea3; --line: #e4ecf5; --zemin: #f4f8fd;
  --serif: "Source Serif 4", Georgia, serif; --sans: "Public Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--zemin); line-height: 1.55; }
a { color: var(--mavi-koyu); }
.s-ic { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
.s-ust { background: var(--gece); color: #fff; }
.s-ust .s-ic { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .9rem; padding-bottom: .9rem; flex-wrap: wrap; }
.s-marka { color: #fff; text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.s-marka b { font-size: 1.2rem; letter-spacing: .04em; }
.s-marka span { font-size: .72rem; color: #9fb6d3; }
.s-ust nav { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; }
.s-ust nav a { color: #dbe7f5; text-decoration: none; font-size: .9rem; }
.s-ust nav a:hover { color: #fff; }
.s-btn { display: inline-block; background: var(--altin); color: var(--gece) !important; font-weight: 700; padding: .7rem 1.3rem; border-radius: 999px; text-decoration: none; }
.s-btn:hover { filter: brightness(1.06); }
.s-btn-acik { padding: .45rem 1rem; font-size: .85rem; }
.s-kapak { background: radial-gradient(circle at 85% 0%, #2a5d99 0, transparent 45%), linear-gradient(160deg, var(--gece), var(--gece-2)); color: #fff; padding: 3.5rem 0 3rem; }
.s-kapak h1 { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.12; margin: .3rem 0 1rem; max-width: 22ch; }
.s-kapak .s-giris { color: #c9d8ea; font-size: 1.08rem; max-width: 60ch; }
.s-etiket { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--altin); margin: 0; }
.s-ara-kutu { display: block; margin-top: 1.6rem; max-width: 32rem; }
.s-ara-kutu span { display: block; font-size: .8rem; color: #9fb6d3; margin-bottom: .35rem; }
.s-ara-kutu input { width: 100%; font: inherit; font-size: 1.05rem; padding: .85rem 1.1rem; border-radius: 12px; border: 0; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.s-govde { padding-top: 2rem; padding-bottom: 3rem; }
.s-govde h1 { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.15; margin: .4rem 0 .4rem; }
.s-govde h1 small { display: block; font-size: .55em; color: var(--ink-2); font-family: var(--sans); font-weight: 500; margin-top: .3rem; }
.s-govde h2 { font-family: var(--serif); font-size: 1.5rem; margin: 2.2rem 0 .6rem; }
.s-govde h4 { margin: 1rem 0 .4rem; font-size: .9rem; color: var(--ink-2); }
.s-iz { font-size: .85rem; color: var(--muted); }
.s-giris { color: var(--ink-2); }
.s-ara { color: var(--muted); font-size: .92rem; max-width: 66ch; }
.s-kucuk { font-size: .8rem; color: var(--muted); }
.s-uyari { background: #fdf7e6; border-left: 4px solid #cfa02e; padding: .9rem 1.1rem; border-radius: 8px; font-size: .92rem; color: #5d4710; margin: 1.2rem 0; }
.s-tablo { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: .6rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f7fafd; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-2); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--mavi-acik); }
.s-sag { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-kadro { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .2rem 1rem; margin: .55rem 0; }
.s-kadro summary { cursor: pointer; padding: .7rem 0; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; }
.s-kadro summary span { color: var(--mavi-koyu); white-space: nowrap; font-variant-numeric: tabular-nums; }
.s-kadro[open] { padding-bottom: 1rem; }
.s-kadro ul { margin: 0; padding-left: 1.2rem; font-size: .9rem; color: var(--ink-2); }
.s-cagri { margin-top: 2.5rem; background: linear-gradient(160deg, var(--gece), var(--gece-2)); color: #fff; border-radius: 18px; padding: 2rem; }
.s-cagri h2 { margin-top: 0; color: #fff; }
.s-cagri p { color: #c9d8ea; max-width: 62ch; }
.s-alt { border-top: 1px solid var(--line); background: #fff; padding: 1.5rem 0; font-size: .82rem; color: var(--ink-2); }
:focus-visible { outline: 2px solid var(--altin); outline-offset: 2px; }
/* modül sayfaları */
.s-kapak { border-bottom: 4px solid var(--ton, var(--altin)); }
.s-modul-menu { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.s-modul-menu a { font-size: .82rem; padding: .35rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); }
.s-modul-menu a[aria-current] { background: var(--gece); color: #fff; border-color: var(--gece); }
.s-ornekler { padding-left: 1.3rem; max-width: 70ch; }
.s-ornekler li { margin: .7rem 0; padding-left: .3rem; }
.s-gorseller { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.2rem; }
.s-gorseller figure { margin: 0; }
.s-gorseller img { width: 100%; height: auto; max-height: 34rem; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(13,31,56,.12); }
.s-gorseller figcaption { font-size: .78rem; color: var(--muted); margin-top: .4rem; }
.s-katman { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem 1.5rem; margin-top: 2rem; }
.s-katman h2 { margin-top: 0; }
.s-kartlar { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }
.s-kart { display: block; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--ton); border-radius: 14px; padding: 1.2rem 1.3rem; text-decoration: none; color: var(--ink); transition: transform .12s, box-shadow .12s; }
.s-kart:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(13,31,56,.12); }
.s-kart span { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.s-kart b { display: block; font-family: var(--serif); font-size: 1.25rem; margin: .2rem 0 .4rem; }
.s-kart p { margin: 0; font-size: .88rem; color: var(--ink-2); }
/* hamburger menü — <details> ile, betiksiz (CSP) */
.s-ust-sol { display: flex; align-items: center; gap: .9rem; }
.s-menu { position: relative; }
.s-menu > summary { list-style: none; cursor: pointer; width: 2.5rem; height: 2.5rem; border-radius: 10px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); }
.s-menu > summary::-webkit-details-marker { display: none; }
.s-menu > summary span { display: block; width: 1.1rem; height: 2px; border-radius: 2px; background: #fff; }
/* summary z-index ALMAZ: alırsa kendi yığın bağlamını kurar ve içindeki karartma panelin üstüne çıkar. Karartma summary içinde kalmalı ki tıklayınca menü kapansın. */
.s-menu[open] > summary { background: var(--gece); }
.s-menu[open] > summary::before { content: ""; position: fixed; inset: 0; background: rgba(8,18,34,.45); z-index: 50; cursor: default; }
/* .s-ust nav kuralı (yatay, beyaz) panele de uyuyordu; burada geri alınıyor. */
.s-ust .s-menu-panel { display: block; }
.s-ust .s-menu-panel a { color: var(--ink); font-size: .95rem; }
.s-ust .s-menu-panel .s-menu-alt a { color: var(--mavi-koyu); font-size: .88rem; }
.s-menu-panel { position: fixed; top: 0; left: 0; bottom: 0; z-index: 51; width: min(20rem, 86vw); background: #fff; color: var(--ink); overflow-y: auto; padding: 4.2rem 1.2rem 1.5rem; box-shadow: 12px 0 40px rgba(8,18,34,.3); }
.s-menu-panel b { display: block; font-family: var(--serif); font-size: 1.35rem; margin-bottom: .8rem; }
.s-menu-panel p { margin: .8rem 0 .3rem; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.s-menu-panel a { display: block; padding: .45rem .7rem; border-radius: 8px; text-decoration: none; color: var(--ink); border-left: 3px solid var(--ton); }
.s-menu-panel a:hover { background: var(--zemin); }
.s-menu-panel .s-menu-alt { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: .8rem; }
.s-menu-panel .s-menu-alt a { border: 0; padding: .3rem 0; color: var(--mavi-koyu); }
/* marka işareti */
.s-marka { flex-direction: row !important; align-items: center; gap: .6rem; }
.s-marka img { width: 1.65rem; height: auto; display: block; }
.s-marka .s-marka-metin { display: flex; flex-direction: column; line-height: 1.1; color: #fff; font-size: 1rem; }
.s-marka .s-marka-metin span { font-size: .72rem; color: #9fb6d3; }
