/* =========================================================
   HAFANEWS — Public Site CSS
   Mobile-first, profesyonel spor haber tasarımı
   Palet: Lacivert #0B1E3D · Kırmızı #E63946 · Beyaz #FFFFFF
   ========================================================= */

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

:root {
  --navy:        #0B1E3D;
  --navy-mid:    #122849;
  --navy-light:  #1a3560;
  --red:         #E63946;
  --red-dark:    #c1121f;
  --white:       #ffffff;
  --off-white:   #f4f6f8;
  --gray-100:    #f0f2f5;
  --gray-200:    #e2e6ea;
  --gray-400:    #9aa3b0;
  --gray-600:    #5c6370;
  --gray-800:    #2d3340;
  --text:        #1a2030;
  --text-light:  #5c6370;
  --border:      #dde1e7;
  --radius:      8px;
  --radius-sm:   5px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,.12);
  --transition:  0.18s ease;
  --site-width:  1280px;
  --col-gap:     1.25rem;
}

html { font-size: 16px; scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--gray-100);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Layout kapsayıcı ───────────────────────────────────── */
.container {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1280px) { .container { padding: 0 2rem; } }

/* ─────────────────────────────────────────────────────────
   HEADER
   ───────────────────────────────────────────────────────── */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  transition: box-shadow .2s, background .2s;
  will-change: transform;
}
.site-header.scrolled {
  background: var(--navy-mid);
  box-shadow: 0 4px 20px rgba(0,0,0,.45);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: .5rem;
  min-width: 0;
}
@media (min-width: 768px) { .header-top { gap: 1rem; } }

/* Logo */
.site-logo {
  display: flex;
  align-items: baseline;
  gap: .15rem;
  flex-shrink: 0;
}
.logo-main {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
  font-style: italic;
}
@media (min-width: 768px) { .logo-main { font-size: 1.75rem; } }
.logo-accent { color: var(--red); }
.logo-sub {
  font-size: .65rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-left: .4rem;
  align-self: flex-end;
  padding-bottom: .1rem;
}

/* Desktop nav */
.header-nav { display: none; }
@media (min-width: 1024px) {
  .header-nav {
    display: flex;
    align-items: center;
    gap: .15rem;
  }
  .nav-link {
    padding: .45rem .85rem;
    font-size: .875rem;
    font-weight: 600;
    color: rgba(255,255,255,.75);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
  }
  .nav-link:hover,
  .nav-link.active { color: var(--white); background: rgba(255,255,255,.1); }
  .nav-link.active { border-bottom: 2px solid var(--red); border-radius: 0; }

  /* Ligler dropdown — yalnızca 1024px+ */
  .nav-dropdown { position: relative; }
  .nav-dropdown__btn {
    display: flex; align-items: center; gap: .3rem;
    cursor: pointer; background: none; border: none; font-family: inherit;
  }
  .nav-dropdown__btn svg { transition: transform .2s; flex-shrink: 0; }
  .nav-dropdown.open .nav-dropdown__btn svg { transform: rotate(180deg); }
  .nav-dropdown__menu {
    display: none;
    position: absolute;
    top: calc(100% + .35rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: var(--navy);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    z-index: 200;
    overflow: hidden;
  }
  .nav-dropdown.open .nav-dropdown__menu { display: block; }
  .nav-dropdown__item {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    font-size: .85rem;
    font-weight: 500;
    color: rgba(255,255,255,.8);
    white-space: nowrap;
    transition: background var(--transition), color var(--transition);
  }
  .nav-dropdown__item:hover { background: rgba(255,255,255,.1); color: var(--white); }
  .nav-dropdown__divider {
    height: 1px;
    background: rgba(255,255,255,.12);
    margin: .25rem 0;
  }
  .nav-dropdown__menu > .nav-dropdown__divider:first-child { display: none; }
}

/* Arama — desktop header */
.header-search { display: none; }
@media (min-width: 1024px) {
  .header-search { display: flex; align-items: center; gap: .5rem; }
}
.search-form { display: flex; }
.search-input {
  width: 0;
  padding: 0;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: var(--white);
  font-size: .875rem;
  transition: width .25s ease, padding .25s ease;
  outline: none;
}
.search-input::placeholder { color: rgba(255,255,255,.4); }
.search-input.open {
  width: 180px;
  padding: .4rem .7rem;
}
@media (min-width: 1024px) { .search-input.open { width: 220px; } }
.search-btn {
  padding: .4rem .65rem;
  background: var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--white);
  display: flex; align-items: center;
  transition: background var(--transition);
}
.search-btn:hover { background: var(--red-dark); }

