/*
Theme Name: BlogSpot Theme
Theme URI: https://example.com
Author: Claude
Description: Blogger'dan dönüştürülmüş modern WordPress teması. Koyu mod, arama, mobil menü ve dinamik içerik desteğiyle tam özellikli blog teması.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blogspot-theme
Tags: blog, custom-menu, featured-images, sticky-post, threaded-comments
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --c1: #4f46e5;
  --c1h: #4338ca;
  --tx: #1e293b;
  --tx2: #64748b;
  --tx3: #94a3b8;
  --bg: #f8fafc;
  --bg2: #ffffff;
  --bg3: #ffffff;
  --bd: #e2e8f0;
  --bd2: #f1f5f9;
  --sh1: 0 1px 2px rgba(0,0,0,0.05);
  --sh2: 0 4px 6px -1px rgba(0,0,0,0.07),0 2px 4px -2px rgba(0,0,0,0.05);
  --sh3: 0 10px 15px -3px rgba(0,0,0,0.08),0 4px 6px -4px rgba(0,0,0,0.04);
  --r1: 6px; --r2: 12px; --r3: 16px;
  --ff: 'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,sans-serif;
  --mw: 1400px;
  --hh: 64px;
  --tr: 0.2s ease;
}

.dark-mode {
  --tx: #e2e8f0;
  --tx2: #94a3b8;
  --tx3: #64748b;
  --bg: #0f172a;
  --bg2: #1e293b;
  --bg3: #1e293b;
  --bd: #334155;
  --bd2: #1e293b;
  --sh1: 0 1px 2px rgba(0,0,0,.2);
  --sh2: 0 4px 6px -1px rgba(0,0,0,.3);
  --sh3: 0 10px 15px -3px rgba(0,0,0,.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--ff); font-size: 15px; line-height: 1.7; color: var(--tx); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: color var(--tr); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--ff); font-weight: 700; line-height: 1.3; color: var(--tx); }
.container { max-width: var(--mw); margin: 0 auto; padding: 0 20px; }
.sec-t { font-size: 20px; font-weight: 800; margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between; }
.sec-t .va { font-size: 13px; font-weight: 600; color: var(--c1); }
.sec-t .va:hover { opacity: .8; }

/* Back to Top */
#btt { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--c1); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease; z-index: 999; border: none; box-shadow: var(--sh3); }
#btt.v { opacity: 1; visibility: visible; transform: translateY(0); }
#btt svg { width: 20px; height: 20px; }

/* Header */
#hw { position: sticky; top: 0; z-index: 1000; background: var(--bg2); border-bottom: 1px solid var(--bd); height: var(--hh); transition: box-shadow .3s ease; }
#hw.sc { box-shadow: var(--sh2); }
#hw .container { height: 100%; }
.hi { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.hl { display: flex; align-items: center; gap: 12px; }
.hr { display: flex; align-items: center; gap: 8px; }
.logo a { font-size: 22px; font-weight: 800; color: var(--tx); letter-spacing: -.5px; }
.mt { display: none; width: 40px; height: 40px; border-radius: var(--r1); background: 0 0; border: none; cursor: pointer; align-items: center; justify-content: center; color: var(--tx); }
.mt svg { width: 22px; height: 22px; }
.tt, .st { width: 40px; height: 40px; border-radius: var(--r1); background: 0 0; border: 1px solid var(--bd); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--tx); transition: all var(--tr); }
.tt:hover, .st:hover { background: var(--bg); }
.tt svg, .st svg { width: 18px; height: 18px; }
.dark-mode .tt .is { display: block; }
.dark-mode .tt .im { display: none; }
.tt .is { display: none; }
.tt .im { display: block; }

/* Nav */
.mn { display: flex; align-items: center; gap: 4px; }
.mn > li { position: relative; }
.mn > li > a { display: flex; align-items: center; gap: 4px; padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--tx); border-radius: var(--r1); transition: all var(--tr); }
.mn > li > a:hover, .mn > li:hover > a { color: var(--c1); background: rgba(79,70,229,.06); }
.sm { position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--bg2); border: 1px solid var(--bd); border-radius: var(--r2); box-shadow: var(--sh3); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; z-index: 100; }
.mn > li:hover > .sm { opacity: 1; visibility: visible; transform: translateY(0); }
.sm li { position: relative; }
.sm li a { display: block; padding: 8px 14px; font-size: 13px; font-weight: 500; color: var(--tx); border-radius: var(--r1); transition: all var(--tr); }
.sm li a:hover { color: var(--c1); background: rgba(79,70,229,.06); }
.sm .sm { top: 0; left: 100%; }
.sm li:hover > .sm { opacity: 1; visibility: visible; transform: translateY(0); }

