/* ══════════════════════════════════════════════════════════════
   HABERLER (.tnw) — Ürünler sayfasının dili (.tpl başlık/sekme/ızgara header.css'te):
   öne çıkan yazı (afiş + tarih bloğu + bilgi satırları) ve ürün kartı tarzında yazılar.
   Yalnızca Haberler listesinde yüklenir.
══════════════════════════════════════════════════════════════ */
.tnw { --tnw-line: rgba(29, 29, 27, .12); --tnw-ease: cubic-bezier(.22, 1, .36, 1); }

.tnw-total { display: flex; align-items: baseline; gap: .5rem; margin: 0; flex: none; }
.tnw-total b { font-size: clamp(2.6rem, 4.5vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.2px var(--tk-ink); }
.tnw-total span { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(29, 29, 27, .55); }

/* Öne çıkan yazı */
.tnw-feature {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  margin: clamp(2rem, 5vh, 3rem) var(--nk-pad) 0;
  background: #fff;
  box-shadow: 0 30px 60px -48px rgba(29, 29, 27, .5);
}
.tnw-feature__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(340px, 42vw, 560px);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  background: #efece7;
  overflow: hidden;
}
.tnw-feature__media img { max-width: 100%; max-height: clamp(300px, 38vw, 500px); object-fit: contain; box-shadow: 0 26px 40px -24px rgba(29, 29, 27, .45); transition: transform .6s var(--tnw-ease); }
.tnw-feature__media:hover img { transform: scale(1.03); }
.tnw-frame { position: absolute; inset: 14px; pointer-events: none; }
.tnw-frame i { position: absolute; width: 18px; height: 18px; border: 0 solid var(--nk-orange); }
.tnw-frame i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.tnw-frame i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.tnw-frame i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.tnw-frame i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

