/* Eksen Haber — bölgesel haber portalı indeksi.
   Ritim: beyaz zemin, kategori şeridi, büyük manşet, küçük görsel+liste.
   Marka özgün (şarap/altın, kalkan). gazi.io / Habertürk / malatyanethaber varlıkları kopya değil. */
:root {
  --page: #f0f2f5;
  --sheet: #fff;
  --ink: #1c1c1c;
  --muted: #667;
  --line: #e6e8eb;
  --wine: #8e1c2a;
  --wine-d: #5c121c;
  --gold: #c9a227;
  --gold-b: #e2b84a;
  --nav: #8e1c2a;
  --ticker: #5c121c;
  --link: #8e1c2a;
  --sky-w: 120px;
  --max: 1180px;
  --sans: "IBM Plex Sans", "Segoe UI", Tahoma, sans-serif;
  --serif: "IBM Plex Serif", Georgia, serif;
  --harbor: #2a4a58;
  --field: #3f5340;
  --stone: #6a6258;
  --night: #1c2430;
  --gold-tone: #8a6a32;
  --steel: #3d4c58;
  --olive: #44513a;
  --ink-photo: #2b2620;
  --theater: #5c2e2a;
  --court: #4a3f55;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  overflow-x: clip;
  min-width: 0;
}

a { color: inherit; text-decoration: none; }
a:hover h2,
a:hover h3,
a:hover strong,
.menu a:hover,
.folio-bar a:hover,
.read a:hover,
.list-news a:hover,
.authors a:hover,
.foot a:hover { color: var(--link); }

h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.25; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
button, input { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.skip {
  position: absolute;
  left: 8px;
  top: -40px;
  z-index: 40;
  padding: 6px 10px;
  background: var(--wine);
  color: #fff;
}
.skip:focus { top: 8px; }

.sky { display: none; }

.shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.page {
  width: 100%;
  min-width: 0;
  max-width: var(--max);
  margin: 0 auto;
  background: var(--sheet);
  min-height: 100vh;
  box-shadow: 0 0 0 1px var(--line);
}

.folio-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.folio-bar__links { display: flex; flex-wrap: wrap; gap: 12px; }
.folio-bar__edition { font-weight: 600; }

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
}

.nameplate {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  background: var(--gold-b);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 55% 100%, 0 70%);
}
.brand__mark--img {
  clip-path: none;
  background: transparent;
  width: auto;
  height: 36px;
  max-width: 168px;
}
.brand__mark--img img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
}
.brand--foot .brand__mark--img,
.brand--foot .brand__mark--img img {
  height: 28px;
  max-width: 140px;
}
.nameplate__type {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nameplate__type strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
}
.nameplate__type small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine);
}

.search input {
  width: min(220px, 42vw);
  border: 1px solid var(--line);
  padding: 7px 10px;
  font-size: 13px;
  background: #fafafa;
}

.mast {
  background: var(--nav);
  color: #fff;
}
.burger {
  display: block;
  margin: 8px 16px 8px auto;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}