/* Header Social */
.hs { display: flex; align-items: center; gap: 4px; margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--bd); }
.hs a { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: var(--r1); color: var(--tx2); transition: all var(--tr); }
.hs a:hover { color: var(--c1); background: rgba(79,70,229,.06); }
.hs a svg { width: 18px; height: 18px; }

/* Search Overlay */
.so { position: fixed; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); z-index: 2000; display: flex; align-items: flex-start; justify-content: center; padding-top: 120px; opacity: 0; visibility: hidden; transition: all .3s ease; }
.so.act { opacity: 1; visibility: visible; }
.sb { background: var(--bg2); border-radius: var(--r3); padding: 8px; width: 90%; max-width: 600px; box-shadow: var(--sh3); transform: translateY(-20px); transition: transform .3s ease; }
.so.act .sb { transform: translateY(0); }
.sb form { display: flex; align-items: center; gap: 8px; }
.sb input { flex: 1; padding: 14px 16px; font-size: 16px; font-family: var(--ff); border: none; outline: none; background: 0 0; color: var(--tx); }
.sb button { width: 44px; height: 44px; border-radius: var(--r2); background: var(--c1); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sb button svg { width: 20px; height: 20px; }

/* Main Layout */
.mw { display: grid; grid-template-columns: 1fr 340px; gap: 30px; padding: 30px 0; }
.ca { min-width: 0; }

/* Posts Grid */
.pg { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px 20px; margin-bottom: 40px; }
.pc { display: flex; align-items: center; gap: 20px; background: transparent; border: none; transition: transform .3s ease; }
.pc:hover { transform: translateY(-2px); }
.pc .pt { position: relative; overflow: hidden; width: 140px; height: 100px; border-radius: var(--r2); flex-shrink: 0; }
.pc .pt img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pc:hover .pt img { transform: scale(1.05); }
.pc .pct { flex: 1; min-width: 0; padding: 0; }
.pc .pti { font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc .pti a:hover { color: var(--c1); }
.pc .pm { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--tx2); font-weight: 500; flex-wrap: wrap; }
.pc .pm span, .pc .pm a { display: inline-flex; align-items: center; gap: 6px; color: var(--tx2); }
.pc .pm a:hover { color: var(--c1); }
.pc .pm svg { width: 16px; height: 16px; stroke-width: 2px; }

/* Single Post */
.spa { background: var(--bg3); border-radius: var(--r3); border: 1px solid var(--bd); padding: 32px; margin-bottom: 24px; }
.spt { font-size: 28px; font-weight: 800; line-height: 1.3; margin-bottom: 16px; }
.top-share { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--bd); }
.shb { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--bd); color: var(--tx2); transition: all var(--tr); text-decoration: none; cursor: pointer; background: transparent; }
.shb:hover { background: var(--c1); color: #fff; border-color: var(--c1); }
.shb svg { width: 16px; height: 16px; }

/* Post Body */
.pbc { font-size: 16px; line-height: 1.85; color: var(--tx); word-wrap: break-word; }
.pbc img { border-radius: var(--r2); margin: 20px 0; }
.pbc h2 { font-size: 24px; margin: 28px 0 14px; font-weight: 800; }
.pbc h3 { font-size: 20px; margin: 24px 0 12px; font-weight: 700; }
.pbc h4 { font-size: 18px; margin: 20px 0 10px; font-weight: 700; }
.pbc p { margin-bottom: 16px; }
.pbc a { color: var(--c1); text-decoration: underline; }
.pbc a:hover { opacity: .8; }
.pbc blockquote { border-left: 4px solid var(--c1); padding: 16px 20px; margin: 20px 0; background: var(--bg); border-radius: 0 var(--r2) var(--r2) 0; font-style: italic; color: var(--tx2); }
.pbc pre { background: #1e293b; color: #e2e8f0; padding: 20px; border-radius: var(--r2); overflow-x: auto; margin: 20px 0; font-size: 14px; line-height: 1.6; }
.pbc code { background: var(--bg); padding: 2px 8px; border-radius: 4px; font-size: 14px; }
.pbc pre code { background: 0 0; padding: 0; }
.pbc ul, .pbc ol { padding-left: 24px; margin-bottom: 16px; }
.pbc ul li { list-style: disc; margin-bottom: 8px; }
.pbc ol li { list-style: decimal; margin-bottom: 8px; }

/* Post Tags */
.spl { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--bd); display: flex; gap: 8px; flex-wrap: wrap; }
.spl a { display: inline-block; padding: 5px 14px; font-size: 12px; font-weight: 600; background: var(--bg); border: 1px solid var(--bd); border-radius: 50px; text-decoration: none; transition: all var(--tr); }
.spl a:hover { background: var(--c1); color: #fff; border-color: var(--c1); }

/* Comments */
.cs { background: var(--bg3); border-radius: var(--r3); border: 1px solid var(--bd); padding: 24px 32px; margin-top: 20px; }
.cs .ct { font-size: 18px; font-weight: 800; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--bd); }

/* WordPress comment styles */
.comment-list { margin: 0; padding: 0; list-style: none; }
.comment { padding: 16px 0; border-bottom: 1px solid var(--bd2); }
.comment:last-child { border-bottom: none; }
.comment .comment-author { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.comment .comment-author img { border-radius: 50%; width: 40px; height: 40px; }
.comment .fn { font-weight: 700; font-size: 14px; }
.comment .says { display: none; }
.comment-metadata { font-size: 12px; color: var(--tx3); }
.comment-metadata a { color: var(--tx3); }
.comment-body p { font-size: 14px; margin-bottom: 8px; color: var(--tx2); }
.reply a { font-size: 12px; font-weight: 600; color: var(--c1); }
.comment-respond { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--bd); }
.comment-respond h3 { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.comment-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--tx2); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea { width: 100%; padding: 10px 14px; font-size: 14px; font-family: var(--ff); background: var(--bg); border: 1px solid var(--bd); border-radius: var(--r1); color: var(--tx); outline: none; transition: border-color var(--tr); }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--c1); }
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form p { margin-bottom: 14px; }
.comment-form .form-submit input { padding: 10px 24px; background: var(--c1); color: #fff; border: none; border-radius: var(--r2); font-size: 14px; font-weight: 600; font-family: var(--ff); cursor: pointer; transition: background var(--tr); }
.comment-form .form-submit input:hover { background: var(--c1h); }

/* Static Page */
.stpa { background: var(--bg3); border-radius: var(--r3); border: 1px solid var(--bd); padding: 32px; margin-bottom: 24px; }
.stpa h1 { font-size: 28px; font-weight: 800; margin-bottom: 24px; line-height: 1.3; }

/* Archive heading */
.arch-head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.arch-head .arch-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--bd2); border-radius: 8px; color: var(--tx); }
.arch-head h1 { font-size: 22px; font-weight: 800; }