.tnw-feature__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.8rem, 4vw, 3.6rem); }
.tnw-feature__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.tnw-date { display: flex; align-items: center; gap: .8rem; }
.tnw-date b { display: grid; place-items: center; width: 64px; height: 64px; background: var(--tk-ink); color: var(--nk-orange); font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; }
.tnw-date span { font-size: .74rem; font-weight: 600; line-height: 1.35; letter-spacing: .1em; text-transform: uppercase; color: rgba(29, 29, 27, .6); }
.tnw-pill { padding: .3rem .8rem; border: 1px solid var(--tk-ink); border-radius: 999px !important; font-size: .7rem; font-weight: 600; }
.tnw-feature__title { margin: 0 0 1.4rem; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; }
.tnw-feature__title a { color: var(--tk-ink); text-decoration: none; background: linear-gradient(var(--nk-orange), var(--nk-orange)) 0 100% / 0 3px no-repeat; transition: background-size .45s var(--tnw-ease); }
.tnw-feature__title a:hover { background-size: 100% 3px; }
.tnw-facts { margin: 0 0 1.6rem; border-top: 1px solid var(--tnw-line); }
.tnw-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--tnw-line); }
.tnw-facts dt { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(29, 29, 27, .55); }
.tnw-facts dd { margin: 0; font-size: .95rem; font-weight: 700; text-align: end; }
.tnw-feature__text { margin: 0 0 1.6rem; font-size: .9rem; line-height: 1.75; color: rgba(29, 29, 27, .7); }
.tnw-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: .65rem; padding: .95rem 1.4rem; background: var(--nk-orange); color: var(--tk-ink); font-size: .82rem; font-weight: 700; text-decoration: none; transition: background .25s var(--tnw-ease), color .25s, gap .25s var(--tnw-ease); }
.tnw-btn:hover { background: var(--tk-ink); color: #fff; gap: .9rem; }

/* Kartlar */
.tnw-list { padding: clamp(3rem, 8vh, 4.5rem) var(--nk-pad) 0; }
.tnw .yp.tpc, .tnw .tpc { border: 0; padding: 0; background: none; }
.tnw .tpc .tpc__pill { border-radius: 999px !important; }
.tnw .tpc .tpc__enter { border-radius: 50% !important; }
.tnw-card__media { aspect-ratio: 1.05; }
.tnw-card__media img { width: 72%; height: 80%; mix-blend-mode: normal; box-shadow: 0 20px 30px -22px rgba(29, 29, 27, .5); }
.tnw-card:nth-child(even) .tpc__media { background: #dcd8d2; }
.tnw-card__date { position: absolute; top: 0; left: 0; display: flex; align-items: baseline; gap: .45rem; padding: .5rem .8rem; background: var(--tk-ink); color: rgba(255, 255, 255, .75); font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.tnw-card__date b { font-size: 1rem; font-weight: 700; color: var(--nk-orange); }
.tnw-card__text { display: block; margin-top: .6rem; font-size: .84rem; line-height: 1.65; color: rgba(29, 29, 27, .66); }
.tnw-empty { padding: 3rem var(--nk-pad); }
.tnw-pager { padding: 0 var(--nk-pad); }
.tnw [hidden] { display: none !important; }

[dir=rtl] .tnw-card__date { left: auto; right: 0; }
[dir=rtl] .tnw-btn svg { transform: scaleX(-1); }

@media (max-width: 991.98px) {
  .tnw-feature { grid-template-columns: 1fr; }
  .tnw-feature__media { min-height: 0; }
  .tnw-total { display: none; }
}
.tnw-card__media img { box-shadow: none; filter: drop-shadow(0 18px 18px rgba(29, 29, 27, .28)); }

/* ══ Haber detayı (.tnd) ══ */
.tnd {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: start;
  padding: clamp(2.4rem, 6vh, 3.6rem) var(--nk-pad) clamp(2.5rem, 6vh, 3.5rem);
  position: relative;
  isolation: isolate;
}
.tnd::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('img/site/barbed-grid-dark.svg') right -1px top -1px / 160px 160px repeat;
  -webkit-mask-image: radial-gradient(ellipse 38% 60% at 100% 0%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 38% 60% at 100% 0%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 100%);
  pointer-events: none;
}
.tnd-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(360px, 44vw, 620px);
  padding: clamp(1.8rem, 3.5vw, 3rem);
  background: #efece7;
  overflow: hidden;
  cursor: zoom-in;
}
.tnd-stage img { max-width: 100%; max-height: clamp(320px, 40vw, 560px); object-fit: contain; filter: drop-shadow(0 26px 30px rgba(29, 29, 27, .32)); transition: transform .6s var(--tnw-ease); }
.tnd-stage:hover img { transform: scale(1.03); }
.tnd-stage__ico { position: absolute; top: 1.6rem; right: 1.6rem; display: grid; place-items: center; width: 42px; height: 42px; background: #fff; color: var(--tk-ink); }

.tnd-info { position: sticky; top: calc(var(--nk-nav, 76px) + 1.5rem); padding-top: .4rem; }
.tnd-title { margin: 0 0 1.5rem; font-size: clamp(2rem, 3.4vw, 3.1rem); font-weight: 600; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.tnd-lead { margin: 0 0 1.6rem; padding-left: 1.1rem; border-left: 3px solid var(--nk-orange); font-size: 1.02rem; font-weight: 500; line-height: 1.7; }
.tnd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.6rem; }
.tnd-back { display: inline-flex; align-items: center; gap: .55rem; padding-bottom: .2rem; border-bottom: 1px solid var(--nk-orange); font-size: .8rem; font-weight: 700; color: var(--tk-ink); text-decoration: none; transition: gap .25s var(--tnw-ease); }
.tnd-back:hover { gap: .85rem; color: var(--tk-ink); }

.tnd-body { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(2rem, 4vw, 4rem); padding: clamp(3rem, 8vh, 4.5rem) var(--nk-pad); background: #fff; }
.tnd-content { max-width: 72ch; font-size: 1rem; line-height: 1.85; color: rgba(29, 29, 27, .82); }
.tnd-content h2, .tnd-content h3 { margin: 2rem 0 .8rem; font-weight: 600; line-height: 1.25; color: var(--tk-ink); }
.tnd-content p { margin: 0 0 1.1rem; }
.tnd-content img { max-width: 100%; height: auto; margin: 1rem 0; }
.tnd-content a { color: var(--nk-accent-ink); }
.tnd-content em, .tnd-content i { font-style: normal; }

.tnd-more { border-top: 1px solid var(--tnw-line); }
.tnd-more__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.8rem, 4vh, 2.6rem); }
.tnd-more__head .tpl-eyebrow { margin-bottom: .9rem; }
.tnd-more__title { margin: 0; font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 600; letter-spacing: -.02em; }

[dir=rtl] .tnd::before { background-position: left -1px top -1px; -webkit-mask-image: radial-gradient(ellipse 38% 60% at 0% 0%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 100%); mask-image: radial-gradient(ellipse 38% 60% at 0% 0%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 100%); }
[dir=rtl] .tnd-stage__ico { right: auto; left: 1.6rem; }
[dir=rtl] .tnd-lead { padding: 0 1.1rem 0 0; border-left: 0; border-right: 3px solid var(--nk-orange); }
[dir=rtl] .tnd-back svg { transform: scaleX(-1); }

@media (max-width: 991.98px) {
  .tnd, .tnd-body { grid-template-columns: 1fr; }
  .tnd-info { position: static; }
  .tnd-stage { min-height: 0; }
  .tnd-more__head { flex-direction: column; align-items: flex-start; }
}

/* ══ E-Katalog (.tkt) — haber detayının sahne/bilgi düzenini kullanır ══ */
.tkt-sub { margin: 0; max-width: 420px; padding-left: 1.1rem; border-left: 3px solid var(--nk-orange); font-size: .92rem; line-height: 1.75; color: rgba(29, 29, 27, .72); }
[dir=rtl] .tkt-sub { padding: 0 1.1rem 0 0; border-left: 0; border-right: 3px solid var(--nk-orange); }
.tkt-feature { padding-top: clamp(.5rem, 2vh, 1rem); }
.tkt-feature::before { display: none; }
.tkt-stage { isolation: isolate; }
.tkt-stage img { position: relative; z-index: 1; }
.tkt-stage__year {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 0;
  transform: translate(-50%, -50%);
  font-size: clamp(6rem, 15vw, 13rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
  color: rgba(29, 29, 27, .06);
  pointer-events: none;
}
.tkt-stage__badge { position: absolute; left: 1.6rem; bottom: 1.6rem; z-index: 2; padding: .5rem .85rem; background: var(--tk-ink); color: var(--nk-orange); font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
[dir=rtl] .tkt-stage__badge { left: auto; right: 1.6rem; }
.tkt-feature .tnd-info .tpl-eyebrow { margin-bottom: 1rem; }

.tkt-groups { padding-bottom: 0; border-top: 1px solid var(--tnw-line); }
.tkt-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tkt-grid .tpc__title { font-size: clamp(1rem, 1.2vw, 1.15rem); }
.tkt .tpc .tpc__pill { border-radius: 999px !important; }
.tkt-no { position: absolute; top: 0; left: 0; padding: .45rem .7rem; background: var(--tk-ink); color: var(--nk-orange); font-size: .7rem; font-weight: 700; letter-spacing: .06em; }
[dir=rtl] .tkt-no { left: auto; right: 0; }
.tkt .tnd-more { margin-top: clamp(3rem, 8vh, 4.5rem); }
@media (max-width: 1100px) { .tkt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tkt-grid { grid-template-columns: 1fr; } }
@media (max-width: 991.98px) { .tkt .tpl-head { flex-direction: column; align-items: flex-start; } }
