/* LGS rehberi (lgs.php) + LGS Rotası blogu (blog.php, blog-yazi.php) -- Kasım 2026 */
:root { --cx-p:#771164; --cx-n:#0b104a; --cx-g:#2e9e5b; --cx-o:#f08a24; --cx-b:#3b6fd4; --cx-l:#f8f2f7; --cx-t:#4b4a5e; }

.lgs-wrap { color: var(--cx-t); font-size: 16px; line-height: 1.7; }
.lgs-wrap p { margin-bottom: 14px; }
.lgs-wrap h2 { color: var(--cx-n); font-weight: 700; font-size: 30px; margin-bottom: 14px; }
.lgs-wrap h3 { color: var(--cx-n); font-weight: 700; font-size: 21px; margin: 0 0 10px; }
.lgs-kicker { display:inline-block; font-weight:700; font-size:13px; letter-spacing:1.5px; text-transform:uppercase; color:var(--cx-p); margin-bottom:8px; }
.lgs-sec { padding: 70px 0; }
.lgs-sec.alt { background: var(--cx-l); }
.lgs-lead { font-size: 18px; color:#5c5a70; max-width: 820px; }

/* Hero + geri sayım */
.lgs-hero { background: linear-gradient(135deg,#3d0833 0%,#771164 50%,#0b104a 100%); color:#fff; padding: 150px 0 60px; position:relative; overflow:hidden; }
.lgs-hero:before { content:''; position:absolute; width:520px; height:520px; border-radius:50%; background:#e04fb8; filter:blur(120px); opacity:.35; right:-160px; top:-160px; }
.lgs-hero h1 { color:#fff; font-size: 44px; font-weight: 800; line-height:1.15; margin-bottom: 14px; position:relative; }
.lgs-hero p { color: rgba(255,255,255,.88); font-size: 18px; position:relative; }
.lgs-hero .crumb { font-size:14px; opacity:.8; margin-bottom: 14px; position:relative; }
.lgs-hero .crumb a { color:#fff; }
.lgs-count { display:flex; gap:12px; flex-wrap:wrap; margin-top: 22px; position:relative; }
.lgs-count div { background: rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25); border-radius: 14px; padding: 10px 16px; min-width: 84px; text-align:center; }
.lgs-count b { display:block; font-size: 30px; font-weight: 800; color:#fff; line-height:1.1; }
.lgs-count span { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; opacity:.85; }
.lgs-toc { display:flex; flex-wrap:wrap; gap:8px; margin-top: 26px; position:relative; }
.lgs-toc a { color:#fff; border:1px solid rgba(255,255,255,.35); border-radius: 30px; padding: 6px 14px; font-size: 14px; text-decoration:none; }
.lgs-toc a:hover { background:#fff; color: var(--cx-p); }

/* Puan hesaplama motoru */
.calc-card { background:#fff; border-radius: 20px; box-shadow: 0 20px 50px rgba(30,10,60,.18); padding: 28px; margin-top: -10px; position:relative; z-index:2; color: var(--cx-t); }
.calc-card h2 { font-size: 26px; }
.calc-table { width:100%; border-collapse: separate; border-spacing: 0 8px; }
.calc-table th { font-size: 13px; color:#8a8799; font-weight:600; text-transform: uppercase; letter-spacing:.5px; padding: 0 8px; }
.calc-table td { background: #faf7fb; padding: 10px 8px; vertical-align: middle; }
.calc-table td:first-child { border-radius: 12px 0 0 12px; font-weight: 700; color: var(--cx-n); }
.calc-table td:last-child { border-radius: 0 12px 12px 0; }
.calc-table input { width: 74px; border:1px solid #e3d6e1; border-radius: 10px; padding: 7px 8px; text-align:center; font-size: 16px; font-weight:600; color: var(--cx-n); }
.calc-table input:focus { outline:none; border-color: var(--cx-p); box-shadow: 0 0 0 3px rgba(119,17,100,.15); }
.calc-table input.err { border-color:#e74c3c; background:#fdecea; }
.calc-net { font-weight: 800; color: var(--cx-p); font-size: 17px; }
.calc-sub { font-size: 12px; color:#8a8799; font-weight: 500; display:block; }
.calc-result { background: linear-gradient(135deg,#771164,#0b104a); color:#fff; border-radius: 18px; padding: 24px; text-align:center; height:100%; display:flex; flex-direction:column; justify-content:center; }
.calc-result .score { font-size: 58px; font-weight: 800; line-height: 1; margin: 6px 0; }
.calc-result .lbl { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .8; }
.calc-result .row2 { display:flex; justify-content:space-around; margin-top: 16px; padding-top: 14px; border-top:1px solid rgba(255,255,255,.2); }
.calc-result .row2 b { display:block; font-size: 22px; }
.calc-result .row2 span { font-size: 12px; opacity:.8; }
.calc-bar { height: 10px; border-radius: 6px; background: rgba(255,255,255,.2); overflow:hidden; margin-top: 12px; }
.calc-bar i { display:block; height:100%; width:0; background: linear-gradient(90deg,#ffb347,#3ddc84); transition: width .4s; }
.calc-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; }
.calc-btn { border:1px solid #e3d6e1; background:#fff; border-radius: 30px; padding: 7px 16px; font-size: 14px; color: var(--cx-p); cursor:pointer; }
.calc-btn:hover { background: var(--cx-l); }
.calc-note { font-size: 13px; color:#8a8799; margin-top: 12px; }
.calc-msg { color:#c0392b; font-size: 13px; min-height: 18px; }

/* Bilgi kutuları, tablolar */
.lgs-card { background:#fff; border:1px solid #efe5ee; border-radius: 16px; padding: 22px; height: 100%; box-shadow: 0 6px 20px rgba(60,10,60,.05); }
.lgs-card .ic { width: 46px; height: 46px; border-radius: 12px; display:flex; align-items:center; justify-content:center; color:#fff; font-size: 20px; margin-bottom: 12px; }
.lgs-table { width:100%; border-collapse: collapse; background:#fff; border-radius: 14px; overflow:hidden; box-shadow: 0 6px 20px rgba(60,10,60,.06); }
.lgs-table th { background: var(--cx-n); color:#fff; padding: 12px 14px; font-weight:600; text-align:left; }
.lgs-table td { padding: 12px 14px; border-bottom: 1px solid #f0e8ef; }
.lgs-table tr:nth-child(even) td { background:#fcf9fc; }
.lgs-stat { text-align:center; padding: 18px; }
.lgs-stat b { display:block; font-size: 34px; font-weight:800; color: var(--cx-p); line-height:1.1; }
.lgs-stat span { font-size: 14px; color:#6b6880; }
.lgs-timeline { list-style:none; padding:0; margin:0; border-left: 3px solid #e7d3e3; }
.lgs-timeline li { position:relative; padding: 0 0 18px 22px; }
.lgs-timeline li:before { content:''; position:absolute; left:-9px; top:6px; width:15px; height:15px; border-radius:50%; background: var(--cx-p); box-shadow: 0 0 0 4px #f6e7f2; }
.lgs-timeline li.muted:before { background:#b9b5c6; box-shadow: 0 0 0 4px #eeedf3; }
.lgs-timeline b { color: var(--cx-n); }

/* Konular (akordeon) */
.topic-acc details { background:#fff; border:1px solid #efe5ee; border-radius: 14px; margin-bottom: 10px; overflow:hidden; }
.topic-acc summary { cursor:pointer; padding: 14px 18px; font-weight: 700; color: var(--cx-n); list-style:none; display:flex; align-items:center; gap:10px; }
.topic-acc summary::-webkit-details-marker { display:none; }
.topic-acc summary .cnt { margin-left:auto; font-size: 13px; font-weight:600; color: var(--cx-p); background: var(--cx-l); border-radius: 20px; padding: 2px 10px; }
.topic-acc summary:after { content:'\f078'; font-family:'Font Awesome 6 Free'; font-weight:900; font-size: 12px; color:#9a97aa; transition: transform .2s; }
.topic-acc details[open] summary:after { transform: rotate(180deg); }
.topic-acc ol { margin: 0; padding: 4px 18px 16px 42px; columns: 2; column-gap: 30px; }
.topic-acc li { margin-bottom: 6px; break-inside: avoid; }
.faq details { background:#fff; border:1px solid #efe5ee; border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor:pointer; padding: 16px 20px; font-weight: 700; color: var(--cx-n); }
.faq details > div { padding: 0 20px 16px; }
.lgs-cta { background: linear-gradient(135deg,#771164,#0b104a); border-radius: 22px; padding: 40px; color:#fff; }
.lgs-cta h2 { color:#fff; }
.lgs-cta p { color: rgba(255,255,255,.88); }
.lgs-cta .btn-w { display:inline-block; background:#fff; color: var(--cx-p); border-radius: 30px; padding: 12px 26px; font-weight: 700; margin: 6px 8px 0 0; text-decoration: none; }
.lgs-cta .btn-o { display:inline-block; border: 2px solid #fff; color:#fff; border-radius: 30px; padding: 10px 24px; font-weight: 700; margin: 6px 8px 0 0; text-decoration: none; }

/* ── Blog ─────────────────────────────────────────── */
.lr-cats { display:flex; flex-wrap:wrap; gap:8px; margin-bottom: 30px; }
.lr-cats a { border:1px solid #e3d6e1; border-radius: 30px; padding: 7px 16px; font-size: 14px; color: var(--cx-t); text-decoration:none; background:#fff; }
.lr-cats a.on, .lr-cats a:hover { background: var(--cx-p); border-color: var(--cx-p); color:#fff; }
.lr-card { background:#fff; border-radius: 18px; overflow:hidden; box-shadow: 0 8px 26px rgba(40,10,50,.08); height:100%; display:flex; flex-direction:column; transition: transform .2s, box-shadow .2s; }
.lr-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(40,10,50,.14); }
.lr-cover { height: 170px; display:flex; align-items:center; justify-content:center; color: rgba(255,255,255,.95); font-size: 54px; position:relative; background-size: cover; background-position:center; }
.lr-cover .tag { position:absolute; left:14px; top:14px; background: rgba(255,255,255,.95); color: var(--cx-n); font-size: 12px; font-weight:700; border-radius: 20px; padding: 4px 12px; }
.lr-body { padding: 20px 22px 22px; display:flex; flex-direction:column; flex:1; }
.lr-body h3 { font-size: 19px; line-height: 1.35; margin-bottom: 10px; }
.lr-body h3 a { color: var(--cx-n); text-decoration:none; }
.lr-body h3 a:hover { color: var(--cx-p); }
.lr-body p { font-size: 15px; color:#6b6880; flex:1; }
.lr-meta { font-size: 13px; color:#9a97aa; display:flex; gap:14px; flex-wrap:wrap; }
.lr-featured .lr-cover { height: 100%; min-height: 260px; }
.lr-featured .lr-body h3 { font-size: 26px; }
.lr-pager { display:flex; gap:6px; justify-content:center; margin-top: 30px; }
.lr-pager a { min-width: 40px; text-align:center; border:1px solid #e3d6e1; border-radius: 10px; padding: 7px 12px; color: var(--cx-t); text-decoration:none; }
.lr-pager a.on { background: var(--cx-p); color:#fff; border-color: var(--cx-p); }

.lr-article { max-width: 780px; margin: 0 auto; font-size: 17.5px; line-height: 1.8; color:#3d3c50; }
.lr-article h2 { font-size: 26px; margin: 34px 0 12px; color: var(--cx-n); }
.lr-article h3 { font-size: 21px; margin: 26px 0 10px; color: var(--cx-n); }
.lr-article p { margin-bottom: 16px; }
.lr-article ul, .lr-article ol { margin: 0 0 18px; padding-left: 24px; }
.lr-article li { margin-bottom: 6px; }
.lr-article a { color: var(--cx-p); text-decoration: underline; }
.lr-article table { width:100%; border-collapse: collapse; margin: 10px 0 22px; font-size: 16px; }
.lr-article th { background: var(--cx-n); color:#fff; padding: 10px 12px; text-align:left; }
.lr-article td { padding: 10px 12px; border-bottom: 1px solid #eee3ef; }
.lr-article .lr-callout { background: var(--cx-l); border-left: 4px solid var(--cx-p); border-radius: 12px; padding: 16px 20px; margin: 26px 0; }
.lr-article .lr-formula { font-size: 20px; font-weight: 700; color: var(--cx-p); background:#fff; border:1px dashed #d9b9d2; border-radius: 12px; padding: 12px 18px; display:inline-block; }
.lr-article .lr-sources { font-size: 14px; color:#8a8799; border-top:1px solid #eee3ef; padding-top: 14px; margin-top: 30px; }
.lr-share { display:flex; gap:10px; align-items:center; margin: 30px 0 0; }
.lr-share a { width: 40px; height: 40px; border-radius: 50%; display:flex; align-items:center; justify-content:center; color:#fff; text-decoration:none; }

@media (max-width: 991px) {
  .lgs-hero { padding: 120px 0 50px; }
  .lgs-hero h1 { font-size: 32px; }
  .lgs-sec { padding: 50px 0; }
  .lgs-wrap h2 { font-size: 25px; }
  .topic-acc ol { columns: 1; }
  .calc-card { padding: 18px; }
  .calc-table input { width: 58px; }
  .lr-article { font-size: 16.5px; }
}
@media (max-width: 575px) {
  .calc-table th:nth-child(4), .calc-table td:nth-child(4) { display:none; }
  .calc-table input { width: 52px; font-size: 15px; }
  .calc-result .score { font-size: 46px; }
}