/* Sidebar */
.sa { position: sticky; top: calc(var(--hh) + 20px); align-self: start; }
.sw { background: var(--bg3); border-radius: var(--r3); border: 1px solid var(--bd); padding: 20px; margin-bottom: 20px; }
.sw .wt { font-size: 16px; font-weight: 800; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--bd); }
.fw .ft { border-radius: var(--r2); overflow: hidden; margin-bottom: 14px; aspect-ratio: 16/9; display: block; }
.fw .ft img { width: 100%; height: 100%; object-fit: cover; }
.fw .fti { font-size: 15px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.fw .fti a:hover { color: var(--c1); }
.fw .fs { font-size: 13px; color: var(--tx2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lw .ll { display: flex; flex-wrap: wrap; gap: 8px; }
.lw .li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; font-size: 13px; font-weight: 600; background: var(--bg); border: 1px solid var(--bd); border-radius: 50px; transition: all var(--tr); }
.lw .li:hover { background: var(--c1); color: #fff; border-color: var(--c1); }
.lw .li .lc { background: var(--bd); padding: 1px 7px; border-radius: 50px; font-size: 11px; font-weight: 700; }
.lw .li:hover .lc { background: rgba(255,255,255,.2); color: #fff; }
.pw .pi { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bd2); }
.pw .pi:last-child { border-bottom: none; padding-bottom: 0; }
.pw .pi:first-child { padding-top: 0; }
.pw .pth { width: 80px; height: 65px; border-radius: var(--r1); overflow: hidden; flex-shrink: 0; display: block; }
.pw .pth img { width: 100%; height: 100%; object-fit: cover; }
.pw .ppt { font-size: 13px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pw .ppt a:hover { color: var(--c1); }

/* Footer */
#fw2 { background: var(--bg2); border-top: 1px solid var(--bd); padding: 40px 0 0; }
.fc { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--bd); }
.fcl h3 { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.fcl p { font-size: 14px; color: var(--tx2); line-height: 1.7; }
.fl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 12px; }
.fl a { font-size: 14px; color: var(--tx2); transition: all var(--tr); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl a:hover { color: var(--c1); }
.fcr { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--tx2); }
.fcr a { color: var(--c1); font-weight: 600; }

/* Mobile Nav */
.mno { position: fixed; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); z-index: 1500; opacity: 0; visibility: hidden; transition: all .3s ease; }
.mno.act { opacity: 1; visibility: visible; }
.mnv { position: fixed; top: 0; left: 0; width: 300px; height: 100%; background: var(--bg2); z-index: 1501; overflow-y: auto; transform: translateX(-100%); transition: transform .3s ease; padding: 20px; }
.mnv.act { transform: translateX(0); }
.mnh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--bd); }
.mnh .lt { font-size: 18px; font-weight: 800; }
.mnh .cm2 { width: 36px; height: 36px; border-radius: var(--r1); border: 1px solid var(--bd); background: 0 0; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--tx); }
.mnh .cm2 svg { width: 18px; height: 18px; }
.mnl > li { border-bottom: 1px solid var(--bd2); }
.mnl > li > a { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; font-size: 15px; font-weight: 600; color: var(--tx); }
.mnl .ms { display: none; padding-left: 16px; padding-bottom: 8px; }
.mnl .ms.op { display: block; }
.mnl .ms li a { display: block; padding: 8px 0; font-size: 14px; color: var(--tx2); }

