/* Kültür Türkiye Spor — ana stil dosyası */
:root {
  --navy: #0b1d3a;
  --navy-2: #13294f;
  --red: #e30a17;
  --red-dark: #b50812;
  --lime: #c6f432;
  --bg: #f3f5f9;
  --card: #ffffff;
  --text: #16202e;
  --muted: #5f6b7d;
  --line: #e2e6ee;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(11, 29, 58, .07);
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .4em; font-weight: 700; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Üst bar ---------- */
.topbar { background: var(--navy); color: #b9c4d8; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; flex-wrap: wrap; }
.topbar a:hover { color: #fff; }
.topbar .social { display: flex; gap: 14px; }

/* ---------- Header ---------- */
.site-header { background: var(--navy-2); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-size: 26px; font-weight: 800; letter-spacing: .5px; color: #fff; white-space: nowrap; }
.logo:hover { color: #fff; }
.logo-mark { width: 40px; height: 40px; border-radius: 8px; background: var(--red); display: grid; place-items: center; font-size: 20px; transform: skewX(-8deg); }
.logo-mark span { transform: skewX(8deg); }
.logo small { color: var(--lime); font-size: 26px; }

.main-nav { flex: 1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav a {
  display: block; padding: 22px 12px; font-family: var(--head); font-size: 17px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .4px; color: #dfe6f3; border-bottom: 3px solid transparent;
}
.main-nav a:hover, .main-nav a.active { color: #fff; border-bottom-color: var(--red); }

.header-tools { display: flex; align-items: center; gap: 8px; }
.search-form { display: flex; background: rgba(255,255,255,.1); border-radius: 999px; overflow: hidden; }
.search-form input { background: transparent; border: 0; color: #fff; padding: 9px 14px; width: 170px; font: inherit; font-size: 14px; outline: none; }
.search-form input::placeholder { color: #9fb0cc; }
.search-form button, .menu-toggle { background: transparent; border: 0; color: #fff; cursor: pointer; padding: 8px 12px; font-size: 16px; }
.menu-toggle { display: none; font-size: 24px; }

/* ---------- Son dakika ---------- */
.ticker { background: #fff; border-bottom: 1px solid var(--line); }
.ticker .wrap { display: flex; align-items: center; gap: 14px; height: 44px; overflow: hidden; }
.ticker-label { background: var(--red); color: #fff; font-family: var(--head); font-weight: 700; text-transform: uppercase; padding: 4px 12px; border-radius: 4px; white-space: nowrap; font-size: 15px; }
.ticker-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-items { display: flex; gap: 48px; white-space: nowrap; animation: ticker 45s linear infinite; width: max-content; }
.ticker-items a { font-size: 14px; font-weight: 500; }
.ticker-items a::before { content: "●"; color: var(--red); margin-right: 8px; font-size: 10px; vertical-align: middle; }
.ticker:hover .ticker-items { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Genel kartlar ---------- */
main { padding-block: 28px 48px; }
.section { margin-bottom: 40px; }
.section-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--line); margin-bottom: 18px; }
.section-head h2 { font-size: 26px; text-transform: uppercase; margin: 0; padding-bottom: 8px; border-bottom: 3px solid var(--red); margin-bottom: -2px; }
.section-head a { font-size: 14px; font-weight: 600; color: var(--muted); }

.badge {
  display: inline-block; background: var(--red); color: #fff; font-family: var(--head); font-size: 13px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 2px 9px; border-radius: 3px;
}
.badge:hover { color: #fff; filter: brightness(1.1); }
.meta { color: var(--muted); font-size: 13px; display: flex; gap: 12px; flex-wrap: wrap; }

.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(11,29,58,.12); }
.card .thumb { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .thumb img { transform: scale(1.05); }
.card .thumb .badge { position: absolute; left: 12px; top: 12px; }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 21px; margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Manşet ---------- */
.hero { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; margin-bottom: 40px; }
.hero-main, .hero-side a { position: relative; border-radius: var(--radius); overflow: hidden; display: block; color: #fff; }
.hero-main { min-height: 460px; }
.hero-main img, .hero-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hero-main:hover img, .hero-side a:hover img { transform: scale(1.04); }
.hero-main::after, .hero-side a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5,14,30,.92)); }
.hero-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 2; }
.hero-main h1 { font-size: clamp(28px, 3.6vw, 44px); margin: 12px 0 8px; color: #fff; }
.hero-main p { margin: 0 0 10px; color: #d5ddeb; max-width: 640px; }
.hero-main .meta { color: #b9c4d8; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }
.hero-side a { min-height: 219px; }
.hero-side h2 { font-size: 22px; color: #fff; margin: 8px 0 0; }
.hero-side .hero-caption { padding: 18px; }
.hero a:hover h1, .hero a:hover h2 { color: var(--lime); }

/* ---------- Kategori şeridi ---------- */
.cat-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 40px; }
.cat-strip a {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 10px; text-align: center;
  font-family: var(--head); font-size: 18px; font-weight: 700; text-transform: uppercase; border-top: 4px solid var(--c, var(--red));
}
.cat-strip a span { display: block; font-size: 28px; margin-bottom: 4px; }
.cat-strip a:hover { color: var(--c, var(--red)); }

/* ---------- İki sütun düzen ---------- */
.layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 90px; }
.widget { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.widget h3 { font-size: 21px; text-transform: uppercase; border-left: 4px solid var(--red); padding-left: 10px; margin-bottom: 14px; }

.list-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.list-item:last-child { border-bottom: 0; padding-bottom: 0; }
.list-item:first-of-type { padding-top: 0; }
.list-item .num { font-family: var(--head); font-size: 34px; font-weight: 800; color: var(--line); line-height: 1; min-width: 30px; }
.list-item img { width: 92px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.list-item h4 { font-family: var(--body); font-size: 15px; font-weight: 600; line-height: 1.35; margin: 0 0 4px; }

.row-card { display: grid; grid-template-columns: 260px 1fr; gap: 20px; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 20px; }
.row-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.row-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-card .body { padding: 18px 20px 18px 0; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.row-card h3 { font-size: 23px; margin: 0; }
.row-card p { margin: 0; color: var(--muted); font-size: 15px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { background: var(--bg); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.tags a:hover { background: var(--red); border-color: var(--red); color: #fff; }

.standings { width: 100%; border-collapse: collapse; font-size: 14px; }
.standings th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; padding: 6px 4px; border-bottom: 2px solid var(--line); }
.standings td { padding: 8px 4px; border-bottom: 1px solid var(--line); }
.standings td:last-child, .standings th:last-child { text-align: right; font-weight: 700; }

.newsletter { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.newsletter h3 { border-left-color: var(--lime); }
.newsletter p { color: #c3cde0; font-size: 14px; margin-top: 0; }

/* ---------- Sayfa başlığı ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, var(--c, var(--red)) 160%); color: #fff; padding-block: 40px; margin-bottom: 0; }
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); text-transform: uppercase; margin: 0; color: #fff; }
.page-hero p { color: #c3cde0; margin: 6px 0 0; max-width: 680px; }
.breadcrumb { font-size: 13px; color: #9fb0cc; margin-bottom: 8px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Haber detay ---------- */
.article { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.article-head { padding: 28px 32px 0; }
.article-head h1 { font-size: clamp(30px, 4vw, 46px); margin: 12px 0; }
.article-head .lead { font-size: 19px; color: var(--muted); margin: 0 0 16px; }
.article-cover { aspect-ratio: 16 / 8; margin-top: 20px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 28px 32px; font-size: 18px; line-height: 1.75; }
.article-body p { margin: 0 0 1.2em; }
.article-body h2 { font-size: 28px; margin-top: 1.4em; }
.article-body blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--red); background: var(--bg); font-style: italic; border-radius: 0 8px 8px 0; }
.article-foot { padding: 0 32px 28px; display: flex; flex-direction: column; gap: 18px; }
.share { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.share a, .share button { background: var(--navy); color: #fff; border: 0; border-radius: 6px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.share a:hover, .share button:hover { background: var(--red); color: #fff; }

/* ---------- Statik içerik sayfaları ---------- */
.prose { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.prose h2 { font-size: 28px; margin-top: 1.2em; }
.prose h2:first-child { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 6px; }
input[type=text], input[type=email], textarea, select {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; font: inherit; background: #fff; color: var(--text);
}
input:focus, textarea:focus { outline: 2px solid var(--red); outline-offset: -1px; border-color: transparent; }
.btn { display: inline-block; background: var(--red); color: #fff; border: 0; border-radius: 8px; padding: 12px 26px; font-family: var(--head); font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; cursor: pointer; }
.btn:hover { background: var(--red-dark); color: #fff; }
.btn-block { width: 100%; }
.notice { padding: 14px 18px; border-radius: 8px; background: #e9f9e0; color: #275b0e; font-weight: 500; }

.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.pagination button { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer; }
.pagination button.active, .pagination button:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c4d8; padding-top: 48px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.site-footer h4 { color: #fff; font-size: 19px; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }

.to-top { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-size: 20px; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1080px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .cat-strip { grid-template-columns: repeat(3, 1fr); }
  .search-form input { width: 120px; }
  .main-nav a { padding-inline: 8px; font-size: 16px; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-2); display: none; border-top: 1px solid rgba(255,255,255,.08); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .site-header .wrap { justify-content: space-between; }
  .hero { grid-template-columns: 1fr; }
  .hero-main { min-height: 380px; }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .search-form { display: none; }
  .hero-side { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .cat-strip { grid-template-columns: repeat(2, 1fr); }
  .row-card { grid-template-columns: 1fr; }
  .row-card .body { padding: 0 18px 18px; }
  .article-head, .article-body, .article-foot { padding-inline: 18px; }
  .article-body { font-size: 17px; }
  .prose { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .social { display: none; }
}