.menu {
  display: none;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 8px 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.mast.is-open .menu { display: flex; }
.menu a {
  padding: 10px 12px;
  color: #fff;
}
.menu a:hover,
.menu__home { color: var(--gold-b); }

.flash {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--ticker);
  color: #fff;
}
.flash__kicker {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: var(--wine);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.flash__track { display: flex; flex: 1; overflow: hidden; }
.flash__run {
  display: flex;
  flex-shrink: 0;
  gap: 28px;
  align-items: center;
  padding: 0 16px;
  animation: tick 36s linear infinite;
  white-space: nowrap;
  font-size: 13px;
}
.flash__run time {
  color: var(--gold-b);
  font-weight: 700;
  margin-right: 6px;
}
.flash:hover .flash__run { animation-play-state: paused; }
@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

main { padding: 12px 12px 36px; }

.kicker {
  display: block;
  color: var(--wine);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.sec-title {
  margin: 0 0 12px;
  padding: 8px 0 8px 10px;
  border-left: 4px solid var(--wine);
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sec-title--page { font-size: 1.4rem; margin-bottom: 16px; }

.thumb {
  margin: 0 0 8px;
  aspect-ratio: 16 / 9;
  background: var(--stone);
}
.thumb--sm {
  width: 96px;
  flex: 0 0 96px;
  margin: 0;
  aspect-ratio: 16 / 10;
}
.thumb--sq { aspect-ratio: 1; }
.thumb[data-tone="harbor"], .cover[data-tone="harbor"], .hero__slide[data-tone="harbor"], .avatar[data-tone="harbor"] { background: var(--harbor); }
.thumb[data-tone="field"], .cover[data-tone="field"], .hero__slide[data-tone="field"], .avatar[data-tone="field"] { background: var(--field); }
.thumb[data-tone="stone"], .cover[data-tone="stone"], .hero__slide[data-tone="stone"] { background: var(--stone); }
.thumb[data-tone="night"], .cover[data-tone="night"], .hero__slide[data-tone="night"] { background: var(--night); }
.thumb[data-tone="gold"], .cover[data-tone="gold"], .hero__slide[data-tone="gold"], .avatar[data-tone="gold"] { background: var(--gold-tone); }
.thumb[data-tone="court"], .cover[data-tone="court"], .hero__slide[data-tone="court"], .avatar[data-tone="court"] { background: var(--court); }
.thumb[data-tone="steel"], .hero__slide[data-tone="steel"] { background: var(--steel); }
.thumb[data-tone="olive"] { background: var(--olive); }
.thumb[data-tone="theater"] { background: var(--theater); }
.thumb[data-tone="ink"], .cover[data-tone="ink"] { background: var(--ink-photo); }

.stage-hero {
  display: grid;
  gap: 12px;
}

.hero { position: relative; }
.hero__slide {
  display: none;
  position: relative;
  min-height: 240px;
  overflow: hidden;
  color: #fff;
}
.hero__slide.is-on { display: block; }
.hero__media {
  position: absolute;
  inset: 0;
  background: inherit;
}
.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20, 8, 10, 0.88) 100%);
}
.hero__copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
}
.hero__copy .kicker { color: var(--gold-b); }
.hero__copy h2 {
  font-size: clamp(1.2rem, 3vw, 1.85rem);
  color: #fff;
}
.hero__dots {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  gap: 4px;
}
.hero__dots button {
  min-width: 26px;
  height: 26px;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.hero__dots button.is-on { background: var(--wine); }

.hero-stack a {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.hero-stack a:last-child { border-bottom: 0; }
.hero-stack strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}
.meta { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cards h3 { font-size: 14px; }
.strip, .kare, .authors, .world { margin-top: 22px; }

.split, .twin {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.list-news li + li { margin-top: 10px; }
.list-news a {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
}
.list-news--page li + li { margin-top: 14px; }
.list-news--page em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.read ol { counter-reset: n; }
.read li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  line-height: 1.3;
}
.read li::before {
  counter-increment: n;
  content: counter(n);
  min-width: 1.4rem;
  color: var(--wine);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.authors__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.authors article {
  text-align: center;
  padding: 12px 8px;
  border: 1px solid var(--line);
}
.avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 8px;
  border-radius: 50%;
}
.authors h3 { margin-bottom: 6px; font-size: 14px; }
.authors a { font-size: 13px; color: #333; }

.ad-band { margin: 10px 12px; min-width: 0; }
.ad-band--rail { margin: 16px 0; }
.ad-band--foot { margin: 16px 0 0; }
.ad-slot {
  background: transparent;
  border: 1px dashed #d5d8dc;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.ad-slot--header,
.ad-slot--rail,
.ad-slot--footer { min-height: 56px; }
.ad-slot--sky {
  width: 100%;
  max-width: var(--sky-w);
  min-height: 0;
  max-height: 400px;
}
.ad-slot--article { min-height: 0; margin: 16px 0; max-width: 300px; }
.ad-ph {
  width: 100%;
  color: #8b9098;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 10px;
  text-align: center;
  background: repeating-linear-gradient(
    -45deg,
    #f4f5f7,
    #f4f5f7 8px,
    #eef0f3 8px,
    #eef0f3 16px
  );
}
.ad-slot--sky .ad-ph { min-height: 160px; padding: 24px 8px; }
.ad-slider {
  position: relative;
  width: 100%;
  min-width: 0;
}
.ad-slide { display: none; }
.ad-slide.is-on { display: block; }
.ad-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90px;
  object-fit: contain;
  background: #f7f7f8;
}
.ad-slot--sky .ad-slide img { max-height: 400px; }
.ad-slot--article .ad-slide img { max-height: 250px; }
.ad-slider__nav {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: flex;
  gap: 4px;
}
.ad-slider__nav button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
}
.ad-slider__nav button.is-on { background: var(--wine); }
.ad-unit { max-width: 100%; }

.cover {
  display: block;
  min-height: 160px;
  background: var(--harbor);
}
.cover--lg, .story__hero { min-height: 200px; aspect-ratio: 16 / 8; }

.story-wrap {
  display: grid;
  gap: 24px;
}
.story { max-width: 44rem; }
.story h1 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 8px 0 12px;
}
.dek { font-size: 1.08rem; color: #333; margin-bottom: 12px; }
.byline, .copy-line { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.kicker-line {
  color: var(--wine);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
}
.prose p { margin: 0 0 1em; }
.cite-box {
  margin: 24px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--wine);
  background: #f7f1e8;
}
.cite-box a { font-weight: 700; text-decoration: underline; }
.story-rail li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; }

.legal { max-width: 42rem; padding: 8px 4px 40px; }
.legal h1 { margin: 8px 0 16px; }
.legal h2 { margin: 20px 0 8px; font-size: 1.1rem; }
.legal p, .legal li, .legal dd { margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 1.2rem; }
.legal dt { font-weight: 700; margin-top: 12px; }
.legal--kunye { max-width: 48rem; }
.kunye-table {
  width: 100%;
  border-collapse: collapse;
  margin: 4px 0 28px;
}
.kunye-table th,
.kunye-table td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
}
.kunye-table th {
  width: 42%;
  font-weight: 700;
  background: #f7f1e8;
  color: #2a1c1c;
}
.kunye-table td { background: #fff; }
.kunye-about p { margin-bottom: 14px; line-height: 1.65; }
.kunye-map { margin: 20px 0; border: 1px solid var(--line); }
.kunye-map iframe { display: block; border: 0; width: 100%; height: 280px; }
.legal-form { display: grid; gap: 12px; margin-top: 16px; max-width: 100%; }
.legal-form label, .legal-form input, .legal-form textarea { display: block; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.legal-form input, .legal-form textarea { border: 1px solid var(--line); padding: 8px; }
.legal-form button {
  justify-self: start;
  border: 0;
  background: var(--wine);
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}
.flash-ok { padding: 10px 12px; background: #e8f5e9; color: #1b5e20; }
.flash-err { padding: 10px 12px; background: #fdecea; color: #8a1f11; }

.cat-head { margin-bottom: 8px; }

.miss { max-width: 36rem; padding: 24px 8px 48px; }
.miss__code {
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--wine);
  line-height: 1;
}
.miss__back {
  display: inline-block;
  margin-top: 16px;
  background: var(--wine);
  color: #fff;
  padding: 8px 14px;
  font-weight: 700;
}
.empty { color: var(--muted); }

.foot {
  padding: 24px 16px 28px;
  background: var(--wine-d);
  color: #d7c8c4;
  font-size: 13px;
}
.foot__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand--foot { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand--foot small { color: #c9b4b0; letter-spacing: 0.12em; text-transform: uppercase; font-size: 10px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 12px; }
.foot a { color: #fff; font-weight: 600; }
.foot__note { font-size: 11px; color: #9a8884; margin: 12px 0; }

.legal,
.miss,
.story { min-width: 0; }

img { max-width: 100%; height: auto; }

.cookie {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--wine-d) 94%, transparent);
  color: #fff;
  font-size: 13px;
}
.cookie.is-off { display: none; }
.cookie a { text-decoration: underline; }
.cookie button {
  border: 0;
  background: var(--gold-b);
  color: var(--wine-d);
  padding: 8px 16px;
  font-weight: 700;
  cursor: pointer;
}

.site-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 28, 0.45);
  display: grid;
  place-items: center;
  z-index: 40;
  padding: 16px;
}
.site-overlay[hidden] { display: none; }
.site-overlay__box {
  background: #fff;
  max-width: 28rem;
  width: 100%;
  padding: 20px;
  border: 1px solid var(--line);
}
.site-overlay__box h2 { margin: 0 0 8px; font-size: 1.1rem; }
.site-overlay__box button {
  margin-top: 12px;
  border: 0;
  background: var(--wine);
  color: #fff;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 759px) {
  .sky { display: none !important; }
  .burger,
  .menu a,
  .folio-bar a,
  .cookie button,
  .legal-form button,
  .miss__back,
  .search input {
    min-height: 44px;
  }
  .menu a {
    display: flex;
    align-items: center;
  }
  .ad-slide img { max-height: 56px; }
  .ad-slot--article .ad-slide img { max-height: 160px; }
  .ad-slot--header,
  .ad-slot--rail,
  .ad-slot--footer { min-height: 48px; }
  .cards,
  .cards--4,
  .cards--3 { grid-template-columns: 1fr 1fr; }
  .brand-row { flex-wrap: wrap; }
  .search input { width: min(100%, 16rem); }
}

@media (min-width: 760px) {
  .burger { display: none; }
  .menu {
    display: flex;
    padding: 0 8px;
    justify-content: flex-start;
  }
  .stage-hero { grid-template-columns: 1.7fr 1fr; }
  .hero__slide { min-height: 340px; }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.6fr 1fr; }
  .twin { grid-template-columns: 1fr 1fr; }
  .authors__grid { grid-template-columns: repeat(4, 1fr); }
  .story-wrap { grid-template-columns: minmax(0, 1fr) 16rem; align-items: start; }
}

@media (min-width: 760px) and (max-width: 1439px) {
  .sky { display: none !important; }
}

@media (min-width: 1440px) {
  .shell {
    width: min(100%, calc(var(--max) + 2 * var(--sky-w) + 48px));
    grid-template-columns: var(--sky-w) minmax(0, 1fr) var(--sky-w);
    gap: 12px;
    padding: 12px 12px 0;
    align-items: start;
  }
  .sky {
    display: block;
    position: sticky;
    top: 12px;
    width: 100%;
    max-width: var(--sky-w);
    min-width: 0;
  }
  .page {
    width: 100%;
    max-width: var(--max);
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flash__run { animation: none; }
}