/* Arama — mobil nav içi */
.mobile-search {
  padding: .75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-search__form {
  display: flex;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.mobile-search__input {
  flex: 1;
  min-width: 0;
  padding: .55rem .8rem;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: .9rem;
  font-family: inherit;
  outline: none;
}
.mobile-search__input::placeholder { color: rgba(255,255,255,.4); }
.mobile-search__btn {
  padding: 0 .75rem;
  background: var(--red);
  color: var(--white);
  display: flex; align-items: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.mobile-search__btn:hover { background: var(--red-dark); }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  min-width: 44px;
  min-height: 44px;
  color: var(--white);
  flex-shrink: 0;
  touch-action: manipulation;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
}
/* X ikonu: menü açıkken */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: .5rem 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  padding: .7rem 1.5rem;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color var(--transition), background var(--transition);
}
.mobile-nav-link:hover { color: var(--white); background: rgba(255,255,255,.06); }
.mobile-nav-link--sub { padding-left: 2.2rem; font-size: .85rem; font-weight: 500; }
.mobile-nav-heading {
  padding: .55rem 1.5rem .25rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ─────────────────────────────────────────────────────────
   SON DAKİKA ŞERİDİ (ticker)
   ───────────────────────────────────────────────────────── */
.breaking-bar {
  background: var(--red);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  contain: layout;
}
.breaking-label {
  background: var(--navy);
  color: var(--white);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-track {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}
.ticker-inner {
  display: flex;
  gap: 0;
  animation: ticker-scroll 40s linear infinite;
  will-change: transform;
}
.ticker-inner:hover { animation-play-state: paused; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 0 2rem 0 .5rem;
  white-space: nowrap;
  font-size: .8rem;
  font-weight: 600;
  color: var(--white);
}
.ticker-item::before {
  content: '●';
  font-size: .45rem;
  opacity: .7;
}
.ticker-item a { color: inherit; }
.ticker-item a:hover { text-decoration: underline; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────────────────────
   MAIN + SIDEBAR GRID
   ───────────────────────────────────────────────────────── */
.site-body {
  padding: 1.25rem 0 2rem;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--col-gap);
}
.content-grid > * { min-width: 0; overflow: hidden; }
@media (min-width: 1024px) {
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .content-grid > * { overflow: visible; }
}

/* ─────────────────────────────────────────────────────────
   HERO / MANŞET
   ───────────────────────────────────────────────────────── */
.hero-section { margin-bottom: var(--col-gap); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
@media (min-width: 640px) {
  .hero-grid {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
  }
  .hero-main { grid-row: 1 / 3; }
}

/* Büyük manşet kartı — slider container */
.hero-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  min-height: 340px;
  box-shadow: var(--shadow-md);
  user-select: none;
  touch-action: pan-y;
}
.hero-main__track {
  display: flex;
  height: 100%;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.hero-main__slide {
  flex: 0 0 100%;
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: inherit;
}
.hero-main__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.hero-main__slide:hover .hero-main__img { transform: scale(1.03); }
.hero-main__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,15,35,.92) 40%, rgba(5,15,35,.2) 100%);
}
.hero-main__body {
  position: relative;
  padding: 1.25rem 1.25rem 2.75rem;
}
.hero-main__cat {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .2rem .6rem;
  border-radius: 3px;
  margin-bottom: .6rem;
}
.hero-main__title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 640px) { .hero-main__title { font-size: 1.6rem; } }
.hero-main__meta { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: rgba(255,255,255,.6); }
.hero-main__source { font-weight: 600; color: rgba(255,255,255,.85); }

