/* =============================================================
   Türk Spor Vakfı — Ana Sayfa Yeniden Tasarımı
   Sadece front-page (custom template) için yüklenir.
   Klasik PHP tema (CoverNews child) — modern CSS.
   ============================================================= */

/* =============================================================
   PRELOADER (junior developer paketi, TSV paletine uyumlandı)
   Tam ekran beyaz overlay + ortada dönen halkalı TSV amblemi.
   Sayfa yüklenince JS 'is-hidden' ekler, fade-out olur.
   ============================================================= */
#tsv-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  opacity: 1;
  visibility: visible;
  transition: opacity 420ms ease, visibility 420ms ease;
}
#tsv-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.tsv-preloader__animation {
  width: 320px;
  height: 320px;
  max-width: 80vw;
  max-height: 80vw;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  #tsv-preloader .motion-ring { animation: none !important; }
}

:root {
  /* Renk paleti (mockup'tan) */
  --tsv-navy:        #0d2340;  /* hero/footer/başlık koyu lacivert */
  --tsv-navy-2:      #12294d;  /* biraz daha açık lacivert */
  --tsv-navy-deep:   #081a30;  /* en koyu */
  --tsv-red:         #c8102e;  /* birincil kırmızı (buton/vurgu) */
  --tsv-red-dark:    #a50d24;  /* kırmızı hover */
  --tsv-gold:        #d4a24a;  /* hero üst başlık altın/turuncu */
  --tsv-bg:          #f4f5f7;  /* açık gri sayfa fonu */
  --tsv-white:       #ffffff;
  --tsv-ink:         #1a2233;  /* koyu metin */
  --tsv-gray:        #6b7280;  /* ikincil metin */
  --tsv-gray-light:  #9aa2ae;
  --tsv-border:      #e6e8ec;  /* ince kenarlık */
  --tsv-red-soft:    #fbe9ec;  /* açık kırmızı ikon dairesi */

  /* Tipografi */
  --tsv-font: "Poppins", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;

  /* Ölçek */
  --tsv-maxw: 1200px;
  --tsv-radius: 12px;
  --tsv-radius-sm: 8px;
  --tsv-shadow: 0 6px 24px rgba(13, 35, 64, 0.08);
  --tsv-shadow-hover: 0 12px 32px rgba(13, 35, 64, 0.14);
}

