/* Cold Works Production Haberler */
:root {
  color-scheme: light;
  --paper: #F5F6F3; --surface: #FFFFFF; --ink: #14191F; --muted: #5F6B76; --line: #DCE0DD; --red: #E5484D; --red-ink: #FFFFFF;
  --c-duyuru: #1F6F8B; --c-yayin: #138A55; --c-proje: #7B4FC9; --c-etkinlik: #D9711C; --c-guncelleme: #5F6B76;
  --f-head: "Barlow Condensed", "Arial Narrow", sans-serif; --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif; --f-read: "Source Serif 4", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --paper: #0E1318; --surface: #151C23; --ink: #E7EDF1; --muted: #8E9BA7; --line: #26313B;
    --c-duyuru: #7CC7E0; --c-yayin: #4CC88E; --c-proje: #B193F0; --c-etkinlik: #F0A15A; --c-guncelleme: #9AA6B1; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--f-body); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
img { max-width: 100%; }
.cat-duyuru { --c: var(--c-duyuru); } .cat-yayin { --c: var(--c-yayin); } .cat-proje { --c: var(--c-proje); } .cat-etkinlik { --c: var(--c-etkinlik); } .cat-guncelleme { --c: var(--c-guncelleme); }

/* ---------- Gazete başlığı ---------- */
.mast { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.mast-in { max-width: 1240px; margin: 0 auto; padding: 14px 24px 10px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo-house { font: 600 .72rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.logo-name { font: 800 2.2rem var(--f-head); letter-spacing: -.01em; }
.mast-nav { display: flex; flex-wrap: wrap; gap: 2px 4px; }
.mast-nav a { text-decoration: none; font-weight: 500; font-size: .93rem; padding: 6px 10px; border-radius: 6px; color: var(--muted); position: relative; transition: color .2s, background-color .2s; }
.mast-nav a:hover { color: var(--ink); background: var(--paper); }
.mast-nav a[aria-current] { color: var(--ink); }
.mast-nav a[aria-current]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 2px; background: var(--red); animation: grow .35s cubic-bezier(.2,.8,.2,1); }
.mast-nav .press { border: 1px solid var(--line); }
@keyframes grow { from { transform: scaleX(0); } }
.mast-date { font-size: .85rem; color: var(--muted); white-space: nowrap; }

/* Son dakika şeridi */
.ticker { display: flex; align-items: stretch; background: var(--ink); color: var(--paper); font-size: .9rem; overflow: hidden; }
.ticker-label { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--red); color: var(--red-ink); font: 700 .95rem var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
.ticker-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.ticker-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.ticker-move { display: flex; width: max-content; animation: tick 45s linear infinite; }
.ticker:hover .ticker-move { animation-play-state: paused; }
.ticker-move a { padding: 8px 26px; text-decoration: none; white-space: nowrap; border-right: 1px solid rgba(255,255,255,.12); }
.ticker-move a:hover { color: var(--red); }
.ticker-move b { color: var(--red); margin-right: 8px; font-weight: 600; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Ana sayfa ---------- */
.page { max-width: 1240px; margin: 0 auto; padding: 28px 24px 40px; }
.notice { background: var(--surface); border-left: 4px solid var(--red); padding: 12px 16px; }
.top { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 28px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 3px double var(--line); }
.lead { animation: up .8s cubic-bezier(.2,.8,.2,1) both; }
.lead-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: var(--ink); position: relative; }
.lead-img img, .card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.lead:hover .lead-img img, .card:hover .card-img img { transform: scale(1.04); }
.lead-img span, .card-img span { position: absolute; inset: 0; display: grid; place-items: center; font: 800 5rem var(--f-head); color: var(--c); background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 35%, transparent), transparent 60%), #10161C; }
.lead-body { padding-top: 14px; }
.lead h1 { font: 800 clamp(2.2rem, 4.4vw, 3.6rem)/1 var(--f-head); margin: 6px 0 12px; letter-spacing: -.01em; }
.lead h1 a, .card h3 a { text-decoration: none; background-image: linear-gradient(var(--c), var(--c)); background-size: 0 3px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .45s cubic-bezier(.2,.8,.2,1); }
.lead h1 a:hover, .card h3 a:hover { background-size: 100% 3px; }
.lead p { font: 400 1.15rem/1.55 var(--f-read); color: var(--muted); margin: 0 0 10px; max-width: 62ch; }
.cat { display: inline-block; font: 700 .78rem var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--c); text-decoration: none; }
.cat:hover { text-decoration: underline; }
time { font-size: .83rem; color: var(--muted); }
.label { font: 700 .82rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.side-news .card { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.side-news .card:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }

.section-title { font: 800 2rem var(--f-head); margin: 0 0 16px; display: flex; align-items: center; gap: 14px; }
.section-title::after { content: ""; flex: 1; height: 2px; background: var(--ink); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px 22px; }

.card { display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(18px); transition: opacity .6s var(--d, 0ms), transform .6s cubic-bezier(.2,.8,.2,1) var(--d, 0ms); }
.card.in { opacity: 1; transform: none; }
.card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; position: relative; background: var(--ink); }
.card-img span { font-size: 3rem; }
.card h3 { font: 700 1.45rem/1.12 var(--f-head); margin: 4px 0 6px; }
.card p { margin: 0 0 6px; color: var(--muted); font-size: .95rem; }
.card.mini { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
.card.mini .card-img { aspect-ratio: 1; }
.card.mini .card-img span { font-size: 2rem; }
.card.mini h3 { font-size: 1.12rem; margin: 2px 0 4px; }
.card.mini .card-body { min-width: 0; }

.rail .box { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; margin-bottom: 18px; }
.soon { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.soon:first-of-type { border-top: 0; }
.soon-cover { width: 48px; height: 48px; border-radius: 6px; overflow: hidden; display: grid; place-items: center; background: #10161C; color: var(--c-yayin); font: 800 1.4rem var(--f-head); }
.soon-cover img { width: 100%; height: 100%; object-fit: cover; }
.soon strong { display: block; line-height: 1.25; }
.soon small { color: var(--muted); }
.press-box p { color: var(--muted); font-size: .93rem; margin: 0 0 12px; }
.btn { display: inline-block; font: 600 .9rem var(--f-body); text-decoration: none; padding: 9px 16px; border-radius: 6px; background: var(--ink); color: var(--paper); transition: transform .15s, background-color .2s; border: 0; cursor: pointer; }
.btn:hover { background: var(--red); transform: translateY(-1px); }
.pager { display: flex; justify-content: space-between; margin-top: 28px; }
.pager a { font-weight: 600; text-decoration: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; }
.pager a:hover { border-color: var(--red); color: var(--red); }
.empty { color: var(--muted); padding: 40px 0; }

/* ---------- Haber sayfası ---------- */
.article { max-width: 760px; margin: 0 auto; animation: up .7s cubic-bezier(.2,.8,.2,1) both; }
.article-head h1 { font: 800 clamp(2.4rem, 5.5vw, 3.8rem)/1 var(--f-head); margin: 8px 0 14px; letter-spacing: -.01em; }
.dek { font: 400 1.3rem/1.5 var(--f-read); color: var(--muted); margin: 0 0 16px; }
.byline { font-size: .9rem; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 24px; }
.byline strong { color: var(--ink); }
.article-cover { margin: 0 0 28px; border-radius: 8px; overflow: hidden; }
.article-cover img { display: block; width: 100%; }
.article-body { font: 400 1.16rem/1.75 var(--f-read); }
.article-body p { margin: 0 0 1.2em; }
.article-body p:first-child::first-letter { float: left; font: 800 4.2rem/.85 var(--f-head); margin: 6px 10px 0 0; color: var(--c); }
.article-body h2 { font: 700 1.9rem/1.15 var(--f-head); margin: 1.6em 0 .6em; }
.article-body a { color: var(--c); text-underline-offset: 3px; }
.article-body ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.article-body figure { margin: 1.6em 0; }
.article-body figure img { border-radius: 6px; display: block; }
.article-body figcaption { font: .85rem var(--f-body); color: var(--muted); margin-top: 6px; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 1.6em 0; border-radius: 8px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 32px 0 0; padding-top: 16px; border-top: 2px solid var(--ink); }
.share span { font: 700 .8rem var(--f-body); letter-spacing: .1em; text-transform: uppercase; margin-right: 6px; }
.share a, .share button { font: 600 .88rem var(--f-body); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s; }
.share a:hover, .share button:hover { border-color: var(--red); color: var(--red); }
.related { max-width: 1240px; margin: 56px auto 0; }
.notfound { text-align: center; padding: 80px 0; }
.notfound h1 { font: 800 3rem var(--f-head); margin: 0 0 8px; }

.foot { background: var(--ink); color: var(--paper); margin-top: 40px; }
.foot-in { max-width: 1240px; margin: 0 auto; padding: 28px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .9rem; }
.foot-in p { margin: 0; }
.foot-in a { color: var(--paper); }
.foot .small { opacity: .6; }
@keyframes up { from { opacity: 0; transform: translateY(20px); } }

@media (max-width: 960px) {
  .mast-in { grid-template-columns: 1fr auto; }
  .mast-nav { grid-column: 1 / -1; order: 3; overflow-x: auto; flex-wrap: nowrap; }
  .top, .cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .card { opacity: 1; transform: none; } }
