/* ===== Kategori sayfası — anasayfa ile aynı max-width + gutter ===== */
.kat-page {
  background: oklch(98% 0.003 250);
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}
/* Piyasa bandı: home-top ile aynı yatay hizalama */
.page-top-stack {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 20px var(--gutter) 0;
  box-sizing: border-box;
}
.page-top-stack .page-market-band.home-below-hero {
  margin: 0;
  padding: 0;
  max-width: 100%;
}
.kat-shell {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  box-sizing: border-box;
}
.kat-page .container.kat-pagewrap {
  max-width: 100%;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}
.kat-pagewrap { padding: 28px 0 44px; }

.kat-leaderboard {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
  max-width: 100%;
  overflow: hidden;
}
.kat-leaderboard .ad-slot {
  width: 970px;
  max-width: 100%;
  aspect-ratio: 970/250;
  height: auto;
}

/* Sub-nav */
.kat-subnav {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid oklch(91% 0.006 250);
  border-bottom: 1px solid oklch(91% 0.006 250);
  padding: 12px 0;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.kat-subnav-l { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.kat-tab {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.kat-tab:hover { background: oklch(96% 0.005 250); color: var(--ink); }
.kat-tab.active { background: var(--ink); color: #fff; }
.kat-tab-more { letter-spacing: 0.1em; font-size: 18px; padding: 4px 12px; }

/* Hero / article row layout */
.kat-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  margin-bottom: 24px;
  align-items: start;
}
.kat-row-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  margin-bottom: 24px;
  align-items: start;
}

.kat-hero-head {
  display: flex; align-items: end; gap: 18px;
  border-bottom: 1px solid oklch(91% 0.006 250);
  margin-bottom: 18px;
  padding-bottom: 10px;
}
.kat-section-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.022em;
  margin: 0;
  position: relative;
  padding-bottom: 6px;
}
.kat-section-title::after {
  content: "";
  position: absolute; left: 0; bottom: -10px;
  width: 36px; height: 3px;
  background: var(--accent);
}
.kat-tab-print {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-3);
}

/* Story card */
.kat-card {
  background: #fff;
  border: 1px solid oklch(91% 0.006 250);
  border-radius: 10px;
  padding: 20px 22px 22px;
  margin-bottom: 0;
  min-width: 0;
}
.kat-card-large {}
.kat-cat { margin-bottom: 14px; }
.kat-cat-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.018em;
  color: var(--ink);
  position: relative;
  padding-bottom: 5px;
}
.kat-cat-label::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 3px;
  background: var(--accent); border-radius: 2px;
}

.kat-card-media {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  margin-bottom: 12px;
  aspect-ratio: var(--img-ratio-card);
}
.kat-card-large .kat-card-media { aspect-ratio: var(--img-ratio-card); }
.kat-card-img {
  position: absolute !important; inset: 0; width: 100%; height: 100%;
  aspect-ratio: auto !important;
}
.kat-duration {
  position: absolute; top: 12px; left: 14px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(0,0,0,0.35);
  padding: 2px 6px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.kat-actions {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 4px 0 10px;
}
.kat-time {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.kat-card-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -0.022em;
  margin: 0 0 12px;
}
.kat-card-large .kat-card-title { font-size: 26px; }
.kat-card-title a { color: var(--ink); transition: color .15s; }
.kat-card-title a:hover { color: var(--accent); }
.kat-card-body {
  display: block !important;
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: oklch(28% 0.014 260);
  margin: 0;
}

/* 2-column rows */
.kat-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
  align-items: stretch;
}

/* In-feed ad */
.kat-infeed-ad {
  display: flex;
  justify-content: center;
  margin: 4px 0 24px;
  max-width: 100%;
  overflow: hidden;
}
.kat-infeed-ad .ad-slot {
  width: 970px;
  max-width: 100%;
  aspect-ratio: 970/250;
  height: auto;
}

