:root{
  --bg:#f8f8f8; --surface:#fff; --ink:#151515; --muted:#6b6b6b; --line:#e6e6e6;
  --dark:#151515; --dark-ink:#fff; --accent:#d93a42; --accent-soft:#fdecec;
  --head:'Bricolage Grotesque',sans-serif; --body:'DM Sans',sans-serif; --header-h:76px;
}
[data-bs-theme="dark"]{
  --bg:#111; --surface:#1a1a1a; --ink:#f2f2f2; --muted:#9a9a9a; --line:#2c2c2c;
  --dark:#f2f2f2; --dark-ink:#111; --accent-soft:#3a1c1e;
}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--ink);font-family:var(--body);padding-top:var(--header-h);transition:background .3s,color .3s}
h1,h2,h3,h4,h5,h6{font-family:var(--head);letter-spacing:-.01em}
a{color:inherit;text-decoration:none}
img{display:block;width:100%;height:100%;object-fit:cover}
.container-xl{max-width:1340px}
.text-muted-2{color:var(--muted)!important}
.text-accent{color:var(--accent)!important}

/* HEADER */
.site-header{position:fixed;inset:0 0 auto 0;z-index:1030;height:var(--header-h);background:var(--bg);border-bottom:1px solid transparent;
  transition:transform .4s cubic-bezier(.4,0,.2,1),border-color .3s,box-shadow .3s}
.site-header.scrolled{border-color:var(--line);box-shadow:0 4px 20px rgba(0,0,0,.04)}
.site-header.header-hidden{transform:translateY(-100%)}
.brand{font-family:var(--head);font-weight:700;font-size:1.45rem;display:flex;align-items:center;gap:.45rem}
.brand-mark{width:30px;height:30px;border-radius:7px;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1rem}
.brand small{color:var(--accent);font-weight:700}
.main-nav{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:.35rem .75rem}
.main-nav .nav-link{color:var(--ink);font-weight:500;padding:.55rem .9rem;display:flex;align-items:center;gap:.3rem}
iconify-icon{display:inline-block;width:1em;height:1em;vertical-align:-.15em}
.main-nav .nav-link iconify-icon{font-size:.9rem;transition:transform .25s}
.icon-btn iconify-icon{font-size:1.2rem}
.has-mega{position:static}.nav-wrap{position:relative}
.has-mega.open>.nav-link iconify-icon{transform:rotate(180deg)}
.mega{position:absolute;top:calc(100% - 4px);left:50%;width:min(780px,94vw);transform:translate(-50%,10px);background:var(--surface);
  border:1px solid var(--line);border-radius:10px;padding:2.25rem 2.75rem;box-shadow:0 20px 50px rgba(0,0,0,.08);opacity:0;visibility:hidden;transition:.25s}