/* ---- Reset / temel (sadece sayfa kapsamı) ---- */
.tsv-home * { box-sizing: border-box; }
.tsv-home {
  font-family: var(--tsv-font);
  color: var(--tsv-ink);
  background: var(--tsv-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.tsv-home img { max-width: 100%; height: auto; display: block; }
.tsv-home a { text-decoration: none; color: inherit; }
.tsv-container {
  max-width: var(--tsv-maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ===================== HEADER ===================== */
.tsv-header {
  background: var(--tsv-white);
  border-bottom: 1px solid var(--tsv-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.tsv-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.tsv-brand { display: flex; align-items: center; gap: 14px; }
.tsv-brand__logo img { width: 62px; height: 62px; object-fit: contain; }
.tsv-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.tsv-brand__title {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .5px;
  color: var(--tsv-navy);
}
.tsv-brand__tagline { font-size: 12px; color: var(--tsv-gray); margin-top: 2px; }

.tsv-nav { display: flex; align-items: center; }
/* Üst seviye menü (yatay) */
.tsv-nav > ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.tsv-nav > ul > li { position: relative; }
.tsv-nav a {
  display: inline-flex; align-items: center; gap: 5px;
  font-weight: 600;
  font-size: 15px;
  color: var(--tsv-navy);
  padding: 8px 0;
  transition: color .2s;
}
.tsv-nav a:hover { color: var(--tsv-red); }
.tsv-nav .menu-item-has-children > a::after { content: "▾"; font-size: 11px; color: var(--tsv-gray); transition: transform .2s; }
.tsv-nav .menu-item-has-children:hover > a::after { transform: rotate(180deg); color: var(--tsv-red); }

/* ---- Açılır alt menü (dropdown) ---- */
.tsv-nav .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--tsv-border);
  border-top: 3px solid var(--tsv-red);
  border-radius: 0 0 var(--tsv-radius-sm) var(--tsv-radius-sm);
  box-shadow: 0 12px 32px rgba(13, 35, 64, 0.18);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 130;
}
/* Hover köprüsü: menü ile dropdown arası boşlukta hover kopmasın */
.tsv-nav .menu-item-has-children::before {
  content: "";
  position: absolute;
  top: 100%; left: 0; right: 0; height: 16px;
}
.tsv-nav .menu-item-has-children:hover > .sub-menu,
.tsv-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.tsv-nav .sub-menu li { display: block; }
.tsv-nav .sub-menu a {
  display: block;
  padding: 11px 20px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--tsv-ink);
  white-space: nowrap;
  border-left: 3px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.tsv-nav .sub-menu a:hover {
  background: var(--tsv-red-soft);
  color: var(--tsv-red);
  border-left-color: var(--tsv-red);
}

.tsv-header__actions { display: flex; align-items: center; gap: 18px; }
.tsv-search-btn {
  background: none; border: none; cursor: pointer;
  color: var(--tsv-navy); padding: 6px; line-height: 0;
}
.tsv-search-btn:hover { color: var(--tsv-red); }

/* Hamburger butonu — masaüstünde gizli, mobilde görünür */
.tsv-burger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; line-height: 0;
}
.tsv-burger__box { display: block; width: 26px; height: 20px; position: relative; }
.tsv-burger__line {
  display: block; position: absolute; left: 0;
  width: 100%; height: 2.5px; border-radius: 2px;
  background: var(--tsv-navy);
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.tsv-burger__line:nth-child(1) { top: 0; }
.tsv-burger__line:nth-child(2) { top: 9px; }
.tsv-burger__line:nth-child(3) { top: 18px; }
/* Açıkken X'e dönüşür */
.tsv-menu-open .tsv-burger__line:nth-child(1) { top: 9px; transform: rotate(45deg); }
.tsv-menu-open .tsv-burger__line:nth-child(2) { opacity: 0; }
.tsv-menu-open .tsv-burger__line:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* ===================== BUTONLAR ===================== */
.tsv-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  padding: 12px 24px; border-radius: 999px;
  cursor: pointer; border: 2px solid transparent;
  transition: all .2s; white-space: nowrap;
}
a.tsv-btn--primary,
.tsv-btn--primary { background: var(--tsv-red); color: #fff; border-color: var(--tsv-red); }
a.tsv-btn--primary:hover,
.tsv-btn--primary:hover { background: var(--tsv-red-dark); border-color: var(--tsv-red-dark); color: #fff; }
a.tsv-btn--ghost,
.tsv-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.tsv-btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.tsv-btn--sm { padding: 10px 20px; font-size: 14px; }

/* ===================== HERO ===================== */
.tsv-hero {
  position: relative;
  background: var(--tsv-navy);
  color: #fff;
  overflow: hidden;
}
.tsv-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  /* duotone lacivert his */
  filter: grayscale(.4) contrast(1.05);
  opacity: .5;
}
.tsv-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    var(--tsv-navy-deep) 0%,
    rgba(13,35,64,.92) 42%,
    rgba(13,35,64,.55) 70%,
    rgba(13,35,64,.35) 100%);
}
.tsv-hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  min-height: 520px; gap: 40px;
  padding-block: 72px;
}
.tsv-hero__content { max-width: 560px; }
.tsv-hero__eyebrow {
  color: var(--tsv-gold);
  font-weight: 700; font-size: 14px;
  letter-spacing: 2.5px; text-transform: uppercase;
  margin: 0 0 18px;
}
.tsv-hero__title {
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 800; line-height: 1.08;
  margin: 0 0 22px;
  letter-spacing: -.5px;
  max-width: 12ch;
}
.tsv-hero__lead {
  font-size: 17px; line-height: 1.7;
  color: rgba(255,255,255,.85);
  margin: 0 0 32px;
}
.tsv-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ===================== FEATURE KARTLARI ===================== */
.tsv-features {
  background: var(--tsv-white);
  padding-block: 56px;
  margin-top: -1px;
}
.tsv-features__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.tsv-feature {
  background: var(--tsv-white);
  border: 1px solid var(--tsv-border);
  border-radius: var(--tsv-radius);
  padding: 28px 24px;
  box-shadow: var(--tsv-shadow);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.tsv-feature:hover { transform: translateY(-4px); box-shadow: var(--tsv-shadow-hover); }
.tsv-feature__icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--tsv-red-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--tsv-red); margin-bottom: 18px;
}
.tsv-feature__icon svg { width: 28px; height: 28px; }
.tsv-feature__title { font-size: 18px; font-weight: 700; color: var(--tsv-navy); margin: 0 0 10px; }
.tsv-feature__desc { font-size: 14.5px; color: var(--tsv-gray); margin: 0 0 18px; flex: 1; }
.tsv-feature__more { color: var(--tsv-red); font-weight: 700; align-self: flex-start; line-height: 0; }