/* === Sponsor Widgets (Lokma, skyroad, Mecra style) === */
.sw {
  background: #fff;
  border: 1px solid oklch(91% 0.006 250);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sw-head {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid oklch(94% 0.006 250);
  overflow: hidden;
}
.sw-logo-lokma {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  z-index: 2;
  position: relative;
}
.sw-logo-skyroad {
  font-family: var(--font-sans);
  font-weight: 800;
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.025em;
  z-index: 2;
  position: relative;
}
.sw-logo-sky { color: oklch(72% 0.18 70); }
.sw-logo-road { color: var(--ink); }

.sw-illu {
  position: absolute;
  inset: 0 0 0 45%;
  z-index: 1;
}
.sw-illu-lokma {
  background:
    radial-gradient(circle at 70% 60%, oklch(80% 0.14 50) 0 22px, transparent 23px),
    radial-gradient(circle at 88% 30%, oklch(70% 0.16 40) 0 16px, transparent 17px),
    linear-gradient(135deg, oklch(95% 0.05 70) 0%, oklch(88% 0.08 50) 100%);
  opacity: 0.4;
}
.sw-illu-skyroad {
  background:
    radial-gradient(circle at 75% 60%, oklch(60% 0.12 40) 0 14px, transparent 15px),
    radial-gradient(circle at 90% 25%, oklch(75% 0.18 70) 0 10px, transparent 11px),
    linear-gradient(135deg, oklch(88% 0.10 70) 0%, oklch(78% 0.14 50) 100%);
  opacity: 0.4;
}

.sw-items { list-style: none; margin: 0; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.sw-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border: 1px solid;
  border-radius: 8px;
  background: oklch(99% 0.005 70);
  transition: transform .15s, border-color .15s;
}
.sw-item:hover { transform: translateX(2px); }
.sw-thumb {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: var(--img-ratio-card);
  background: var(--bg-3);
  position: relative;
}
.sw-thumb-img {
  position: absolute !important; inset: 0; width: 100%; height: 100%;
  aspect-ratio: auto !important;
}
.sw-h {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.28;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sw-more {
  display: block;
  margin: 4px 12px 14px;
  color: var(--ink);
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.012em;
  padding: 12px 18px;
  border-radius: 999px;
  transition: filter .15s;
}
.sw-more:hover { filter: brightness(0.92); color: var(--ink); }

/* Mobile: duration badge — remove decorative blur */
@media (hover: none) {
  .kat-duration { backdrop-filter: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .kat-row, .kat-row-side { grid-template-columns: 1fr; }
  .kat-2col { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .page-top-stack {
    padding-top: 14px;
  }
  .kat-pagewrap { padding: 16px 0 24px; }
  .kat-tab { font-size: 13px; padding: 6px 10px; }
  .kat-section-title { font-size: 18px; }
  .kat-card { padding: 16px; }
  .kat-card-title { font-size: 18px; }
  .kat-card-large .kat-card-title { font-size: 22px; }
  .kat-card-body { font-size: 13.5px; }
  .sw-item { grid-template-columns: 90px 1fr; }
}

/* Teknoloji — cyan/mavi vurgu paleti */
.km-page--tech {
  --km-accent: #0ea5e9;
  --km-accent-deep: #0284c7;
  --km-accent-soft: oklch(96% 0.04 230);
}
.km-page--tech .km-main-head {
  border-bottom-color: oklch(88% 0.02 230);
}
.km-page--tech .km-section-title {
  position: relative;
  padding-bottom: 10px;
}
.km-page--tech .km-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 42px;
  height: 3px;
  background: var(--km-accent);
  border-radius: 2px;
}
.km-page--tech .km-card-tag {
  background: var(--km-accent-deep);
}
.km-page--tech .km-tab.is-on {
  background: var(--km-accent-deep);
}
.km-page--tech .km-slider-arr:focus-visible {
  outline-color: var(--km-accent);
}
.km-page--tech .km-dot.is-on {
  background: var(--km-accent);
}
.km-page--tech .km-card-more:hover {
  border-color: var(--km-accent);
  color: var(--km-accent-deep);
}
.km-page--tech .km-side-menu-link:hover,
.km-page--tech .km-side-menu-link.is-on {
  background: var(--km-accent-soft);
  color: var(--km-accent-deep);
}

/* ===== Magazine layout (ızgara + kenar çubuğu) ===== */
.km-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}
.km-main {
  min-width: 0;
}
.kat-leaderboard--foot {
  margin-top: 8px;
  margin-bottom: 0;
}
.km-page .kat-leaderboard:first-of-type {
  margin-bottom: 28px;
}
.km-main-head {
  border-bottom: 1px solid var(--line);
  margin-top: 0;
  margin-bottom: 20px;
  padding-top: 0;
  padding-bottom: 12px;
}
.km-section-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.06em;
  margin: 0;
  color: var(--ink);
}
.km-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* Spor — yatay liste (referans Category Layout 1) */
.km-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.km-list-card {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  gap: 22px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  align-items: start;
  min-width: 0;
}
.km-list-card:last-child { border-bottom: 0; }
.km-list-media {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: var(--img-ratio-card);
  background: #000;
}
.km-list-img,
.km-list-photo,
.km-list-photo .photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.km-list-photo.photo-slot { aspect-ratio: auto; height: 100%; }
.km-list-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: #e86b1a;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 2px;
  line-height: 1.2;
}
.km-list-body { min-width: 0; padding-top: 4px; }
.km-list-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.km-list-title a { color: var(--ink); }
.km-list-title a:hover { color: var(--accent-ink); }
.km-list-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.km-list-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.km-list-spot {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.km-featured-more {
  list-style: none;
  margin: 0;
  padding: 8px 10px 10px;
  border-top: 1px solid var(--line);
}
.km-featured-more .km-tabitem {
  padding: 10px 4px;
}
.km-tabauthor {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 4px;
}
.km-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.km-card-media {
  position: relative;
  display: block;
  aspect-ratio: var(--img-ratio-card);
  overflow: hidden;
}
.km-card-img,
.km-card-photo,
.km-card-photo .photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.km-card-photo.photo-slot { aspect-ratio: auto; height: 100%; }
.km-card-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--accent-2);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 3px;
}
.km-card-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  margin: 14px 16px 8px;
  letter-spacing: -0.015em;
}
.km-card-title a { color: var(--ink); }
.km-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 11px;
  color: var(--ink-3);
  margin: 0 16px 10px;
}
.km-meta-sep { opacity: 0.6; }
.km-card-spot {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 16px 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.km-card-more {
  margin: auto 16px 14px;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--line-2);
  padding: 6px 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.kat-standard-layout {
  margin-top: 0;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

/* Sidebar gizliyken ana kolon tam genişlik — .kat-standard-layout'dan sonra (özgüllük) */
.km-layout.km-layout--full,
.km-layout.kat-standard-layout.kat-standard-layout--full {
  grid-template-columns: minmax(0, 1fr);
}

.km-layout.km-layout--full .km-main,
.kat-standard-layout.kat-standard-layout--full .km-main {
  max-width: none;
  width: 100%;
}

.kat-standard-layout .km-side {
  position: static;
  top: auto;
  gap: 24px;
}

.kat-standard-layout .kat-trending {
  min-width: 0;
}

.kat-page-head {
  border-bottom: 1px solid oklch(91% 0.006 250);
  margin-bottom: 20px;
  padding-bottom: 14px;
}

.kat-page-head-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.kat-page-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.kat-page-rss {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: uppercase;
}

.kat-page-rss svg {
  color: oklch(72% 0.18 50);
}

.kat-page-lead {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.kat-page-accent {
  flex-shrink: 0;
  width: 36px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.kat-page-sub {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0;
}

/* Kategori manşet + grid — referans mockup (birebir) */
.kat-card-cat {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
}

.kat-card-cat-row {
  position: relative;
  padding-bottom: 7px;
  margin-bottom: 4px;
}

.kat-card-cat-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.kat-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.kat-card-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
}

.kat-card-actions {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.kat-card-actions .fs-iconbtn {
  width: 30px;
  height: 30px;
  color: var(--ink-3);
}

/* —— Manşet —— */
.kat-featured-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid oklch(91% 0.006 250);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}

.kat-featured-lead-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #000;
  overflow: hidden;
  min-height: 252px;
}

.kat-featured-lead-media .photo-slot,
.kat-featured-lead-photo {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: unset !important;
}

.kat-featured-lead-media .photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kat-featured-lead-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 100%;
  padding: 20px 22px 18px;
}

.kat-featured-lead-top {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.kat-featured-lead-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.28;
  letter-spacing: -0.018em;
  margin: 10px 0 0;
}

.kat-featured-lead-title a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s;
}