/* Pagination */
.pag { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 30px 0; }
.pag a, .pag span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; font-size: 14px; font-weight: 600; background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r2); color: var(--tx); transition: all var(--tr); }
.pag a:hover { background: var(--c1); color: #fff; border-color: var(--c1); }
.pag .current { background: var(--c1); color: #fff; border-color: var(--c1); }

/* WP Alignments */
.alignleft { float: left; margin-right: 20px; margin-bottom: 10px; }
.alignright { float: right; margin-left: 20px; margin-bottom: 10px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* Search page */
.search-notice { padding: 12px 16px; background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r2); margin-bottom: 20px; font-size: 14px; color: var(--tx2); }

/* 404 */
.not-found-wrap { text-align: center; padding: 80px 20px; }
.not-found-wrap h1 { font-size: 80px; font-weight: 800; color: var(--c1); margin-bottom: 16px; }
.not-found-wrap h2 { font-size: 24px; margin-bottom: 12px; }
.not-found-wrap p { color: var(--tx2); margin-bottom: 28px; }
.not-found-wrap a { display: inline-block; padding: 12px 28px; background: var(--c1); color: #fff; border-radius: var(--r2); font-weight: 600; font-size: 15px; }

/* Responsive */
@media(max-width:1024px) { .mw { grid-template-columns: 1fr; } .sa { position: static; } }
@media(max-width:768px) { .mt { display: flex; } .mn, .hs { display: none; } .pg { grid-template-columns: 1fr; } .fc { grid-template-columns: 1fr; gap: 24px; } .fcr { flex-direction: column; gap: 8px; text-align: center; } .spa, .stpa, .cs { padding: 20px; } .spt { font-size: 22px; } }
@media(max-width:480px) { :root { --hh: 56px; } .logo a { font-size: 18px; } .sec-t { font-size: 17px; } .pc .pti { font-size: 15px; } .spa, .stpa, .cs { padding: 16px; border-radius: var(--r2); } .pc { flex-direction: column; align-items: flex-start; gap: 12px; } .pc .pt { width: 100%; height: 180px; } }

/* ── Pagination: WP core page-numbers ───────────────────── */
.pag .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; font-size: 14px; font-weight: 600; background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r2); color: var(--tx); transition: all var(--tr); }
.pag .page-numbers:hover { background: var(--c1); color: #fff; border-color: var(--c1); }
.pag .page-numbers.current { background: var(--c1); color: #fff; border-color: var(--c1); }
.pag .page-numbers.dots { background: transparent; border-color: transparent; }

/* ── More link ──────────────────────────────────────────── */
.more-link { display: inline-block; padding: 8px 20px; background: var(--c1); color: #fff !important; border-radius: var(--r2); font-size: 14px; font-weight: 600; text-decoration: none !important; transition: background var(--tr); margin-top: 8px; }
.more-link:hover { background: var(--c1h); }

/* ── Author card ────────────────────────────────────────── */
.author-card img.avatar { width: 80px; height: 80px; border-radius: 50%; }

/* ── Post nav ───────────────────────────────────────────── */
.post-nav a { text-decoration: none; }
.post-nav a:hover { text-decoration: none; }

/* ── Related posts section ──────────────────────────────── */
.related-posts { background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r3); padding: 24px; }

/* ── Page links (multi-page posts) ─────────────────────── */
.page-links { flex-wrap: wrap; }
.page-links > .page-links-title { font-size: 14px; font-weight: 600; color: var(--tx2); margin-right: 4px; }
.page-links span span { background: var(--c1); color: #fff; border-color: var(--c1); }

/* ── wp-caption ─────────────────────────────────────────── */
.wp-caption { max-width: 100%; margin: 20px 0; }
.wp-caption-text { font-size: 13px; color: var(--tx2); text-align: center; margin-top: 6px; font-style: italic; }

/* ── Gutenberg block styles ─────────────────────────────── */
.wp-block-image img { border-radius: var(--r2); }
.wp-block-pullquote { border-top: 4px solid var(--c1); border-bottom: 4px solid var(--c1); padding: 24px 0; margin: 28px 0; }
.wp-block-pullquote blockquote { border: none; background: transparent; padding: 0; }
.wp-block-quote { border-left: 4px solid var(--c1); padding: 16px 20px; margin: 20px 0; background: var(--bg); border-radius: 0 var(--r2) var(--r2) 0; }
.wp-block-code { background: #1e293b; color: #e2e8f0; padding: 20px; border-radius: var(--r2); font-size: 14px; }
.wp-block-separator { border: none; border-top: 1px solid var(--bd); margin: 28px 0; }
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table td, .wp-block-table th { padding: 10px 14px; border: 1px solid var(--bd); font-size: 14px; }
.wp-block-table th { background: var(--bg); font-weight: 700; }
.wp-block-button__link { font-family: var(--ff); font-weight: 600; }
.wp-block-cover { border-radius: var(--r2); }

/* ── Hide search widget in sidebar ──────────────────────── */
.sa .widget_search,
.sa .widget_block.widget_search,
.sa [class*="wp-block-search"],
.sa .wp-block-search { display: none !important; }

/* ── Fix SVG icon size in post meta everywhere ──────────── */
.pm svg, .pm svg * { width: 14px !important; height: 14px !important; max-width: 14px; max-height: 14px; flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════
   PRINT – Yalnızca yazı başlığı + içerik
   ════════════════════════════════════════════════════════════ */
@media print {

    /* 1. Sayfadaki HER ŞEYİ gizle */
    body > * { display: none !important; }

    /* 2. Sadece ana kapsayıcı hiyerarşisini göster */
    body > .container,
    body > .container > .mw,
    body > .container > .mw > .ca { display: block !important; }

    /* 3. Sidebar ve footer'ı gizle (görünür hale gelmiş olsa bile) */
    .sa, #fw2, #hw, #btt, .so, .mno, .mnv { display: none !important; }

    /* 4. .ca içindeki HER ŞEYİ gizle */
    .ca > * { display: none !important; }

    /* 5. Sadece .spa'yı göster */
    .ca > .spa { display: block !important; }

    /* 6. .spa içindeki paylaşım, etiket vb. gizle */
    .spa > .top-share,
    .spa > .spl,
    .spa > [style*="margin-top:8px"] { display: none !important; }

    /* 7. Sayfa & yazı stilleri */
    * { box-shadow: none !important; }
    html, body { background: #fff !important; color: #000 !important; }
    body { font-size: 12pt; }

    .container { max-width: 100% !important; padding: 0 !important; }
    .mw        { display: block !important; padding: 0 !important; gap: 0 !important; }
    .ca        { width: 100% !important; }

    .spa {
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
    }

    /* Başlık */
    .spt {
        font-size: 20pt !important;
        font-weight: bold !important;
        margin-bottom: 14pt !important;
        line-height: 1.3 !important;
        color: #000 !important;
    }

    /* İçerik */
    .pbc { font-size: 11pt !important; line-height: 1.75 !important; color: #000 !important; }
    .pbc p   { margin-bottom: 10pt; }
    .pbc h2  { font-size: 16pt; margin: 18pt 0 8pt; page-break-after: avoid; }
    .pbc h3  { font-size: 14pt; margin: 14pt 0 6pt; page-break-after: avoid; }
    .pbc h4  { font-size: 12pt; margin: 10pt 0 4pt; page-break-after: avoid; }
    .pbc img { max-width: 100% !important; page-break-inside: avoid; border-radius: 0 !important; }
    .pbc blockquote { border-left: 3pt solid #555; padding: 4pt 12pt; background: transparent !important; color: #333; }
    .pbc pre  { background: #f5f5f5 !important; border: 1pt solid #ccc; padding: 8pt; font-size: 9pt; white-space: pre-wrap; word-break: break-word; }
    .pbc a    { color: #000 !important; text-decoration: underline; }
    .pbc a[href^="http"]::after { content: " [" attr(href) "]"; font-size: 8pt; color: #555; }
    .pbc a[href^="#"]::after,
    .pbc a[href^="javascript"]::after { content: ""; }

    p, li, blockquote { page-break-inside: avoid; }
}

/* ============================================================
 * Recent Posts Widget – item spacing
 * ========================================================== */
/* ============================================================
 * Son Paylaşımlar – Numaralı liste
 * ========================================================== */

/* WordPress built-in Recent Posts widget */
.widget_recent_entries ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    counter-reset: rp-counter;
}
.widget_recent_entries ul li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 11px 0 !important;
    margin: 0 !important;
    border: none !important;
    border-top: 1px solid var(--bd) !important;
    line-height: 1.45;
    counter-increment: rp-counter;
}
.widget_recent_entries ul li:first-child {
    padding-top: 0 !important;
    border-top: none !important;
}
.widget_recent_entries ul li::before {
    content: "#" counter(rp-counter);
    flex-shrink: 0;
    width: 24px;
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c1);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 6px;
    margin-top: 1px;
}
.widget_recent_entries ul li a {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--tx) !important;
    transition: color var(--tr) !important;
}
.widget_recent_entries ul li a:hover { color: var(--c1) !important; }
.widget_recent_entries ul li .post-date { display: none; }

/* Custom bst-rp-* classes (sidebar fallback) */
.bst-rp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: rp-counter;
}
.bst-rp-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid var(--bd);
}
.bst-rp-item:first-child { padding-top: 0; border-top: none; }
.bst-rp-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c1);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 6px;
    margin-top: 1px;
}
.bst-rp-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--tx);
    line-height: 1.45;
    transition: color var(--tr);
}
.bst-rp-link:hover { color: var(--c1); }

/* ============================================================
 * Post Info Box – Modern Yazar Kartı
 * ========================================================== */
.post-info-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 32px 0;
}
.pib-author {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg3);
    border: 1px solid var(--bd);
    border-radius: var(--r2);
    padding: 16px 20px;
    color: var(--tx);
    transition: border-color var(--tr), box-shadow var(--tr);
}
.pib-author:hover {
    border-color: var(--c1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--c1) 10%, transparent);
    color: var(--tx);
}
.pib-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.pib-author-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow: hidden;
}
.pib-author-name {
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pib-author-bio {
    font-size: 13px;
    color: var(--tx3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pib-author-arrow {
    flex-shrink: 0;
    color: var(--tx3);
    transition: color var(--tr), transform var(--tr);
}
.pib-author:hover .pib-author-arrow {
    color: var(--c1);
    transform: translateX(3px);
}
