/* Varsayılan: açık mod */
:root,
html[data-theme="light"] {
  --red: #E10600;
  --red-deep: #B00500;
  --charcoal: #F2F3F5;
  --surface: #FFFFFF;
  --surface-alt: #E8EAED;
  --border: #D0D3DA;
  --text: #12131A;
  --text-2: #5C5F6A;
  --text-3: #8B8F9A;
  --live: #FF2D2D;
  --upcoming: #4C8DFF;
  --gold: #FFD700;
  --header-bg: rgba(242, 243, 245, 0.86);
  --header-border: rgba(208, 211, 218, 0.9);
  --footer-bg: rgba(0, 0, 0, 0.04);
  --asphalt-1: rgba(225, 6, 0, 0.08);
  --asphalt-2: rgba(76, 141, 255, 0.06);
  --asphalt-base: linear-gradient(180deg, #F7F8FA 0%, #EEF0F3 45%, #F2F3F5 100%);
  --logo-pad: #FFFFFF;
  --logo-pad-border: #D0D3DA;
  --hover-strong: #000000;
  --nav-mobile-bg: rgba(255, 255, 255, 0.98);
  --font-display: "Barlow Condensed", Impact, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --wrap: min(1120px, calc(100% - 2.5rem));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

html[data-theme="dark"] {
  --red: #E10600;
  --red-deep: #B00500;
  --charcoal: #0B0B0F;
  --surface: #14141C;
  --surface-alt: #1C1C26;
  --border: #2E2E3A;
  --text: #F7F7F8;
  --text-2: #9B9BA8;
  --text-3: #6E6E7A;
  --live: #FF2D2D;
  --upcoming: #4C8DFF;
  --gold: #FFD700;
  --header-bg: rgba(11, 11, 15, 0.72);
  --header-border: rgba(46, 46, 58, 0.7);
  --footer-bg: rgba(0, 0, 0, 0.25);
  --asphalt-1: rgba(225, 6, 0, 0.22);
  --asphalt-2: rgba(76, 141, 255, 0.08);
  --asphalt-base: linear-gradient(180deg, #0B0B0F 0%, #101018 45%, #0B0B0F 100%);
  --logo-pad: #FFFFFF;
  --logo-pad-border: #3A3A48;
  --hover-strong: #FFFFFF;
  --nav-mobile-bg: rgba(11, 11, 15, 0.96);
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--charcoal);
  min-height: 100vh;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.asphalt {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 70% -10%, var(--asphalt-1), transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 30%, var(--asphalt-2), transparent 50%),
    var(--asphalt-base);
}

.asphalt::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: repeating-linear-gradient(
    -12deg,
    transparent 0,
    transparent 40px,
    rgba(255, 255, 255, 0.015) 40px,
    rgba(255, 255, 255, 0.015) 41px
  );
}

html[data-theme="light"] .asphalt::after {
  background-image: repeating-linear-gradient(
    -12deg,
    transparent 0,
    transparent 40px,
    rgba(0, 0, 0, 0.02) 40px,
    rgba(0, 0, 0, 0.02) 41px
  );
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--hover-strong); }

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: 0.005em;
  color: var(--text);
  white-space: nowrap;
}

.wordmark-accent { color: var(--red); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 0.8rem;
  color: var(--text-2);
  position: relative;
}

.site-nav a:hover,
.site-nav a.is-active { color: var(--text); }

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--red);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.theme-toggle:hover {
  color: var(--red);
  border-color: var(--red);
}