/* ===================== 3'LÜ BÖLÜM ===================== */
.tsv-main {
  padding-block: 64px;
}
.tsv-main__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.tsv-col__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px; padding-bottom: 12px;
  border-bottom: 2px solid var(--tsv-border);
}
.tsv-col__title {
  font-size: 21px; font-weight: 800; color: var(--tsv-navy);
  margin: 0; position: relative; padding-left: 0;
}
.tsv-col__title::after {
  content: ""; position: absolute; left: 0; bottom: -14px;
  width: 48px; height: 3px; background: var(--tsv-red);
}
.tsv-col__link { font-size: 14px; font-weight: 600; color: var(--tsv-red); white-space: nowrap; }

/* Haberler */
.tsv-news { display: flex; flex-direction: column; gap: 22px; }
.tsv-news__item { display: flex; gap: 16px; }
.tsv-news__thumb {
  width: 96px; height: 96px; flex: 0 0 96px;
  border-radius: var(--tsv-radius-sm); overflow: hidden; background: var(--tsv-border);
}
.tsv-news__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tsv-news__title { font-size: 16px; font-weight: 700; color: var(--tsv-navy); margin: 0 0 6px; line-height: 1.35; }
.tsv-news__title:hover { color: var(--tsv-red); }
.tsv-news__date { font-size: 12.5px; color: var(--tsv-gray-light); margin: 0 0 6px; }
.tsv-news__excerpt { font-size: 14px; color: var(--tsv-gray); margin: 0; }

/* Etkinlikler */
.tsv-events { display: flex; flex-direction: column; gap: 18px; }
.tsv-event { display: flex; gap: 16px; align-items: flex-start; }
.tsv-event__date {
  flex: 0 0 62px; text-align: center;
  background: var(--tsv-bg); border-radius: var(--tsv-radius-sm);
  padding: 10px 6px; border: 1px solid var(--tsv-border);
}
.tsv-event__day { display: block; font-size: 24px; font-weight: 800; color: var(--tsv-navy); line-height: 1; }
.tsv-event__mon { display: block; font-size: 12px; font-weight: 700; color: var(--tsv-red); text-transform: uppercase; margin-top: 3px; }
.tsv-event__title { font-size: 16px; font-weight: 700; color: var(--tsv-navy); margin: 0 0 4px; }
.tsv-event__title a { color: inherit; }
.tsv-event__title a:hover { color: var(--tsv-red); }
.tsv-events__empty { font-size: 14px; color: var(--tsv-gray); margin: 0; line-height: 1.6; }
.tsv-event__place { font-size: 13px; color: var(--tsv-gray-light); margin: 0 0 4px; }
.tsv-event__desc { font-size: 13.5px; color: var(--tsv-gray); margin: 0; }
.tsv-events__foot { margin-top: 22px; }
.tsv-events__foot a { font-size: 14px; font-weight: 600; color: var(--tsv-red); }

/* Sağ sütun */
.tsv-aside { display: flex; flex-direction: column; gap: 24px; }