.has-mega.open .mega{opacity:1;visibility:visible;transform:translate(-50%,0)}
.icon-btn{width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;transition:.2s}
.icon-btn:hover{background:var(--dark);color:var(--dark-ink)}
.btn-ink{background:var(--dark);color:var(--dark-ink);border-radius:8px;font-weight:600;padding:.6rem 1.1rem;border:0}
.btn-ink:hover{opacity:.88;color:var(--dark-ink)}
.btn-accent{background:var(--accent);color:#fff;border-radius:8px;font-weight:600;padding:.6rem 1.1rem;border:0}
.btn-accent:hover{background:#c22f37;color:#fff}
.btn-line{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;font-weight:600;padding:.6rem 1rem}
.btn-line:hover{border-color:var(--ink);color:var(--ink)}

/* COMMON */
.label{font-size:.85rem;font-weight:600;text-transform:uppercase;color:var(--muted);letter-spacing:.02em;margin-bottom:1.1rem;display:flex;align-items:center;justify-content:space-between}
.dotted{height:6px;background-image:radial-gradient(var(--muted) .8px,transparent .9px);background-size:3px 3px;opacity:.7}
.section-head{display:flex;align-items:center;gap:1rem}
.section-head h2{font-size:1.5rem;font-weight:600;margin:0;white-space:nowrap}
.section-head .dotted{flex:1}
.cat-badge{display:inline-flex;align-items:center;gap:.45rem;border:1px solid var(--line);background:var(--surface);border-radius:6px;padding:.4rem .9rem;font-size:.9rem;font-weight:500}
.cat-badge::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent)}
.date{font-size:.85rem;color:var(--muted)}
.date::before{content:"•";margin-right:.3rem}
.avatar{width:26px;height:26px;border-radius:6px;flex:0 0 26px;background:var(--accent-soft);color:var(--accent);font-family:var(--head);font-weight:700;font-size:.7rem;display:inline-flex;align-items:center;justify-content:center}
.img-hover{overflow:hidden}.img-hover img{transition:transform .7s}.img-hover:hover img{transform:scale(1.05)}
.pill{display:inline-block;border:1px solid var(--ink);border-radius:50px;padding:.25rem .75rem;margin:0 .25rem .45rem 0;font-size:.9rem;transition:.2s}
.pill:hover{background:var(--ink);color:var(--bg)}
.tag{display:inline-block;border:1px solid var(--line);border-radius:6px;padding:.4rem .8rem;margin:0 .35rem .55rem 0;font-weight:500;background:var(--surface);transition:.2s}
.tag:hover{background:var(--dark);color:var(--dark-ink);border-color:var(--dark)}
.sponsored{font-size:.7rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--accent);background:var(--accent-soft);border-radius:4px;padding:.15rem .45rem}
.live-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);display:inline-block;margin-right:.4rem;animation:pulse 1.6s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(217,58,66,.5)}70%{box-shadow:0 0 0 8px rgba(217,58,66,0)}100%{box-shadow:0 0 0 0 rgba(217,58,66,0)}}

/* HERO */
.feat-title{font-size:clamp(1.8rem,2.6vw,2.2rem);font-weight:600;line-height:1.15}
.hero-img{display:block;position:relative;height:100%;min-height:215px}
@media (min-width:992px){.hero-img{position:absolute;inset:0;min-height:0}}

/* STORY CARDS */
.post-card{background:var(--surface);border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:0 2px 6px rgba(0,0,0,.03)}
.post-card .media{min-height:280px}
.post-card h3{font-size:1.65rem;font-weight:600;line-height:1.2;margin:1rem 0 .75rem}
.post-card p{color:var(--muted);font-size:1.05rem;line-height:1.6}
.post-card .meta{border-top:1px solid var(--line);padding-top:1.25rem;margin-top:1.5rem}

/* SIDEBAR */
.side-block{padding:2rem 0;border-top:1px solid var(--line)}
.side-block:first-child{border-top:0;padding-top:0}
.rank{flex:0 0 24px;height:24px;border-radius:4px;background:var(--dark);color:var(--dark-ink);font-size:.8rem;font-weight:700;display:flex;align-items:center;justify-content:center}
/* Sidebar list items share one scale: title 1.3rem (head) + detail .85rem (like .date) */
.lb-item,.feed-item{display:flex;gap:1rem;align-items:center;padding:1.1rem 0;border-bottom:1px solid var(--line)}
.lb-item:first-child,.feed-item:first-child{padding-top:0}
.lb-item:last-child,.feed-item:last-child{border-bottom:0;padding-bottom:0}
.item-title{font-family:var(--head);font-size:1.3rem;font-weight:600;line-height:1.3;margin:0 0 .3rem}
.item-detail{font-size:.85rem;color:var(--muted);display:block}
.bid{font-family:var(--head);font-weight:600;font-size:1.3rem;line-height:1.3;text-align:right;white-space:nowrap;margin-bottom:.3rem}
.feed-ic{width:48px;height:48px;border-radius:8px;background:var(--accent-soft);color:var(--accent);display:flex;align-items:center;justify-content:center;flex:0 0 48px;font-family:var(--head);font-weight:700;font-size:1.05rem}
.side-note{font-size:.85rem;color:var(--muted);margin:1.1rem 0 0}
.plus-box{position:relative;background:var(--surface);border:1px solid var(--line)}
.plus{position:absolute;width:28px;height:28px}
.plus::before,.plus::after{content:"";position:absolute;background:var(--muted);opacity:.6}
.plus::before{left:50%;top:0;bottom:0;width:1px}.plus::after{top:50%;left:0;right:0;height:1px}
.banner{text-align:center;padding:3.25rem 1.5rem}