.theme-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Hero — brand first, full-bleed */
.hero {
  position: relative;
  min-height: min(92vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 11, 15, 0.35) 0%, rgba(11, 11, 15, 0.55) 45%, rgba(11, 11, 15, 0.95) 100%),
    linear-gradient(90deg, rgba(11, 11, 15, 0.85) 0%, transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%2314141C'/%3E%3Cstop offset='1' stop-color='%230B0B0F'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23g)' width='1200' height='800'/%3E%3Cpath d='M-40 520 L420 180 L760 420 L1280 80' fill='none' stroke='%23E10600' stroke-width='28' opacity='0.35'/%3E%3Cpath d='M-40 580 L380 280 L720 500 L1280 160' fill='none' stroke='%23ffffff' stroke-width='3' opacity='0.08'/%3E%3C/svg%3E") center/cover no-repeat;
}

.hero-speed {
  position: absolute;
  inset: 35% -10% auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(225, 6, 0, 0.8), transparent);
  animation: speed-line 2.8s var(--ease) infinite;
  opacity: 0.7;
}

@keyframes speed-line {
  0% { transform: translateX(-30%); opacity: 0; }
  30% { opacity: 0.8; }
  100% { transform: translateX(40%); opacity: 0; }
}

.hero-content {
  width: var(--wrap);
  margin: 0 auto;
  padding: 5rem 0 4.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.9rem, 8vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 0 0 1rem;
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s var(--ease) 0.1s forwards;
}

.hero-lead {
  max-width: 28rem;
  margin: 0 0 1.75rem;
  color: var(--text-2);
  font-size: 1.15rem;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.9s var(--ease) 0.28s forwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s var(--ease) 0.42s forwards;
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s;
}

.btn:hover { transform: translateY(-1px); color: #fff; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head.is-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.section-head.is-split p {
  margin: 0;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.4rem;
  line-height: 1;
}

.section-head p {
  margin: 0;
  color: var(--text-2);
  max-width: 36rem;
}

/* Reveal only hides when JS is active — otherwise content stays visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* News list — not card-heavy; list rows */
.news-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.news-item {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: background 0.2s;
}

.news-item:hover { background: rgba(255, 255, 255, 0.02); }

.news-meta {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
}

.news-meta .cat {
  display: block;
  color: var(--red);
  margin-bottom: 0.25rem;
}

.news-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 0.4rem;
  line-height: 1.1;
}

.news-item p {
  margin: 0;
  color: var(--text-2);
  font-size: 1rem;
}

/* Race rows */
.race-table,
.standings-table {
  width: 100%;
  border-collapse: collapse;
}

.race-table th,
.standings-table th,
.race-table td,
.standings-table td {
  text-align: left;
  padding: 0.95rem 0.65rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.race-table th,
.standings-table th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.race-table td:first-child,
.standings-table td:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-2);
  width: 3rem;
}

.gp-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  display: block;
}

.gp-circuit { color: var(--text-2); font-size: 0.95rem; }

.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
}

.badge-yaklasan { color: var(--upcoming); border: 1px solid rgba(76, 141, 255, 0.35); }
.badge-canli { color: var(--live); border: 1px solid rgba(255, 45, 45, 0.4); animation: pulse 1.4s ease infinite; }
.badge-bitti { color: var(--text-3); border: 1px solid var(--border); }

@keyframes pulse {
  50% { opacity: 0.55; }
}

.podium-1 { color: var(--gold); }
.podium-2 { color: #C0C0C0; }
.podium-3 { color: #CD7F32; }

.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tab-btn {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
  padding: 0.55rem 1rem;
  cursor: pointer;
}

.tab-btn.is-active {
  color: #fff;
  border-color: var(--red);
  background: rgba(225, 6, 0, 0.15);
}

.tab-panel[hidden] { display: none; }

/* Forms */
.page-hero {
  padding: 3.5rem 0 1.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  line-height: 0.95;
}

.page-hero p {
  margin: 0;
  color: var(--text-2);
  max-width: 34rem;
}

.form-panel {
  max-width: 34rem;
  margin: 2rem 0 3rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--text-2);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea,
.newsletter input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  padding: 0.75rem 0.9rem;
}

.form-group input:focus,
.form-group textarea:focus,
.newsletter input:focus {
  outline: none;
  border-color: var(--red);
}

.form-group textarea { min-height: 8rem; resize: vertical; }

.alert {
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--red);
  background: rgba(225, 6, 0, 0.1);
}