.kat-featured-lead-title a:hover {
  color: var(--accent);
}

.kat-featured-lead-sum {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.52;
  color: oklch(42% 0.012 265);
  margin: 10px 0 0;
  display: -webkit-box !important;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* —— Grid kart (2 sütun) —— */
.kat-grid-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid oklch(91% 0.006 250);
  border-radius: 10px;
  padding: 14px;
  min-width: 0;
  height: 100%;
}

.kat-grid-card-media {
  position: relative;
  display: block;
  width: 116px;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}

.kat-grid-card-media .photo-slot,
.kat-grid-card-photo {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: unset !important;
}

.kat-grid-card-media .photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kat-grid-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 116px;
  padding: 0;
}

.kat-grid-card-title {
  flex: 1;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.32;
  letter-spacing: -0.014em;
  margin: 6px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kat-grid-card-title a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s;
}

.kat-grid-card-title a:hover {
  color: var(--accent);
}

.kat-standard-layout .km-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

@media (max-width: 960px) {
  .kat-standard-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .kat-featured-lead {
    grid-template-columns: 1fr;
  }

  .kat-featured-lead-media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .kat-featured-lead-body {
    padding: 16px 18px 18px;
  }

  .kat-featured-lead-title {
    font-size: 20px;
  }

  .kat-grid-card {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .kat-grid-card-media {
    width: 100px;
  }

  .kat-grid-card-body {
    min-height: 100px;
    padding: 0;
  }

  .kat-grid-card-title {
    font-size: 15px;
    -webkit-line-clamp: 3;
  }
}

.km-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  position: sticky;
  top: calc(var(--header-h, 72px) + 16px);
  align-self: start;
}
.km-side > :first-child {
  margin-top: 0;
}
.km-widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.km-widget-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
/* Sidebar — borsa grafiği (anasayfa ForexChart) */
.km-market-chart {
  min-width: 0;
}
.km-market-chart .fx-card {
  border-radius: 10px;
  padding: 14px;
  gap: 12px;
}
.km-market-chart .fx-chart {
  height: 168px;
}
.km-market-chart .fx-stat-val {
  font-size: 17px;
}
.km-market-chart .fx-tab {
  font-size: 10px;
  letter-spacing: 0.02em;
}

