/* ============ RESET & VARIABLES ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --red: #d00000;
  --red-dark: #d00000;
  --menu-bg: #d00000;
  --menu-text: #fff;
  --ticker-bg: #d00000;
  --ticker-text: #ffffff;
  --sabit-text: #1a1a1a;
  --sab1: #d00000;
  --sab2: #d00000;
  --sab3: #d00000;
  --sab4: #d00000;
  --sab5: #d00000;
  --yan1: #d00000;
  --yan2: #d00000;
  --yan3: #d00000;
  --yan4: #d00000;
  --alt1: #d00000;
  --alt2: #d00000;
  --alt3: #d00000;
  --topbar-bg: #000;
  --topbar-text: #fff;
  --header-bg: #fff;
  --slider-bg: #000000;
  --slider-text: #ffffff;
  --footer-bg: #111111;
  --footer-text: #cccccc;

  --dark: #1a1a1a;
  --gray: #666;
  --light: #f4f4f4;
  --border: #e2e2e2;
  --white: #fff;
  --font-site: Figtree;
}

html { scroll-behavior: smooth; }

/* ---- GLOBAL: tüm elemanlar ve tüm başlıklar site fontunu kullansın ---- */
*,
*::before,
*::after,
html,
body,
h1, h2, h3, h4, h5, h6,
button, input, textarea, select, option,
table, th, td,
blockquote, figure, figcaption,
p, span, a, li, ul, ol, dl, dt, dd,
time, small, strong, b, i, em, label, legend, fieldset,
article, aside, header, footer, nav, section, main {
  font-family: var(--font-site);
}

body {
  font-family: var(--font-site);
  background: #f5f5f5;
  color: #222;
  font-size: 14px;
  line-height: 1.5;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 0px; }