.tsv-today {
  position: relative; overflow: hidden;
  background: var(--tsv-navy); color: #fff;
  border-radius: var(--tsv-radius);
  padding: 26px 24px; border-top: 4px solid var(--tsv-red);
}
.tsv-today__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .14; filter: grayscale(.3);
}
.tsv-today > * { position: relative; z-index: 2; }
.tsv-today__label { font-size: 16px; font-weight: 700; margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
.tsv-today__date { font-size: 15px; color: var(--tsv-gold); font-weight: 600; margin: 0 0 2px; }
.tsv-today__year { font-size: 44px; font-weight: 800; margin: 0 0 10px; line-height: 1; }
.tsv-today__text { font-size: 14.5px; color: rgba(255,255,255,.86); margin: 0 0 18px; }
.tsv-today__link { font-size: 14px; font-weight: 700; color: var(--tsv-gold); transition: color .2s ease; }
.tsv-today__link:hover { color: #fff; }
.tsv-today__link:hover { color: var(--tsv-gold); }

.tsv-newsletter {
  background: var(--tsv-white);
  border: 1px solid var(--tsv-border);
  border-radius: var(--tsv-radius);
  padding: 26px 24px; box-shadow: var(--tsv-shadow);
}
.tsv-newsletter__title { font-size: 18px; font-weight: 800; color: var(--tsv-navy); margin: 0 0 8px; }
.tsv-newsletter__text { font-size: 14px; color: var(--tsv-gray); margin: 0 0 16px; }
.tsv-newsletter__form { display: flex; gap: 10px; flex-wrap: wrap; }
.tsv-newsletter__input {
  flex: 1; min-width: 160px;
  padding: 12px 14px; border: 1px solid var(--tsv-border);
  border-radius: var(--tsv-radius-sm); font-size: 14px; font-family: inherit;
}
.tsv-newsletter__input:focus { outline: none; border-color: var(--tsv-red); }

/* ===================== FOOTER ===================== */
.tsv-footer {
  background: var(--tsv-navy-deep); color: #fff;
  padding-block: 32px;
}
.tsv-footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.tsv-footer__contact { display: flex; gap: 32px; flex-wrap: wrap; }
.tsv-footer__item { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: rgba(255,255,255,.88); }
.tsv-footer__item svg { width: 18px; height: 18px; color: var(--tsv-red); flex: 0 0 18px; }
.tsv-footer__social { display: flex; gap: 14px; }
.tsv-footer__social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.tsv-footer__social a:hover { background: var(--tsv-red); }
.tsv-footer__social svg { width: 18px; height: 18px; color: #fff; }
.tsv-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 26px; padding-top: 18px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,.55);
}
.tsv-footer__copy { flex: 0 1 auto; }
.tsv-footer__credit {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.55); font-size: 12.5px;
  transition: color .2s ease;
}
.tsv-footer__credit:hover { color: #fff; }
.tsv-footer__credit-text { font-weight: 500; }
.tsv-footer__credit-logo {
  width: 26px; height: 24px; object-fit: contain;
  opacity: .8; transition: opacity .2s ease;
}
.tsv-footer__credit:hover .tsv-footer__credit-logo { opacity: 1; }
.tsv-footer__credit-name { font-weight: 700; letter-spacing: .01em; }
@media (max-width: 600px) {
  .tsv-footer__bottom { justify-content: center; text-align: center; }
}

/* ===================== SİTE ORTAK (header ek) ===================== */
.tsv-skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--tsv-red); color: #fff; padding: 10px 16px; z-index: 200;
}
.tsv-skip-link:focus { left: 12px; top: 12px; border-radius: var(--tsv-radius-sm); }

/* Arama çubuğu (header altında açılır) */
.tsv-searchbar {
  display: none;
  background: var(--tsv-navy); border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 16px;
}
.tsv-searchbar.is-open { display: block; }
.tsv-searchbar__form { display: flex; gap: 10px; }
.tsv-searchbar__input {
  flex: 1; padding: 12px 16px; border: none; border-radius: var(--tsv-radius-sm);
  font-size: 15px; font-family: inherit;
}
.tsv-searchbar__input:focus { outline: 2px solid var(--tsv-gold); }

.tsv-site-main { display: block; min-height: 40vh; }

/* Gömülü/geniş öğeler viewport'u taşırmasın (yorum formu, iframe, embed, pre) */
.tsv-site-main textarea,
.tsv-site-main input,
.tsv-site-main select,
.tsv-site-main iframe,
.tsv-site-main pre,
.tsv-site-main table { max-width: 100%; }
.tsv-site-main textarea { width: 100%; box-sizing: border-box; }
.tsv-article__content pre { overflow-x: auto; }

/* ===================== SAYFA BAŞLIĞI BANDI ===================== */
.tsv-pagehead {
  background: var(--tsv-navy);
  color: #fff;
  padding-block: 40px 34px;
  position: relative;
}
.tsv-pagehead::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--tsv-red) 0%, var(--tsv-red) 22%, transparent 22%);
}
.tsv-pagehead__title {
  font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; margin: 12px 0 0;
  line-height: 1.15; letter-spacing: -.4px;
}
.tsv-pagehead__desc { margin: 12px 0 0; color: rgba(255,255,255,.8); font-size: 15px; max-width: 70ch; }