/* Slider ok tuşları */
.hero-main__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(5,15,35,.5);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background .2s;
}
.hero-main__btn:hover { background: rgba(5,15,35,.85); }
.hero-main__btn--prev { left: .5rem; }
.hero-main__btn--next { right: .5rem; }

/* Slider noktalar */
.hero-main__dots {
  position: absolute;
  bottom: .875rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .45rem;
  z-index: 10;
}
.hero-main__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background .25s, transform .25s;
  flex-shrink: 0;
}
.hero-main__dot.active {
  background: var(--white);
  transform: scale(1.4);
}

/* Yan manşet kartları */
.hero-sub {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-sm);
}
.hero-sub__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.hero-sub:hover .hero-sub__img { transform: scale(1.04); }
.hero-sub__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,15,35,.9) 35%, transparent 100%);
}
.hero-sub__body { position: relative; padding: .85rem .9rem; }
.hero-sub__cat {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: .6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .15rem .45rem;
  border-radius: 3px;
  margin-bottom: .4rem;
}
.hero-sub__title {
  font-size: .9rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─────────────────────────────────────────────────────────
   KATEGORİ BÖLÜMÜ
   ───────────────────────────────────────────────────────── */
.section { margin-bottom: 2.5rem; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--border);
  padding: .6rem 0 .6rem;
}
.section-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 1.2em;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-more {
  font-size: .75rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
  border: 1.5px solid var(--red);
  padding: .2rem .55rem;
  border-radius: 3px;
  transition: background .15s, color .15s;
}
.section-more:hover {
  background: var(--red);
  color: #fff;
}
.section-header--colored {
  border-top: none;
  border-bottom: none;
  border-radius: 5px;
  padding-left: .85rem;
  padding-right: .85rem;
}
.section-header--colored .section-title {
  color: #fff;
}
.section-header--colored .section-title::before {
  background: rgba(255,255,255,.6);
}
.section-header--colored .section-more {
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.section-header--colored .section-more:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
}

/* Haber kartı grid */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
@media (min-width: 480px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .news-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* Haber kartı */
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.news-card__img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray-200);
  flex-shrink: 0;
}
.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .4s ease;
}
.news-card:hover .news-card__img { transform: scale(1.05); }
.news-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-200);
}
.news-card__placeholder svg { opacity: .25; }
.news-card__body {
  padding: .875rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card__cat {
  display: inline-block;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--red);
  margin-bottom: .4rem;
}
.news-card__title {
  font-family: 'Russo One', sans-serif;
  font-size: .92rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.news-card__title:hover { color: var(--red); }
.news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: .5rem;
  border-top: 1px solid var(--gray-200);
}
.news-card__source {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: .3rem;
}
.source-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 2px;
}
.news-card__time { font-size: .7rem; color: var(--gray-400); }
.source-favicon { width: 13px; height: 13px; object-fit: contain; border-radius: 2px; flex-shrink: 0; }

/* Yatay scroll (mobil kategori şeridi) */
.scroll-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
@media (max-width: 639px) {
  .scroll-row {
    display: flex;
    overflow-x: auto;
    gap: .75rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: .5rem;
  }
  .scroll-row::-webkit-scrollbar { display: none; }
  .scroll-row .news-card {
    min-width: 260px;
    max-width: 80vw;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}
@media (min-width: 640px)  { .scroll-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  { .scroll-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .scroll-row { grid-template-columns: repeat(4, 1fr); } }

/* ─────────────────────────────────────────────────────────
   HABER DETAY SAYFASI
   ───────────────────────────────────────────────────────── */
.article-header { margin-bottom: 1.5rem; }
.article-cat {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .25rem .7rem;
  border-radius: 3px;
  margin-bottom: .75rem;
}
.article-title {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: .75rem;
}
@media (min-width: 768px) { .article-title { font-size: 2rem; } }
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .82rem;
  color: var(--gray-600);
  padding-bottom: .875rem;
  border-bottom: 1px solid var(--border);
}
.article-meta__source {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  color: var(--text);
}
.source-logo-lg {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 3px;
}

.article-figure {
  margin: 0 0 1.25rem;
}
.article-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius) var(--radius) 0 0;
  display: block;
  margin-bottom: 0;
}
.article-img-credit {
  font-size: .72rem;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: .3rem .65rem;
  border-radius: 0 0 var(--radius) var(--radius);
  text-align: right;
}

