/* ==========================================================================
   Netortami.Net — public stylesheet
   Dependency-free, system fonts, light/dark via [data-theme]
   Primary: #C23B22
   ========================================================================== */

:root {
  --primary: #c23b22;
  --primary-strong: #a32f19;
  --primary-soft: rgba(194, 59, 34, .1);
  --bg: #faf8f6;
  --bg-alt: #f2eeea;
  --surface: #ffffff;
  --surface-2: #f7f4f1;
  --text: #1c1b19;
  --text-soft: #45413c;
  --muted: #6f6962;
  --border: #e7e1da;
  --border-strong: #d6cec5;
  --shadow-sm: 0 1px 2px rgba(28, 27, 25, .06);
  --shadow: 0 6px 24px -8px rgba(28, 27, 25, .16);
  --shadow-lg: 0 24px 60px -24px rgba(28, 27, 25, .28);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1220px;
  --wrap-narrow: 760px;
  --wrap-article: 860px;
  --header-h: 68px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.4, 0, .2, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #121110;
  --bg-alt: #191817;
  --surface: #1b1a18;
  --surface-2: #232120;
  --text: #f3efe8;
  --text-soft: #dcd6cd;
  --muted: #a49d94;
  --border: #2e2b28;
  --border-strong: #413d38;
  --primary: #e2604a;
  --primary-strong: #f07a64;
  --primary-soft: rgba(226, 96, 74, .16);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 6px 24px -8px rgba(0, 0, 0, .6);
  --shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, svg, video, canvas { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  line-height: 1.2;
  letter-spacing: -.014em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.95rem); }
h3 { font-size: 1.18rem; }

p { margin: 0 0 1.1em; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--primary); color: #fff; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px; left: 16px;
  z-index: 999;
  padding: .7rem 1.1rem;
  background: var(--primary);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .15s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}
.wrap--narrow { max-width: var(--wrap-narrow); }
.wrap--article { max-width: var(--wrap-article); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .68rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--primary); color: #fff; }
.btn-accent:hover { background: var(--primary-strong); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .6rem;
}
.eyebrow svg { flex: none; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.link-more:hover { color: var(--primary); }

.count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6em;
  padding: .1em .5em;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: .74em;
  font-weight: 700;
  vertical-align: middle;
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent);
}
.avatar-sm { width: 30px; height: 30px; font-size: .8rem; }
.avatar-lg { width: 52px; height: 52px; font-size: 1.25rem; }

.dot { color: var(--border-strong); }

/* ----------------------------------------------------------------- topbar */
.topbar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-size: .78rem;
  color: var(--muted);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
}
.topbar-left { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.topbar-tagline {
  padding-left: .9rem;
  border-left: 1px solid var(--border-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-right { display: flex; align-items: center; gap: .75rem; }
.topbar-date { text-transform: capitalize;font-weight: 600; }

.topbar-login {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .26rem .68rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  font-size: .74rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
  transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.topbar-login svg { flex: none; }
.topbar-login:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-soft);
}
.topbar-user { position: relative; display: inline-flex; align-items: center; gap: .45rem; }
.topbar-user-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .26rem .68rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  font: inherit;
  font-size: .74rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
  cursor: pointer;
  transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.topbar-user-toggle:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }
.topbar-user-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-user-menu {
  position: absolute;
  top: calc(100% + .45rem);
  right: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 180px;
  padding: .45rem;
  border: 1px solid var(--border);
  border-radius: var(--radius, 14px);
  background: var(--surface-2);
  box-shadow: 0 12px 32px rgba(20, 12, 8, 0.22);
}
.topbar-user-menu[hidden] { display: none; }
.topbar-user-menu a, .topbar-user-menu button {
  display: block;
  width: 100%;
  padding: .45rem .6rem;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--text-soft);
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.topbar-user-menu a:hover, .topbar-user-menu button:hover { background: var(--primary-soft); color: var(--primary); }

.social-links { display: flex; align-items: center; gap: .15rem; }
.social-links a {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  color: var(--muted);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.social-links a:hover { background: var(--primary-soft); color: var(--primary); }

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-soft);
  cursor: pointer;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.theme-toggle:hover { color: var(--primary); border-color: var(--primary); }
.theme-icon { display: grid; place-items: center; }
.theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon-sun { display: grid; }
[data-theme="dark"] .theme-icon-moon { display: none; }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  flex: none;
  line-height: 1;
}
.brand:hover { color: inherit; }
.brand-mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 25px;
}
.brand-mark span {
  display: block;
  width: 4.5px;
  border-radius: 2px;
  background: var(--primary);
}
.brand-mark span:nth-child(1) { height: 9px; }
.brand-mark span:nth-child(2) { height: 15px; }
.brand-mark span:nth-child(3) { height: 21px; }
.brand-mark span:nth-child(4) { height: 25px; background: var(--text); opacity: .82; }
.brand-text {
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--text);
}
.brand-dot { color: var(--primary); }

.header-search {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex: 1 1 auto;
  max-width: 440px;
  padding: .5rem .95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.header-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.header-search svg { flex: none; }
.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  color: var(--text);
  font-size: .88rem;
  outline: none;
}
.header-search input::placeholder { color: var(--muted); }