.tsv-breadcrumb { font-size: 13.5px; color: rgba(255,255,255,.7); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tsv-breadcrumb a { color: rgba(255,255,255,.85); }
.tsv-breadcrumb a:hover { color: var(--tsv-gold); }
.tsv-breadcrumb__sep { color: rgba(255,255,255,.4); }
.tsv-breadcrumb__current { color: var(--tsv-gold); }

/* ===================== TEKİL YAZI / SAYFA ===================== */
.tsv-article__wrap { padding-block: 44px 56px; }
.tsv-article__body { max-width: 820px; margin-inline: auto; }
.tsv-article__meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 16px; }
.tsv-article__meta-item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; color: rgba(255,255,255,.82);
}
.tsv-article__meta-item svg { color: var(--tsv-gold); }
.tsv-article__cat { color: #fff; }
.tsv-article__cat:hover { color: var(--tsv-gold); }
/* Yazar adı, profil sayfasına link */
.tsv-article__author { color: #fff; }
.tsv-article__author:hover { color: var(--tsv-gold); }

.tsv-article__featured {
  margin: 0 0 32px; border-radius: var(--tsv-radius); overflow: hidden;
  box-shadow: var(--tsv-shadow);
}
.tsv-article__featured img { width: 100%; height: auto; display: block; }

/* İçerik gövdesi tipografisi */
.tsv-article__content { font-size: 17px; line-height: 1.8; color: var(--tsv-ink); }
.tsv-article__content > * + * { margin-top: 1.15em; }
.tsv-article__content p { margin: 0 0 1.15em; }
.tsv-article__content h2 { font-size: 27px; font-weight: 800; color: var(--tsv-navy); margin: 1.8em 0 .6em; line-height: 1.25; }
.tsv-article__content h3 { font-size: 22px; font-weight: 700; color: var(--tsv-navy); margin: 1.6em 0 .5em; }
.tsv-article__content h4 { font-size: 19px; font-weight: 700; color: var(--tsv-navy); margin: 1.4em 0 .5em; }
.tsv-article__content a { color: var(--tsv-red); text-decoration: underline; text-underline-offset: 2px; }
.tsv-article__content a:hover { color: var(--tsv-red-dark); }
.tsv-article__content ul, .tsv-article__content ol { margin: 0 0 1.15em; padding-left: 1.4em; }
.tsv-article__content li { margin-bottom: .5em; }
.tsv-article__content img { max-width: 100%; height: auto; border-radius: var(--tsv-radius-sm); margin: 1.2em 0; }
.tsv-article__content blockquote {
  margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--tsv-red);
  background: var(--tsv-bg); border-radius: 0 var(--tsv-radius-sm) var(--tsv-radius-sm) 0;
  font-style: italic; color: var(--tsv-ink);
}
.tsv-article__content figure { margin: 1.4em 0; }
.tsv-article__content figcaption { font-size: 13.5px; color: var(--tsv-gray); text-align: center; margin-top: 8px; }
.tsv-article__content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; }
.tsv-article__content th, .tsv-article__content td { border: 1px solid var(--tsv-border); padding: 10px 12px; text-align: left; }
.tsv-article__content th { background: var(--tsv-bg); font-weight: 700; }

/* Aksiyon çubuğu: beğeni + linki kopyala */
.tsv-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tsv-actions .tsv-like { margin-top: 0; }

/* Linki Kopyala butonu */
.tsv-copylink {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  border: 2px solid var(--tsv-border); background: var(--tsv-white);
  color: var(--tsv-navy); font-family: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.tsv-copylink:hover { border-color: var(--tsv-red); color: var(--tsv-red); }
.tsv-copylink.is-copied { border-color: #16a34a; color: #16a34a; }

/* Anonim beğeni butonu */
.tsv-like { margin-top: 32px; }
.tsv-like__btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 22px; border-radius: 999px;
  border: 2px solid var(--tsv-border); background: var(--tsv-white);
  color: var(--tsv-navy); font-family: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.tsv-like__btn:hover { border-color: var(--tsv-red); color: var(--tsv-red); }
.tsv-like__icon { transition: transform .2s; }
.tsv-like__count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 24px; height: 24px; padding: 0 6px;
  background: var(--tsv-bg); border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--tsv-navy);
}
/* Beğenilmiş durum */
.tsv-like__btn.is-liked {
  background: var(--tsv-red); border-color: var(--tsv-red); color: #fff;
  cursor: default;
}
.tsv-like__btn.is-liked .tsv-like__icon { fill: #fff; }
.tsv-like__btn.is-liked .tsv-like__count { background: rgba(255,255,255,.22); color: #fff; }
/* Beğeni animasyonu */
.tsv-like--pop .tsv-like__icon { animation: tsv-like-pop .3s ease; }
@keyframes tsv-like-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .tsv-like--pop .tsv-like__icon { animation: none; }
}

.tsv-article__tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.tsv-tag {
  display: inline-block; font-size: 13px; font-weight: 600;
  background: var(--tsv-red-soft); color: var(--tsv-red);
  padding: 5px 12px; border-radius: 999px;
}
.tsv-tag a { color: inherit; }

.tsv-postnav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--tsv-border);
}
.tsv-postnav__link {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 18px; border: 1px solid var(--tsv-border);
  border-radius: var(--tsv-radius); background: var(--tsv-white);
  transition: border-color .2s, box-shadow .2s;
}
.tsv-postnav__link:hover { border-color: var(--tsv-red); box-shadow: var(--tsv-shadow); }
.tsv-postnav__next { text-align: right; }
.tsv-postnav__dir { font-size: 12.5px; font-weight: 700; color: var(--tsv-red); text-transform: uppercase; letter-spacing: .5px; }
.tsv-postnav__title { font-size: 15px; font-weight: 600; color: var(--tsv-navy); }