.alert-ok { border-color: #22c55e; background: rgba(34, 197, 94, 0.1); }

.article {
  max-width: 42rem;
  padding-bottom: 4rem;
}

.article .meta {
  color: var(--text-3);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.article .meta .cat { color: var(--red); }

.article-body {
  color: var(--text-2);
  font-size: 1.1rem;
}

.article-body p { margin: 0 0 1.1rem; }

.article-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.01em;
  color: var(--text);
  margin: 1.85rem 0 0.85rem;
  line-height: 1.25;
}

.article-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  margin: 1.5rem 0 0.7rem;
  line-height: 1.3;
}

.article-figure {
  margin: 1.5rem 0 1.75rem;
}

.article-figure figcaption {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  color: var(--text-3);
  line-height: 1.4;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: var(--footer-bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: 0.005em;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.footer-copy { color: var(--text-2); margin: 0; max-width: 22rem; }

.site-footer h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1rem;
  margin: 0 0 0.75rem;
  color: var(--text-3);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--hover-strong); }

.newsletter {
  display: flex;
  gap: 0.4rem;
}

.newsletter button {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 0 1rem;
  cursor: pointer;
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-3);
}

.footer-bottom p { margin: 0; }
.muted { color: var(--text-3); }

.link-more {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--nav-mobile-bg);
    border-bottom: 1px solid var(--border);
  }

  .site-nav.is-open { display: flex; }

  .theme-toggle {
    align-self: flex-start;
    margin: 0.35rem 0.8rem 0.5rem;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }

  .race-table .hide-sm,
  .standings-table .hide-sm { display: none; }

  .newsletter { flex-direction: column; }
  .newsletter button { padding: 0.75rem; }

  /* Mobilde genel 2 sütun */
  .race-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid,
  .driver-grid,
  .driver-cards,
  .team-grid,
  .search-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem;
  }

  .news-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    border-top: 0;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0;
    border: 1px solid var(--border);
    background: var(--surface);
    align-content: start;
  }

  .news-item:hover { background: var(--surface-alt); }

  .news-list .news-item:has(.news-thumb) {
    grid-template-columns: 1fr;
  }

  .news-thumb {
    max-width: none;
    grid-row: auto;
    aspect-ratio: 16 / 10;
    border: 0;
    border-bottom: 1px solid var(--border);
  }

  .news-item .news-meta,
  .news-item > div:last-child {
    padding: 0.65rem 0.75rem 0.85rem;
  }

  .news-item h3 {
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0;
  }

  .news-item p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.85rem;
  }
}

/* ============================================================
   FormulaKolik — uygulama paritesi bileşenleri
   ============================================================ */

.mono { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

.mini-head {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.1rem;
  color: var(--text-2);
  margin: 0 0 0.75rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

/* Sürücü avatarı */
.avatar {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--avatar-size, 44px);
  height: var(--avatar-size, 44px);
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-alt);
  border: 2px solid var(--team, var(--border));
}

.avatar-fallback {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(var(--avatar-size, 44px) * 0.36);
  color: var(--text-2);
  letter-spacing: 0.02em;
}

.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--surface-alt);
}

.team-logo {
  width: var(--logo-size, 28px);
  height: var(--logo-size, 28px);
  object-fit: contain;
  flex: 0 0 auto;
  padding: 3px;
  border-radius: 6px;
  background: var(--logo-pad);
  border: 1px solid var(--logo-pad-border);
  box-sizing: border-box;
}

.team-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--text-2);
  padding-left: 0.6rem;
  border-left: 3px solid var(--team, var(--red));
}

.team-pill a:hover { color: var(--hover-strong); }