/* HOW IT WORKS */
.step{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:2rem;height:100%}
.step .n{width:36px;height:36px;border-radius:8px;background:var(--accent);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;margin-bottom:1.25rem}
.step h4{font-size:1.35rem;font-weight:600}
.calc{background:var(--dark);color:var(--dark-ink);border-radius:8px;padding:2rem}
.calc .row-line{display:flex;justify-content:space-between;padding:.65rem 0;border-bottom:1px solid rgba(128,128,128,.3)}
.calc .row-line:last-of-type{border:0}
.calc strong{font-family:var(--head);font-size:1.15rem}

/* CATEGORIES */
.cat-card{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:12px;text-align:center;transition:.25s;height:100%;display:block}
.cat-card:hover{transform:translateY(-4px);box-shadow:0 10px 25px rgba(0,0,0,.06)}
.cat-card .ph{height:120px;border-radius:6px;background:var(--accent-soft);color:var(--accent);display:flex;align-items:center;justify-content:center;font-size:3rem;transition:.25s}
.cat-card:hover .ph{background:var(--accent);color:#fff}
.cat-card h5{font-size:1.25rem;font-weight:600;margin:.9rem 0 .2rem}
.cat-card small{color:var(--muted)}

/* FOOTER */
.footer a{display:block;margin-bottom:1rem;font-weight:500;transition:.2s}
.footer a:hover{padding-left:4px}
.sq-icon{width:38px;height:38px;border:1px solid var(--line);border-radius:4px;display:inline-flex!important;align-items:center;justify-content:center;background:var(--surface);margin:0 .35rem 0 0!important}

.offcanvas,.modal-content{background:var(--bg);color:var(--ink)}
.modal-content{border:1px solid var(--line);border-radius:12px}
.mobile-nav a{display:block;padding:.85rem 0;border-bottom:1px solid var(--line);font-family:var(--head);font-size:1.25rem;font-weight:600}
@media (max-width:991.98px){:root{--header-h:68px}.post-card .media{min-height:220px}.hero-img{height:215px}}

/* EMPTY STATES */
.empty-box{border:1px dashed var(--line);border-radius:8px;padding:2.5rem 1.5rem;text-align:center;color:var(--muted);background:var(--surface)}
.empty-box iconify-icon{font-size:2.2rem;color:var(--accent)}

/* STORY PAGE */
.story-head{max-width:860px;margin:0 auto;text-align:center}
.story-title{font-size:clamp(2rem,4.5vw,3.4rem);font-weight:600;line-height:1.08;margin:1.25rem 0 1rem}
.story-lead{font-size:1.25rem;color:var(--muted);line-height:1.55}
/* Kapak: eski genişliğin 3/4ü (~990px), yüksekliğin 2/3ü (~440px) */
.story-cover{border-radius:10px;overflow:hidden;max-width:990px;aspect-ratio:9/4;margin:2.5rem auto}
.story-body{max-width:720px;margin:0 auto;font-size:1.15rem;line-height:1.8}
.story-body h2{font-size:1.8rem;font-weight:600;margin:2.5rem 0 1rem}
.story-body h3{font-size:1.4rem;font-weight:600;margin:2rem 0 .75rem}
.story-body p,.story-body ul,.story-body ol{margin-bottom:1.4rem}
.story-body a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.story-body blockquote{border-left:3px solid var(--accent);padding:.25rem 0 .25rem 1.25rem;margin:2rem 0;font-family:var(--head);font-size:1.45rem;line-height:1.4}
.story-tags{max-width:720px;margin:2.5rem auto 0;padding-top:1.5rem;border-top:1px solid var(--line)}
@media (max-width:767.98px){.story-cover{aspect-ratio:16/10;margin:1.5rem 0}.story-body{font-size:1.05rem}}