/* ===================== ARŞİV / ARAMA KARTLARI ===================== */
.tsv-archive { padding-block: 44px 56px; }
.tsv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tsv-card {
  background: var(--tsv-white); border: 1px solid var(--tsv-border);
  border-radius: var(--tsv-radius); overflow: hidden;
  box-shadow: var(--tsv-shadow); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.tsv-card:hover { transform: translateY(-4px); box-shadow: var(--tsv-shadow-hover); }
.tsv-card__thumb { position: relative; display: block; aspect-ratio: 16/10; background: var(--tsv-border); overflow: hidden; }
.tsv-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tsv-card:hover .tsv-card__thumb img { transform: scale(1.05); }
.tsv-card__thumb-fallback { position: absolute; inset: 0; background: linear-gradient(135deg, var(--tsv-navy) 0%, var(--tsv-navy-2) 100%); }
.tsv-card__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--tsv-red); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
}
.tsv-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.tsv-card__title { font-size: 17px; font-weight: 700; color: var(--tsv-navy); margin: 0 0 8px; line-height: 1.35; }
.tsv-card__title a:hover { color: var(--tsv-red); }
.tsv-card__date { font-size: 12.5px; color: var(--tsv-gray-light); margin: 0 0 10px; }
.tsv-card__excerpt { font-size: 14.5px; color: var(--tsv-gray); margin: 0 0 16px; flex: 1; }
.tsv-card__more { font-size: 14px; font-weight: 700; color: var(--tsv-red); display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; }
.tsv-card__more:hover { gap: 10px; }

/* ===================== SON BLOGLAR (ana sayfa) ===================== */
.tsv-blogs {
  background: var(--tsv-bg);
  padding-block: 8px 64px;
}
.tsv-blogs .tsv-col__head { margin-bottom: 28px; }

/* ===================== KÖŞE YAZARLARI — öne çıkan kart grid (2/3 genişlik) ===================== */
.tsv-collist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.tsv-collist__item {
  display: flex; flex-direction: column;
  background: var(--tsv-white);
  border: 1px solid var(--tsv-border);
  border-top: 3px solid var(--tsv-red);
  border-radius: var(--tsv-radius);
  padding: 22px 22px 20px;
  box-shadow: 0 2px 10px rgba(13, 35, 64, .04);
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.tsv-collist__item:hover {
  box-shadow: 0 14px 34px rgba(13, 35, 64, .13);
  transform: translateY(-4px);
}
.tsv-collist__head {
  display: flex; align-items: center; gap: 13px;
  margin-bottom: 15px;
}
.tsv-collist__avatar {
  width: 54px; height: 54px; flex: 0 0 54px; border-radius: 50%;
  overflow: hidden; background: var(--tsv-red-soft);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--tsv-border);
}
.tsv-collist__avatar img { width: 100%; height: 100%; object-fit: cover; }
.tsv-collist__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tsv-collist__name {
  font-size: 15px; font-weight: 800; color: var(--tsv-navy);
  letter-spacing: .01em;
}
.tsv-collist__name:hover { color: var(--tsv-red); }
.tsv-collist__date { font-size: 12.5px; color: var(--tsv-gray-light); font-weight: 500; }
.tsv-collist__title {
  display: block;
  font-size: 19px; font-weight: 800; color: var(--tsv-navy);
  line-height: 1.32; margin-bottom: 10px;
}
.tsv-collist__title:hover { color: var(--tsv-red); }
.tsv-collist__excerpt {
  font-size: 14.5px; color: var(--tsv-gray); margin: 0 0 16px;
  line-height: 1.6; flex: 1 1 auto;
}
.tsv-collist__more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; color: var(--tsv-red);
  margin-top: auto;
}
.tsv-collist__more svg { transition: transform .18s ease; }
.tsv-collist__more:hover svg { transform: translateX(4px); }

/* Sağ sütun: Yaklaşan Etkinlikler kutusu */
.tsv-events-box { margin-bottom: 4px; }
.tsv-events-box .tsv-col__head { margin-bottom: 20px; }