/* Tablo hücreleri */
.driver-cell {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.driver-names {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.driver-names strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.driver-code {
  font-size: 0.8rem;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fastest-lap {
  font-size: 0.78rem;
  color: #B14BFF;
  font-variant-numeric: tabular-nums;
}

.standings-table tbody tr,
.race-table tbody tr {
  box-shadow: inset 3px 0 0 0 var(--team, transparent);
  transition: background 0.15s;
}

.standings-table tbody tr:hover,
.race-table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }

.col-pos {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.col-points {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
}

/* Hafta sonu seansları */
.session-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.session-item {
  display: grid;
  grid-template-columns: 3.4rem 1fr auto auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.8rem 0.2rem;
  border-bottom: 1px solid var(--border);
  width: 100%;
  text-align: left;
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  color: inherit;
  font: inherit;
}

button.session-item {
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}

button.session-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

button.session-item.is-active {
  background: rgba(225, 6, 0, 0.12);
  box-shadow: inset 3px 0 0 var(--red);
  opacity: 1;
}

.session-item.is-bitti { opacity: 0.7; }
.session-item.is-bitti.is-active,
.session-item.is-canli { opacity: 1; }
.session-item.is-canli { background: rgba(255, 45, 45, 0.08); }

.session-item.is-clickable .session-label {
  font-weight: 600;
}

.session-short {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--red);
  text-transform: uppercase;
}

.session-label { color: var(--text); }

.session-time {
  font-variant-numeric: tabular-nums;
  color: var(--text-2);
  white-space: nowrap;
}

.session-done { color: #22c55e; }

.session-extra-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0.75rem;
}

.session-result-panel {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.session-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.session-result-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Yarış kartları */
.race-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 1.25rem;
}

.race-card {
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface) 0%, var(--charcoal) 100%);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.race-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.race-card-main {
  display: block;
  padding: 1.15rem 1.2rem;
  position: relative;
  z-index: 1;
}

.race-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.race-round {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-3);
  letter-spacing: 0.08em;
}

.race-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 0.35rem;
}

.country-flag {
  display: inline-block;
  width: 1.15em;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  vertical-align: -0.12em;
  margin-right: 0.35em;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.race-card-meta,
.race-card-date {
  margin: 0;
  color: var(--text-2);
  font-size: 0.95rem;
}

.race-card-date {
  margin-top: 0.35rem;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.race-card-countdown {
  margin: 0.6rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  font-size: 0.95rem;
}

.race-card-map {
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  width: 8rem;
  opacity: 0.18;
  pointer-events: none;
}

.race-card.is-featured {
  grid-column: 1 / -1;
}

.race-card.is-featured .race-card-title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.race-card.is-featured .race-card-map { width: 16rem; opacity: 0.22; }
.race-card.is-featured .session-list { margin: 0 1.2rem 1.2rem; position: relative; z-index: 1; }

/* Hero — sıradaki yarış */
.hero-next {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) 0.35s forwards;
}

.hero-next-label {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--text-3);
}

.hero-next-race {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

.hero-next-race:hover { color: var(--red); }

.hero-next-time {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

/* Canlı bant */
.live-banner {
  background: linear-gradient(90deg, rgba(225, 6, 0, 0.25), transparent);
  border-block: 1px solid rgba(255, 45, 45, 0.3);
}

.live-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
}

.live-banner-inner strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
}

.live-banner-inner .link-more { margin: 0 0 0 auto; }

/* Podyum */
.podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: end;
}

.podium-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1.25rem 0.75rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--team, var(--red));
  background: var(--surface);
}

.podium-slot.podium-1 { order: 2; padding-block: 2rem; }
.podium-slot.podium-2 { order: 1; }
.podium-slot.podium-3 { order: 3; }

.podium-pos {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
}