.article-summary {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--red);
  padding-left: 1.1rem;
}
.article-summary--short {
  min-height: 3.5rem;
}

.article-source-box {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
}
.btn-source {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--red);
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  padding: .75rem 1.75rem;
  border-radius: 6px;
  transition: background var(--transition), transform var(--transition);
}
.btn-source:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-source svg { flex-shrink: 0; }

/* İlgili haberler */
.related-section { margin-top: 2rem; }

/* ─────────────────────────────────────────────────────────
   KATEGORİ / TAKIM SAYFASI
   ───────────────────────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 2rem 0;
  margin-bottom: 1.5rem;
}
.page-hero__title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.page-hero__title::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 1em;
  background: var(--red);
  border-radius: 2px;
}
.page-hero__sub { font-size: .9rem; color: rgba(255,255,255,.5); margin-top: .35rem; }

/* List view (kategori/takım sayfaları) */
.news-list { display: flex; flex-direction: column; gap: .75rem; }
.news-list-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: 120px 1fr;
  transition: box-shadow var(--transition);
}
@media (min-width: 480px) { .news-list-item { grid-template-columns: 160px 1fr; } }
.news-list-item:hover { box-shadow: var(--shadow-md); }
.news-list-item__img {
  width: 100%;
  height: 100%;
  min-height: 95px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.news-list-item__placeholder {
  background: var(--gray-200);
  min-height: 95px;
}
.news-list-item__body { padding: .875rem 1rem; display: flex; flex-direction: column; gap: .25rem; }
.news-list-item__cat { font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.news-list-item__title { font-size: .9rem; font-weight: 800; line-height: 1.3; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list-item__title:hover { color: var(--red); }
.news-list-item__meta { font-size: .72rem; color: var(--gray-400); margin-top: auto; display: flex; gap: .5rem; }

/* ─────────────────────────────────────────────────────────
   ARAMA
   ───────────────────────────────────────────────────────── */
.search-hero {
  background: var(--navy);
  padding: 2rem 0;
  margin-bottom: 1.5rem;
}
.search-hero-form {
  display: flex;
  max-width: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.search-hero-input {
  flex: 1;
  padding: .85rem 1.1rem;
  font-size: 1rem;
  border: none;
  outline: none;
  background: var(--white);
}
.search-hero-btn {
  padding: 0 1.25rem;
  background: var(--red);
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  transition: background var(--transition);
  white-space: nowrap;
}
.search-hero-btn:hover { background: var(--red-dark); }
.search-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.search-results-title {
  font-size: .9rem;
  color: var(--gray-600);
  margin: 0;
}
.search-results-title strong { color: var(--text); }
.search-sort { display: flex; gap: .4rem; flex-wrap: wrap; }
.list-sort-bar { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.list-sort-label { font-size: .8rem; color: var(--gray-400); font-weight: 600; }
.sort-btn {
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .75rem;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  color: var(--gray-600);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  white-space: nowrap;
}
.sort-btn:hover { border-color: var(--red); color: var(--red); }
.sort-btn--active,
.sort-btn--active:hover { background: var(--red); border-color: var(--red); color: #fff; }
.no-results { text-align: center; padding: 3rem 1rem; color: var(--gray-600); }
.no-results svg { opacity: .25; margin: 0 auto 1rem; }

/* ─────────────────────────────────────────────────────────
   SIDEBAR
   ───────────────────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-widget { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.sidebar-media { padding: .5rem; text-align: center; background: transparent; box-shadow: none; }
.sidebar-media img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.sidebar-media ins { display: block; }
.promo-slider { position: relative; }
.promo-slide  { display: none; }
.promo-slide.active { display: block; animation: promoFadeIn .5s ease; }
@keyframes promoFadeIn { from { opacity: 0; } to { opacity: 1; } }
.promo-text {
  padding: .85rem 1rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: opacity var(--transition);
}
a:hover .promo-text { opacity: .88; }
.promo-text__title { font-size: .95rem; font-weight: 700; color: #fff; line-height: 1.3; }
.promo-text__desc  { font-size: .8rem; color: rgba(255,255,255,.8); margin-top: .35rem; line-height: 1.4; }
.widget-header {
  padding: .75rem 1rem;
  background: var(--navy);
  color: var(--white);
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.widget-header::before { content: ''; display: inline-block; width: 3px; height: 1em; background: var(--red); border-radius: 2px; }

.widget-list { }
.widget-item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--gray-200);
  transition: background var(--transition);
}
.widget-item:last-child { border-bottom: none; }
.widget-item:hover { background: var(--off-white); }
.widget-item__num { font-size: .75rem; font-weight: 800; color: var(--red); min-width: 18px; padding-top: .05rem; }
.widget-item__img { width: 56px; height: 42px; object-fit: cover; object-position: top center; border-radius: 4px; flex-shrink: 0; background: var(--gray-200); }
.widget-item__title { font-size: .8rem; font-weight: 700; line-height: 1.3; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.widget-item__title:hover { color: var(--red); }
.widget-item__meta { display: flex; align-items: center; gap: .5rem; margin-top: .2rem; flex-wrap: wrap; }
.widget-item__time { font-size: .68rem; color: var(--gray-400); }
.widget-item__views { font-size: .68rem; color: var(--gray-600); display: flex; align-items: center; gap: .2rem; }

/* Ligler widget */
.league-links { display: flex; flex-direction: column; gap: 0; padding: .5rem .65rem; }
.league-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .5rem .55rem;
  border-radius: 7px;
  font-size: .83rem;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.league-link:hover { background: var(--gray-100); color: var(--red); }
.league-link__icon {
  width: 22px; height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
  background: #1a2035;
  padding: 4px;
  box-sizing: content-box;
}
.league-link__flag { width: 26px; text-align: center; font-size: 1.1rem; flex-shrink: 0; line-height: 1; }
.league-link__name { flex: 1; }

/* ─────────────────────────────────────────────────────────
   PAGİNATİON
   ───────────────────────────────────────────────────────── */
.pagination { display: flex; align-items: center; gap: .4rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.page-btn {
  display: flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 .6rem;
  border-radius: 6px;
  font-size: .875rem; font-weight: 700;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.page-btn:hover { background: var(--gray-100); border-color: var(--gray-400); }
.page-btn.active { background: var(--red); color: var(--white); border-color: var(--red); }
.page-btn.dots { background: none; border: none; color: var(--gray-400); cursor: default; }

/* ─────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 2.5rem 0 1.25rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); } }
.footer-logo .logo-main { font-size: 1.6rem; }
.footer-desc { font-size: .825rem; line-height: 1.65; margin-top: .75rem; max-width: 280px; }
.footer-heading { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--white); margin-bottom: .875rem; }
.footer-links { display: flex; flex-direction: column; gap: .4rem; }
.footer-link { font-size: .83rem; transition: color var(--transition); }
.footer-link:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .78rem;
}
.footer-bottom a { color: var(--red); }
.footer-bottom__legal { display: flex; gap: 1rem; }
.footer-bottom__legal a { color: rgba(255,255,255,.5); font-size: .75rem; transition: color var(--transition); }
.footer-bottom__legal a:hover { color: var(--white); }

/* ─────────────────────────────────────────────────────────
   COOKIE BANNER
   ───────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #0d1b2e;
  border-top: 2px solid var(--red);
  box-shadow: 0 -4px 24px rgba(0,0,0,.35);
  padding: 1rem;
}
.cookie-banner__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1;
  min-width: 220px;
  font-size: .88rem;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
  margin: 0;
}
.cookie-banner__link {
  color: var(--red);
  text-decoration: underline;
  white-space: nowrap;
}
.cookie-banner__link:hover { color: #ff4d4d; }
.cookie-banner__actions {
  display: flex;
  gap: .6rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: .5rem 1.1rem;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.cookie-btn--primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.cookie-btn--primary:hover { background: #c0111a; border-color: #c0111a; }
.cookie-btn--ghost {
  background: transparent;
  color: rgba(255,255,255,.7);
  border-color: rgba(255,255,255,.25);
}
.cookie-btn--ghost:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
@media (max-width: 540px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions { flex-direction: column; }
  .cookie-btn { width: 100%; text-align: center; }
}

/* ─────────────────────────────────────────────────────────
   LEGAL PAGES
   ───────────────────────────────────────────────────────── */
.legal-page {
  max-width: 780px;
  margin: 2.5rem auto 4rem;
  padding: 0 1rem;
}
.legal-breadcrumb {
  font-size: .78rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}
.legal-breadcrumb a { color: var(--gray-400); }
.legal-breadcrumb a:hover { color: var(--red); }
.legal-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: .35rem;
  line-height: 1.15;
}
.legal-updated {
  font-size: .8rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}
.legal-body {
  font-size: .97rem;
  line-height: 1.8;
  color: var(--text);
}
.legal-body h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin: 2rem 0 .6rem;
  padding-bottom: .3rem;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.legal-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.25rem 0 .4rem;
}
.legal-body p { margin-bottom: .9rem; }
.legal-body ul {
  margin: .5rem 0 1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.legal-body li { list-style: disc; }
.legal-body a { color: var(--red); text-decoration: underline; }
.legal-body a:hover { color: var(--navy); }
.legal-body code {
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: .1em .4em;
  font-size: .85em;
  font-family: monospace;
}
.legal-contact-box {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--gray-100);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .9rem;
  line-height: 1.7;
}
.legal-nav-links {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.legal-nav-links a {
  font-size: .85rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  border: 1.5px solid var(--red);
  padding: .3rem .75rem;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}
.legal-nav-links a:hover {
  background: var(--red);
  color: #fff;
}
/* Çerez tablosu */
.cookie-table-wrap { overflow-x: auto; margin: 1rem 0 1.25rem; }
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.cookie-table th,
.cookie-table td {
  padding: .55rem .8rem;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.cookie-table th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.cookie-table tr:nth-child(even) td { background: var(--gray-100); }
.cookie-browser-list {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  margin: .75rem 0;
  font-size: .88rem;
}
.cookie-browser-list ul { margin-top: .4rem; }

/* ─────────────────────────────────────────────────────────
   YARDIMCILAR
   ───────────────────────────────────────────────────────── */
.badge-team {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--navy);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* Skeleton loading */
@keyframes shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }
.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 4px;
}

/* ─────────────────────────────────────────────────────────
   MOBİL İYİLEŞTİRMELER & ERİŞİLEBİLİRLİK
   ───────────────────────────────────────────────────────── */

/* Türkçe uzun kelimelerin taşmasını önle */
.hero-main__title,
.hero-sub__title,
.news-card__title,
.news-list-item__title,
.article-title,
.widget-item__title {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Makale sayfası — küçük ekranlarda font küçültme */
@media (max-width: 479px) {
  .article-title   { font-size: 1.35rem; }
  .article-summary { font-size: .975rem; }
  .page-hero__title { font-size: 1.6rem; }
}

/* Yatay scroll satırında parmakla kaydırma hissi */
@media (max-width: 639px) {
  .scroll-row {
    scroll-padding-left: .75rem;
    padding-left: .75rem;
    padding-right: .75rem;
  }
}

/* Odak halkası — klavye & dokunmatik erişilebilirliği */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Haber listesi — çok küçük ekranlarda görsel küçültme */
@media (max-width: 379px) {
  .news-list-item { grid-template-columns: 90px 1fr; }
  .news-list-item__img { min-height: 75px; }
  .news-list-item__placeholder { min-height: 75px; }
}

/* Arama kutusu — mobilde tam genişlik */
@media (max-width: 479px) {
  .search-hero-form { max-width: 100%; }
  .search-hero-input { font-size: .9rem; }
}

/* Makale sayfası — sosyal paylaşım butonları */
@media (max-width: 479px) {
  .article-source-box { padding: 1.1rem; }
  .btn-source { font-size: .82rem; padding: .6rem 1.1rem; }
}

/* Ticker — animasyon performansı */
.ticker-inner {
  -webkit-font-smoothing: antialiased;
  contain: layout style;
}

/* Utility */
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.text-center { text-align: center; }
.text-muted { color: var(--gray-400); }

/* ---------------------------------------------------------
   GÜNDEM (TRENDING) BÖLÜMÜ
   --------------------------------------------------------- */
.section--trending { margin-bottom: 2rem; }

.section-title--trending {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.trending-icon { font-size: 1.1em; }

.trending-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
@media (min-width: 640px) {
  .trending-grid { grid-template-columns: 1.6fr 1fr; }
}

/* Sol büyük kart */
.trending-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.trending-main:hover .trending-main__img { transform: scale(1.03); }
.trending-main__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.trending-main__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,30,61,.9) 0%, rgba(11,30,61,.25) 60%, transparent 100%);
}
.trending-main__body {
  position: relative;
  z-index: 1;
  padding: 1rem 1.1rem;
}
.trending-main__cat {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  padding: .18rem .55rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .4rem;
}
.trending-main__title {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: break-word;
}
.trending-main__meta {
  color: rgba(255,255,255,.65);
  font-size: .75rem;
  margin-top: .4rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}

/* Sağ liste */
.trending-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.trending-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: .55rem;
  align-items: start;
  text-decoration: none;
  color: var(--text);
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.trending-item:hover { box-shadow: var(--shadow-md); }
.trending-item__img,
.trending-item__placeholder {
  width: 72px;
  height: 100%;
  min-height: 60px;
  display: block;
  align-self: stretch;
}
.trending-item__img { object-fit: cover; }
.trending-item__placeholder { background: var(--gray-200); }
.trending-item__body {
  padding: .45rem .55rem .45rem 0;
}
.trending-item__cat {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .2rem;
}
.trending-item__title {
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.trending-item__time {
  font-size: .68rem;
  color: var(--gray-400);
  margin-top: .2rem;
}

/* ---------------------------------------------------------
   PUAN DURUMU WIDGET
   --------------------------------------------------------- */
.standings-table-wrap { overflow-x: auto; }

.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .75rem;
}
.standings-table th,
.standings-table td {
  padding: .3rem .35rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.standings-table th {
  background: var(--gray-100);
  color: var(--gray-600);
  font-weight: 600;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.standings-table .standings-team {
  text-align: left;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.standings-table .standings-team a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.standings-table .standings-team a:hover { color: var(--red); }
.standings-table .standings-pos { color: var(--gray-600); font-weight: 600; }
.standings-table tbody tr:hover { background: var(--gray-100); }

/* Renkli sol kenar */
.standings-table tr.standings-ucl td:first-child { border-left: 3px solid #1a73e8; }
.standings-table tr.standings-uel td:first-child { border-left: 3px solid #f59e0b; }
.standings-table tr.standings-rel td:first-child { border-left: 3px solid var(--red); }

.standings-legend {
  display: flex;
  justify-content: space-between;
  margin-top: .5rem;
  padding: .45rem .6rem;
  background: var(--gray-50, #f8f9fa);
  border-radius: 4px;
  border: 1px solid var(--border);
  font-size: .68rem;
  color: var(--gray-600);
}
.standings-legend span {
  display: flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
}
.legend-ucl::before { content: ''; display: inline-block; width: 10px; height: 10px; background: #1a73e8; border-radius: 2px; flex-shrink: 0; }
.legend-uel::before { content: ''; display: inline-block; width: 10px; height: 10px; background: #f59e0b; border-radius: 2px; flex-shrink: 0; }
.legend-rel::before { content: ''; display: inline-block; width: 10px; height: 10px; background: var(--red); border-radius: 2px; flex-shrink: 0; }