/* ===================== KÖŞE YAZARLARI (eski carousel — kullanılmıyor) ===================== */
.tsv-columnists { background: var(--tsv-white); padding-block: 8px 64px; }
.tsv-columnists__head {
  display: flex; align-items: center; gap: 16px;
  background: var(--tsv-bg);
  border-radius: var(--tsv-radius);
  padding: 14px 18px; margin-bottom: 28px;
}
.tsv-columnists__icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--tsv-red); color: #fff;
  display: flex; align-items: center; justify-content: center; flex: 0 0 42px;
}
.tsv-columnists__title { font-size: 20px; font-weight: 800; color: var(--tsv-navy); margin: 0; }
.tsv-columnists__all {
  font-size: 13px; font-weight: 700; color: var(--tsv-gray-light);
  letter-spacing: 1px; padding-left: 16px; border-left: 1px solid var(--tsv-border);
}
.tsv-columnists__all:hover { color: var(--tsv-red); }
.tsv-columnists__nav { margin-left: auto; display: flex; gap: 10px; }
.tsv-col-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--tsv-gray-light); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.tsv-col-arrow:hover { background: var(--tsv-red); }
.tsv-col-arrow:disabled { opacity: .4; cursor: default; background: var(--tsv-gray-light); }

/* Yatay kaydırılabilir track */
.tsv-columnists__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 28px) / 4);
  gap: 28px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.tsv-columnists__track::-webkit-scrollbar { display: none; }

.tsv-columnist { scroll-snap-align: start; }
.tsv-columnist__head {
  display: flex; align-items: center; gap: 14px;
  background: var(--tsv-white); border: 1px solid var(--tsv-border);
  border-radius: var(--tsv-radius); padding: 14px 16px; margin-bottom: 16px;
  box-shadow: var(--tsv-shadow);
  transition: border-color .2s, box-shadow .2s;
}
.tsv-columnist__head:hover { border-color: var(--tsv-red); box-shadow: var(--tsv-shadow-hover); }
.tsv-columnist__avatar {
  width: 56px; height: 56px; border-radius: 50%; flex: 0 0 56px;
  overflow: hidden; background: var(--tsv-red-soft);
  display: flex; align-items: center; justify-content: center;
}
.tsv-columnist__avatar img { width: 100%; height: 100%; object-fit: cover; }
.tsv-columnist__meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tsv-columnist__name { font-size: 15px; font-weight: 700; color: var(--tsv-navy); line-height: 1.25; }
.tsv-columnist__date { font-size: 12.5px; color: var(--tsv-gray-light); }

.tsv-columnist__post { display: block; }
.tsv-columnist__post-title {
  font-size: 17px; font-weight: 700; color: var(--tsv-navy);
  margin: 0 0 10px; line-height: 1.35;
}
.tsv-columnist__post:hover .tsv-columnist__post-title { color: var(--tsv-red); }
.tsv-columnist__excerpt { font-size: 14.5px; color: var(--tsv-gray); margin: 0; line-height: 1.6; }