.header-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-left: auto;
}
.header-cta { padding: .55rem 1rem; font-size: .84rem; }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}
.menu-toggle .menu-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close { display: grid; }
.menu-toggle span { display: grid; place-items: center; }

.main-nav { border-top: 1px solid var(--border); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: .25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.main-nav a {
  position: relative;
  padding: .8rem .85rem;
  font-size: .87rem;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: .85rem; right: .85rem; bottom: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .2s var(--ease);
}
.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--primary); }

/* ------------------------------------------------------------------ hero */
.hero-section { padding: clamp(1.5rem, 3vw, 2.6rem) 0 0; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.hero-side {
  display: grid;
  gap: .9rem;
  align-content: start;
}

.hero-main .card { height: 100%; }
.hero-main .card-media { aspect-ratio: 16 / 9; }
.hero-main .card-title { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.15rem); }
.hero-main .card-excerpt { font-size: 1rem; }

/* ------------------------------------------------------------------ cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card-media {
  display: block;
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 16 / 10;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.card:hover .card-media img { transform: scale(1.035); }
.card-placeholder {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary-soft), var(--surface-2));
}
.card-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.card-cat {
  align-self: flex-start;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .4rem;
}
.card-cat:hover { text-decoration: underline; }
.card-title { font-size: 1.06rem; line-height: 1.34; margin: 0 0 .5rem; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--primary); }
.card-excerpt {
  margin: 0 0 .8rem;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: auto;
  font-size: .75rem;
  color: var(--muted);
}
.card--compact { flex-direction: row; }
.card--compact .card-media { width: 128px; flex: none; aspect-ratio: 1 / 1; }
.card--compact .card-body { padding: .75rem .9rem; }
.card--compact .card-title { font-size: .92rem; margin-bottom: .35rem; }
.card--compact .card-excerpt { display: none; }
.card--compact .card-meta { font-size: .71rem; }
.card--hero .card-media { aspect-ratio: 16 / 9; }
.card--noimg .card-media { display: none; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.post-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.post-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* --------------------------------------------------------------- sections */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}
.section-head h2 { margin: 0; display: flex; align-items: center; gap: .5rem; }
.section-head h2 a { color: inherit; }
.section-head h2 a:hover { color: var(--primary); }
.section-head--line { border-bottom: 2px solid var(--border); padding-bottom: .7rem; }
.section-sub { margin: .25rem 0 0; font-size: .85rem; color: var(--muted); }

.trending-section { padding: clamp(2rem, 4vw, 3rem) 0 0; }
.trending-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: .25rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: trend;
}
.trending-list li {
  display: flex;
  gap: .9rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--border);
}
.trending-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--border-strong);
  font-variant-numeric: tabular-nums;
}
.trending-body { min-width: 0; }
.trending-cat {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .15rem;
}
.trending-list h3 { margin: 0; font-size: .97rem; line-height: 1.4; font-weight: 600; }
.trending-list h3 a { color: var(--text); }
.trending-list h3 a:hover { color: var(--primary); }

.latest-section, .category-section { padding: clamp(2rem, 4vw, 3.2rem) 0 0; }

.newsletter-inline {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.newsletter-inline-copy h3 { margin-bottom: .3rem; }
.newsletter-inline-copy p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------------------------------------------------------------- archive */
.archive-head {
  padding: clamp(1.6rem, 3vw, 2.4rem) 0 clamp(1.2rem, 2vw, 1.8rem);
  background: linear-gradient(180deg, var(--bg-alt), transparent);
  border-bottom: 1px solid var(--border);
}
.archive-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: .9rem;
}
.archive-title-row h1 { margin: 0 0 .4rem; }
.archive-desc { max-width: 64ch; margin: 0; color: var(--muted); font-size: .95rem; }
.page-indicator {
  flex: none;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
}
.archive-body { padding: clamp(1.5rem, 3vw, 2.4rem) 0 clamp(2rem, 4vw, 3rem); }

.author-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.3rem;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.author-strip p { margin: .15rem 0 0; font-size: .88rem; color: var(--muted); }

.breadcrumb { margin-bottom: .8rem; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .76rem;
  color: var(--muted);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: .35rem; min-width: 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb svg { color: var(--border-strong); flex: none; }
.breadcrumb span { color: var(--text-soft); }

/* --------------------------------------------------------------- pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.page-num, .page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-width: 40px;
  height: 40px;
  padding: 0 .75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-size: .87rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease);
}
.page-num:hover, .page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-num.is-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-dots { padding: 0 .35rem; color: var(--muted); }
.page-btn span { display: none; }

/* ---------------------------------------------------------------- article */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  width: 100%;
  height: 3px;
  pointer-events: none;
}
.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--primary);
}

/* Haber detayı: Milliyet tarzı büyük başlık, spot, kapak, paylaşım çubuğu */
.post-news { padding-top: clamp(.9rem, 2.2vw, 1.6rem); }
.post-head { margin-bottom: clamp(1rem, 2vw, 1.4rem); }