/* ============ TOPBAR ============ */
.topbar {
  background: var(--topbar-bg); color: var(--topbar-text);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 38px; gap: 15px; flex-wrap: wrap;
}
.topbar-left { display: flex; gap: 15px; color: var(--topbar-text); }
.weather { color: var(--topbar-text); opacity: .8; }
.topbar-right { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.currency { color: var(--topbar-text); }
.currency b { color: var(--topbar-text); margin-right: 3px; }
.up { color: #16a34a; font-style: normal; }
.down { color: #dc2626; font-style: normal; }
.socials { display: flex; gap: 6px; margin-left: 6px; }
.socials a {
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  background: #eee; color: #333; border-radius: 50%; font-size: 12px; font-weight: bold;
  transition: .2s;
}
.socials a:hover { background: var(--red); color: #fff; }

/* ============ HEADER ============ */
.header { background: var(--header-bg); padding: 15px 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 34px; font-weight: 900; letter-spacing: -1.5px; }
.logo-haber { color: #222; }
.logo-one { color: var(--red); }
.header-right { display: flex; align-items: center; gap: 12px; }
.search-box { position: relative; }
.search-box input {
  width: 260px; padding: 9px 40px 9px 14px; border: 1px solid var(--border);
  border-radius: 20px; font-size: 13px; outline: none; background: #fafafa;
}
.search-box input:focus { border-color: var(--red); background: #fff; }
.search-box button {
  position: absolute; right: 4px; top: 4px; bottom: 4px;
  border: none; background: var(--red); color: #fff;
  width: 32px; border-radius: 50%; cursor: pointer; font-size: 12px;
}
.menu-toggle {
  display: none; background: var(--red); color: #fff; border: none;
  font-size: 20px; padding: 6px 12px; border-radius: 6px; cursor: pointer;
}

/* ============ NAV ============ */
.nav { background: var(--menu-bg); border-top: 1px solid #eee; border-bottom: 3px solid var(--red-dark); }
.nav ul { display: flex; flex-wrap: wrap; }
.nav a {
  display: block; padding: 13px 15px; font-size: 17px; font-weight: 700;
  color: var(--menu-text); letter-spacing: .3px; transition: .2s; position: relative;
}
.nav a:hover, .nav a.active { color: #fff; opacity: .85; }
.nav a.active::after {
  content: ""; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 3px; background: #fff;
}

/* ============ TICKER ============ */
.ticker-wrap { padding-top: 15px; padding-bottom: 0; }
.ticker {
  background: var(--ticker-bg); color: var(--ticker-text); display: flex; align-items: center;
  overflow: hidden; height: 40px;
}
.ticker-label {
  background: var(--red-dark); color: var(--ticker-text);
  padding: 0 18px; height: 100%;
  display: flex; align-items: center; font-weight: 800; font-size: 14px;
  letter-spacing: .5px; flex-shrink: 0; z-index: 2;
}
.ticker-track {
  display: flex; white-space: nowrap; padding-left: 20px;
  animation: tickerScroll 35s linear infinite;
}
.ticker-track span { margin-right: 40px; font-size: 13px; }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ HERO ============ */
.hero { padding: 20px 0; }
.hero-wrap { padding: 1px; }

/* ---- Son dakika kartları ---- */
.top-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; }
.top-card {
  background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.08);
  transition: box-shadow .25s;
}
.top-card:hover { box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.top-card > a { display: block; height: 100%; }
.top-card-img { position: relative; aspect-ratio: 278 / 155; overflow: hidden; background: #ccc; }
.top-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.top-card:hover .top-card-img img { transform: scale(1.04); }

.ribbon {
  position: absolute; left: 0; bottom: 0; width: calc(100% - 28px); height: 26px;
  display: flex; align-items: center; justify-content: center;
  background: #d00000; color: #fff;
  font-family: var(--font-site); font-size: 13px; font-weight: 700; letter-spacing: .2px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 0 100%);
}
.ribbon::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 12px;
  background: linear-gradient(115deg, transparent 50%, rgba(0,0,0,.18) 50%);
}
.top-card h3 {
  font-family: var(--font-site); font-size: 17px; font-weight: 600; line-height: 1.6;
  color: #111; padding: 16px 15px 22px; min-height: 104px; transition: color .2s;
}
.top-card:hover h3 { color: var(--red); }

/* ---- Manşet slider ---- */
.main-slider { position: relative; background: var(--slider-bg); overflow: hidden; height: 400px; }
.slides { position: relative; width: 100%; height: 100%; }
.slide {
  position: absolute; inset: 0; display: block; color: var(--slider-text);
  opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s;
}
.slide.active { opacity: 1; visibility: visible; z-index: 1; }
.slide img {
  position: absolute; top: 0; right: 0; width: 65%; height: 100%;
  object-fit: cover; object-position: center top;
}
.slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, #000 0%, #000 48.7%, rgba(0,0,0,.55) 56%, rgba(0,0,0,0) 80%);
}
.slide-title {
  position: absolute; z-index: 2; left: 30px; top: 50%; transform: translateY(-50%);
  max-width: 64%;
  font-family: var(--font-site); font-weight: 700;
  font-size: clamp(22px, 4.2vw, 50px); line-height: 1.1; letter-spacing: -.5px;
  color: var(--slider-text); text-shadow: 0 2px 8px rgba(0,0,0,.65);
}

/* ---- Numaralar ---- */
.slider-nums { display: flex; background: #fff; }
.slider-num {
  flex: 1 1 0; min-width: 0; height: 40px; border: 0; border-left: 1px solid #e2e2e2;
  background: #fff; color: #111; cursor: pointer;
  font-family: var(--font-site); font-size: 17px; font-weight: 700;
  transition: background .2s, color .2s;
}
.slider-num:first-child { border-left: 0; }
.slider-num:hover { background: #f2f2f2; }
.slider-num.active { background: #d00000; color: #fff; }

/* ============ CHIPS ============ */
.chip-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 14px; background: #fff; border: 1px solid var(--border);
  border-radius: 20px; font-size: 12px; color: #555; transition: .2s;
}
.chip:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ============ SECTION ============ */
.section { padding: 25px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 15px; border-bottom: 1px solid var(--border); padding-bottom: 10px;
}
.section-title {
  font-size: 18px; font-weight: 800; letter-spacing: .5px;
  display: flex; align-items: center; gap: 10px; color: #111;
}
.section-title .bar { width: 5px; height: 22px; background: var(--red); border-radius: 2px; }
.more { font-size: 12px; color: var(--red); font-weight: 700; }

/* ============ GRIDS ============ */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }

.news-card {
  background: #fff; border-radius: 6px; overflow: hidden;
  transition: .25s; box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.news-card img { width: 100%; height: auto; aspect-ratio: 375 / 215; object-fit: cover; }
.news-card h3 { font-size: 17px; padding: 12px; line-height: 1.4; font-weight: 600; color: #222; }

/* ============ TWO COL ============ */
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.big-news { position: relative; border-radius: 6px; overflow: hidden; background: #000; }
.big-news img { width: 100%; height: 380px; object-fit: cover; opacity: .92; transition: .3s; }
.big-news:hover img { opacity: 1; transform: scale(1.02); }
.big-title {
  font-family: var(--font-site);
  position: absolute; bottom: 0; left: 0; right: 0; color: #fff;
  padding: 24px; font-size: 17px; font-weight: 600; line-height: 1.3;
  background: linear-gradient(transparent, rgba(0,0,0,.9));
}
.banner-strip { margin-top: 15px; border-radius: 6px; overflow: hidden; }
.banner-strip img { width: 100%; height: 120px; object-fit: cover; }

/* ============ SIDE NEWS ============ */
.side-news {
  display: flex; gap: 12px; background: #fff; border-radius: 6px;
  padding: 10px; margin-bottom: 12px; transition: .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.side-news:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.side-news img { width: 100px; height: 72px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.side-news h4 { font-size: 17px; line-height: 1.35; font-weight: 600; }
.tag-small {
  display: inline-block; font-size: 9px; font-weight: 800;
  color: var(--yan2); letter-spacing: 1px; margin-bottom: 4px;
}

/* ============ AUTHORS ============ */
.authors { background: var(--sabit-text); color: #fff; padding: 40px 0; margin-top: 20px; }
.authors-title {
  text-align: center; font-size: 16px; letter-spacing: 4px;
  margin-bottom: 30px; color: #fff; opacity: .8; font-weight: 500;
}
.authors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.author-card { text-align: center; }
.author-card img {
  width: 90px; height: 90px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 12px; border: 3px solid #333;
}
.author-card h4 { font-size: 14px; margin-bottom: 4px; }
.author-card p { font-size: 11.5px; color: #aaa; }

/* ============ LEAGUE TABLE ============ */
.league-table { background: #fff; border-radius: 6px; overflow: hidden; }
.league-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 15px; background: var(--dark); color: #fff;
}
.league-head h3 { font-size: 13px; letter-spacing: 1px; }
.league-head span { font-size: 11px; color: #aaa; }
.league-table table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.league-table th {
  text-align: left; padding: 8px 10px; background: #f5f5f5;
  font-size: 11px; color: #666; text-transform: uppercase;
}
.league-table td { padding: 8px 10px; border-bottom: 1px solid #f0f0f0; }
.league-table tr:hover td { background: #fafafa; }
.league-table th:first-child, .league-table td:first-child { width: 30px; text-align: center; color: #888; }
.league-table th:last-child, .league-table td:last-child { text-align: center; font-weight: 700; }
.table-more {
  display: block; text-align: center; padding: 10px; font-size: 12px;
  color: var(--red); font-weight: 700; border-top: 1px solid #eee;
}

/* ============ UTILS ============ */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* ============ FOOTER ============ */
.footer { background: var(--footer-bg); color: var(--footer-text); padding: 35px 0 15px; margin-top: 30px; }
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 20px; padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer .logo-haber { color: var(--footer-text); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { font-size: 13px; color: var(--footer-text); opacity: .8; }
.footer-nav a:hover { color: var(--footer-text); opacity: 1; }
.socials-light a { background: rgba(255,255,255,.12); color: var(--footer-text); }
.socials-light a:hover { background: var(--red); color: #fff; }
.footer-bottom { text-align: center; font-size: 12px; padding-top: 15px; color: var(--footer-text); opacity: .7; }

/* ============ ARTICLE PAGE ============ */
.breadcrumb { padding: 15px 0; font-size: 12.5px; color: #777; }
.breadcrumb a { color: #777; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { margin: 0 6px; }

.article-layout { display: grid; grid-template-columns: 1fr 340px; gap: 30px; }
.article-main { background: #fff; padding: 30px; border-radius: 8px; }
.article-cat {
  display: inline-block; background: var(--red); color: #fff;
  padding: 4px 12px; font-size: 11px; font-weight: 800; letter-spacing: 1px;
  border-radius: 3px; margin-bottom: 15px;
}
.article-title { font-family: var(--font-site); font-size: 28px; line-height: 1.25; margin-bottom: 15px; color: #111; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 20px; font-size: 12.5px;
  color: #888; padding-bottom: 20px; border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}
.article-hero { margin-bottom: 25px; }
.article-hero img { width: 100%; border-radius: 6px; }
.article-hero figcaption {
  font-size: 12px; color: #888; padding-top: 8px; font-style: italic;
}
.article-body { font-size: 16px; line-height: 1.75; color: #333; }
.article-body p { margin-bottom: 18px; }
.article-body h2 {
  font-size: 20px; margin: 25px 0 12px; color: #111;
  border-left: 4px solid var(--red); padding-left: 12px;
}
.article-body blockquote {
  background: #f9f9f9; border-left: 4px solid var(--red);
  padding: 15px 20px; font-style: italic; margin: 20px 0;
  font-size: 15px; color: #444; border-radius: 4px;
}
.article-body ul { margin: 15px 0 20px 20px; list-style: disc; }
.article-body ul li { margin-bottom: 8px; }

.article-tags {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 20px 0; border-top: 1px solid #eee; margin-top: 25px;
  font-size: 12.5px; color: #888;
}
.article-tags a { color: var(--red); font-weight: 600; }

.share-bar {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 15px 0; font-size: 13px; color: #666;
}
.share-bar a {
  padding: 7px 14px; border-radius: 20px; color: #fff; font-size: 12px; font-weight: 600;
}
.share-fb { background: #1877f2; }
.share-tw { background: #000; }
.share-wa { background: #25d366; }
.share-cp { background: #666; }

/* ARTICLE SIDE */
.article-side { }
.side-title {
  font-size: 14px; letter-spacing: 1px; margin-bottom: 12px; color: #111;
  border-left: 4px solid var(--yan1); padding-left: 10px;
}

/* COMMENTS */
.comments { background: #fff; padding: 30px; border-radius: 8px; margin-top: 25px; }
.comments-title { font-size: 16px; letter-spacing: 1px; margin-bottom: 15px; color: #111; }
.comment-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 25px; }
.comment-form textarea {
  min-height: 90px; padding: 12px; border: 1px solid var(--border);
  border-radius: 6px; font-family: inherit; font-size: 14px; resize: vertical;
}
.comment-form button {
  align-self: flex-end; background: var(--red); color: #fff; border: none;
  padding: 10px 24px; border-radius: 20px; font-weight: 700; cursor: pointer;
}
.comment-form button:hover { background: var(--red-dark); }
.comment-list { display: flex; flex-direction: column; gap: 18px; }
.comment { display: flex; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #f0f0f0; }
.comment-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--red);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0;
}
.comment-body b { font-size: 13.5px; }
.comment-body span { font-size: 11.5px; color: #999; margin-left: 6px; }
.comment-body p { font-size: 14px; color: #333; margin-top: 6px; line-height: 1.5; }

/* ============ CATEGORY PAGE ============ */
.category-page { padding: 25px 0; }
.category-header {
  background: #fff; padding: 30px; border-radius: 8px; margin-bottom: 25px;
  border-left: 6px solid var(--red);
}
.category-header h1 {
  font-family: var(--font-site); font-size: 32px; letter-spacing: 2px; color: #111; margin-bottom: 6px; }
.category-header p { color: #666; font-size: 14px; }

.category-layout { display: grid; grid-template-columns: 1fr 340px; gap: 25px; }

/* PAGINATION */
.pagination {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 30px;
}
.pagination a, .pagination span {
  padding: 9px 14px; background: #fff; border: 1px solid var(--border);
  border-radius: 6px; font-size: 13px; color: #444; font-weight: 600;
}
.pagination a:hover { background: #f5f5f5; }
.pagination .active { background: var(--red); color: #fff; border-color: var(--red); }
.pagination .disabled { opacity: .5; pointer-events: none; }
.pagination .page-dots { border: none; background: none; }

/* ============ INCLUDE HATASI ============ */
.include-error { background: #fff3cd; color: #664d03; padding: 12px 16px; font-size: 13px; border: 1px solid #ffe69c; }

/* ============ HEADER 2: LOGO YANINDA MENÜ ============ */
.header2 { background: var(--header-bg); padding: 15px 0; border-bottom: 3px solid var(--red); }
.header2-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.header2 .logo {
  flex: 0 0 auto;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -1.5px;
  white-space: nowrap;
}

.header2-nav { flex: 1 1 auto; min-width: 0; }
.header2-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.header2-nav a {
  display: block;
  padding: 13px 9px;
  color: var(--menu-text);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .3px;
  white-space: nowrap;
  position: relative;
  transition: color .2s;
}
.header2-nav a:hover,
.header2-nav a.active { color: var(--red); }
.header2-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 3px;
  background: var(--red);
}

.header2-right { flex: 0 0 auto; gap: 12px; }
.header2 .search-box input {
  width: 260px;
  padding: 9px 40px 9px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  outline: none;
  background: #fafafa;
}
.header2 .search-box input:focus { border-color: var(--red); background: #fff; }
.header2 .search-box button {
  position: absolute;
  right: 4px; top: 4px; bottom: 4px;
  border: none;
  background: var(--red);
  color: #fff;
  width: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
}
.header2 .menu-toggle {
  display: none;
  flex: 0 0 auto;
  background: var(--red);
  color: #fff;
  border: none;
  font-size: 20px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

@media (max-width: 1200px) {
  .header2 .logo { font-size: 32px; letter-spacing: -1.3px; }
  .header2-nav a { font-size: 12.5px; padding: 12px 7px; }
  .header2 .search-box input { width: 210px; }
}

@media (max-width: 992px) {
  .header2-inner { flex-wrap: wrap; gap: 10px; }
  .header2 .logo { font-size: 30px; letter-spacing: -1.2px; }

  .header2-nav {
    display: none;
    order: 3;
    flex: 0 0 100%;
    border-top: 1px solid #eee;
    padding-top: 8px;
  }
  .header2-nav.open { display: block; }
  .header2-nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .header2-nav a {
    padding: 12px 15px;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
  }
  .header2-nav a.active::after {
    left: auto; right: 10px; top: 0; bottom: 0;
    width: 3px; height: auto;
  }

  .header2 .menu-toggle { display: block; }
  .header2 .search-box input { width: 200px; }
  .header2-right { margin-left: auto; }
}

@media (max-width: 640px) {
  .header2-inner {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .header2 .logo { font-size: 26px; letter-spacing: -1px; }
  .header2 .header2-right { width: auto; flex-direction: row; }
  .header2 .search-box input { width: 160px; }
  .header2-nav { width: 100%; }
}

@media (max-width: 380px) {
  .header2 .logo { font-size: 23px; letter-spacing: -1px; }
  .header2 .search-box input {
    width: 130px;
    padding-left: 10px;
    padding-right: 34px;
  }
  .header2-right { gap: 6px; }
  .header2 .menu-toggle { padding: 6px 9px; }
}

/* ============ RESPONSIVE (genel) ============ */
@media (max-width: 992px) {
  .top-cards { grid-template-columns: repeat(2, 1fr); }
  .main-slider { height: 340px; }
  .two-col { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .authors-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout, .category-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar-inner { height: auto; padding: 8px 0; }
  .topbar-left, .topbar-right { width: 100%; justify-content: center; }
  .header-inner { flex-direction: column; gap: 12px; }
  .search-box input { width: 200px; }
  .menu-toggle { display: block; }
  .nav ul { display: none; flex-direction: column; }
  .nav.open ul { display: flex; }
  .nav a { padding: 12px 15px; border-bottom: 1px solid #f0f0f0; }
  .hero-wrap { padding: 8px; }
  .top-cards { gap: 10px; margin-bottom: 10px; }
  .top-card h3 { font-size: 13px; padding: 12px 10px 16px; min-height: 0; }
  .ribbon { font-size: 11px; height: 22px; }
  .main-slider { height: 260px; }
  .slide-title { left: 16px; max-width: 78%; font-size: 21px; }
  .slide img { width: 100%; }
  .slide::before { background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.85) 45%, rgba(0,0,0,.35) 100%); }
  .slider-nums { overflow-x: auto; scrollbar-width: none; }
  .slider-num { flex: 0 0 44px; height: 38px; font-size: 14px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .authors-grid { grid-template-columns: 1fr; }
  .big-title { font-size: 16px; }
  .article-title { font-size: 20px; }
  .article-main, .comments, .category-header { padding: 20px; }
}

/* ============ COLUMN LAYOUT (Sütun Haberler) ============ */
.column-layout {
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}

.big-news-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  transition: .25s;
}
.big-news-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
}
.big-news-card > a {
  display: block;
}
.big-news-card img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  transition: transform .4s;
}
.big-news-card:hover img {
  transform: scale(1.02);
}
.big-card-title {
  font-family: var(--font-site);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
  color: #111;
  padding: 18px 20px;
  margin: 0;
}

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

.small-news-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  transition: .25s;
}
.small-news-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.small-news-card > a {
  display: block;
}
.small-news-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  transition: transform .4s;
}
.small-news-card:hover img {
  transform: scale(1.04);
}
.small-news-card h4 {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  color: #222;
  padding: 12px;
  margin: 0;
}

@media (max-width: 992px) {
  .column-layout {
    grid-template-columns: 1fr;
  }
  .small-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .big-news-card img {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .small-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .big-news-card img {
    min-height: 220px;
  }
  .big-card-title {
    font-size: 16px;
    padding: 14px 15px;
  }
  .small-news-card img {
    height: 110px;
  }
}

/* ============ SLIDER2: MANŞET + GÜNDEM (slider2.php) ============ */
.slider2-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.slider2-main {
    display: flex;
    flex-direction: column;
}

.slider2-main .main-slider {
    height: 425px;
}

.slider2-main .slider-nums {
    margin-top: 0;
}

.slider2-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.slider2-gundem-title {
    font-family: var(--font-site);
    font-size: 16px;
    font-weight: 800;
    color: #111;
    border-bottom: 2px solid var(--red);
    padding-bottom: 8px;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.gundem-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    text-decoration: none;
    aspect-ratio: 375 / 215;
    background-color: #f0f0f0;
    transition: transform 0.2s ease;
}

.gundem-card:hover {
    filter: brightness(0.95);
}

.gundem-card-img-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gundem-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    z-index: 2;
}

.gundem-sub-text {
    font-family: var(--font-site);
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 4px;
    text-transform: uppercase;
    opacity: 0.9;
}

.gundem-main-text-red {
    font-family: var(--font-site);
    font-size: 24px;
    font-weight: 900;
    color: var(--red);
    line-height: 1.1;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}

.gundem-card-solid {
    background: linear-gradient(135deg, #e0e0e0 0%, #cfcfcf 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

.gundem-content-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gundem-main-text-dark {
    font-family: var(--font-site);
    font-size: 20px;
    font-weight: 900;
    color: #111;
    line-height: 1.2;
    text-transform: uppercase;
}

.gundem-logo {
    width: 80px;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .slider2-wrapper {
        grid-template-columns: 1fr;
    }

    .slider2-side {
        flex-direction: row;
        height: auto;
    }

    .gundem-card {
        flex: 1;
        min-width: 0;
    }

    .slider2-gundem-title {
        width: 100%;
        display: none;
    }
}

@media (max-width: 640px) {
    .slider2-side {
        flex-direction: column;
    }

    .slider2-main .main-slider {
        height: 260px;
    }

    .gundem-main-text-red { font-size: 18px; }
    .gundem-main-text-dark { font-size: 16px; }
}

/* ============ REKLAM ALANLARI ============ */
.ad-slot { text-align: center; margin: 20px auto; }
.ad-slot::before {
  content: "REKLAM"; display: block; font-size: 10px; letter-spacing: 1.5px;
  color: #999; margin-bottom: 4px; font-weight: 600;
}
.ad-slot .adsbygoogle { display: block; margin: 0 auto; }
.ad-slot-top    { max-width: 970px; min-height: 90px; }
.ad-slot-wide   { max-width: 970px; min-height: 90px; }
.ad-slot-side   { max-width: 300px; min-height: 250px; }
.ad-slot-inline { max-width: 728px; min-height: 90px; }
.ad-slot-sticky { position: sticky; top: 15px; }
.ad-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, #f3f3f3, #f3f3f3 10px, #ececec 10px, #ececec 20px);
  border: 1px dashed #ccc; color: #888; font-size: 12px; font-weight: 600;
  width: 100%; height: 100%; min-height: inherit;
}
@media (max-width: 992px) {
  .ad-slot-top, .ad-slot-wide, .ad-slot-inline { min-height: 100px; }
  .ad-slot-sticky { position: static; }
}

.slider-nums { overflow-x: auto; scrollbar-width: none; }
.slider-nums::-webkit-scrollbar { display: none; }
.slider-num { flex: 1 0 34px; }
.slider-num-all { background: #f2f2f2; }

/* ============ SUTUN4: 3 KOLONLU HABER KUTULARI (sutun4.php) ============ */
.col3-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start; }
.col3-card {
  background: #fff; border-radius: 6px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.col3-head {
  position: relative; padding: 16px 16px 14px 16px; margin: 0;
  font-family: var(--font-site); font-size: 16px; font-weight: 600; color: #222; line-height: 1.2;
}
.col3-head::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 12px;
  width: 3px; background: var(--red);
}

.col3-hero { position: relative; display: block; aspect-ratio: 370 / 210; overflow: hidden; background: #222; }
.col3-hero img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.col3-hero:hover img { transform: scale(1.03); }
.col3-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 38%, rgba(0,0,0,0) 70%);
}
.col3-hero-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px; color: #fff; }
.col3-badge {
  display: inline-block; background: var(--red); color: #fff; font-size: 12px; font-weight: 500;
  padding: 3px 9px; border-radius: 3px; margin-bottom: 8px;
}
.col3-hero-body h3 { font-size: 17px; font-weight: 600; line-height: 1.4; color: #fff; }
.col3-hero-body time { display: block; margin-top: 4px; font-size: 11px; font-weight: 600; color: #ccc; }

.col3-list li { border-bottom: 1px solid #e6e6e6; }
.col3-list li:last-child { border-bottom: 0; }
.col3-item { display: flex; gap: 12px; padding: 14px 16px; align-items: flex-start; transition: background .2s; }
.col3-item:hover { background: #fafafa; }
.col3-thumb {
  flex: 0 0 108px; height: 72px; border-radius: 6px; overflow: hidden;
  background: #eee; border-bottom: 8px solid #eee;
}
.col3-thumb img { width: 100%; height: 100%; object-fit: cover; }
.col3-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.col3-cat { font-size: 11px; font-weight: 600; color: var(--red); line-height: 1.2; margin-bottom: 3px; }
.col3-cat.cat-teal { color: var(--sab3); }
.col3-cat.cat-dark { color: #333; }
.col3-text strong {
  font-size: 15px; font-weight: 700; line-height: 1.3; color: #111;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.col3-item:hover strong { color: var(--red); }
.col3-text time { margin-top: 4px; font-size: 11px; font-weight: 600; color: #666; }

@media (max-width: 992px) {
  .col3-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .col3-grid { grid-template-columns: 1fr; }
  .col3-hero-body h3 { font-size: 16px; }
}

/* ============ SÜTUN 5 – 19 ============ */
.sx-media { position: relative; display: block; overflow: hidden; background: #ddd; }
.sx-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a:hover > .sx-media img, .sx-media:hover img { transform: scale(1.04); }

.sx-badge {
  display: inline-block; background: var(--red); color: #fff;
  font-size: 14px; font-weight: 600; padding: 3px 9px; border-radius: 3px;
}
.sx-kicker {
  display: block; font-size: 14px; font-weight: 600; letter-spacing: .8px;
  color: var(--red); text-transform: uppercase; line-height: 1.2;
}
.sx-kicker.k-blue { color: var(--sab4); }
.sx-kicker.k-teal { color: var(--sab5); }
.sx-kicker.k-gold { color: var(--yan1); }
.sx-kicker.k-yan2 { color: var(--yan2); }
.sx-kicker.k-yan3 { color: var(--yan3); }
.sx-kicker.k-yan4 { color: var(--yan4); }
.sx-time { font-size: 11px; font-weight: 600; color: #777; }

.sx-tile { position: relative; display: block; overflow: hidden; border-radius: 6px; background: #000; }
.sx-tile > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .45s;
}
.sx-tile:hover > img { transform: scale(1.04); }
.sx-tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 72%);
}
.sx-tile-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px; color: #fff; }
.sx-tile-body h3 { color: #fff; }

.sx-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.sx-tab {
  border: 0; background: #eee; color: #444; cursor: pointer;
  font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: 14px;
  transition: background .2s, color .2s;
}
.sx-tab:hover { background: #ddd; }
.sx-tab.active { background: var(--red); color: #fff; }
.sx-panel { display: none; }
.sx-panel.active { display: block; }

.sx-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.sx-reveal.sx-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .sx-reveal { opacity: 1; transform: none; transition: none; }
}

/* SÜTUN 6 */
.sx6-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.sx6-hero {
  display: block; background: #fff; border-radius: 6px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: box-shadow .25s;
}
.sx6-hero:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.sx6-hero .sx-media { aspect-ratio: 16 / 9; }
.sx6-hero-body { padding: 16px 18px 20px; }
.sx6-hero h3 { font-family: var(--font-site); font-size: 22px; line-height: 1.3; margin: 6px 0 8px; color: #111; }
.sx6-hero:hover h3 { color: var(--red); }
.sx6-hero p { font-size: 13.5px; color: #555; line-height: 1.6; }
.sx6-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 15px; }
.sx6-mini {
  display: flex; gap: 12px; background: #fff; border-radius: 6px; padding: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: box-shadow .2s;
}
.sx6-mini:hover { box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.sx6-mini .sx-media { flex: 0 0 110px; height: 76px; border-radius: 4px; }
.sx6-mini h4 { font-size: 13px; line-height: 1.4; font-weight: 600; color: #222; }
.sx6-panel { background: #fff; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.06); overflow: hidden; align-self: start; }
.sx6-panel-head {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 12px 14px; background: var(--dark); color: #fff;
}
.sx6-panel-head h3 { font-size: 13px; letter-spacing: 1px; }
.sx6-panel .sx-tab { background: transparent; color: #bbb; padding: 4px 10px; font-size: 11px; }
.sx6-panel .sx-tab:hover { color: #fff; }
.sx6-panel .sx-tab.active { background: var(--red); color: #fff; }
.sx6-rank li a { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-bottom: 1px solid #eee; transition: background .2s; }
.sx6-rank li:last-child a { border-bottom: 0; }
.sx6-rank li a:hover { background: #fafafa; }
.sx6-rank b { font-family: var(--font-site); font-size: 26px; line-height: 1; color: var(--red); min-width: 24px; }
.sx6-rank span { font-size: 13.5px; font-weight: 600; line-height: 1.4; color: #222; }
.sx6-rank li a:hover span { color: var(--red); }

/* SÜTUN 7 */
.sx7-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.sx7-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: .25s; }
.sx7-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.sx7-card > a { display: block; height: 100%; }
.sx7-card .sx-media { aspect-ratio: 4 / 3; }
.sx7-body { padding: 11px 12px 15px; }
.sx7-body .sx-kicker { margin-bottom: 6px; }
.sx7-body h3 { font-size: 17px; line-height: 1.4; font-weight: 600; color: #111; }
.sx7-card:hover h3 { color: var(--red); }
.sx7-body .sx-time { display: block; margin-top: 7px; }

/* SÜTUN 10 */
.sx10-wrap { position: relative; }
.sx10-track {
  display: flex; gap: 15px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; padding: 2px 2px 10px;
}
.sx10-track::-webkit-scrollbar { display: none; }
.sx10-card {
  flex: 0 0 calc((100% - 45px) / 4); scroll-snap-align: start; background: #fff;
  border-radius: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.07); transition: box-shadow .25s;
}
.sx10-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.sx10-card .sx-media { aspect-ratio: 16 / 10; }
.sx-num {
  position: absolute; left: 0; top: 0; background: var(--red); color: #fff;
  font-size: 13px; font-weight: 800; padding: 4px 10px; border-bottom-right-radius: 6px;
}
.sx10-card h3 { padding: 12px 14px 17px; font-size: 14px; line-height: 1.5; font-weight: 600; color: #222; min-height: 84px; }
.sx10-card:hover h3 { color: var(--red); }
.sx10-btn {
  position: absolute; top: calc(50% - 24px); z-index: 3; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: #fff; color: #222; font-size: 22px; line-height: 1;
  cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.28); transition: background .2s, color .2s, opacity .2s;
}
.sx10-prev { left: -16px; }
.sx10-next { right: -16px; }
.sx10-btn:hover { background: var(--red); color: #fff; }
.sx10-btn:disabled { opacity: .3; pointer-events: none; }

/* SÜTUN 11 */
.sx11-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; background: #fff;
  border-radius: 6px; border-top: 3px solid #1a1a1a; box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.sx11-col { padding: 18px 20px; border-left: 1px solid #e6e6e6; }
.sx11-col:first-child { border-left: 0; }
.sx11-lead { display: block; }
.sx11-lead .sx-media { aspect-ratio: 16 / 9; margin-bottom: 14px; }
.sx11-lead h3 { font-family: var(--font-site); font-size: 17px; line-height: 1.3; font-weight: 600; color: #111; }
.sx11-lead p { color: #555; margin-top: 9px; font-size: 14px; line-height: 1.6; }
.sx11-lead:hover h3, .sx11-story:hover h4 { color: var(--red); }
.sx11-story { display: block; padding: 14px 0; border-bottom: 1px solid #ececec; }
.sx11-story:first-child { padding-top: 0; }
.sx11-story:last-child { border-bottom: 0; padding-bottom: 0; }
.sx11-story .sx-media { aspect-ratio: 3 / 2; margin-bottom: 10px; }
.sx11-story h4 { font-size: 17px; line-height: 1.4; font-weight: 600; color: #111; }
.sx11-story .sx-time { display: block; margin-top: 6px; }

/* SÜTUN 12 */
.sx12-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: #e0e0e0; border-top: 4px solid var(--red); border-radius: 0 0 6px 6px; overflow: hidden;
}
.sx12-card { display: flex; flex-direction: column; gap: 8px; background: #fff; padding: 14px 16px 18px; transition: background .2s; }
.sx12-card:hover { background: #fafafa; }
.sx12-card .sx-media { aspect-ratio: 3 / 2; margin-bottom: 4px; }
.sx12-card h4 { font-size: 17px; line-height: 1.4; font-weight: 600; color: #111; }
.sx12-card:hover h4, .sx12-card:hover h3 { color: var(--red); }
.sx12-wide { grid-column: span 2; flex-direction: row; gap: 18px; background: #fff4f0; }
.sx12-wide:hover { background: #ffede6; }
.sx12-text { flex: 1; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.sx12-wide h3 { font-family: var(--font-site); font-size: 17px; font-weight: 600; line-height: 1.3; color: #111; }
.sx12-wide p { font-size: 13.5px; color: #555; line-height: 1.6; }
.sx12-wide .sx-media { flex: 0 0 44%; aspect-ratio: auto; min-height: 190px; margin: 0; }

/* SÜTUN 13 */
.sx13-head { text-align: center; border-top: 3px double #1a1a1a; border-bottom: 1px solid #1a1a1a; padding: 10px 0; background: #fff; }
.sx13-head h2 { font-family: var(--font-site); font-size: 22px; font-weight: 900; letter-spacing: 4px; color: #111; }
.sx13-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; background: #fff; padding: 0 20px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.sx13-col { padding: 18px 20px; }
.sx13-col + .sx13-col { border-left: 1px solid #ddd; }
.sx13-col:first-child { padding-left: 0; }
.sx13-col:last-child { padding-right: 0; }
.sx13-story { display: block; padding: 15px 0; border-bottom: 1px solid #ddd; }
.sx13-story:first-child { padding-top: 0; }
.sx13-story:last-child { border-bottom: 0; padding-bottom: 0; }
.sx13-story h3 { font-family: var(--font-site); font-size: 17px; line-height: 1.35; font-weight: 700; color: #111; }
.sx13-story p { font-family: var(--font-site); font-size: 13px; color: #555; line-height: 1.6; margin-top: 7px; }
.sx13-story:hover h3 { color: var(--red); }
.sx13-by { display: block; margin-top: 9px; font-size: 10.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #888; }
.sx13-main .sx-media { aspect-ratio: 3 / 2; margin-bottom: 14px; }
.sx13-main h3 { font-family: var(--font-site); font-size: 26px; line-height: 1.25; }
.sx13-main p { font-size: 14px; }
.sx13-thumbrow { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; }
.sx13-thumbrow .sx-media { flex: 0 0 84px; height: 84px; }

/* SÜTUN 15 */
.sx15-ticker { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 18px; }
.sx15-card { background: #fff; border-radius: 6px; padding: 12px 14px 10px; border-top: 3px solid #ccc; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.sx15-card.up { border-top-color: #16a34a; }
.sx15-card.down { border-top-color: #dc2626; }
.sx15-name { display: block; font-size: 11px; font-weight: 700; letter-spacing: .5px; color: #666; }
.sx15-val { display: block; font-size: 19px; font-weight: 800; color: #111; margin: 2px 0; }
.sx15-chg { font-size: 12px; font-weight: 700; }
.sx15-card.up .sx15-chg { color: #16a34a; }
.sx15-card.down .sx15-chg { color: #dc2626; }
.sx15-spark { display: block; width: 100%; height: 28px; margin-top: 6px; }
.sx15-spark polyline { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.sx15-card.up .sx15-spark polyline { stroke: #16a34a; }
.sx15-card.down .sx15-spark polyline { stroke: #dc2626; }
.sx15-news { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.sx15-hero { min-height: 320px; }
.sx15-hero h3 { font-family: var(--font-site); font-size: 17px; line-height: 1.3; font-weight: 600; margin-top: 8px; }
.sx15-panel { background: #fff; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.06); padding: 6px 16px; }
.sx15-panel li a { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid #eee; }
.sx15-panel li:last-child a { border-bottom: 0; }
.sx15-time { flex: 0 0 44px; font-size: 12px; font-weight: 800; color: var(--red); }
.sx15-panel span { font-size: 17px; font-weight: 600; line-height: 1.45; color: #222; }
.sx15-panel li a:hover span { color: var(--red); }

/* SÜTUN 16 */
.sx16-head { flex-wrap: wrap; gap: 10px; }
.sx16-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 14px; }
.sx16-hero { grid-row: span 2; min-height: 380px; }
.sx16-hero h3 { font-family: var(--font-site); font-size: 24px; line-height: 1.3; font-weight: 700; margin-top: 8px; }
.sx16-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: .25s; }
.sx16-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.sx16-card .sx-media { aspect-ratio: 16 / 10; }
.sx16-card h4 { padding: 11px 12px 14px; font-size: 13.5px; line-height: 1.4; font-weight: 600; color: #222; }
.sx16-card:hover h4 { color: var(--red); }

/* SÜTUN 17 */
.sx17-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; }
.sx17-box { background: #fff; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.06); overflow: hidden; align-self: start; }
.sx17-box-head {
  display: flex; justify-content: space-between; align-items: center; padding: 12px 16px;
  background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 1px;
}
.sx17-live { display: inline-flex; align-items: center; gap: 8px; }
.sx17-live::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff;
  animation: sx17pulse 1.4s ease-out infinite;
}
@keyframes sx17pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  100% { box-shadow: 0 0 0 9px rgba(255,255,255,0); }
}
.sx17-timeline { max-height: 470px; overflow-y: auto; padding: 8px 16px 8px 22px; scrollbar-width: thin; }
.sx17-timeline li { position: relative; padding: 11px 0 13px 18px; border-left: 2px solid #eee; }
.sx17-timeline li::before {
  content: ""; position: absolute; left: -7px; top: 15px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 2px solid var(--red);
}
.sx17-timeline time { display: block; font-size: 11px; font-weight: 800; color: var(--red); margin-bottom: 2px; }
.sx17-timeline a { font-size: 13.5px; font-weight: 600; line-height: 1.45; color: #222; }
.sx17-timeline a:hover { color: var(--red); }
.sx17-hero { height: 320px; }
.sx17-hero h3 { font-family: var(--font-site); font-size: 25px; line-height: 1.3; font-weight: 700; margin-top: 8px; }
.sx17-two { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 15px; }

/* SÜTUN 18 */
.sx18-chips { margin-bottom: 14px; }
.sx18-banner { height: 340px; margin-bottom: 15px; }
.sx18-banner .sx-tile-body { padding: 28px; max-width: 72%; }
.sx18-banner h2 { font-family: var(--font-site); font-size: 30px; line-height: 1.3; margin: 10px 0 8px; color: #fff; }
.sx18-banner p { font-size: 14px; line-height: 1.6; color: #ddd; }
.sx18-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.sx18-city { display: block; padding: 12px 12px 0; }
.sx18-grid .news-card h3 { padding-top: 4px; }

/* SÜTUN 19 */
.sx19-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sx19-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: .25s; }
.sx19-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.sx19-card > a { display: block; height: 100%; }
.sx19-card .sx-media { aspect-ratio: 3 / 2; }
.sx19-body { padding: 0 20px 22px; }
.sx19-no {
  position: relative; z-index: 2; display: block; margin-top: -30px; margin-bottom: 6px;
  font-family: var(--font-site); font-size: 62px; font-weight: 900; line-height: 1; color: var(--red);
  text-shadow: -3px -3px 0 #fff, 3px -3px 0 #fff, -3px 3px 0 #fff, 3px 3px 0 #fff, 0 3px 0 #fff, 0 -3px 0 #fff, 3px 0 0 #fff, -3px 0 0 #fff;
}
.sx19-card h3 { font-family: var(--font-site); font-size: 19px; line-height: 1.4; color: #111; margin-bottom: 8px; }
.sx19-card p { font-size: 13.5px; line-height: 1.6; color: #555; }
.sx19-read { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--red); }
.sx19-card:hover h3 { color: var(--red); }

/* SÜTUN 5 */
.sx5-grid { display: grid; grid-template-columns: 1fr 1.7fr 1fr; gap: 18px; }
.sx5-side { display: flex; flex-direction: column; gap: 12px; }
.sx5-item {
  display: flex; gap: 12px; background: #fff; border-radius: 6px; padding: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: box-shadow .2s;
}
.sx5-item:hover { box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.sx5-item .sx-media { flex: 0 0 96px; height: 68px; border-radius: 4px; }
.sx5-txt { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.sx5-item h4 { font-size: 17px; line-height: 1.35; font-weight: 600; color: #222; }
.sx5-item:hover h4 { color: var(--red); }
.sx5-hero { min-height: 450px; }
.sx5-hero h3 { font-family: var(--font-site); font-size: 17px; line-height: 1.3; font-weight: 600; margin: 9px 0 8px; }
.sx5-hero p { font-size: 13.5px; line-height: 1.55; color: #ddd; }
.sx5-lines { background: #fff; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.06); padding: 4px 14px; gap: 0; }
.sx5-line { display: flex; gap: 12px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid #eee; }
.sx5-line:last-child { border-bottom: 0; }
.sx5-line time { flex: 0 0 40px; font-size: 12px; font-weight: 800; color: var(--red); }
.sx5-line h4 { font-size: 17px; line-height: 1.4; font-weight: 600; color: #222; }
.sx5-line:hover h4 { color: var(--red); }

/* SÜTUN 8 */
.sx8-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.sx8-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: .25s; }
.sx8-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.sx8-card > a { display: flex; height: 100%; }
.sx8-card .sx-media { flex: 0 0 40%; min-height: 170px; }
.sx8-card .sx-media img { position: absolute; inset: 0; }
.sx8-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sx8-body h3 { font-size: 15.5px; line-height: 1.4; font-weight: 700; color: #111; }
.sx8-card:hover h3 { color: var(--red); }
.sx8-body p { font-size: 12.5px; line-height: 1.55; color: #666; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sx8-body .sx-time { margin-top: auto; }

/* SÜTUN 9 */
.sx9-feature {
  display: grid; grid-template-columns: 1.4fr 1fr; background: #fff; border-radius: 6px;
  overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: box-shadow .25s;
}
.sx9-feature:hover { box-shadow: 0 8px 22px rgba(0,0,0,.13); }
.sx9-feature .sx-media { min-height: 320px; }
.sx9-feature .sx-media img { position: absolute; inset: 0; }
.sx9-panel { padding: 28px; display: flex; flex-direction: column; gap: 12px; justify-content: center; background: #eef2f6; }
.sx9-panel .sx-badge { align-self: flex-start; }
.sx9-panel h3 { font-family: var(--font-site); font-size: 17px; font-weight: 600; line-height: 1.35; color: #111; }
.sx9-feature:hover h3 { color: var(--red); }
.sx9-panel p { font-size: 13.5px; line-height: 1.65; color: #555; }
.sx9-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 15px; }
.sx9-brief {
  display: block; background: #fff; border-radius: 6px; border-left: 4px solid var(--red);
  padding: 16px 18px; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: .2s;
}
.sx9-brief:hover { box-shadow: 0 5px 16px rgba(0,0,0,.1); transform: translateY(-2px); }
.sx9-brief h4 { font-size: 15px; line-height: 1.4; font-weight: 700; color: #111; margin: 6px 0 8px; }
.sx9-brief:hover h4 { color: var(--red); }

/* SÜTUN 14 */
.sx14-list { display: flex; flex-direction: column; gap: 15px; }
.sx14-row { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: box-shadow .25s; }
.sx14-row:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.sx14-row > a { display: grid; grid-template-columns: 1fr 1fr; }
.sx14-row .sx-media { min-height: 230px; }
.sx14-row .sx-media img { position: absolute; inset: 0; }
.sx14-row:nth-child(even) .sx-media { order: 2; }
.sx14-text { padding: 26px 30px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.sx14-text h3 { font-family: var(--font-site); font-size: 23px; line-height: 1.35; color: #111; }
.sx14-row:hover h3 { color: var(--red); }
.sx14-text p { font-size: 13.5px; line-height: 1.65; color: #555; }
.sx14-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.sx14-read { font-size: 12px; font-weight: 700; color: var(--red); }

/* RESPONSIVE: SÜTUN 5 – 19 */
@media (max-width: 1260px) {
  .sx10-prev { left: 6px; }
  .sx10-next { right: 6px; }
}

@media (max-width: 992px) {
  .sx6-grid { grid-template-columns: 1fr; }
  .sx7-grid { grid-template-columns: repeat(3, 1fr); }
  .sx10-card { flex-basis: calc((100% - 15px) / 2); }
  .sx11-grid { grid-template-columns: 1fr 1fr; }
  .sx11-lead-col { grid-column: span 2; border-bottom: 1px solid #e6e6e6; }
  .sx11-grid .sx11-col:nth-child(2) { border-left: 0; }
  .sx12-grid { grid-template-columns: repeat(2, 1fr); }
  .sx13-grid { grid-template-columns: 1fr 1fr; padding: 0; }
  .sx13-col, .sx13-col:first-child, .sx13-col:last-child { padding: 18px 16px; }
  .sx13-main { grid-column: 1 / -1; order: -1; border-left: 0 !important; border-bottom: 1px solid #ddd; }
  .sx13-col:nth-child(1) { border-left: 0; }
  .sx15-ticker { grid-template-columns: repeat(3, 1fr); }
  .sx15-news { grid-template-columns: 1fr; }
  .sx16-grid { grid-template-columns: 1fr 1fr; }
  .sx16-hero { grid-column: span 2; grid-row: auto; min-height: 300px; }
  .sx17-grid { grid-template-columns: 1fr; }
  .sx17-timeline { max-height: 330px; }
  .sx18-banner .sx-tile-body { max-width: 92%; }
  .sx18-grid { grid-template-columns: repeat(2, 1fr); }
  .sx19-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .sx6-pair { grid-template-columns: 1fr; }
  .sx6-hero h3 { font-size: 19px; }
  .sx7-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sx10-card { flex-basis: 78%; }
  .sx10-btn { display: none; }
  .sx11-grid { grid-template-columns: 1fr; }
  .sx11-lead-col { grid-column: auto; }
  .sx11-col { border-left: 0; border-bottom: 1px solid #e6e6e6; }
  .sx11-col:last-child { border-bottom: 0; }
  .sx11-lead h3 { font-size: 17px; font-weight: 600; }
  .sx12-grid { grid-template-columns: 1fr; }
  .sx12-wide { grid-column: auto; flex-direction: column-reverse; }
  .sx12-wide .sx-media { flex: none; min-height: 0; aspect-ratio: 3 / 2; }
  .sx13-grid { grid-template-columns: 1fr; }
  .sx13-col + .sx13-col { border-left: 0; border-top: 1px solid #ddd; }
  .sx13-main h3 { font-size: 21px; }
  .sx13-head h2 { font-size: 17px; letter-spacing: 3px; }
  .sx15-ticker { grid-template-columns: repeat(2, 1fr); }
  .sx15-hero { min-height: 240px; }
  .sx15-hero h3, .sx17-hero h3, .sx16-hero h3 { font-size: 19px; }
  .sx16-grid { grid-template-columns: 1fr; }
  .sx16-hero { grid-column: auto; min-height: 240px; }
  .sx17-hero { height: 250px; }
  .sx17-two { grid-template-columns: 1fr; }
  .sx18-banner { height: 280px; }
  .sx18-banner .sx-tile-body { padding: 16px; max-width: 100%; }
  .sx18-banner h2 { font-size: 20px; }
  .sx18-banner p { display: none; }
  .sx18-grid { grid-template-columns: 1fr; }
  .sx19-grid { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
  .sx5-grid { grid-template-columns: 1fr 1fr; }
  .sx5-hero { grid-column: 1 / -1; order: -1; min-height: 340px; }
  .sx8-grid { grid-template-columns: 1fr; }
  .sx9-feature { grid-template-columns: 1fr; }
  .sx9-feature .sx-media { min-height: 260px; }
  .sx14-text { padding: 20px 22px; }
}
@media (max-width: 640px) {
  .sx5-grid { grid-template-columns: 1fr; }
  .sx5-hero { min-height: 270px; }
  .sx5-hero h3 { font-size: 20px; }
  .sx5-hero p { display: none; }
  .sx8-card > a { flex-direction: column; }
  .sx8-card .sx-media { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
  .sx9-panel { padding: 18px; }
  .sx9-panel h3 { font-size: 19px; }
  .sx9-trio { grid-template-columns: 1fr; }
  .sx14-row > a { grid-template-columns: 1fr; }
  .sx14-row .sx-media, .sx14-row:nth-child(even) .sx-media { order: 0; min-height: 0; aspect-ratio: 16 / 9; }
  .sx14-text h3 { font-size: 19px; }
}

/* ============ RENK YARDIMCI SINIFLARI (panelden gelen renkler) ============ */
.bg-sab1 { background: #d00000 !important; color: #fff; }
.text-sab1 { color: #d00000 !important; }
.border-sab1 { border-color: #d00000 !important; }
.bg-sab2 { background: #d00000 !important; color: #fff; }
.text-sab2 { color: #d00000 !important; }
.border-sab2 { border-color: #d00000 !important; }
.bg-sab3 { background: #d00000 !important; color: #fff; }
.text-sab3 { color: #d00000 !important; }
.border-sab3 { border-color: #d00000 !important; }
.bg-sab4 { background: #d00000 !important; color: #fff; }
.text-sab4 { color: #d00000 !important; }
.border-sab4 { border-color: #d00000 !important; }
.bg-sab5 { background: #d00000 !important; color: #fff; }
.text-sab5 { color: #d00000 !important; }
.border-sab5 { border-color: #d00000 !important; }
.bg-yan1 { background: #d00000 !important; color: #fff; }
.text-yan1 { color: #d00000 !important; }
.border-yan1 { border-color: #d00000 !important; }
.bg-yan2 { background: #d00000 !important; color: #fff; }
.text-yan2 { color: #d00000 !important; }
.border-yan2 { border-color: #d00000 !important; }
.bg-yan3 { background: #d00000 !important; color: #fff; }
.text-yan3 { color: #d00000 !important; }
.border-yan3 { border-color: #d00000 !important; }
.bg-yan4 { background: #d00000 !important; color: #fff; }
.text-yan4 { color: #d00000 !important; }
.border-yan4 { border-color: #d00000 !important; }
.bg-alt1 { background: #d00000 !important; color: #fff; }
.text-alt1 { color: #d00000 !important; }
.border-alt1 { border-color: #d00000 !important; }
.bg-alt2 { background: #d00000 !important; color: #fff; }
.text-alt2 { color: #d00000 !important; }
.border-alt2 { border-color: #d00000 !important; }
.bg-alt3 { background: #d00000 !important; color: #fff; }
.text-alt3 { color: #d00000 !important; }
.border-alt3 { border-color: #d00000 !important; }
.bg-menu { background: var(--menu-bg) !important; color: var(--menu-text); }
.bg-ticker { background: var(--ticker-bg) !important; color: var(--ticker-text); }
.text-sabit { color: var(--sabit-text) !important; }

/* Alt şablon (footer üstü / alt bloklar) */
.alt-sablon-1 .section-title .bar { background: var(--alt1); }
.alt-sablon-1 .side-title { border-color: var(--alt1); }
.alt-sablon-2 .section-title .bar { background: var(--alt2); }
.alt-sablon-2 .side-title { border-color: var(--alt2); }
.alt-sablon-3 .section-title .bar { background: var(--alt3); }
.alt-sablon-3 .side-title { border-color: var(--alt3); }
.alt-sablon-1 .more, .alt-sablon-1 .tag-small { color: var(--alt1); }
.alt-sablon-2 .more, .alt-sablon-2 .tag-small { color: var(--alt2); }
.alt-sablon-3 .more, .alt-sablon-3 .tag-small { color: var(--alt3); }

/* =====================================================================
   YAN (SIDEBAR) HABER ŞABLONLARI  —  .yw-*
   Diğer haber sitelerindeki yan menü bloklarının karşılığı.
   Renkler panelden gelir: --yan1 … --yan4 (her şablon bir renk alır).
   Kullanım: <aside class="yw yw-1"> ... </aside>  (yw-1 … yw-8)
   Renk değiştirmek için ek sınıf: .yw-c1 .yw-c2 .yw-c3 .yw-c4
   ===================================================================== */
.yw {
  --yw-c: var(--yan1);
  background: #fff; border-radius: 6px; margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06); overflow: hidden;
}
.yw-c1 { --yw-c: var(--yan1); }
.yw-c2 { --yw-c: var(--yan2); }
.yw-c3 { --yw-c: var(--yan3); }
.yw-c4 { --yw-c: var(--yan4); }
.yw a { color: inherit; text-decoration: none; }
.yw img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Ortak blok başlığı */
.yw-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border-bottom: 3px solid var(--yw-c);
}
.yw-head h3 {
  font-size: 14px; font-weight: 800; letter-spacing: 1px; color: #111;
  text-transform: uppercase; display: flex; align-items: center; gap: 8px;
}
.yw-head h3::before { content: ""; width: 4px; height: 16px; background: var(--yw-c); border-radius: 2px; }
.yw-more { font-size: 12px; font-weight: 700; color: var(--yw-c); white-space: nowrap; }
.yw-more:hover { text-decoration: underline; }
.yw-body { padding: 6px 14px 10px; }
.yw-time { font-size: 11px; font-weight: 600; color: #777; }
.yw-cat  { font-size: 10px; font-weight: 800; letter-spacing: .8px; color: var(--yw-c); text-transform: uppercase; }

/* ---- 1) ÇOK OKUNANLAR: numaralı liste ---- */
.yw-1 .yw-list { list-style: none; counter-reset: yw; }
.yw-1 .yw-list li { counter-increment: yw; border-bottom: 1px solid #eee; }
.yw-1 .yw-list li:last-child { border-bottom: 0; }
.yw-1 .yw-list a { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; }
.yw-1 .yw-list a::before {
  content: counter(yw); flex: 0 0 30px; height: 30px; line-height: 30px; text-align: center;
  font-size: 15px; font-weight: 900; color: #fff; background: #bbb; border-radius: 4px;
}
.yw-1 .yw-list li:nth-child(-n+3) a::before { background: var(--yw-c); }
.yw-1 h4 { font-size: 15px; line-height: 1.4; font-weight: 600; color: #222; }
.yw-1 a:hover h4 { color: var(--yw-c); }

/* ---- 2) SON HABERLER: saatli zaman çizgisi ---- */
.yw-2 .yw-tl { list-style: none; position: relative; padding-left: 18px; margin: 8px 0; }
.yw-2 .yw-tl::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; background: #e5e5e5; }
.yw-2 .yw-tl li { position: relative; padding: 8px 0; }
.yw-2 .yw-tl li::before {
  content: ""; position: absolute; left: -18px; top: 14px; width: 10px; height: 10px;
  background: #fff; border: 2px solid var(--yw-c); border-radius: 50%;
}
.yw-2 .yw-tl li:first-child::before { background: var(--yw-c); }
.yw-2 time { display: block; font-size: 12px; font-weight: 800; color: var(--yw-c); margin-bottom: 2px; }
.yw-2 h4 { font-size: 15px; line-height: 1.4; font-weight: 600; color: #222; }
.yw-2 a:hover h4 { color: var(--yw-c); }

/* ---- 3) KÜÇÜK RESİMLİ LİSTE (yatay kart) ---- */
.yw-3 .yw-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eee; }
.yw-3 .yw-item:last-child { border-bottom: 0; }
.yw-3 .yw-thumb { flex: 0 0 96px; height: 68px; border-radius: 4px; overflow: hidden; background: #ddd; }
.yw-3 .yw-thumb img { transition: transform .4s; }
.yw-3 .yw-item:hover .yw-thumb img { transform: scale(1.06); }
.yw-3 .yw-txt { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.yw-3 h4 { font-size: 15px; line-height: 1.35; font-weight: 600; color: #222; }
.yw-3 .yw-item:hover h4 { color: var(--yw-c); }

/* ---- 4) MANŞET: büyük kapak + altında liste ---- */
.yw-4 .yw-cover { position: relative; display: block; aspect-ratio: 16 / 10; background: #000; overflow: hidden; }
.yw-4 .yw-cover img { position: absolute; inset: 0; opacity: .92; transition: transform .45s, opacity .3s; }
.yw-4 .yw-cover:hover img { transform: scale(1.04); opacity: 1; }
.yw-4 .yw-cover-t {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.88));
}
.yw-4 .yw-cover-t .yw-cat { display: inline-block; background: var(--yw-c); color: #fff; padding: 2px 8px; border-radius: 3px; margin-bottom: 6px; }
.yw-4 .yw-cover-t h4 { font-size: 17px; line-height: 1.3; font-weight: 700; }
.yw-4 .yw-rest a { display: block; padding: 11px 14px; border-bottom: 1px solid #eee; font-size: 15px; line-height: 1.4; font-weight: 600; color: #222; }
.yw-4 .yw-rest a:last-child { border-bottom: 0; }
.yw-4 .yw-rest a::before { content: "▸"; color: var(--yw-c); margin-right: 8px; }
.yw-4 .yw-rest a:hover { color: var(--yw-c); background: #fafafa; }

/* ---- 5) SADECE BAŞLIK: sade liste (kırmızı çizgili) ---- */
.yw-5 .yw-lines a {
  display: block; padding: 11px 0 11px 12px; border-left: 3px solid #e5e5e5;
  margin: 8px 0; font-size: 15px; line-height: 1.4; font-weight: 600; color: #222; transition: .2s;
}
.yw-5 .yw-lines a:hover { border-left-color: var(--yw-c); color: var(--yw-c); padding-left: 16px; }

/* ---- 6) FOTO GALERİ: 2 sütun kareler ---- */
.yw-6 .yw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 14px 14px; }
.yw-6 .yw-tile { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 5px; overflow: hidden; background: #000; }
.yw-6 .yw-tile:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.yw-6 .yw-tile img { position: absolute; inset: 0; transition: transform .45s; }
.yw-6 .yw-tile:hover img { transform: scale(1.06); }
.yw-6 .yw-tile span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 8px 8px;
  font-size: 13px; line-height: 1.3; font-weight: 600; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
}
.yw-6 .yw-tile:first-child span { font-size: 15px; padding: 30px 12px 12px; }

/* ---- 7) YAZARLAR: yuvarlak foto + isim + yazı başlığı ---- */
.yw-7 .yw-author { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #eee; }
.yw-7 .yw-author:last-child { border-bottom: 0; }
.yw-7 .yw-avatar { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; border: 2px solid var(--yw-c); background: #ddd; }
.yw-7 .yw-name { display: block; font-size: 12px; font-weight: 800; color: var(--yw-c); margin-bottom: 2px; }
.yw-7 h4 { font-size: 14.5px; line-height: 1.35; font-weight: 600; color: #222; }
.yw-7 .yw-author:hover h4 { color: var(--yw-c); }

/* ---- 8) SEKMELİ (Son Dakika / Popüler): CSS-only radio sekmeler ---- */
.yw-8 input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.yw-8 .yw-tabs { display: flex; border-bottom: 3px solid var(--yw-c); }
.yw-8 .yw-tabs label {
  flex: 1; text-align: center; padding: 12px 8px; font-size: 13px; font-weight: 800; letter-spacing: .5px;
  text-transform: uppercase; color: #777; background: #f4f4f4; cursor: pointer; transition: .2s;
}
.yw-8 .yw-pane { display: none; padding: 4px 14px 10px; }
.yw-8 .yw-pane a { display: flex; gap: 10px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid #eee; font-size: 15px; line-height: 1.4; font-weight: 600; color: #222; }
.yw-8 .yw-pane a:last-child { border-bottom: 0; }
.yw-8 .yw-pane a:hover { color: var(--yw-c); }
.yw-8 .yw-pane time { flex: 0 0 40px; font-size: 12px; font-weight: 800; color: var(--yw-c); }
.yw-8 #yw8-a:checked ~ .yw-tabs label[for="yw8-a"],
.yw-8 #yw8-b:checked ~ .yw-tabs label[for="yw8-b"] { background: var(--yw-c); color: #fff; }
.yw-8 #yw8-a:checked ~ .yw-pane-a,
.yw-8 #yw8-b:checked ~ .yw-pane-b { display: block; }

/* Sidebar içinde sabit kalma (masaüstü) */
.yw-sticky { position: sticky; top: 15px; }

/* Mobil */
@media (max-width: 992px) { .yw-sticky { position: static; } }
@media (max-width: 480px) {
  .yw-3 .yw-thumb { flex-basis: 84px; height: 62px; }
  .yw-head h3 { font-size: 13px; }
  .yw-4 .yw-cover-t h4 { font-size: 16px; }
}

/* =====================================================================
   MOBİL UYUMLULUK KATMANI (Mobile-first düzeltmeler)
   Bu blok bilerek dosyanın EN SONUNDA durur; önceki kuralları
   gerektiğinde ezer. Tüm sayfalar (index, kategori, haber, sütunlar,
   slider, header/header2, footer) bu katmandan etkilenir.
   ===================================================================== */

/* ---- Genel taşma ve dokunmatik iyileştirmeleri ---- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; }
body { overflow-x: hidden; -webkit-tap-highlight-color: rgba(0,0,0,.08); word-wrap: break-word; overflow-wrap: break-word; }
img, video, iframe, embed, object, svg { max-width: 100%; }
button, .chip, .sx-tab, .slider-num, .pagination a { touch-action: manipulation; }

/* Ekran çentiği (notch) güvenli alanları */
@supports (padding: max(0px)) {
  body .container {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
}

/* ---- Geniş tablet / küçük laptop: container kenarlara yapışmasın ---- */
@media (max-width: 1230px) {
  body .container {
    padding-left: 15px;
    padding-right: 15px;
    padding-left: max(15px, env(safe-area-inset-left));
    padding-right: max(15px, env(safe-area-inset-right));
  }
  .nav .container { padding-left: 15px; padding-right: 15px; }
  .sx10-prev { left: 4px; }
  .sx10-next { right: 4px; }
}

/* =====================  TABLET  (≤ 992px)  ===================== */
@media (max-width: 992px) {

  /* Header (includes/header.php): logo solda, hamburger sağda, arama altta tam genişlik */
  .header { padding: 10px 0; }
  .header-inner { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
  .header-right { display: contents; }
  .header .logo { order: 1; margin-right: auto; }
  .header .menu-toggle { order: 2; display: block; min-width: 44px; min-height: 40px; }
  .header .search-box { order: 3; flex: 0 0 100%; width: 100%; }
  .header .search-box input { width: 100%; font-size: 16px; }

  /* Ana menü: hamburger ile açılır */
  .nav ul { display: none; flex-direction: column; flex-wrap: nowrap; }
  .nav.open ul { display: flex; max-height: 70vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .nav .container { padding-left: 0; padding-right: 0; }
  .nav a { padding: 13px 18px; border-bottom: 1px solid rgba(255,255,255,.18); }
  .nav a.active::after { left: 0; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }

  /* Header 2: hamburger her zaman sağa yaslı */
  .header2 .menu-toggle { margin-left: auto; min-width: 44px; min-height: 40px; }
  .header2-nav.open { max-height: 70vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .header2-nav a { white-space: normal; }

  /* Topbar */
  .topbar-inner { height: auto; padding: 6px 15px; }

  /* Slider */
  .main-slider { height: 340px; }
  .slider2-main .main-slider { height: 340px; }
  .slider2-side { flex-wrap: wrap; }

  /* Büyük haber kartı / sütun */
  .big-news img { height: 300px; }
  .column-layout { grid-template-columns: 1fr; }

  /* Sayfa düzenleri */
  .article-main, .comments { padding: 24px; }
  .category-header { padding: 24px; }
  .article-side, .category-side { min-width: 0; }

  /* Sütun 5-19 ek düzeltmeler */
  .sx7-grid { grid-template-columns: repeat(3, 1fr); }
  .sx12-wide .sx-media { min-height: 160px; }
  .sx10-card h3 { min-height: 0; }
  .sx17-hero { height: 300px; }
  .sx18-banner { height: 300px; }
}

/* =====================  TELEFON  (≤ 768px)  ===================== */
@media (max-width: 768px) {
  .article-title { font-size: 24px; }
  .article-body { font-size: 16px; line-height: 1.7; }
  .category-header h1 { font-size: 26px; letter-spacing: 1px; }
  .sx14-row > a { grid-template-columns: 1fr; }
  .sx14-row .sx-media, .sx14-row:nth-child(even) .sx-media { order: 0; min-height: 0; aspect-ratio: 16 / 9; }
  .sx9-feature .sx-media { min-height: 220px; }
  .sx15-ticker { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .sx13-grid { grid-template-columns: 1fr; }
  .sx13-col + .sx13-col { border-left: 0; border-top: 1px solid #ddd; }
}

/* =====================  TELEFON  (≤ 640px)  ===================== */
@media (max-width: 640px) {

  body { font-size: 14px; }
  body .container { padding-left: 12px; padding-right: 12px; }
  .nav .container { padding-left: 0; padding-right: 0; }

  /* Topbar: tarih/hava üstte, kurlar yatay kaydırılır */
  .topbar { font-size: 11.5px; }
  .topbar-inner { padding: 6px 12px; gap: 4px; justify-content: center; }
  .topbar-left { width: 100%; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
  .topbar-right {
    width: 100%; flex-wrap: nowrap; justify-content: flex-start; gap: 14px;
    overflow-x: auto; white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .topbar-right::-webkit-scrollbar { display: none; }
  .currency, .topbar-right .socials { flex: 0 0 auto; }
  .topbar-right .socials { margin-left: 0; }

  /* Header */
  .header { padding: 8px 0; }
  .header-inner { flex-direction: row; gap: 8px; }
  .logo img, .logo-haber { height: auto; width: auto; max-height: 44px; max-width: 160px; }
  .header2 .logo { font-size: 24px; }
  .search-box input { width: 100%; }
  .header2-inner { flex-wrap: wrap; }

  /* Ticker (Son Dakika) */
  .ticker-wrap { padding-top: 10px; }
  .ticker { height: 36px; }
  .ticker-label { padding: 0 10px; font-size: 11px; letter-spacing: .2px; }
  .ticker-track { padding-left: 12px; animation-duration: 45s; }
  .ticker-track span { font-size: 14px; margin-right: 28px; }

  /* Hero & üst kartlar */
  .hero { padding: 12px 0; }
  .hero-wrap { padding: 0; }
  .top-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 10px; }
  .top-card h3 {
    font-size: 12.5px; line-height: 1.45; padding: 10px 9px 12px; min-height: 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }

  /* Manşet slider */
  .main-slider, .slider2-main .main-slider { height: 240px; }
  .slide-title { left: 14px; right: 14px; max-width: none; font-size: 19px; line-height: 1.2; }
  .slider-nums { -webkit-overflow-scrolling: touch; }
  .slider-num { flex: 0 0 42px; height: 38px; font-size: 14px; }
  .slider2-wrapper { gap: 12px; margin-bottom: 14px; }
  .slider2-side { flex-direction: column; }
  .gundem-overlay { padding: 12px; }

  /* Bölüm başlıkları */
  .section { padding: 16px 0; }
  .section-title { font-size: 16px; gap: 8px; }
  .section-head { margin-bottom: 12px; }

  /* Genel grid'ler */
  .grid-4, .grid-3 { gap: 12px; }
  .news-card h3 { font-size: 14px; }
  .big-news img { height: 220px; }
  .big-title { font-size: 16px; padding: 16px; }
  .banner-strip img { height: 90px; }
  .side-news img { width: 88px; height: 64px; }

  /* Yazarlar */
  .authors { padding: 28px 0; }
  .authors-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .author-card img { width: 72px; height: 72px; }

  /* Sütun 4 */
  .col3-thumb { flex: 0 0 96px; height: 66px; }
  .col3-text strong { font-size: 14px; }
  .col3-head { font-size: 15px; }

  /* Sütun 5-19 */
  .sx7-card .sx-media { aspect-ratio: 16 / 10; }
  .sx7-body h3 { font-size: 13px; }
  .sx10-track { gap: 12px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .sx10-card { flex-basis: 80%; }
  .sx10-card h3 { font-size: 13.5px; padding: 10px 12px 14px; }
  .sx11-col { padding: 14px; }
  .sx12-card { padding: 12px 14px 16px; }
  .sx12-wide h3 { font-size: 19px; }
  .sx13-head h2 { font-size: 16px; letter-spacing: 2px; }
  .sx13-story h3 { font-size: 16px; }
  .sx15-ticker { grid-template-columns: repeat(2, 1fr); }
  .sx15-val { font-size: 17px; }
  .sx15-panel { padding: 4px 12px; }
  .sx16-head { flex-direction: column; align-items: flex-start; }
  .sx16-card h4 { font-size: 13px; }
  .sx17-timeline { max-height: 300px; padding: 6px 12px 6px 18px; }
  .sx17-box-head { padding: 10px 14px; }
  .sx18-banner .sx-tile-body { padding: 14px; }
  .sx19-no { font-size: 48px; margin-top: -24px; }
  .sx19-card h3 { font-size: 17px; }
  .sx19-body { padding: 0 16px 18px; }
  .sx5-item .sx-media { flex: 0 0 88px; height: 64px; }
  .sx6-mini .sx-media { flex: 0 0 96px; height: 68px; }
  .sx6-rank b { font-size: 22px; }
  .sx9-brief { padding: 14px; }
  .sx14-text { padding: 16px 18px; }
  .sx-tabs { gap: 6px; }
  .sx-tab { padding: 7px 13px; }

  /* Makale sayfası */
  .breadcrumb { padding: 10px 0; font-size: 12px; }
  .article-main, .comments, .category-header { padding: 16px; border-radius: 6px; }
  .article-title { font-size: 21px; line-height: 1.3; }
  .article-meta { gap: 6px 14px; font-size: 12px; }
  .article-body { font-size: 15.5px; line-height: 1.7; }
  .article-body h2 { font-size: 18px; }
  .article-body blockquote { padding: 12px 14px; font-size: 14.5px; }
  .article-body ul { margin-left: 18px; }
  .share-bar a { flex: 1 1 calc(50% - 8px); text-align: center; padding: 10px 12px; }
  .comment-form button { align-self: stretch; padding: 12px 24px; }
  .comment-form textarea { font-size: 16px; }
  .comment-avatar { width: 36px; height: 36px; }

  /* Kategori sayfası */
  .category-page { padding: 14px 0; }
  .category-header h1 { font-size: 22px; letter-spacing: .5px; }
  .pagination { gap: 5px; margin-top: 22px; }
  .pagination a, .pagination span { padding: 9px 12px; min-width: 40px; text-align: center; font-size: 12.5px; }

  /* Tablolar (puan durumu vb.) */
  .league-table table { font-size: 12px; }
  .league-table th, .league-table td { padding: 8px 8px; }

  /* Reklam alanları */
  .ad-slot { margin: 14px auto; max-width: 100%; overflow: hidden; }
  .ad-slot-top, .ad-slot-wide, .ad-slot-inline { min-height: 100px; }
  .ad-slot-side { max-width: 100%; }

  /* Footer */
  .footer { padding: 26px 0 14px; margin-top: 20px; }
  .footer-top { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .footer-nav { justify-content: center; gap: 10px 18px; }
  .footer .socials { margin-left: 0; justify-content: center; }
  .footer-bottom { font-size: 11.5px; line-height: 1.6; }
}

/* =====================  KÜÇÜK TELEFON  (≤ 480px)  ===================== */
@media (max-width: 480px) {
  .authors-grid { grid-template-columns: 1fr 1fr; }
  .small-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .small-news-card img { height: 96px; }
  .small-news-card h4 { font-size: 12.5px; padding: 10px; min-height: 0; }
  .sx7-grid { gap: 10px; }
  .sx15-name { font-size: 10.5px; }
  .sx6-hero h3 { font-size: 18px; }
  .sx11-lead h3 { font-size: 19px; }
  .slide-title { font-size: 17px; }
  .main-slider, .slider2-main .main-slider { height: 220px; }
  .gundem-main-text-red { font-size: 16px; }
  .gundem-main-text-dark { font-size: 15px; }
}

/* =====================  ÇOK KÜÇÜK EKRAN  (≤ 380px)  ===================== */
@media (max-width: 380px) {
  body .container { padding-left: 10px; padding-right: 10px; }
  .logo img, .logo-haber { max-height: 38px; max-width: 135px; }
  .top-card h3 { font-size: 12px; }
  .article-title { font-size: 19px; }
  .sx15-ticker { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sx15-card { padding: 10px; }
  .slider-num { flex-basis: 38px; }
  .share-bar a { flex-basis: 100%; }
  .pagination a, .pagination span { padding: 8px 10px; min-width: 36px; }
}

/* ---- Haber içeriği (veritabanından gelen HTML) taşmasın ---- */
.article-body img { max-width: 100%; height: auto !important; border-radius: 4px; }
.article-body iframe, .article-body video, .article-body embed, .article-body object { max-width: 100%; }
.article-body iframe[src*="youtube"], .article-body iframe[src*="youtu.be"], .article-body iframe[src*="vimeo"] {
  width: 100%; height: auto; aspect-ratio: 16 / 9;
}
.article-body table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-collapse: collapse; }
.article-body td, .article-body th { padding: 6px 10px; border: 1px solid var(--border); }
.article-body pre, .article-body code { max-width: 100%; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
.article-body a { color: var(--red); word-break: break-word; }
.article-body * { max-width: 100%; }
.article-main, .article-side, .category-main, .comments { min-width: 0; }

/* ---- Tablolar: dar ekranda yatay kaydırma ---- */
.league-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---- Grid çocukları taşmasın ---- */
.top-cards > *, .grid-4 > *, .grid-3 > *, .two-col > *, .col3-grid > *, .sx6-grid > *, .sx17-grid > *,
.article-layout > *, .category-layout > *, .slider2-wrapper > * { min-width: 0; }

/* ---- Dokunmatik cihazlarda hover animasyonlarını kapat (takılı kalmasın) ---- */
@media (hover: none) {
  .news-card:hover, .small-news-card:hover, .sx7-card:hover, .sx16-card:hover,
  .sx19-card:hover, .sx8-card:hover, .sx9-brief:hover { transform: none; }
  .top-card:hover .top-card-img img, .sx-media:hover img, .sx-tile:hover > img,
  .col3-hero:hover img, .big-news-card:hover img, .small-news-card:hover img { transform: none; }
}

/* ---- Hareket azaltma tercihi: ticker ve geçişleri durdur ---- */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; overflow-x: auto; }
  html { scroll-behavior: auto; }
}

/* ---- Yazdırma ---- */
@media print {
  .topbar, .header, .header2, .nav, .ticker-wrap, .footer, .ad-slot, .share-bar, .comments { display: none !important; }
  body { background: #fff; }
  .article-layout { display: block; }
  .article-main { padding: 0; box-shadow: none; }
}

/* Yan sütundaki reklam ile haber şablonları arasına boşluk ekler */
.category-side .sidebar-ads {
    margin-bottom: 20px; /* Boşluğu ihtiyacınıza göre artırabilirsiniz */
}