.podium-slot.podium-1 .podium-pos { color: var(--gold); }
.podium-slot.podium-2 .podium-pos { color: #C0C0C0; }
.podium-slot.podium-3 .podium-pos { color: #CD7F32; }

.podium-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.podium-team, .podium-time {
  font-size: 0.85rem;
  color: var(--text-2);
}

/* İstatistik kutuları */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.stat-box {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.15rem 1rem;
  background: var(--surface);
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Profil başlıkları */
.profile-hero {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(120deg, color-mix(in srgb, var(--team) 18%, transparent), transparent 60%);
}

.profile-hero-inner {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.profile-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--team, var(--red));
  letter-spacing: 0.04em;
}

.profile-team {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: var(--text-2);
}

.team-hero-logo {
  width: 8rem;
  height: 8rem;
  object-fit: contain;
  padding: 0.7rem;
  border-radius: 14px;
  background: var(--logo-pad);
  border: 1px solid var(--logo-pad-border);
  box-sizing: border-box;
}

/* Chip / etiket */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--team, var(--border));
  color: var(--text-2);
  font-size: 0.95rem;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.chip:hover, .chip.is-active {
  color: var(--text);
  background: color-mix(in srgb, var(--red) 10%, transparent);
  border-color: var(--red);
}

/* Sürücü kartları */
.driver-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: 1rem;
}

.driver-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  padding: 1.5rem 1rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--team, var(--red));
  background: var(--surface);
  transition: transform 0.2s var(--ease), border-color 0.2s;
}

.driver-card:hover { transform: translateY(-2px); border-color: var(--red); }

.driver-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.driver-card-meta { font-size: 0.85rem; color: var(--text-2); }

/* Karşılaştırma */
.compare-form {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.compare-form .form-group { margin: 0; min-width: 13rem; }

.compare-form select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  padding: 0.75rem 0.9rem;
}

.compare-heads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.compare-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--team, var(--red));
  background: var(--surface);
}

.compare-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.compare-team { font-size: 0.9rem; color: var(--text-2); }

.compare-table { border-top: 1px solid var(--border); }

.compare-row {
  display: grid;
  grid-template-columns: 5rem 1fr 5rem;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.compare-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  text-align: center;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

.compare-value.is-win { color: var(--red); }

.compare-label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.compare-bar {
  display: flex;
  width: 100%;
  height: 4px;
  background: var(--surface-alt);
}

.compare-bar-a { background: var(--red); }
.compare-bar-b { background: var(--upcoming); }

/* Arama */
.search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 34rem;
  margin: 1.25rem 0 1rem;
}

.search-form input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  padding: 0.8rem 1rem;
}

.search-form input:focus { outline: none; border-color: var(--red); }

.nav-search {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.8rem;
  color: var(--text-2);
}

.nav-search:hover { color: var(--red); }

/* Yarış detay hero */
.race-hero { border-bottom: 1px solid var(--border); }

.race-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.race-hero-round {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 0.35rem;
}

.race-hero-map {
  width: min(22rem, 45%);
  opacity: 0.9;
}

.countdown-pill {
  display: inline-block;
  margin-left: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  font-size: 0.9rem;
}

.fastest-note {
  margin: 0 0 1rem;
  color: var(--text-2);
}

.fastest-note .mono { color: #B14BFF; }

/* Haber görselleri */
.news-item { position: relative; }

.news-thumb {
  grid-row: span 2;
  width: 100%;
  max-width: 9rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--border);
}

.news-list .news-item:has(.news-thumb) {
  grid-template-columns: 9rem 6.5rem 1fr;
}

.article-image {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .compare-row { grid-template-columns: 3.5rem 1fr 3.5rem; }
  .race-hero-map { width: 100%; max-width: 20rem; }
}

@media (max-width: 820px) {
  .podium {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .podium-slot.podium-1 {
    order: -1;
    grid-column: 1 / -1;
    padding-block: 1.25rem;
  }

  .podium-slot.podium-2,
  .podium-slot.podium-3 {
    order: 0;
    padding-block: 1.1rem;
  }

  .session-item {
    grid-template-columns: 3rem 1fr auto;
    row-gap: 0.25rem;
  }

  .compare-heads { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .compare-form { flex-direction: column; align-items: stretch; }

  .site-nav a { padding: 0.7rem 0; }
  .nav-search { padding: 0.7rem 0; }
}

/* Canlı sayfası */
.weather-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem 1.15rem;
  margin-bottom: 1.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  font-size: 0.95rem;
}

.weather-strip strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  font-size: 1.1rem;
}

