/* Yenişafak Tema — özgün yerleşim, TürkAta markası. Başka sitenin CSS’i, logosu veya yazı tipi dosyası yoktur. */
:root {
  color-scheme: light;
  --ys-accent: #c8102e;
  --ys-navy: #0b2a5b;
  --ys-bg: #ffffff;
  --ys-surface: #f2f4f7;
  --ys-card: #ffffff;
  --ys-text: #111827;
  --ys-muted: #4b5563;
  --ys-line: #e3e6ea;
  --ys-head: #ffffff;
  --ys-nav: #0b2a5b;
  --ys-nav-text: #ffffff;
  --ys-shadow: 0 1px 2px rgba(17, 24, 39, .08), 0 1px 1px rgba(17, 24, 39, .04);
  --ys-gap: 16px;
  --ys-max: 1280px;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --ys-bg: #121417;
  --ys-surface: #1c1f24;
  --ys-card: #1a1d22;
  --ys-text: #f2f4f7;
  --ys-muted: #b7bdc7;
  --ys-line: rgba(255, 255, 255, .1);
  --ys-head: #0f1114;
  --ys-nav: #181b20;
  --ys-shadow: none;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body.ys {
  background: var(--ys-bg);
  color: var(--ys-text);
  font-family: "Liberation Sans", "Nimbus Sans", "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.ys-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ys-skip { position: absolute; left: -999px; top: 0; }
.ys-skip:focus { left: 8px; top: 8px; background: #fff; color: #111; padding: 8px; z-index: 50; }
.ys-bar, .ys-wrap, .ys-nav-in { width: min(var(--ys-max), calc(100% - 32px)); margin: 0 auto; }

/* Header: logo left, banner slot right */
.ys-header { background: var(--ys-head); border-bottom: 1px solid var(--ys-line); }
.ys-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; padding: 10px 0; }
.ys-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.ys-logo img { height: 64px; width: auto; }
.ys-logo strong { font-size: 1.6rem; font-weight: 900; color: var(--ys-navy); }
html[data-theme="dark"] .ys-logo strong { color: #fff; }
.ys-logo-dark { display: none !important; }
html[data-theme="dark"] .ys-logo-light { display: none !important; }
html[data-theme="dark"] .ys-logo-dark { display: block !important; }

/* Category bar */
.ys-nav { position: sticky; top: 0; z-index: 30; background: var(--ys-nav); color: var(--ys-nav-text); border-bottom: 3px solid var(--ys-accent); }
.ys-nav-in { display: flex; align-items: center; gap: 8px; min-height: 46px; }
.ys-nav-home { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 4px; }
.ys-nav-home:hover { background: var(--ys-accent); }
.ys-cats { display: flex; gap: 2px; overflow-x: auto; flex: 1 1 auto; min-width: 0; scrollbar-width: none; }
.ys-cats::-webkit-scrollbar { display: none; }
.ys-cats a, .ys-tools a { flex: 0 0 auto; padding: 8px 10px; font-size: 14px; font-weight: 700; border-radius: 3px; white-space: nowrap; }
.ys-cats a:hover, .ys-cats a[aria-current="page"], .ys-tools a:hover { background: var(--ys-accent); color: #fff; }
.ys-tools { display: flex; flex: 0 0 auto; gap: 2px; border-left: 1px solid rgba(255,255,255,.18); padding-left: 6px; }
.ys-tools a { font-weight: 600; opacity: .9; }
.ys-theme-toggle { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.ys-theme-toggle:hover { background: rgba(255,255,255,.12); }
.ys-ico-sun { display: none; }
html[data-theme="dark"] .ys-ico-sun { display: block; }
html[data-theme="dark"] .ys-ico-moon { display: none; }

/* Ad slots: rendered only when configured, so empty slots take no space */
.ys-ad { position: relative; display: flex; justify-content: center; align-items: center; margin: 0 auto; max-width: 100%; }
.ys-ad-label { position: absolute; top: -14px; right: 0; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ys-muted); }
.ys-ad img { max-width: 100%; height: auto; }
.ys-ad-header { flex: 0 1 728px; min-width: 0; margin: 0; }
.ys-ad-header .ys-ad-label { top: auto; bottom: -13px; }
.ys-leaderboard { display: flex; justify-content: center; padding-top: 22px; }
.ys-ad-home-between { margin: 4px auto; padding-top: 14px; width: 100%; }
.ys-ad-sidebar { padding-top: 14px; }
.ys-ad-article-inline { margin: 28px auto; padding-top: 14px; }
.ys-house { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 728px; height: 90px; padding: 0 20px; border-radius: 6px; color: #fff; text-decoration: none;
  background: linear-gradient(100deg, #0b2a5b 0%, #12407f 58%, #a30d26 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.ys-house:hover { filter: brightness(1.06); }
.ys-house-mark { width: 60px; height: 60px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.ys-house-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ys-house-copy strong { font-size: 19px; letter-spacing: .01em; }
.ys-house-copy span { font-size: 14px; opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ys-house-cta { margin-left: auto; flex: 0 0 auto; background: #fff; color: var(--ys-navy); font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.ys-ad-sidebar .ys-house { flex-wrap: wrap; height: auto; padding: 18px; justify-content: center; text-align: center; }
.ys-ad-sidebar .ys-house-cta { margin: 0; }

/* Header actions, son dakika, menu/search popovers */
.ys-chrome { display: flex; flex-direction: column; }
.ys-bar-mid { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.ys-bar.has-ticker .ys-bar-mid { justify-content: flex-start; }
.ys-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.ys-live { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 4px; background: var(--ys-accent); color: #fff; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
.ys-live span { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: ys-blink 1.2s infinite; }
@keyframes ys-blink { 50% { opacity: .25; } }
.ys-pop { position: relative; }
.ys-pop > summary { list-style: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; color: var(--ys-text); border: 1px solid var(--ys-line); }
.ys-pop > summary::-webkit-details-marker { display: none; }
.ys-pop > summary:hover, .ys-pop[open] > summary { background: var(--ys-accent); color: #fff; border-color: var(--ys-accent); }
.ys-pop-body { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; background: var(--ys-card); color: var(--ys-text); border: 1px solid var(--ys-line); border-radius: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.18); padding: 12px; }
.ys-search .ys-pop-body, .ys-searchform { display: flex; gap: 8px; width: min(420px, calc(100vw - 32px)); }
.ys-searchform { margin-bottom: 18px; width: 100%; max-width: 560px; }
.ys-search input, .ys-searchform input { flex: 1 1 auto; min-width: 0; padding: 10px 12px; border: 1px solid var(--ys-line); border-radius: 4px; background: var(--ys-bg); color: var(--ys-text); font: inherit; }
.ys-search button, .ys-searchform button, .ys-btn { display: inline-block; padding: 10px 14px; border: 0; border-radius: 4px; background: var(--ys-accent); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.ys-btn-ghost { background: transparent; color: var(--ys-accent); box-shadow: inset 0 0 0 2px var(--ys-accent); }
.ys-drawer { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 18px; width: min(640px, calc(100vw - 32px)); }
.ys-drawer h3 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ys-muted); }
.ys-drawer a { display: block; padding: 5px 0; font-weight: 700; }
.ys-drawer a:hover { color: var(--ys-accent); }
.ys-sd { display: flex; align-items: stretch; min-width: 0; width: 100%; max-width: 760px; height: 42px; border: 1px solid var(--ys-line); border-radius: 4px; overflow: hidden; background: var(--ys-card); }
.ys-sd-label { flex: 0 0 auto; display: flex; align-items: center; padding: 0 12px; background: var(--ys-accent); color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .04em; }
.ys-sd-track { position: relative; flex: 1 1 auto; min-width: 0; }
.ys-sd-track a { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 14px; font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; pointer-events: none; }
.ys-sd-track a.is-on { opacity: 1; transform: none; pointer-events: auto; }
.ys-sd-track a:hover { color: var(--ys-accent); }
.ys-sd-row { background: var(--ys-surface); border-bottom: 1px solid var(--ys-line); padding: 6px 0; }
.ys-sd-row .ys-sd { max-width: none; }
/* Market strip (under the menu) */
.ys-strip { background: var(--ys-surface); border-bottom: 1px solid var(--ys-line); }
.ys-strip-in { display: flex; align-items: center; gap: 16px; min-height: 46px; }
.ys-strip .ys-mkt { flex: 1 1 auto; flex-wrap: nowrap; overflow: hidden; gap: 4px 16px; }
.ys-strip-wx { flex: 0 0 auto; margin-left: auto; }
.ys-mkt { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.ys-mkt li { display: flex; align-items: baseline; gap: 6px; font-size: 13px; white-space: nowrap; }
.ys-mkt-l { font-weight: 800; text-transform: uppercase; color: var(--ys-muted); font-size: 12px; }
.ys-mkt-v { font-weight: 800; }
.ys-mkt-c { font-size: 12px; font-weight: 700; color: var(--ys-muted); }
.ys-mkt .is-up .ys-mkt-c, .ys-fx .is-up { color: #12873b; }
.ys-mkt .is-down .ys-mkt-c, .ys-fx .is-down { color: #d0182f; }
html[data-theme="dark"] .ys-mkt .is-up .ys-mkt-c, html[data-theme="dark"] .ys-fx .is-up { color: #3fd07a; }
html[data-theme="dark"] .ys-mkt .is-down .ys-mkt-c, html[data-theme="dark"] .ys-fx .is-down { color: #ff6b7d; }
.ys-wx-mini { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.ys-wx-mini strong { font-size: 18px; }
.ys-social { display: flex; gap: 6px; flex: 0 0 auto; }
.ys-social a { padding: 4px 8px; border-radius: 3px; font-size: 12px; font-weight: 800; background: rgba(255,255,255,.1); }
.ys-social a:hover { background: var(--ys-accent); color: #fff; }

/* Nefes preset: dark market strip on top, red header with menu left and big logo right */
.ys-preset-nefes .ys-strip { order: -1; background: #10151d; color: #e7ebf0; border-bottom: 0; }
.ys-preset-nefes .ys-strip .ys-mkt-l, .ys-preset-nefes .ys-strip .ys-mkt-c { color: #aab3bf; }
.ys-preset-nefes .ys-strip .is-up .ys-mkt-c { color: #3fd07a; }
.ys-preset-nefes .ys-strip .is-down .ys-mkt-c { color: #ff6b7d; }
.ys-preset-nefes .ys-header { background: var(--ys-accent); border-bottom: 0; }
.ys-preset-nefes .ys-bar { flex-direction: row-reverse; }
.ys-preset-nefes .ys-actions { flex-direction: row-reverse; }
.ys-preset-nefes .ys-pop > summary { color: #fff; border-color: rgba(255,255,255,.45); }
.ys-preset-nefes .ys-pop > summary:hover, .ys-preset-nefes .ys-pop[open] > summary { background: #fff; color: var(--ys-accent); }
.ys-preset-nefes .ys-pop-body { right: auto; left: 0; }
.ys-preset-nefes .ys-live { background: #fff; color: var(--ys-accent); }
.ys-preset-nefes .ys-live span { background: var(--ys-accent); }
.ys-preset-nefes .ys-logo-light { display: none !important; }
.ys-preset-nefes .ys-logo-dark { display: block !important; }
.ys-preset-nefes .ys-logo img { height: 72px; }
.ys-preset-nefes .ys-nav { background: var(--ys-navy); border-bottom-color: #0a1a38; }
.ys-preset-nefes .ys-bar.has-ticker .ys-bar-mid { justify-content: center; }

/* Service widgets */
.ys-box { background: var(--ys-card); border: 1px solid var(--ys-line); border-radius: 4px; padding: 0 14px 12px; min-width: 0; }
.ys-box > p { margin: 8px 0; }
.ys-box .ys-btn { margin: 4px 6px 0 0; font-size: 14px; padding: 8px 12px; }
.ys-box-head a:hover { color: var(--ys-accent); }
.ys-box-src { margin: 8px 0 0; font-size: 11.5px; color: var(--ys-muted); }
.ys-city { max-width: 130px; padding: 4px 6px; border: 1px solid var(--ys-line); border-radius: 4px; background: var(--ys-bg); color: var(--ys-text); font: inherit; font-size: 13px; text-transform: none; letter-spacing: 0; font-weight: 600; }
.ys-wx-now { display: flex; gap: 12px; align-items: center; }
.ys-wx-now > div { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--ys-muted); }
.ys-wx-now strong { font-size: 30px; line-height: 1; color: var(--ys-text); }
.ys-wx-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; text-align: center; }
.ys-wx-days li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; background: var(--ys-surface); border-radius: 4px; font-size: 12px; }
.ys-wx-days i { font-style: normal; color: var(--ys-muted); }
.ys-fx { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ys-fx th, .ys-fx td { padding: 5px 4px; border-bottom: 1px solid var(--ys-line); text-align: right; font-variant-numeric: tabular-nums; }
.ys-fx th:first-child, .ys-fx thead th { text-align: left; }
.ys-fx thead th { font-size: 11px; color: var(--ys-muted); text-transform: uppercase; }
.ys-fx td { font-weight: 700; }
.ys-pray { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.ys-pray li { display: flex; flex-direction: column; align-items: center; padding: 7px 0; background: var(--ys-surface); border-radius: 4px; font-size: 12px; color: var(--ys-muted); }
.ys-pray strong { font-size: 16px; color: var(--ys-text); font-variant-numeric: tabular-nums; }
.ys-pray-big { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ys-pray-big li { padding: 16px 0; font-size: 14px; }
.ys-pray-big strong { font-size: 24px; }
.ys-services { display: grid; gap: var(--ys-gap); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding-top: 30px; align-items: stretch; }
.ys-duo { display: grid; gap: var(--ys-gap); grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 30px; align-items: stretch; }
.ys-duo.is-single { grid-template-columns: minmax(0, 1fr); }
.ys-table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.ys-table th, .ys-table td { padding: 6px 5px; border-bottom: 1px solid var(--ys-line); text-align: center; }
.ys-table .t { text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.ys-table thead th { font-size: 11px; text-transform: uppercase; color: var(--ys-muted); }
.ys-table tbody tr:nth-child(-n+4) td:first-child { color: #fff; background: var(--ys-navy); }
.ys-table tbody tr:nth-last-child(-n+3) td:first-child { color: #fff; background: var(--ys-accent); }
.ys-signs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ys-sign { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; background: var(--ys-surface); border-radius: 4px; text-align: center; }
.ys-sign span { font-size: 26px; line-height: 1.1; color: var(--ys-accent); }
.ys-sign strong { font-size: 14px; }
.ys-sign small { font-size: 11px; color: var(--ys-muted); }
.ys-sign em { font-style: normal; font-size: 12.5px; color: var(--ys-muted); margin-top: 4px; }
.ys-sign:hover { box-shadow: inset 0 0 0 2px var(--ys-accent); }
.ys-signs-big { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.ys-signs-big .ys-sign { padding: 18px 10px; }
.ys-citylist { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.ys-citylist a { padding: 6px 10px; border-radius: 999px; background: var(--ys-surface); font-size: 13px; font-weight: 700; }
.ys-citylist a:hover, .ys-citylist a[aria-current="page"] { background: var(--ys-accent); color: #fff; }
.ys-service .ys-wx { max-width: 560px; }
.ys-aside .ys-box-head { font-size: .9rem; }

/* ===== Home top (manşet presets) ===== */
.ys-home { padding-bottom: 32px; }
.ys-front { display: flex; flex-direction: column; gap: var(--ys-gap); padding-top: var(--ys-gap); }
.ys-frow { display: grid; gap: var(--ys-gap); min-width: 0; }
.ys-frow.r-full { grid-template-columns: minmax(0, 1fr); }
.ys-frow.r-cards { grid-template-columns: minmax(0, 1fr); }
.ys-frow.r-odatv { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); }
.ys-frow.r-60 { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.ys-frow.r-65 { grid-template-columns: minmax(0, 65fr) minmax(0, 35fr); }
.ys-frow.r-70 { grid-template-columns: minmax(0, 70fr) minmax(0, 30fr); }
.ys-cell { min-width: 0; }
/* a stack takes exactly the row height set by its slider: never an empty band */
.ys-stack { position: relative; }
.ys-fill { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.ys-fill > * { flex: 1 1 0; min-height: 0; }
.ys-fill > .ys-cell-slider { flex: 1.6 1 0; display: flex; }
.ys-fill > .ys-cell-slider .ys-slider { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; width: 100%; }
.ys-fill .ys-slides { aspect-ratio: auto !important; flex: 1 1 auto; min-height: 0; }
.ys-fill > .ys-cards { display: grid; gap: 12px; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); }
.ys-fill > .ys-cards.c-duo { --cols: 2; }
.ys-fill > .ys-cards .ys-kcard { min-height: 0; }
.ys-fill > .ys-cards .ys-kcard-img { aspect-ratio: auto; flex: 1 1 auto; min-height: 0; }
.ys-front-nefes .ys-fill > .ys-cards.c-duo { --cols: 1; }

/* Takvim-style cards: image + red kicker, title below */
.ys-cards { display: grid; gap: var(--ys-gap); grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.ys-kcard { display: flex; flex-direction: column; min-width: 0; background: var(--ys-card); border: 1px solid var(--ys-line); border-radius: 4px; overflow: hidden; box-shadow: var(--ys-shadow); }
.ys-kcard-img { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--ys-surface); overflow: hidden; }
.ys-kcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ys-kcard:hover img { transform: scale(1.03); }
.ys-kcard-img small { position: absolute; left: 8px; top: 8px; max-width: calc(100% - 16px); background: var(--ys-accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 7px; border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.ys-kcard strong { flex: 0 0 auto; height: calc(2 * 1.28em); margin: 9px 11px 11px; padding: 0; font-size: .98rem; font-weight: 800; line-height: 1.28; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2 * 1.28em); }
.ys-kcard:hover strong { color: var(--ys-accent); }

/* Overlay tiles (Odatv left column) */
.ys-tile { position: relative; display: block; overflow: hidden; border-radius: 4px; background: #1f2937; color: #fff; isolation: isolate; }
.ys-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ys-tile:hover img { transform: scale(1.03); }
.ys-tile-copy, .ys-slide-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 40px 14px 14px; background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.55) 35%, rgba(0,0,0,.9) 100%); color: #fff; }
.ys-tile-copy small, .ys-slide-copy small { background: var(--ys-accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 7px; border-radius: 2px; }
.ys-tile-copy strong { font-size: 1rem; font-weight: 800; line-height: 1.22; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 2px rgba(0,0,0,.4); }

/* Sliders */
.ys-slider { position: relative; min-width: 0; }
.ys-slides { position: relative; overflow: hidden; border-radius: 4px; background: #111827; }
.ys-r-sq .ys-slides { aspect-ratio: 1 / 1; }
.ys-r-four .ys-slides { aspect-ratio: 4 / 3; }
.ys-r-wide .ys-slides { aspect-ratio: 16 / 9; }
.ys-r-banner .ys-slides { aspect-ratio: 3 / 1; }
.ys-slide { position: absolute; inset: 0; display: block; color: #fff; opacity: 0; z-index: 0; pointer-events: none; transition: opacity .45s ease; }
.ys-slide.is-on { opacity: 1; z-index: 1; pointer-events: auto; }
.ys-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ys-slide-copy { padding: 80px 22px 20px; gap: 10px; }
.ys-slide-copy strong { font-size: clamp(1.2rem, 2vw, 2.1rem); font-weight: 900; line-height: 1.12; text-shadow: 0 2px 6px rgba(0,0,0,.45); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.is-main .ys-slide-copy strong { font-size: clamp(1.4rem, 2.4vw, 2.3rem); }
.ys-r-banner .ys-slide-copy { left: auto; top: 0; width: 55%; padding: 24px 28px 24px 90px; justify-content: center; background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.65) 30%, rgba(0,0,0,.88) 100%); align-items: flex-start; }
.ys-r-banner .ys-slide-copy strong { font-size: clamp(1.3rem, 2.5vw, 2.5rem); -webkit-line-clamp: 4; }
.ys-r-banner .ys-slide-copy { right: 0; }
.ys-cell-slider:not(.is-main) .ys-slide-copy { padding: 50px 16px 14px; }
.ys-cell-slider:not(.is-main) .ys-slide-copy strong { font-size: clamp(1.05rem, 1.5vw, 1.45rem); }
.ys-arrow { position: absolute; top: 50%; z-index: 3; width: 40px; height: 40px; margin-top: -20px; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 28px; line-height: 36px; cursor: pointer; opacity: .75; transition: opacity .2s, background .2s; }
.ys-arrow:hover, .ys-arrow:focus-visible { opacity: 1; background: var(--ys-accent); }
.ys-prev { left: 10px; }
.ys-next { right: 10px; }
.ys-p-vertical .ys-prev { left: 56px; }
.ys-pager { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 6px; }
.ys-pager a { flex: 1 0 24px; height: 30px; display: grid; place-items: center; background: var(--ys-surface); color: var(--ys-text); font-size: 13px; font-weight: 800; border-radius: 2px; }
.ys-pager a:hover { background: var(--ys-navy); color: #fff; }
.ys-pager a[aria-current="true"] { background: var(--ys-accent); color: #fff; }
.ys-pager-dots { justify-content: center; gap: 6px; margin-top: 8px; }
.ys-pager-dots a { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--ys-line); }
.ys-pager-dots a[aria-current="true"] { background: var(--ys-accent); }
.ys-pager-thumbs { flex-wrap: nowrap; overflow: hidden; gap: 4px; }
.ys-pager-thumbs a { flex: 1 1 0; min-width: 0; height: 46px; padding: 0; overflow: hidden; opacity: .6; border: 2px solid transparent; background: var(--ys-surface); }
.ys-pager-thumbs a img { width: 100%; height: 100%; object-fit: cover; }
.ys-pager-thumbs a[aria-current="true"] { opacity: 1; border-color: var(--ys-accent); background: var(--ys-surface); }
.ys-pager-v { position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 6px; margin: 0; padding: 0 10px; background: linear-gradient(90deg, rgba(0,0,0,.55), transparent); }
.ys-pager-v a { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.85); color: #111; }
.ys-pager-v a[aria-current="true"] { background: var(--ys-accent); color: #fff; }

/* Thumbnail rows (Odatv right column, news boxes) */
.ys-rows { display: flex; flex-direction: column; min-height: 0; }
.ys-rows.c-box { background: var(--ys-card); border: 1px solid var(--ys-line); border-radius: 4px; padding: 0 12px 10px; }
.ys-box-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; padding: 10px 0 8px; border-bottom: 3px solid var(--ys-accent); font-size: .95rem; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; color: var(--ys-navy); }
html[data-theme="dark"] .ys-box-head { color: #fff; }
.ys-fill .ys-rows .ys-row { flex: 1 1 0; min-height: 0; }
.ys-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--ys-line); overflow: hidden; }
.ys-rows > .ys-row:first-child { padding-top: 0; }
.ys-row:last-child { border-bottom: 0; padding-bottom: 0; }
.ys-row-img { position: relative; align-self: stretch; min-height: 54px; overflow: hidden; border-radius: 3px; background: var(--ys-surface); }
.ys-row-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ys-row strong { font-size: 14.5px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ys-row:hover strong, .ys-card:hover strong { color: var(--ys-accent); }
.ys-cell-markets .ys-mkt { justify-content: space-between; background: var(--ys-card); border: 1px solid var(--ys-line); border-radius: 4px; padding: 10px 14px; }
.ys-cell-markets .ys-mkt li { flex-direction: column; align-items: flex-start; gap: 2px; }

/* Section heads, cards and grids */
.ys-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding-bottom: 6px; border-bottom: 3px solid var(--ys-accent);
  font-size: 1.15rem; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; color: var(--ys-navy); }
html[data-theme="dark"] .ys-head { color: #fff; }
.ys-head-more { font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ys-muted); }
.ys-head-more:hover { color: var(--ys-accent); }
.ys-blocks { display: grid; gap: 30px; padding-top: 30px; }
.ys-band { padding-top: 30px; }
.ys-grid4, .ys-grid3, .ys-block-grid, .ys-video-row { display: grid; gap: var(--ys-gap); grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.ys-c1 { --cols: 1; } .ys-c2 { --cols: 2; } .ys-c3, .ys-grid3, .ys-block-grid { --cols: 3; } .ys-c4 { --cols: 4; }
.ys-card, .ys-video { display: flex; flex-direction: column; min-width: 0; background: var(--ys-card); border-radius: 4px; overflow: hidden; box-shadow: var(--ys-shadow); border: 1px solid var(--ys-line); }
.ys-media { display: block; position: relative; background: var(--ys-surface); aspect-ratio: 16 / 9; overflow: hidden; }
.ys-media img { width: 100%; height: 100%; object-fit: cover; }
.ys-card-copy { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; flex: 1 1 auto; }
.ys-card strong, .ys-video strong { font-size: 1rem; font-weight: 800; line-height: 1.28; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ys-card em { color: var(--ys-muted); font-style: normal; font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ys-card small { margin-top: auto; color: var(--ys-muted); font-size: 12px; }
.ys-video strong { padding: 10px 12px 0; }
.ys-video small { display: block; padding: 4px 12px 12px; color: var(--ys-muted); font-size: 12px; }
.ys-authors { display: grid; gap: var(--ys-gap); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ys-author { display: grid; gap: 4px; padding: 14px; justify-items: start; background: var(--ys-card); border: 1px solid var(--ys-line); border-radius: 4px; }
.ys-author small { color: var(--ys-muted); }
.ys-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ys-accent); color: #fff; font-weight: 800; }

/* Category, article, static pages */
.ys-cat-hero { margin: 0; padding: 18px 0; background: var(--ys-surface); border-bottom: 1px solid var(--ys-line); }
.ys-cat-hero h1, .ys-cat-hero p { width: min(var(--ys-max), calc(100% - 32px)); margin: 0 auto; }
.ys-cat-hero h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--ys-navy); }
html[data-theme="dark"] .ys-cat-hero h1 { color: #fff; }
.ys-page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; padding: 24px 0 40px; }
.ys-category { min-width: 0; padding-bottom: 8px; }
.ys-aside { display: grid; gap: 22px; min-width: 0; position: sticky; top: 62px; }
.ys-aside-list .ys-row { height: 86px; }
.ys-article { min-width: 0; }
.ys-static { padding: 24px 0 48px; max-width: 860px; }
.ys-article h1, .ys-static h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.18; margin: 10px 0; font-weight: 900; }
.ys-kicker { margin: 0; }
.ys-kicker a { color: #fff; background: var(--ys-accent); font-weight: 800; font-size: 12px; padding: 4px 8px; text-transform: uppercase; letter-spacing: .04em; }
.ys-meta, .ys-source-note, .ys-empty { color: var(--ys-muted); }
.ys-spot { font-size: 1.15rem; font-weight: 700; color: var(--ys-text); }
.ys-article .ys-media-hero { margin: 16px 0; border-radius: 4px; }
.ys-source, .ys-more a { display: inline-block; margin-top: 8px; background: var(--ys-accent); color: #fff; font-weight: 800; padding: 10px 14px; border-radius: 3px; }
.ys-more { margin-top: 20px; }
.ys-body { line-height: 1.75; overflow-wrap: anywhere; font-size: 1.08rem; }
.ys-body p { margin: 0 0 1.05em; }
.ys-body img { display: block; max-width: 100%; height: auto; margin: 16px 0; border-radius: 4px; }
.ys-body figure { margin: 16px 0; }
.ys-body figcaption { color: var(--ys-muted); font-size: .9rem; }
.ys-body a { color: var(--ys-accent); text-decoration: underline; }
.ys-body blockquote { border-left: 4px solid var(--ys-accent); margin: 16px 0; padding: 4px 16px; }
.ys-source-credit { margin-top: 24px; font-size: .9rem; color: var(--ys-muted); }
.ys-source-credit a { color: inherit; text-decoration: underline; }

/* Footer (always dark navy so the white logo works in both themes) */
.ys-footer { margin-top: 32px; background: #0a1a38; border-top: 4px solid var(--ys-accent); padding: 30px 0 40px; color: rgba(255,255,255,.82); }
.ys-footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: flex-start; }
.ys-footer-in > div { max-width: 640px; }
.ys-footer-logo { height: 52px; width: auto; }
.ys-footer nav { display: flex; flex-wrap: wrap; gap: 16px; font-weight: 700; }
.ys-footer a:hover { color: #fff; }
.ys-footer-name { color: #fff; font-weight: 800; }

/* Tablet */
@media (max-width: 1180px) {
  .ys-tools { display: none; }
  .ys-strip .ys-mkt li:nth-child(n+7) { display: none; }
}
@media (max-width: 1023px) {
  /* Manşet rows dissolve; the main slider comes first, then the 4 cards, then the rest. */
  .ys-frow, .ys-stack, .ys-fill { display: contents; }
  .ys-front > .ys-frow > *, .ys-fill > * { order: 5; }
  .ys-front .is-main { order: 1; }
  .ys-front .r-cards > .ys-cards { order: 2; }
  .ys-fill .ys-slides { aspect-ratio: 16 / 9 !important; }
  .ys-fill > .ys-cards, .ys-fill > .ys-cards.c-duo { --cols: 2; }
  .ys-fill > .ys-cards.c-one { --cols: 1; }
  .ys-fill > .ys-cards .ys-kcard-img { aspect-ratio: 16 / 9; }
  .ys-front-odatv .ys-tile { aspect-ratio: 16 / 9; }
    .ys-front .ys-tile { width: 100%; }
  .ys-front { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ys-front > *, .ys-front .ys-cell, .ys-front .ys-rows { grid-column: 1 / -1; }
  .ys-front .ys-tile { grid-column: auto; }
  .ys-front .ys-tile:last-of-type:nth-of-type(odd) { grid-column: 1 / -1; }
  .ys-rows .ys-row { min-height: 80px; }
  .ys-r-banner .ys-slides { aspect-ratio: 16 / 9; }
  .ys-r-banner .ys-slide-copy { left: 0; top: auto; width: auto; padding: 60px 18px 18px 64px; background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.55) 35%, rgba(0,0,0,.9) 100%); justify-content: flex-end; }
  .ys-r-sq .ys-slides { aspect-ratio: 4 / 3; }
  .ys-c4, .ys-video-row { --cols: 2; }
  .ys-page { grid-template-columns: minmax(0, 1fr); }
  .ys-aside { position: static; }
  .ys-aside-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--ys-gap); }
  .ys-aside-list .ys-head { grid-column: 1 / -1; }
  .ys-authors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ys-duo { grid-template-columns: minmax(0, 1fr); }
  .ys-pray-big { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ys-bar.has-ad { flex-wrap: wrap; }
  .ys-bar.has-ad .ys-bar-mid { order: 3; flex: 1 1 100%; }
  .ys-bar.has-ticker .ys-bar-mid { display: none; }
  .ys-bar.has-ticker ~ * .ys-sd { display: none; }
}
/* Phone */
@media (max-width: 680px) {
  :root { --ys-gap: 12px; }
  .ys-bar, .ys-wrap, .ys-nav-in, .ys-cat-hero h1 { width: calc(100% - 24px); }
  .ys-bar { gap: 10px; min-height: 0; padding: 8px 0 10px; }
  .ys-logo img { height: 42px; }
  .ys-preset-nefes .ys-logo img { height: 48px; }
  .ys-live { padding: 7px 8px; font-size: 11px; }
  .ys-pop > summary { width: 36px; height: 36px; }
  .ys-drawer { grid-template-columns: repeat(2, minmax(0, 1fr)); position: fixed; left: 12px; right: 12px; top: 64px; width: auto; max-height: calc(100vh - 80px); overflow: auto; }
  .ys-search .ys-pop-body { position: fixed; left: 12px; right: 12px; top: 64px; width: auto; }
  .ys-ad-header .ys-ad-label { display: none; }
  .ys-house { height: 60px; gap: 10px; padding: 0 12px; }
  .ys-house-mark { width: 40px; height: 40px; }
  .ys-house-copy strong { font-size: 15px; }
  .ys-house-copy span { font-size: 12px; }
  .ys-house-cta { display: none; }
  .ys-ad-sidebar .ys-house-cta { display: inline-block; }
  .ys-strip-in { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 12px; }
  .ys-strip .ys-mkt { flex-wrap: nowrap; }
  .ys-strip .ys-mkt li:nth-child(n+7) { display: flex; }
  .ys-social { display: none; }
  .ys-r-sq .ys-slides, .ys-r-four .ys-slides { aspect-ratio: 1 / 1; }
  .ys-slide-copy { padding: 70px 14px 14px; }
  .ys-slide-copy strong, .is-main .ys-slide-copy strong { font-size: 1.3rem; }
  .ys-r-banner .ys-slides { aspect-ratio: 4 / 3; }
  .ys-pager-numbers a { flex: 0 0 calc((100% - 27px) / 10); height: 28px; }
  .ys-pager-thumbs a { height: 38px; }
  .ys-pager-thumbs a:nth-child(n+7) { display: none; }
  .ys-pager-v { padding: 0 6px; gap: 4px; }
  .ys-pager-v a { width: 26px; height: 26px; font-size: 12px; }
  .ys-arrow { width: 36px; height: 36px; margin-top: -18px; font-size: 26px; line-height: 32px; }
  .ys-kcard strong { font-size: .92rem; padding: 7px 9px 9px; }
  .ys-kcard-img small { font-size: 10px; padding: 3px 5px; }
  .ys-front .ys-tile { grid-column: 1 / -1; }
  .ys-c3, .ys-c4, .ys-grid3, .ys-block-grid, .ys-video-row { --cols: 2; }
  .ys-grid4 > :last-child:nth-child(odd), .ys-grid3 > :last-child:nth-child(odd), .ys-block-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ys-aside-list { grid-template-columns: minmax(0, 1fr); }
  .ys-card strong { font-size: .95rem; }
  .ys-card em { display: none; }
  .ys-blocks { gap: 24px; padding-top: 24px; }
  .ys-head { font-size: 1.02rem; }
  .ys-signs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ys-pray-big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ys-table .t { max-width: 130px; }
}

/* ===== Category block library (templates/blocks/*) ===== */
.is-broken { display: none !important; }
.ys-cblocks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-top: 24px; align-items: stretch; }
.ys-cblocks-pinned { grid-template-columns: minmax(0, 1fr); }
.ys-span-1 { grid-column: span 1; } .ys-span-2 { grid-column: span 2; } .ys-span-3 { grid-column: span 3; } .ys-span-4 { grid-column: 1 / -1; }
.ys-cblocks-ad { display: flex; justify-content: center; }
.ys-bx { --bx: var(--ys-accent); display: flex; flex-direction: column; min-width: 0; background: var(--ys-card); border: 1px solid var(--ys-line); border-radius: 12px; box-shadow: 0 2px 10px rgba(17,24,39,.06); padding: 14px; }
.ys-bx-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid color-mix(in srgb, var(--bx) 22%, transparent); }
.ys-bx-ico { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--bx); color: #fff; }
.ys-bx-head h2 { margin: 0; flex: 1 1 auto; min-width: 0; font-size: 1.12rem; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; color: var(--ys-text); }
.ys-bx-more { flex: 0 0 auto; font-size: 13px; font-weight: 800; color: var(--bx); }
.ys-bx-more:hover { text-decoration: underline; }
.ys-bx-body { display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; min-width: 0; }
.ys-bx img { width: 100%; height: 100%; object-fit: cover; }
.ys-bx a:hover strong { color: var(--bx); }
/* overlay image cards */
.ys-ov { position: relative; display: block; overflow: hidden; border-radius: 8px; background: #1f2937; color: #fff; aspect-ratio: 16 / 10; }
.ys-ov img { position: absolute; inset: 0; transition: transform .35s ease; }
.ys-ov:hover img { transform: scale(1.04); }
.ys-ov > span { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 34px 12px 11px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.82)); }
.ys-ov small { background: var(--bx); color: #fff; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 6px; border-radius: 3px; }
.ys-ov strong { font-size: 1.02rem; font-weight: 800; line-height: 1.22; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.ys-bx .ys-ov:hover strong { color: #fff; }
.ys-ov-sm strong { font-size: .86rem; -webkit-line-clamp: 2; }
.ys-ov-sm > span { padding: 24px 8px 8px; }
/* lead + 2 side */
.ys-l2 { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.ys-l2-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ys-l2-side .ys-ov { aspect-ratio: 16 / 11; }
.ys-bx.is-wide .ys-l2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.ys-bx.is-wide .ys-l2-side { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.ys-bx.is-wide .ys-l2-side .ys-ov { aspect-ratio: auto; min-height: 100px; }
/* numbered list */
.ys-num { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; flex: 1 1 auto; }
.ys-num li { border-bottom: 1px solid var(--ys-line); }
.ys-num li:last-child { border-bottom: 0; }
.ys-num a { display: grid; grid-template-columns: 24px minmax(0, 1fr) 64px; gap: 10px; align-items: center; padding: 7px 0; }
.ys-num b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 4px; background: var(--bx); color: #fff; font-size: 13px; }
.ys-num strong { font-size: .9rem; font-weight: 700; line-height: 1.28; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ys-num img { width: 64px; height: 42px; border-radius: 4px; }
.ys-num-text a { grid-template-columns: 24px minmax(0, 1fr); }
/* thumbnail list (thumb left) */
.ys-tl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; flex: 1 1 auto; }
.ys-tl li { border-bottom: 1px solid var(--ys-line); }
.ys-tl li:last-child { border-bottom: 0; }
.ys-tl a { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; align-items: center; padding: 7px 0; }
.ys-tl img { width: 84px; height: 54px; border-radius: 5px; }
.ys-tl strong { font-size: .9rem; font-weight: 700; line-height: 1.28; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ys-tl-big a { grid-template-columns: 110px minmax(0, 1fr); }
.ys-tl-big img { width: 110px; height: 72px; }
.ys-tl-big span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ys-tl-big small { font-size: 11.5px; color: var(--bx); font-weight: 700; }
/* mosaic */
.ys-mos { display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(120px, 1fr)); flex: 1 1 auto; }
.ys-mos .ys-ov { aspect-ratio: auto; }
.ys-mos .ys-ov-lead { grid-column: span 2; grid-row: span 2; }
.ys-mos .ys-ov-lead strong { font-size: 1.3rem; }
/* split */
.ys-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; flex: 1 1 auto; }
.ys-split-lead { display: flex; flex-direction: column; gap: 8px; }
.ys-split-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: var(--ys-surface); }
.ys-split-lead strong { font-size: 1.2rem; font-weight: 900; line-height: 1.22; }
.ys-split-lead em { font-style: normal; color: var(--ys-muted); font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
/* slider in box */
.ys-bx-slider .ys-slider { flex: 1 1 auto; }
.ys-bx-slider .ys-slides { border-radius: 8px; }
.ys-bx-slider .ys-slide-copy { padding: 50px 14px 14px; }
.ys-bx-slider .ys-slide-copy small { background: var(--bx); }
.ys-bx-slider .ys-slide-copy strong { font-size: 1.12rem; }
.ys-bx-slider .ys-pager-dots a[aria-current="true"] { background: var(--bx); }
.ys-bx-slider .ys-arrow:hover { background: var(--bx); }
/* tabs (radio, no JS) */
.ys-tabs { display: flex; flex-wrap: wrap; gap: 0; flex: 1 1 auto; align-content: flex-start; }
.ys-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.ys-tabs label { flex: 1 1 0; text-align: center; padding: 8px 6px; font-size: 13px; font-weight: 800; cursor: pointer; background: var(--ys-surface); color: var(--ys-muted); border-bottom: 3px solid transparent; }
.ys-tabs input:checked + label { color: var(--bx); border-bottom-color: var(--bx); background: transparent; }
.ys-tabs input:focus-visible + label { outline: 2px solid var(--bx); }
.ys-tabs .ys-tl { flex: 1 1 100%; display: none; padding-top: 4px; }
.ys-tabs #tb-x { display: none; }
.ys-tabs input:nth-of-type(1):checked ~ .ys-tab-1, .ys-tabs input:nth-of-type(2):checked ~ .ys-tab-2 { display: flex; }
/* masonry */
.ys-mas { columns: 3 160px; column-gap: 10px; }
.ys-mas-it { display: block; break-inside: avoid; margin-bottom: 10px; }
.ys-mas-img { display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--ys-surface); }
.ys-mas-it.is-tall .ys-mas-img { aspect-ratio: 3 / 4; }
.ys-mas-it strong { display: block; padding: 6px 2px 0; font-size: .9rem; font-weight: 800; line-height: 1.26; }
/* grid */
.ys-g4 { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ys-bx.is-wide .ys-g4-4, .ys-bx.is-wide .ys-g4-3 { grid-template-columns: repeat(var(--g, 4), minmax(0, 1fr)); }
.ys-bx.is-wide .ys-g4-3 { --g: 3; }
.ys-g4-1 { grid-template-columns: minmax(0, 1fr); }
.ys-g4-it { display: flex; flex-direction: column; gap: 6px; }
.ys-g4-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: var(--ys-surface); }
.ys-g4-it strong { font-size: .93rem; font-weight: 800; line-height: 1.26; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* dark block */
.ys-bx-dark { background: #111418; border-color: #111418; color: #f2f4f7; }
.ys-bx-dark .ys-bx-head h2 { color: #fff; }
.ys-bx-dark .ys-bx-head { border-bottom-color: rgba(255,255,255,.12); }
.ys-dk { display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.ys-dk .ys-ov-lead { aspect-ratio: 16 / 7; }
.ys-span-4 .ys-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.ys-span-4 .ys-split-img { aspect-ratio: 16 / 8; }
.ys-dk-play { position: absolute; left: 50%; top: 42%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(0,0,0,.55); box-shadow: inset 0 0 0 2px rgba(255,255,255,.8); }
.ys-dk-play::after { content: ""; position: absolute; left: 22px; top: 17px; border-left: 16px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.ys-dk-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ys-dk-row a { display: flex; flex-direction: column; gap: 6px; }
.ys-dk-row span { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #222; }
.ys-dk-row strong { font-size: .84rem; font-weight: 700; line-height: 1.25; color: #e7ebf0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ys-bx-dark a:hover strong { color: #fff; text-decoration: underline; }
/* horizontal strip */
.ys-strip-x { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, calc((100% - 36px) / 4.3)); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.ys-strip-x a { scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; }
.ys-strip-x span { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: var(--ys-surface); }
.ys-strip-x strong { font-size: .92rem; font-weight: 800; line-height: 1.26; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* slim top strip above blocks: 4 small image cards + ad box */
.ys-topstrip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; padding-top: 24px; }
.ys-ts { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #1f2937; color: #fff; }
.ys-ts img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ys-ts > span { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 26px 8px 8px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.85)); }
.ys-ts small { background: var(--ys-accent); font-size: 10px; font-weight: 800; padding: 2px 5px; border-radius: 3px; text-transform: uppercase; }
.ys-ts strong { font-size: .84rem; font-weight: 800; line-height: 1.22; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ys-topstrip .ys-ad { margin: 0; }
.ys-topstrip .ys-house { height: 100%; min-height: 0; flex-direction: column; justify-content: center; gap: 4px; padding: 10px; text-align: center; border-radius: 8px; }
.ys-topstrip .ys-house-mark { width: 34px; height: 34px; }
.ys-topstrip .ys-house-copy strong { font-size: 14px; }
.ys-topstrip .ys-house-copy span { font-size: 11px; white-space: normal; }
.ys-topstrip .ys-house-cta { display: none; }
.ys-topstrip .ys-ad-label { top: 2px; right: 6px; color: rgba(255,255,255,.7); z-index: 1; }
/* authors row */
.ys-authors-band { padding-top: 24px; }
.ys-authors-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.ys-authors-row .ys-author { scroll-snap-align: start; display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--ys-card); border: 1px solid var(--ys-line); border-radius: 12px; }
.ys-authors-row .ys-author:hover { border-color: var(--ys-accent); }
.ys-authors-row .ys-avatar { position: relative; width: 56px; height: 56px; flex: 0 0 auto; overflow: hidden; }
.ys-authors-row .ys-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ys-author-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ys-author-copy strong { font-size: .95rem; line-height: 1.2; }
.ys-author-copy small { color: var(--ys-muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ys-theme-m { display: none; }
@media (max-width: 1180px) {
  .ys-cblocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ys-cblocks > .ys-span-1 { grid-column: span 1; }
  .ys-cblocks > .ys-span-2, .ys-cblocks > .ys-span-3 { grid-column: 1 / -1; }
  .ys-cblocks > .ys-span-1:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  .ys-topstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ys-topstrip > :nth-child(5) { grid-column: 1 / -1; }
  .ys-topstrip .ys-house { flex-direction: row; height: 70px; }
}
@media (max-width: 680px) {
  .ys-cblocks { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ys-cblocks > * { grid-column: 1 / -1 !important; }
  .ys-bx { padding: 12px; border-radius: 10px; }
  .ys-bx.is-wide .ys-l2 { grid-template-columns: minmax(0, 1fr); }
  .ys-bx.is-wide .ys-l2-side { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .ys-bx.is-wide .ys-l2-side .ys-ov { aspect-ratio: 16 / 11; }
  .ys-mos { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .ys-mos .ys-ov { aspect-ratio: 16 / 11; }
  .ys-mos .ys-ov-lead { grid-row: auto; aspect-ratio: 16 / 10; }
  .ys-split { grid-template-columns: minmax(0, 1fr); }
  .ys-mas { columns: 2 120px; }
  .ys-bx.is-wide .ys-g4-4, .ys-bx.is-wide .ys-g4-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ys-dk-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ys-strip-x { grid-auto-columns: 72%; }
  .ys-authors-row { grid-auto-columns: 78%; }
  /* hamburger: categories live in the header menu on phones */
  .ys-nav { display: none; }
  .ys-theme-m { display: grid; width: 36px; height: 36px; color: var(--ys-text); border-color: var(--ys-line); }
}
@media (prefers-reduced-motion: reduce) {
  .ys-slide, .ys-tile img, .ys-sd-track a, .ys-kcard img { transition: none; }
  .ys-live span { animation: none; }
}

/* ---- Infinite article stream ---- */
.ys-stream { min-width: 0; display: grid; gap: 0; }
.ys-unit { min-width: 0; }
.ys-unit + .ys-ad, .ys-unit + .ys-unit { margin-top: 28px; }
.ys-ad-article-between { margin: 28px 0 0; }
.ys-stream .ys-ad-article-between + .ys-unit, .ys-stream .ys-unit ~ .ys-unit { border-top: 4px solid var(--ys-accent); padding-top: 26px; margin-top: 28px; }
.ys-next { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; margin-top: 24px; color: var(--ys-muted); font-weight: 700; }
.ys-next a { color: var(--ys-accent); }
.ys-next-spin { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--ys-line); border-top-color: var(--ys-accent); animation: ys-spin .8s linear infinite; }
.ys-next.is-failed .ys-next-spin { display: none; }
@keyframes ys-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ys-next-spin { animation: none; } }
.ys-stream-end { text-align: center; margin: 28px 0 0; }

/* ---- Columns (köşe yazısı) ---- */
.ys-col-author { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: inherit; }
.ys-col-author .ys-avatar { position: relative; width: 56px; height: 56px; overflow: hidden; flex: 0 0 auto; }
.ys-col-author .ys-avatar img, .ys-author-col .ys-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ys-col-author strong { display: block; font-size: 1.05rem; }
.ys-col-author small { color: var(--ys-muted); }
.ys-more-cols, .ys-other-authors { margin-top: 28px; }
.ys-collist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ys-collist a { display: grid; gap: 4px; height: 100%; padding: 12px 14px; background: var(--ys-card); border: 1px solid var(--ys-line); border-left: 4px solid var(--ys-accent); border-radius: 10px; color: inherit; }
.ys-collist a:hover { border-color: var(--ys-accent); }
.ys-collist small { color: var(--ys-muted); font-size: .8rem; }
.ys-author-col .ys-author-copy { display: grid; gap: 3px; min-width: 0; }
.ys-author-col .ys-author-copy a { color: inherit; }
.ys-author-last { font-size: .86rem; line-height: 1.3; color: var(--ys-muted) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ys-author-hero { display: flex; align-items: center; gap: 18px; padding-left: max(16px, calc((100% - var(--ys-max)) / 2)); padding-right: max(16px, calc((100% - var(--ys-max)) / 2)); }
.ys-author-hero h1, .ys-author-hero p { width: auto; margin: 0; }
.ys-author-hero p { color: var(--ys-muted); margin-top: 4px; }
.ys-author-photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid var(--ys-card); box-shadow: var(--ys-shadow); flex: 0 0 auto; }
.ys-collist-lg { margin-top: 18px; }
.ys-collist-lg a span { color: var(--ys-muted); font-size: .92rem; line-height: 1.45; }
.ys-collist-lg strong { font-size: 1.05rem; }
@media (max-width: 680px) { .ys-collist { grid-template-columns: minmax(0, 1fr); } }
.ys-img-credit { display: block; margin-top: 4px; font-size: .75rem; color: var(--ys-muted); text-align: right; }
.ys-tepe-band { margin-top: 18px; }