/* ===================== SAYFALAMA ===================== */
.tsv-pagination { margin-top: 44px; }
.tsv-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.tsv-pagination a, .tsv-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 14px;
  border: 1px solid var(--tsv-border); border-radius: var(--tsv-radius-sm);
  font-weight: 600; color: var(--tsv-navy); background: var(--tsv-white);
}
.tsv-pagination a:hover { border-color: var(--tsv-red); color: var(--tsv-red); }
.tsv-pagination .current { background: var(--tsv-red); color: #fff; border-color: var(--tsv-red); }

/* ===================== BOŞ DURUM / 404 ===================== */
.tsv-empty { text-align: center; padding: 60px 20px; color: var(--tsv-gray); }
.tsv-empty p { font-size: 18px; margin: 0 0 22px; }
.tsv-empty__search { display: flex; gap: 10px; justify-content: center; max-width: 440px; margin: 0 auto; }

.tsv-404 { padding-block: 80px 90px; }
.tsv-404__inner { max-width: 620px; margin: 0 auto; text-align: center; }
.tsv-404__code { font-size: clamp(90px, 16vw, 160px); font-weight: 800; line-height: 1; color: var(--tsv-red); opacity: .18; }
.tsv-404__title { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; color: var(--tsv-navy); margin: -.2em 0 16px; }
.tsv-404__text { font-size: 16px; color: var(--tsv-gray); margin: 0 0 28px; }
.tsv-404__search { display: flex; gap: 10px; justify-content: center; max-width: 440px; margin: 0 auto 24px; }
.tsv-404__home { color: var(--tsv-navy); border-color: var(--tsv-border); }
.tsv-404__home:hover { border-color: var(--tsv-navy); background: transparent; }

/* Ghost buton koyu zemin dışında (iç sayfalarda) okunur olsun */
.tsv-404 .tsv-btn--ghost { color: var(--tsv-navy); border-color: var(--tsv-border); }
.tsv-404 .tsv-btn--ghost:hover { background: var(--tsv-bg); border-color: var(--tsv-navy); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1080px) {
  /* Köşe Yazarları üstte tam genişlik, sağ sütun (etkinlik+tarihte bugün) altta yan yana */
  .tsv-main__grid { grid-template-columns: 1fr; }
  .tsv-aside { flex-direction: row; }
  .tsv-aside > * { flex: 1; }
  .tsv-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  /* Köşe yazarları kartları tek kolon (aside kırılımı 980px kuralında) */
  .tsv-collist { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .tsv-features__grid { grid-template-columns: repeat(2, 1fr); }
  .tsv-hero__inner { grid-template-columns: 1fr; min-height: auto; }
  .tsv-hero__bg { opacity: .3; }

  /* Hamburger görünür, masaüstü CTA gizli (mobilde yer kazan) */
  .tsv-burger { display: block; position: relative; z-index: 1200; }
  .tsv-header__cta { display: none; }
  /* Header panelin üstünde kalsın (logo + hamburger görünür/tıklanabilir) */
  .tsv-header__inner { position: relative; z-index: 1200; background: var(--tsv-white); }

  /* Nav → yandan açılır panel (hamburger ile), header'ın altından başlar */
  .tsv-nav {
    position: fixed;
    top: 72px; right: 0;
    width: min(340px, 86vw); height: calc(100vh - 72px);
    background: var(--tsv-white);
    box-shadow: -8px 0 32px rgba(13, 35, 64, 0.18);
    padding: 12px 0 32px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 1100;
    display: block;
  }
  .tsv-menu-open .tsv-nav { transform: translateX(0); }

  /* Karartma arka planı */
  .tsv-nav::before {
    content: "";
    position: fixed; inset: 0;
    background: rgba(9, 26, 48, 0.5);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
    z-index: -1;
  }
  .tsv-menu-open .tsv-nav::before { opacity: 1; visibility: visible; }

  /* Menü öğeleri dikey liste */
  .tsv-nav > ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .tsv-nav > ul > li { border-bottom: 1px solid var(--tsv-border); }
  .tsv-nav a {
    padding: 15px 24px; font-size: 16px; justify-content: space-between;
    width: 100%;
  }

  /* Alt menü: mobilde accordion (tıklayınca açılır, statik akış) */
  .tsv-nav .sub-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-radius: 0;
    min-width: 0; padding: 0;
    max-height: 0; overflow: hidden;
    background: var(--tsv-bg);
    transition: max-height .3s ease;
  }
  .tsv-nav .tsv-sub-open > .sub-menu { max-height: 400px; }
  .tsv-nav .sub-menu a { padding: 12px 24px 12px 40px; font-size: 15px; }
  /* Accordion oku mobilde döner */
  .tsv-nav .menu-item-has-children::before { display: none; }
  .tsv-nav .tsv-sub-open > a::after { transform: rotate(180deg); color: var(--tsv-red); }
}
@media (max-width: 1080px) {
  /* Köşe yazarları: tablet'te ~2.5 kart genişliği (kaydırma) */
  .tsv-columnists__track { grid-auto-columns: calc((100% - 1.5 * 28px) / 2.5); }
}
@media (max-width: 720px) {
  .tsv-main__grid { grid-template-columns: 1fr; }
  .tsv-aside { flex-direction: column; }
  .tsv-features__grid { grid-template-columns: 1fr; }
  .tsv-footer__inner { flex-direction: column; align-items: flex-start; }
  .tsv-hero__title { font-size: 34px; }
  .tsv-brand__tagline { display: none; }
  .tsv-cards { grid-template-columns: 1fr; }
  .tsv-postnav { grid-template-columns: 1fr; }
  .tsv-postnav__next { text-align: left; }
  .tsv-article__content { font-size: 16px; }
  .tsv-pagehead { padding-block: 30px 26px; }
  /* Köşe yazarları: mobilde ~1.15 kart genişliği (kaydırma) */
  .tsv-columnists__track { grid-auto-columns: 82%; }
  .tsv-columnists__head { flex-wrap: wrap; }
  .tsv-columnists__nav { display: none; } /* mobilde parmakla kaydır */
}