.weather-strip .is-rain { color: var(--upcoming); }

.tyre {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: 2px solid currentColor;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
}

.tyre-s { color: #FF3333; }
.tyre-m { color: #FFD700; }
.tyre-h { color: #EDEDED; }
.tyre-i { color: #43B02A; }
.tyre-w { color: #0067AD; }

.tyre-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.tyre-age {
  font-size: 0.75rem;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.gap-leader {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.live-board .avatar { flex: 0 0 auto; }

.rc-flag {
  display: inline-block;
  margin-right: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.rc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.rc-item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding: 0.75rem 0.2rem 0.75rem 0.75rem;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid transparent;
  color: var(--text-2);
}

.rc-item time {
  font-variant-numeric: tabular-nums;
  color: var(--text-3);
}

.rc-item.flag-yellow { border-left-color: #FFD700; }
.rc-item.flag-double-yellow { border-left-color: #FFC400; }
.rc-item.flag-red { border-left-color: var(--red); }
.rc-item.flag-green { border-left-color: #22c55e; }
.rc-item.flag-chequered { border-left-color: #fff; }

/* Sezon seçici */
.season-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.season-form select,
.lap-form input {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  padding: 0.5rem 0.75rem;
}

.season-form select:focus,
.lap-form input:focus { outline: none; border-color: var(--red); }

.lap-form {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.lap-form label {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--text-3);
}

.lap-form input { width: 6rem; }

/* Favori yıldızı */
.profile-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.fav-btn {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-3);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.fav-btn:hover { color: var(--gold); border-color: var(--gold); }

.fav-btn.is-on {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(255, 215, 0, 0.08);
}

.fav-btn.is-on svg path { fill: currentColor; }

/* Mobil uygulama mağaza rozetleri */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  min-width: 11rem;
}

.store-badge.is-soon { opacity: 0.9; }

.store-badge svg { flex: 0 0 auto; }

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-badge-text small {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--upcoming);
}

.store-badge-text strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

/* Çağrı paneli */
.cta-panel {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-alt), var(--surface));
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
}

.cta-panel h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.cta-panel p { color: var(--text-2); margin: 0; }

/* Canlı pist haritası */
.track-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 40%, rgba(225, 6, 0, 0.08), transparent 50%),
    var(--surface);
  overflow: hidden;
}

.track-dot {
  position: absolute;
  transform: translate(-50%, -50%);
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.25);
}

/* —— Haber mozaiği (sol slider + sağ 2×2) —— */
.news-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 28rem;
}

.section-news-mosaic {
  padding: 1rem 0 0;
}

.section-news-mosaic .reveal.is-visible,
.section-news-mosaic .reveal {
  opacity: 1;
  transform: none;
}

.wrap-wide {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

.news-mosaic-feature {
  position: relative;
  min-height: 28rem;
  background: var(--surface);
}

.news-mosaic-feature-track {
  position: absolute;
  inset: 0;
}

.news-mosaic-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}

.news-mosaic-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.news-mosaic-slide[hidden] {
  display: block !important;
}

.news-mosaic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  min-height: 28rem;
}

.news-tile {
  position: relative;
  display: block;
  height: 100%;
  min-height: 13.5rem;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #15151E;
}

.news-mosaic-feature .news-tile {
  min-height: 100%;
}

.news-tile-img,
.news-tile-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.news-tile:hover .news-tile-img {
  transform: scale(1.04);
}

.news-tile-fallback {
  background:
    linear-gradient(135deg, #2A0A0A 0%, #15151E 55%, #0B0B0F 100%);
}

.news-tile-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.45) 42%,
    rgba(0, 0, 0, 0.12) 70%,
    transparent 100%
  );
  z-index: 1;
}