.post-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .9rem;
  margin: .1rem 0 .85rem;
}
.post-cat {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  color: var(--primary);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.post-cat::before {
  content: "";
  flex: none;
  width: .5rem;
  height: .5rem;
  background: var(--primary);
}
.post-kicker-item {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
}

.post-title {
  margin: 0 0 .95rem;
  font-family: var(--font-sans);
  font-size: clamp(1.9rem, 1.25rem + 2.4vw, 3.05rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.032em;
  text-wrap: balance;
}

.post-spot {
  margin: 0 0 1.1rem;
  font-size: clamp(1.02rem, .96rem + .35vw, 1.17rem);
  font-weight: 600;
  line-height: 1.62;
  color: var(--text-soft);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  padding: .85rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.post-author { display: flex; align-items: center; gap: .7rem; }
.author-name { display: block; font-size: .88rem; font-weight: 700; }
.post-dates { display: block; font-size: .74rem; color: var(--muted); }
.post-stats { display: flex; align-items: center; gap: 1rem; font-size: .74rem; color: var(--muted); }
.post-stats span, .post-stats a { display: inline-flex; align-items: center; gap: .3rem; }

.post-hero { margin: .35rem 0 .9rem; }
.post-hero-img {
  width: 100%;
  border-radius: 10px;
  background: var(--surface-2);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.post-hero figcaption {
  margin-top: .5rem;
  font-size: .74rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Paylaş + yazı tipi araç çubuğu */
.post-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1rem;
  padding: 0 0 1.1rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}
.post-tools-share, .post-font { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.post-tools-label {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-right: .15rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-soft);
  font-size: .74rem;
  cursor: pointer;
  transition: background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.tool-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.tool-btn.is-copied { background: var(--surface); border-color: var(--primary); color: #fff; }
.tool-btn--wide { width: auto; padding: 0 .8rem; border-radius: 999px; white-space: nowrap; }
.post-font button {
  min-width: 34px;
  height: 30px;
  padding: 0 .45rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-soft);
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.post-font button:hover { border-color: var(--primary); color: var(--primary); }
.post-font button.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

.post-layout {
  display: grid;
  /* col-lg-8 article (sol) + col-lg-4 sidebar (sağ) */
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.post-aside {
  position: sticky;
  top: calc(var(--header-h) + 3.5rem);
  display: grid;
  gap: 1.2rem;
  font-size: .82rem;
}
.post-body { min-width: 0; max-width: 760px; }

/* Popüler kategoriler (yazı detay sidebar) */
.post-topcats {
  padding: 1rem 1.1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .8rem;
}
.post-topcats-title {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: 0 0 .6rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-topcats-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.post-topcat a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .6rem;
  padding: .45rem .55rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.post-topcat a:hover { background: var(--primary-soft); }
.post-topcat-name { font-weight: 600; color: var(--text); }
.post-topcat-name:hover { color: var(--primary); }
.post-topcat-count { font-size: .72rem; color: var(--muted); white-space: nowrap; }

/* Sidebar: son eklenenler (numaralı haber listesi) */
.post-latest {
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.post-latest-title {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: 0 0 .55rem;
  padding-bottom: .55rem;
  border-bottom: 2px solid var(--primary);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text);
}
.post-latest-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.post-latest-item a {
  display: flex;
  gap: .6rem;
  padding: .5rem .1rem;
  border-bottom: 1px solid var(--border);
}
.post-latest-item:last-child a { border-bottom: 0; padding-bottom: .15rem; }
.post-latest-item a:hover .post-latest-name { color: var(--primary); }
.post-latest-num {
  flex: none;
  width: 1.4rem;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--primary);
}
.post-latest-name { display: block; font-size: .82rem; font-weight: 600; line-height: 1.45; color: var(--text); }
.post-latest-date { display: block; margin-top: .14rem; font-size: .69rem; font-weight: 400; color: var(--muted); }

.toc {
  padding: 1rem 1.1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .8rem;
}
.toc h2, .toc summary {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: 0 0 .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.toc summary { cursor: pointer; margin: 0; }
.toc ol { margin: .5rem 0 0; padding-left: 1.1rem; }
.toc li { margin-bottom: .35rem; }
.toc a { color: var(--text-soft); }
.toc a:hover { color: var(--primary); }
.toc-level-3 { margin-left: .8rem; font-size: .95em; }
.toc-mobile { display: none; }

.post-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.6rem 0; }
.post-tags a {
  padding: .28rem .65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: .76rem;
  color: var(--muted);
}
.post-tags a:hover { border-color: var(--primary); color: var(--primary); }

/* ---------------------------------------------- paylaş (sadece yazı altında) */
.post-share-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: .8rem;
  color: var(--muted);
}
.post-share-bottom > span { font-weight: 600; margin-right: .3rem; }
.post-share-bottom a, .post-share-bottom button {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  cursor: pointer;
  font-size: .78rem;
}
.post-share-bottom a:hover, .post-share-bottom button:hover { border-color: var(--primary); color: var(--primary); }

.author-box {
  display: flex;
  gap: 1rem;
  margin: 1.8rem 0;
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.author-box h2 { font-size: 1.05rem; margin: .1rem 0 .3rem; }
.author-box p { margin: 0; font-size: .86rem; color: var(--muted); }

.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin: 1.5rem 0;
}
.post-nav-item {
  padding: .9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.post-nav-item span {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: .25rem;
}
.post-nav-item strong { font-size: .88rem; line-height: 1.4; font-weight: 600; }
.post-nav-item:hover { border-color: var(--primary); }
.post-nav-next { text-align: right; }
.post-nav-next span { justify-content: flex-end; }

.related-posts { margin-top: 2rem; }
.related-posts .post-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* İlgili yazılar: görsel üstte, başlık altta */
.related-posts .card--compact {
  flex-direction: column;
}
.related-posts .card--compact .card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
}
.related-posts .card--compact .card-body { padding: .8rem .95rem 1rem; }
.related-posts .card--compact .card-title { font-size: .98rem; margin-bottom: .35rem; }
.related-posts .card--compact .card-meta { font-size: .71rem; }

/* --------------------------------------------------------------- FAQ */
.faq-section { margin-top: clamp(2rem, 4vw, 3rem); }
.faq-list { display: grid; gap: .8rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: .95rem;
  font-weight: 700;
  color: var(--muted);
  transition: transform .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--primary); border-color: var(--primary); }
.faq-item summary:hover { color: var(--primary); }
.faq-answer { padding: 0 1.2rem 1.1rem; }
.faq-answer p { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--text-soft); }

/* --------------------------------------------------------------- comments */
.comments { margin-top: clamp(2rem, 4vw, 3rem); }
.comment-list, .comment-children { list-style: none; margin: 0; padding: 0; }
.comment {
  display: flex;
  gap: .8rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.comment-body { flex: 1; min-width: 0; }
.comment-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .6rem; margin-bottom: .25rem; }
.comment-head strong { font-size: .88rem; }
.comment-head time { font-size: .72rem; color: var(--muted); }
.comment-to { display: inline-flex; align-items: center; gap: .22rem; font-size: .72rem; color: var(--muted); }
.comment-to span { color: var(--text-soft); font-weight: 600; }
.comment-to svg { width: 12px; height: 12px; color: var(--primary); opacity: .85; }
.comment-body p { margin: 0; font-size: .9rem; color: var(--text-soft); }
.comment-actions { margin-top: .4rem; }
.comment-reply-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .15rem 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: .76rem;
  font-weight: 600;
  cursor: pointer;
  transition: color .15s var(--ease);
}
.comment-reply-btn svg { width: 13px; height: 13px; }
.comment-reply-btn:hover, .comment-reply-btn[aria-expanded="true"] { color: var(--primary); }
.comment-reply-slot {
  margin-top: .8rem;
  padding: .95rem 1.05rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.comment-reply-slot .comment-reply-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .35rem .8rem;
  margin: 0 0 .75rem;
  font-size: .8rem;
  color: var(--muted);
}
.comment-reply-slot .comment-reply-context > span { display: inline-flex; align-items: center; gap: .35rem; }
.comment-reply-slot .comment-reply-context strong { color: var(--text); }
.comment-reply-context svg { color: var(--primary); }
.comment-reply-cancel {
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary);
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.comment-reply-slot .comment-reply-form > label { font-size: .82rem; }
.comment-reply-slot textarea { font-size: .9rem; }
.comment-reply-slot .btn { padding: .5rem .95rem; font-size: .85rem; }
.comment-children { margin-top: .6rem; padding-left: .4rem; border-left: 2px solid var(--border); }
.comment-children .comment { border-bottom: 0; padding: .6rem 0 .6rem .8rem; }
.comment-children .comment-children { padding-left: .2rem; }

/* ------------------------------------------------- yorum yapan oturum çubuğu */
.comment-as {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-soft), var(--surface-2));
}
.comment-as-body { display: flex; /*flex-wrap: wrap;*/ align-items: baseline; gap: .25rem .6rem; }
.comment-as-body strong { font-size: .9rem; }
.comment-as-sub { font-size: .76rem; color: var(--text-soft); flex-basis: 100%; }
.comment-as-logout { padding: .22rem .55rem; font-size: .72rem; }
.comment-badge {
  display: inline-flex;
  align-items: center;
  padding: .08rem .45rem;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid var(--border);
  font-size: .68rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.comments-empty, .comments-closed { font-size: .9rem; color: var(--muted); }

.comment-form-wrap {
  margin-top: 1.8rem;
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.comment-form-wrap h3 { margin-bottom: .3rem; }

/* ------------------------------------------------------------------ forms */
.stack-form { display: grid; gap: .9rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.stack-form label, .contact-form-card label {
  display: grid;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-soft);
}
input[type="text"], input[type="email"], input[type="search"], input[type="url"],
input[type="password"], input[type="tel"], input[type="number"], textarea, select {
  width: 100%;
  padding: .68rem .85rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: .92rem;
  font-weight: 400;
  outline: none;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
textarea { resize: vertical; min-height: 7rem; }
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
input::placeholder, textarea::placeholder { color: var(--muted); }

.form-note { margin: 0; font-size: .76rem; color: var(--muted); }
.form-note--small { font-size: .72rem; }
.form-note a { color: var(--primary); text-decoration: underline; }

.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* captcha widgets are injected inline by Captcha::widget() */
.captcha-wrap { margin: .2rem 0; }
.captcha-wrap:empty { display: none; }

.alert {
  padding: .8rem 1rem;
  border-radius: 10px;
  font-size: .87rem;
  border: 1px solid var(--border);
  background: var(--surface);
}
.alert-success { border-color: #9ac7a4; background: rgba(80, 160, 100, .12); }
.alert-error { border-color: #d99a90; background: rgba(194, 59, 34, .12); }
.alert-info { border-color: #93b4d4; background: rgba(70, 130, 180, .12); }
.flash-stack { display: grid; gap: .5rem; padding-top: 1rem; }

/* -------------------------------------------------------------- newsletter */
.newsletter-form { display: grid; gap: .5rem; }
.newsletter-fields { display: flex; gap: .5rem; }
.newsletter-fields input { flex: 1; min-width: 0; }
.newsletter-fields .btn { flex: none; }
.newsletter-form .form-note { font-size: .72rem; }

.newsletter-band {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.newsletter-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.newsletter-copy h2 { margin-bottom: .4rem; }
.newsletter-copy p { margin: 0; color: var(--muted); }

/* ------------------------------------------------------------------ prose */
.prose { font-size: 1.02rem; line-height: 1.75; color: var(--text-soft); }
.prose > *:first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4 { color: var(--text); margin-top: 1.9em; margin-bottom: .6em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2 { font-size: 1.6rem; }
.prose h3 { font-size: 1.28rem; }
.prose p { margin-bottom: 1.2em; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--primary-strong); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { margin-bottom: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose blockquote {
  margin: 1.5em 0;
  padding: .8rem 0 .8rem 1.3rem;
  border-left: 3px solid var(--primary);
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
}
.prose blockquote p:last-child { margin: 0; }
.prose img { border-radius: var(--radius-sm); margin: 1.2em auto; }
.prose figure { margin: 1.5em 0; }
.prose figure img { margin: 0 auto; }
.prose figcaption { margin-top: .5rem; font-size: .78rem; color: var(--muted); text-align: center; }
.prose hr { margin: 2.2em 0; }
.prose table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: collapse;
  font-size: .88rem;
}
.prose th, .prose td { padding: .55rem .7rem; border: 1px solid var(--border); text-align: left; }
.prose th { background: var(--surface-2); font-weight: 700; color: var(--text); }
.prose iframe, .prose video { max-width: 100%; border-radius: var(--radius-sm); }
.prose .gallery { max-width: 100%; }
.prose .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .6rem; }
.prose code, .prose pre { font-family: var(--font-mono); font-size: .88em; }
.prose code { padding: .12em .35em; background: var(--surface-2); border-radius: 4px; }
.prose pre {
  padding: 1rem 1.1rem;
  overflow-x: auto;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.prose pre code { padding: 0; background: none; }

/* Haber gövdesi: daha ferah okuma tipografisi */
.post-news .post-content {
  font-size: 1.13rem;
  line-height: 1.8;
}
.post-news .post-content p { margin-bottom: 1.32em; }
.post-news .post-content > p:first-of-type { color: var(--text); }
.post-news .post-content h2 {
  font-size: clamp(1.36rem, 1.15rem + .8vw, 1.68rem);
  margin-top: 2.1em;
  padding-top: 1em;
  border-top: 2px solid var(--border);
}
.post-news .post-content h3 { font-size: 1.24rem; margin-top: 1.8em; }
.post-news .post-content blockquote { font-size: 1.06rem; }
.post-tags-label { align-self: center; font-size: .8rem; font-weight: 700; color: var(--text); }

/* ------------------------------------------------------------------ pages */
.contact-intro { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.contact-page-layout {
  display: grid;
  /* col-lg-8 içerik (sol) + col-lg-4 iletişim paneli (sağ) */
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  padding-block: clamp(2rem, 4vw, 3.5rem) 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.contact-form-card {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(28, 27, 25, 0.03), 0 1px 3px rgba(28, 27, 25, 0.06);
}
.contact-form-card h2 { display: flex; align-items: center; gap: .5rem; font-size: clamp(1.25rem, 2.4vw, 1.5rem); letter-spacing: -.01em; }
.contact-side {
  padding: clamp(1.15rem, 2.5vw, 1.5rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(28, 27, 25, 0.03), 0 1px 3px rgba(28, 27, 25, 0.06);
  position: sticky;
  top: calc(var(--header-h) + 3.5rem);
  align-self: start;
}
.contact-side h3 { display: flex; align-items: center; gap: .5rem; font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.contact-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; font-size: .85rem; }
.contact-side li { display: flex; gap: .6rem; align-items: flex-start; }
.contact-side li svg { color: var(--primary); flex: none; margin-top: 2px; }
.contact-side li span { display: grid; }
.contact-side strong { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact-note { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: .8rem; }
.contact-note p { margin: .3rem 0 0; color: var(--muted); }

/* ----------------------------------------------------------------- search */
.search-section { padding: clamp(1.8rem, 4vw, 3rem) 0 1rem; }
.search-section h1 { margin-bottom: 1rem; }
.search-form-large {
  display: flex;
  gap: .6rem;
  max-width: 620px;
}
.search-form-large input { flex: 1; min-width: 0; padding: .8rem 1rem; border-radius: 12px; }
.search-summary { margin-top: 1rem; font-size: .88rem; color: var(--muted); }

/* --------------------------------------------------------------- messages */
.message-page { padding: clamp(2rem, 5vw, 4rem) 0; }
.message-card {
  position: relative;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.message-card h1 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin-bottom: .5rem; }
.message-card > p { max-width: 52ch; margin: 0 auto 1.2rem; color: var(--muted); }
.message-icon {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: .8rem;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
}
.message-card .search-form-large { margin: 0 auto 1.2rem; }
.message-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.message-card.is-ok .message-icon { background: rgba(80, 160, 100, .16); color: #3c8a53; }
[data-theme="dark"] .message-card.is-ok .message-icon { color: #7bd096; }
.error-code {
  position: absolute;
  top: -1.2rem; right: 1rem;
  font-family: var(--font-serif);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  opacity: .08;
  pointer-events: none;
}

/* ------------------------------------------------------------------ empty */
.empty-state {
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  margin: clamp(1.5rem, 3vw, 2.5rem) auto;
}
.empty-state h2 { margin-bottom: .4rem; }
.empty-state p { color: var(--muted); margin-bottom: 1rem; }
.empty-actions { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; }

/* ---------------------------------------------------------------- sitemap */
.sitemap-body { padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem); }
.sitemap-block { margin-bottom: 2.2rem; }
.sitemap-block h2 {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.1rem;
}
.sitemap-cats, .sitemap-pages, .sitemap-posts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .15rem;
}
.sitemap-cats { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .4rem; }
.sitemap-cats li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .5rem .7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .88rem;
}
.sitemap-cats a { color: var(--text-soft); }
.sitemap-cats a:hover { color: var(--primary); }
.sitemap-posts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: .9rem;
}
.sitemap-posts time { flex: none; font-size: .74rem; color: var(--muted); }

/* ----------------------------------------------------------------- footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(2rem, 4vw, 3rem) 0 1.5rem;
}
.brand-footer { margin-bottom: .8rem; }
.footer-about p { font-size: .85rem; color: var(--muted); max-width: 34ch; }
.footer-col h3 {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .8rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .85rem; }
.footer-col a { color: var(--text-soft); }
.footer-col a:hover { color: var(--primary); }
.footer-contact li { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--muted); }
.footer-contact svg { flex: none; color: var(--primary); }
.footer-seo-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .9rem;
  font-size: .78rem;
  color: var(--muted);
}
.footer-seo-link:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .9rem 0 1.2rem;
  border-top: 1px solid var(--border);
  font-size: .76rem;
  color: var(--muted);
}
.footer-bottom p { margin: 0; }
.footer-note { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; color: var(--muted); opacity: 1; }
.footer-legal-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.footer-legal-link:hover { color: var(--primary); }

/* --------------------------------------------------------- floating / misc */
.back-to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-soft);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s, color .15s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { color: var(--primary); border-color: var(--primary); }

.consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.consent-banner[hidden] { display: none; }
.consent-inner {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 900px;
  padding: .9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: .82rem;
}
.consent-inner p { margin: 0; flex: 1 1 380px; color: var(--text-soft); }
.consent-inner a { color: var(--primary); text-decoration: underline; }
.consent-actions { display: flex; gap: .5rem; flex: none; }
.consent-actions .btn { padding: .5rem .9rem; font-size: .8rem; }

/* ------------------------------------------------------------------- modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  /*background: color-mix(in srgb, var(--bg) 72%, #000);*/
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-overlay[hidden] { display: none; }
.modal-card {
  width: min(520px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.4rem;
}
.modal-title { margin: 0 0 .9rem; font-size: 1.15rem; }
.modal-actions { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1.1rem; flex-wrap: wrap; }
.site-search-form { display: grid; gap: .2rem; }
.site-search-field {
  display: flex;
  align-items: center;
  gap: .55rem;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: .55rem .6rem .55rem .75rem;
}
.site-search-field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.site-search-field svg { flex: none; color: var(--muted); }
.site-search-field input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font-size: 1rem; padding: .35rem 0; outline: 0; }

/* --------------------------------------------------------------- header cta */
.header-cta-group { display: inline-flex; align-items: center; gap: .5rem; }
.header-cta { display: inline-flex; align-items: center; gap: .5rem; }
.header-search-btn { display: inline-flex; align-items: center; justify-content: center; padding: .55rem 1rem; }

/* AdSense / ad slots */
.ad-slot { margin: 1.5rem 0; text-align: center; }
.ad-slot:empty { display: none; }
.ad-slot ins { display: block; }

.is-copied { color: var(--primary) !important; }

/* -------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .post-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .post-aside { position: static; grid-row: 2; display: none; }
  .toc-mobile { display: block; margin-bottom: 1.2rem; }
  .post-body { max-width: none; }
  .page-layout { grid-template-columns: minmax(0, 1fr); }
  .page-layout .post-aside { position: static; grid-row: 2; display: none; }
  .related-posts .post-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newsletter-band-inner, .newsletter-inline { grid-template-columns: minmax(0, 1fr); }
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-page-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-page-layout .contact-side { position: static; }
}

@media (max-width: 820px) {
  :root { --header-h: 60px; }
  .topbar-tagline { display: none; }
  .menu-toggle { display: grid; }
  .header-inner { gap: .8rem; }
  .header-search { display: none; }
  .main-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .nav-inner { flex-direction: column; align-items: stretch; padding: .5rem 0; overflow: visible; }
  .main-nav a { padding: .75rem 1.2rem; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }
  .post-grid, .post-grid--4, .post-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-nav { grid-template-columns: minmax(0, 1fr); }
  .post-nav-next { text-align: left; }
  .post-nav-next span { justify-content: flex-start; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .topbar-login { padding: .3rem .5rem; }
  .topbar-login span { display: none; }
  .topbar-user-toggle { padding: .3rem .5rem; }
  .topbar-user-name { display: none; }
  .card--compact .card-media { width: 104px; }
  .post-grid, .post-grid--4, .post-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .hero-side { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .newsletter-fields { flex-direction: column; }
  .search-form-large { flex-direction: column; }
  .search-form-large .btn { justify-content: center; }
  .archive-title-row { flex-direction: column; align-items: flex-start; }
  .avatar-lg, .author-box .avatar-lg { width: 44px; height: 44px; }
  .author-box { flex-direction: column; }
  .consent-inner { flex-direction: column; align-items: stretch; }
  .consent-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .sitemap-posts li { flex-direction: column; gap: .1rem; }
  .message-actions .btn { flex: 1; }
}

/* --------------------------------------------------------------- a11y/motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .topbar, .site-header, .site-footer, .post-aside, .newsletter-band,
  .back-to-top, .consent-banner, .reading-progress, .related-posts,
  .comments, .post-share-bottom, .post-tags, .post-tools { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .post-layout { display: block; }
  .wrap { max-width: none; padding: 0; }
  a { text-decoration: underline; }
  .post-hero-img { max-height: 300px; object-fit: contain; }
}

/* ============================================================ sabit sayfalari: kadinfotografci.com /hakkimizda deseni */
.kf-page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 5.5vw, 4.75rem) clamp(2.25rem, 4.5vw, 3.75rem);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(900px 420px at 6% -12%, rgba(139, 30, 63, 0.11), transparent 62%),
    radial-gradient(720px 380px at 94% 6%, rgba(185, 74, 110, 0.09), transparent 60%),
    linear-gradient(180deg, #fdfbfc 0%, #faf7f9 58%, #ffffff 100%);
}
.kf-page-hero .wrap { position: relative; z-index: 1; }
.kf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.75rem;
  color: var(--muted);
}
.kf-page-hero-title {
  margin: 0.9rem 0 0;
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.kf-page-hero-lead {
  max-width: 68ch;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  line-height: 1.65;
}
.kf-section-sm { padding-block: clamp(2.5rem, 5vw, 5rem); }
.kf-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
.kf-article-main { min-width: 0; padding-bottom: 3rem; }
@media (max-width: 991.98px) {
  .kf-article-layout { grid-template-columns: minmax(0, 1fr); }
}
.kf-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(28, 27, 25, 0.03), 0 1px 3px rgba(28, 27, 25, 0.06);
  overflow: hidden;
}
.kf-article-card .kf-content { padding: clamp(1.5rem, 4vw, 3rem); }
.kf-content > :first-child { margin-top: 0; }
.kf-content > :last-child { margin-bottom: 0; }
.kf-content h2 {
  color: var(--text);
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
}
.kf-content h3 {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}
.kf-content p, .kf-content ul, .kf-content ol, .kf-content blockquote { margin-bottom: 1rem; }
.kf-content ul, .kf-content ol { padding-left: 1.25rem; }
.kf-content li { margin-bottom: 0.4rem; }
.kf-content a { color: var(--primary); }

/* Sol sütun: yazi icerigi + paylasim + ilgili sayfalar */
.kf-article-main .post-share-bottom { max-width: 760px; margin-left: auto; margin-right: auto; width: 100%; }

/* Yan panel */
.kf-content-sidebar { display: flex; flex-direction: column; gap: 1.15rem; }
@media (min-width: 992px) {
  .kf-content-sidebar { position: sticky; top: 6rem; }
}
.kf-side-card {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(28, 27, 25, 0.03), 0 1px 3px rgba(28, 27, 25, 0.06);
}
.kf-side-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.7rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.kf-side-title svg { flex-shrink: 0; color: var(--primary); width: 16px; height: 16px; }
.kf-toc-list { display: flex; flex-direction: column; gap: 0.1rem; margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--border); }
.kf-toc-item a {
  display: block;
  margin-left: -2px;
  padding: 0.4rem 0.7rem;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.kf-toc-item a:hover, .kf-toc-item a:focus-visible { color: var(--primary); background: rgba(194, 59, 34, 0.05); outline: none; }
.kf-toc-item a.is-active { border-left-color: var(--primary); background: rgba(194, 59, 34, 0.07); color: var(--primary); font-weight: 600; }
.kf-toc-mobile { margin-bottom: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 1px 2px rgba(28, 27, 25, 0.03), 0 1px 3px rgba(28, 27, 25, 0.06); overflow: hidden; }
.kf-toc-mobile summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 1.15rem;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.kf-toc-mobile summary::-webkit-details-marker { display: none; }
.kf-toc-mobile summary svg { color: var(--primary); flex-shrink: 0; }
.kf-toc-mobile summary .kf-toc-caret { margin-left: auto; color: var(--muted); transition: transform 0.2s ease; }
.kf-toc-mobile[open] .kf-toc-caret { transform: rotate(180deg); }
.kf-toc-mobile .kf-toc-nav { padding: 0 1.15rem 1.1rem; }
@media (min-width: 992px) { .kf-toc-mobile { display: none; } }
@media (max-width: 991.98px) { .kf-content-sidebar .kf-side-toc { display: none; } }
.kf-side-cta { border: 0; background: linear-gradient(135deg, var(--primary) 0%, #b94a6e 100%); color: #fff; box-shadow: 0 10px 40px -10px rgba(28, 27, 25, 0.35); }
.kf-side-cta-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; margin-bottom: 0.55rem; border-radius: 50%; background: rgba(255, 255, 255, 0.18); color: #fff; }
.kf-side-cta .kf-side-title, .kf-side-cta p { color: #fff; }
.kf-side-cta .kf-side-title svg { color: rgba(255, 255, 255, 0.85); }
.kf-side-cta p { margin-bottom: 0.85rem; font-size: 0.92rem; line-height: 1.6; opacity: 0.94; }
.kf-side-cta .btn-accent { width: 100%; justify-content: center; padding: 0.65rem 0.9rem; background: #fff; color: var(--primary-strong); font-size: 0.92rem; }
.kf-side-cta .btn-accent:hover { background: #fff; color: var(--primary-strong); box-shadow: 0 8px 24px rgba(31, 31, 35, 0.18); }

/* Ilgili sayfalar */
.kf-article-related { padding-top: 2rem; border-top: 1px solid var(--border); margin-top: 2rem; }
.kf-article-related .kf-subheading { font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.kf-related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.kf-related-link svg { flex-shrink: 0; width: 14px; height: 14px; opacity: 0.5; transition: transform 0.15s ease, opacity 0.15s ease; }
.kf-related-link:hover, .kf-related-link:focus-visible { border-color: rgba(194, 59, 34, 0.35); background: rgba(194, 59, 34, 0.04); color: var(--primary); outline: none; }
.kf-related-link:hover svg, .kf-related-link:focus-visible svg { opacity: 1; transform: translateX(2px); }

/* --------------------------------------------------------------------------
   Sabit sayfa ince ayarlari (Bootstrap karsiliklari + karanlik tema)
   -------------------------------------------------------------------------- */
.kf-page-hero .breadcrumb {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.kf-page-hero .post-tools {
  margin: 1.75rem 0 0;
  padding: 0;
  border-bottom: 0;
}
.kf-page-hero .kf-eyebrow { display: inline-flex; }
.kf-page-hero .kf-eyebrow + .kf-page-hero-title { margin-top: .85rem; }

[data-theme="dark"] .kf-page-hero {
  background:
    radial-gradient(900px 420px at 6% -12%, rgba(226, 96, 74, 0.16), transparent 62%),
    radial-gradient(720px 380px at 94% 6%, rgba(185, 74, 110, 0.12), transparent 60%),
    linear-gradient(180deg, #1b1a18 0%, #171615 58%, var(--bg) 100%);
}

/* Icerik tipografisi */
.kf-content {
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}
.kf-content h2,
.kf-content h3,
.kf-content h4 {
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.kf-content h2 { line-height: 1.3; }
.kf-content strong { color: var(--text); }
.kf-content li > p { margin-bottom: .4rem; }
.kf-content li > p:last-child { margin-bottom: 0; }
.kf-content blockquote {
  margin: 1.4rem 0;
  padding: .9rem 1.15rem;
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface-2);
  color: var(--text-soft);
}
.kf-content img,
.kf-content figure img { border-radius: var(--radius-sm); }
.kf-content figure { margin: 1.5rem 0; }
.kf-content figcaption { margin-top: .5rem; font-size: .8rem; color: var(--muted); }
.kf-content hr { margin: 2rem 0; }

/* Paylasim satiri */
.kf-article-share {
  max-width: 100%;
  margin-top: 1.5rem;
}
.kf-article-share .post-share-bottom {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

/* Yan panel */
.kf-article-side { min-width: 0; }
.kf-side-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.kf-toc-level-3 a { padding-left: 1.55rem; font-size: .87rem; }
.kf-side-cta-btn { text-decoration: none; }

/* Ilgili sayfalar */
.kf-article-related .kf-eyebrow { display: block; margin-bottom: .45rem; }
.kf-article-related .kf-subheading {
  margin: 0 0 1.15rem;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
}
.kf-article-related--page {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
}
.kf-related-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .75rem;
}
@media (min-width: 576px) {
  .kf-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
  .kf-toc-mobile { display: block; }
  .kf-side-toc { display: none; }
  .kf-content-sidebar { position: static; }
}