.km-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
}
.km-soc {
  padding: 14px;
  border-radius: 8px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
}
.km-soc strong { font-size: 18px; font-weight: 800; }
.km-soc-rss { background: oklch(62% 0.18 55); }
.km-soc-fb { background: oklch(52% 0.14 260); }
.km-soc-tw { background: oklch(68% 0.12 220); }
.km-soc-yt { background: oklch(58% 0.22 25); }
.km-slider {
  display: flex;
  flex-direction: column;
}
.km-slider-viewport {
  position: relative;
  overflow: hidden;
}
.km-slider-media { display: block; position: relative; }
.km-slider-media img,
.km-slider-photo,
.km-slider-photo .photo-img { width: 100%; aspect-ratio: var(--img-ratio-card); object-fit: cover; display: block; }
.km-slider-photo.photo-slot { aspect-ratio: auto; }
.km-slider-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  pointer-events: none;
}
.km-slider-cap h3 {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.km-slider-cap span { font-size: 11px; opacity: 0.9; }
.km-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--line);
  background: oklch(98.5% 0.003 250);
}
.km-slider-arr {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.km-slider-arr:hover {
  border-color: var(--ink-3);
  box-shadow: 0 2px 8px rgba(15, 20, 35, 0.1);
}
.km-slider-arr:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.km-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex: 0 1 auto;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.km-dot {
  width: 6px;
  height: 6px;
  min-width: 6px;
  min-height: 6px;
  border-radius: 50%;
  border: 0;
  background: var(--line-2);
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s, background 0.15s;
}
.km-dot:hover { background: var(--ink-3); }
.km-dot.is-on {
  background: var(--accent);
  transform: scale(1.1);
}
.km-tabbar {
  display: flex;
  border-bottom: 1px solid var(--line);
}
.km-tab {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  cursor: pointer;
}
.km-tab.is-on {
  color: #fff;
  background: var(--accent);
}
.km-side-menu {
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  gap: 2px;
  border-bottom: 1px solid var(--line);
}
.km-side-menu-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 6px 8px;
  border-radius: 6px;
}
.km-side-menu-link:hover,
.km-side-menu-link.is-on {
  background: oklch(96% 0.02 25);
  color: var(--accent-ink);
}
.km-tablist { list-style: none; margin: 0; padding: 8px; }
.km-tabitem {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 10px 8px;
  border-bottom: 1px solid oklch(96% 0.004 250);
  align-items: start;
}
.km-tabitem:last-child { border-bottom: 0; }
.km-tabthumb img,
.km-tabphoto,
.km-tabphoto .photo-img {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.km-tabphoto.photo-slot { aspect-ratio: auto; width: 80px; height: 56px; }
.km-tabtitle {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}
.km-tabdate { display: block; font-size: 11px; color: var(--ink-3); margin-top: 4px; }

@media (max-width: 1100px) {
  .km-layout { grid-template-columns: 1fr; }
  .km-side { order: 2; position: static; top: auto; }
}
@media (max-width: 720px) {
  .km-grid { grid-template-columns: 1fr; }
  .km-list-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 16px;
  }
  .km-list-title { font-size: 17px; }
}