.news-tile-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1rem 1.05rem 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.news-tile-icon {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  background: var(--red);
  flex-shrink: 0;
}

.news-tile-title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-tile.is-feature .news-tile-title {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.22;
  -webkit-line-clamp: 4;
}

.news-tile.is-feature .news-tile-body {
  padding: 1.35rem 1.4rem 1.2rem;
  gap: 0.7rem;
}

.news-tile.is-feature .news-tile-icon {
  width: 1.75rem;
  height: 1.75rem;
}

.news-tile-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
}

.news-tile-source {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-tile-meta time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  flex-shrink: 0;
  opacity: 0.9;
}

.news-mosaic-dots {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 3;
  display: flex;
  gap: 0.4rem;
}

.news-mosaic-dot {
  width: 0.45rem;
  height: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.news-mosaic-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

@media (max-width: 980px) {
  .news-mosaic {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }

  .news-mosaic-feature {
    grid-column: 1 / -1;
    min-height: 14rem;
    aspect-ratio: 16 / 9;
  }

  .news-mosaic-grid {
    grid-column: 1 / -1;
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .news-tile.is-feature .news-tile-title {
    font-size: clamp(1.1rem, 4.5vw, 1.45rem);
    -webkit-line-clamp: 3;
  }

  .news-tile.is-grid {
    min-height: 10.5rem;
  }

  .news-tile-title {
    font-size: 0.88rem;
    -webkit-line-clamp: 3;
  }

  .news-tile-meta {
    font-size: 0.7rem;
  }

  .news-tile-body {
    padding: 0.7rem 0.75rem 0.7rem;
    gap: 0.4rem;
  }

  .news-tile.is-feature .news-tile-body {
    padding: 1rem 1rem 0.9rem;
  }
}

/* —— Puan matrisi —— */
.matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

.matrix-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.matrix-table th,
.matrix-table td {
  padding: 0.55rem 0.45rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
}

.matrix-table thead th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--surface);
}

.matrix-sticky {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--surface);
  text-align: left !important;
}

.matrix-rank {
  left: 0;
  width: 2.5rem;
  min-width: 2.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-2);
}

.matrix-name {
  left: 2.5rem;
  min-width: 9.5rem;
  max-width: 12rem;
  z-index: 3;
  box-shadow: 6px 0 10px -8px rgba(0, 0, 0, 0.55);
}

.matrix-total {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  min-width: 3.2rem;
}

.matrix-race {
  min-width: 3rem;
}

.matrix-race a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  color: inherit;
  text-decoration: none;
}

.matrix-race a:hover .matrix-round {
  color: var(--red);
}

.matrix-flag {
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.1rem;
}

.matrix-flag .country-flag {
  width: 1.35rem;
  margin-right: 0;
  vertical-align: middle;
}

.matrix-round {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--text-3);
}

.matrix-driver {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.matrix-stripe {
  width: 3px;
  height: 1.35rem;
  border-radius: 2px;
  background: var(--team, var(--red));
  flex-shrink: 0;
}

.matrix-driver-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
}

.matrix-driver-text strong {
  font-size: 0.92rem;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
}

.matrix-team {
  font-size: 0.72rem;
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
}

.matrix-score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  min-width: 3rem;
}

.matrix-score.is-win,
.matrix-score.is-win .matrix-pos {
  color: var(--gold);
}

.matrix-pos {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-3);
}

.matrix-dash {
  color: var(--text-3);
}

.matrix-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
}

@media (max-width: 700px) {
  .matrix-name {
    min-width: 7.5rem;
    max-width: 8.5rem;
  }

  .matrix-driver-text strong {
    font-size: 0.85rem;
  }

  .tabs {
    flex-wrap: wrap;
  }
}

