/* ==========================================================================
   Haber detay — /haberler/{slug} · "cxp" iç sayfa · 2026-10-19 dergi tipi okuma düzeni · önek cxhd-
   okuma ilerleme çubuğu · bandın altına binen başlık kartı · yuvarlak görsel · baş harfi büyük gövde · fotoğraf mozaiği
   · görselli önceki/sonraki · numaralı Son Haberler. Kart/etiket parçaları (.cxph-card, .cxph-tg, .cxph-go) cxp-haber.css'te.
   ========================================================================== */
.cxhd-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── okuma ilerleme çubuğu ── */
.cxhd-prog { position: fixed; z-index: 1200; left: 0; right: 0; top: 0; height: 4px; pointer-events: none; }
.cxhd-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--ax-or3, #ff9545), var(--ax-or2, #e8650f)); transform: scaleX(0); transform-origin: 0 50%; box-shadow: 0 0 12px rgba(244, 123, 32, .6); }

/* ── başlık kartı ── */
.cxhd-head { position: relative; overflow: hidden; padding: 34px 44px 26px; border-radius: calc(30px * var(--ax-rs, 1)); background: #fff; box-shadow: 0 30px 60px -30px rgba(20, 32, 70, .5); isolation: isolate; }
.cxhd-head__w { position: absolute; z-index: -1; right: -60px; top: -40px; width: 460px; height: 250px; color: var(--ax-navy); opacity: .05; }
.cxhd-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cxhd-tag { height: 34px; padding: 0 14px; border-radius: calc(11px * var(--ax-rs, 1)); background: var(--ax-or); color: #fff; font-size: calc(11px * var(--ax-fz, 1)); }
.cxhd-pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: calc(11px * var(--ax-rs, 1)); background: var(--ax-bg); font-size: calc(13px * var(--ax-fz, 1)); font-weight: 700; color: var(--ax-ink); }
.cxhd-pill i { color: var(--ax-or); font-size: calc(13px * var(--ax-fz, 1)); }
.cxhd-pill a:hover { color: var(--ax-or2); }
.cxhd__t { margin: 20px 0 0; max-width: 1080px; font-family: var(--ax-head); font-size: calc(42px * var(--ax-fzh, 1)); font-weight: 800; line-height: 1.16; letter-spacing: -.01em; color: var(--ax-navy); overflow-wrap: anywhere; text-wrap: balance; }
.cxhd__lead { position: relative; margin: 18px 0 0; max-width: 900px; padding-left: 20px; font-size: calc(18px * var(--ax-fz, 1)); line-height: 1.6; font-weight: 500; color: var(--ax-text); }
.cxhd__lead::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: calc(4px * var(--ax-rs, 1)); background: var(--ax-or); }
.cxhd-head__f { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; margin-top: 24px; padding-top: 20px; border-top: 1.5px dashed var(--ax-line); }
.cxhd-head__sh { display: flex; align-items: center; gap: 14px; }
.cxhd-head__sh > span { font-size: calc(12px * var(--ax-fz, 1)); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ax-muted); }
.cxhd-back i { transition: transform .2s; }
.cxhd-back:hover i { transform: translateX(-3px); }

/* paylaşım düğmeleri */
.cxhd-share { display: flex; align-items: center; gap: 8px; }
.cxhd-sh { position: relative; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: calc(13px * var(--ax-rs, 1)); border: 0; color: #fff; font-size: calc(15px * var(--ax-fz, 1)); background: var(--ax-navy); cursor: pointer; transition: transform .2s, filter .2s, background .2s, color .2s; }
.cxhd-sh:hover { transform: translateY(-2px); filter: brightness(1.08); }
.cxhd-sh--fb { background: var(--ax-c1b, #1679b8); } .cxhd-sh--x { background: var(--ax-ink, #1b2a52); } .cxhd-sh--in { background: var(--ax-navy3, #2a4078); } .cxhd-sh--wa { background: var(--ax-c2b, #3f8a30); }
.cxhd-sh--cp { background: var(--ax-orl); color: var(--ax-or2); }
.cxhd-sh--cp.is-ok { background: var(--ax-c2b, #3f8a30); color: #fff; }
.cxhd-share--dark .cxhd-sh { background: rgba(255, 255, 255, .1); color: #fff; }
.cxhd-share--dark .cxhd-sh:hover { background: var(--ax-or); filter: none; }
.cxhd-share--dark .cxhd-sh--cp.is-ok { background: var(--ax-c2b, #3f8a30); }

/* ── yerleşim ── */
.cxhd { padding-top: 44px; }
.cxhd__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.cxhd__main { min-width: 0; }
.cxhd__side { min-width: 0; }

/* büyük görsel */
.cxhd__fig { position: relative; margin: 0 0 36px; aspect-ratio: var(--ar, 1.9); border-radius: calc(30px * var(--ax-rs, 1)); overflow: hidden; background: var(--ax-line, #e4e8f0); box-shadow: 0 30px 60px -40px rgba(20, 32, 70, .6); isolation: isolate; }
.cxhd__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cxhd__fig--contain img { object-fit: contain; }
.cxhd__fig-bg { position: absolute; inset: -20px; z-index: -1; background-size: cover; background-position: center; filter: blur(22px) saturate(1.1); opacity: .8; }

/* gövde */
.cxhd__body { font-size: calc(17px * var(--ax-fz, 1)); line-height: 1.85; color: #3d4868; overflow-wrap: anywhere; }
.cxhd__body > :first-child { margin-top: 0; }
.cxhd__body::first-letter { float: left; margin: 7px 14px 0 0; font-family: var(--ax-head); font-size: calc(66px * var(--ax-fzh, 1)); font-weight: var(--ax-hw, 900); line-height: .82; color: var(--ax-or); }
.cxhd__body p, .cxhd__body ul, .cxhd__body ol, .cxhd__body blockquote, .cxhd__body table, .cxhd__body figure { margin: 0 0 20px; }
.cxhd__body div { margin: 0; }
.cxhd__body div + div, .cxhd__body div + p, .cxhd__body p + div { margin-top: 14px; }
.cxhd__body strong, .cxhd__body b { color: var(--ax-ink); }
.cxhd__body a { color: var(--ax-or2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cxhd__body a:hover { color: var(--ax-navy); }
.cxhd__body h2, .cxhd__body h3, .cxhd__body h4 { margin: 32px 0 14px; font-family: var(--ax-head); color: var(--ax-navy); font-weight: 800; line-height: 1.3; }
.cxhd__body h2 { font-size: calc(26px * var(--ax-fzh, 1)); } .cxhd__body h3 { font-size: calc(21px * var(--ax-fzh, 1)); } .cxhd__body h4 { font-size: calc(18px * var(--ax-fzh, 1)); }
.cxhd__body ul { list-style: disc; padding-left: 24px; } .cxhd__body ol { list-style: decimal; padding-left: 24px; }
.cxhd__body li { margin-bottom: 6px; }
.cxhd__body li::marker { color: var(--ax-or); }
.cxhd__body img, .cxhd__body video { display: block; max-width: 100%; max-height: 680px; width: auto; height: auto; margin: 28px auto; border-radius: calc(24px * var(--ax-rs, 1)); box-shadow: 0 24px 50px -36px rgba(20, 32, 70, .55); }
.cxhd__body iframe { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; margin: 28px 0; border: 0; border-radius: calc(24px * var(--ax-rs, 1)); }
.cxhd__body img[style*="float"], .cxhd__body img[align] { display: inline; margin: 4px 18px 12px; }
.cxhd__body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: calc(15px * var(--ax-fz, 1)); }
.cxhd__body th, .cxhd__body td { padding: 10px 14px; border: 1px solid var(--ax-line); vertical-align: top; }
.cxhd__body th { background: var(--ax-navy); color: #fff; text-align: left; }
.cxhd__body blockquote { position: relative; padding: 22px 26px 22px 66px; border-radius: calc(22px * var(--ax-rs, 1)); background: #fff; color: var(--ax-ink); font-size: calc(18px * var(--ax-fz, 1)); font-weight: 600; box-shadow: var(--cx-shadow-sm); }
.cxhd__body blockquote::before { content: "\201C"; position: absolute; left: 20px; top: 8px; font-family: Georgia, serif; font-size: calc(64px * var(--ax-fz, 1)); line-height: 1; color: var(--ax-or); }
.cxhd__body::after { content: ""; display: block; clear: both; }

/* ekli dosya */
.cxhd-file { display: flex; align-items: center; gap: 16px; margin: 30px 0 0; padding: 16px 18px; border-radius: calc(22px * var(--ax-rs, 1)); background: #fff; box-shadow: var(--cx-shadow-sm); transition: transform .2s; }
.cxhd-file:hover { transform: translateY(-2px); }
.cxhd-file__ic { flex: none; width: 52px; height: 52px; border-radius: calc(15px * var(--ax-rs, 1)); display: grid; place-items: center; background: linear-gradient(150deg, var(--ax-or3, #ff9545), var(--ax-or2, #e8650f)); color: #fff; font-size: calc(22px * var(--ax-fz, 1)); }
.cxhd-file__tx { flex: 1; min-width: 0; }
.cxhd-file__tx b { display: block; font-size: calc(15px * var(--ax-fz, 1)); font-weight: 800; color: var(--ax-ink); }
.cxhd-file__tx small { display: block; margin-top: 2px; font-size: calc(12.5px * var(--ax-fz, 1)); color: var(--ax-muted); }

/* bölüm başlığı (gövde içi) */
.cxhd-sh2 { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.cxhd-sh2 h3 { position: relative; margin: 0; padding-bottom: 12px; font-family: var(--ax-head); font-size: calc(22px * var(--ax-fzh, 1)); font-weight: var(--ax-hw, 900); line-height: 1.1; text-transform: var(--ax-tt, uppercase); color: var(--ax-navy); }
.cxhd-sh2 h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 4px; border-radius: calc(4px * var(--ax-rs, 1)); background: var(--ax-or); }
.cxhd-sh2 span { font-size: calc(13px * var(--ax-fz, 1)); font-weight: 700; color: var(--ax-muted); }

/* haberden fotoğraflar — mozaik */
.cxhd-gal { margin-top: 44px; scroll-margin-top: 120px; }
.cxhd-gal__g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 12px; margin: 0; padding: 0; list-style: none; }
.cxhd-gal__g li:first-child { grid-column: span 2; grid-row: span 2; }
.cxhd-gal__g--n1 { grid-template-columns: 1fr; grid-auto-rows: 360px; }
.cxhd-gal__g--n1 li:first-child { grid-column: auto; grid-row: auto; }
.cxhd-gal__g--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 260px; }
.cxhd-gal__g--n2 li:first-child { grid-column: auto; grid-row: auto; }
.cxhd-gal__g--n3 { grid-template-columns: 2fr 1fr; grid-auto-rows: 160px; }
.cxhd-gal__g--n3 li:first-child { grid-column: auto; }
.cxhd-gal__g--n4 li:nth-child(4) { grid-column: span 2; }
.cxhd-gal__g a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: calc(20px * var(--ax-rs, 1)); background: var(--ax-line, #e4e8f0); }
.cxhd-gal__g img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cxhd-gal__g a span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(22, 37, 80, .45); color: #fff; font-size: calc(22px * var(--ax-fz, 1)); opacity: 0; transition: opacity .25s; }
.cxhd-gal__g a:hover img { transform: scale(1.06); }
.cxhd-gal__g a:hover span, .cxhd-gal__g a:focus-visible span { opacity: 1; }

/* paylaşım bandı */
.cxhd-end { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; margin-top: 44px; padding: 22px 24px; border-radius: calc(26px * var(--ax-rs, 1)); background: linear-gradient(150deg, var(--ax-navy, #1f3263), var(--ax-navy3, #2a4078)); color: #fff; }
.cxhd-end::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 180px; height: 180px; border-radius: 50%; border: 24px solid rgba(255, 255, 255, .05); pointer-events: none; }
.cxhd-end__ic { flex: none; width: 52px; height: 52px; border-radius: calc(16px * var(--ax-rs, 1)); display: grid; place-items: center; background: var(--ax-or); font-size: calc(20px * var(--ax-fz, 1)); }
.cxhd-end__tx { flex: 1; min-width: 0; }
.cxhd-end__tx b { display: block; font-family: var(--ax-head); font-size: calc(17px * var(--ax-fzh, 1)); font-weight: var(--ax-hw, 900); text-transform: var(--ax-tt, uppercase); }
.cxhd-end__tx small { display: block; margin-top: 4px; font-size: calc(13px * var(--ax-fz, 1)); color: #c3cde4; }
.cxhd-end .cxhd-share { position: relative; z-index: 1; }

/* önceki / sonraki */
.cxhd-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
.cxhd-pn__a { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 190px; overflow: hidden; padding: 22px 24px; border-radius: calc(26px * var(--ax-rs, 1)); background: linear-gradient(150deg, var(--ax-navy3, #2a4078), var(--ax-navy2, #162550)); color: #fff; }
.cxhd-pn__a img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cxhd-pn__a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(15, 24, 52, .94) 0%, rgba(15, 24, 52, .55) 60%, rgba(15, 24, 52, .3) 100%); transition: background .3s; }
.cxhd-pn__a:hover img { transform: scale(1.05); }
.cxhd-pn__a--next { justify-content: flex-end; text-align: right; }
.cxhd-pn__tx { display: block; min-width: 0; }
.cxhd-pn__tx small { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: calc(10px * var(--ax-rs, 1)); background: var(--ax-or); font-size: calc(11px * var(--ax-fz, 1)); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cxhd-pn__tx b { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 12px; font-size: calc(16.5px * var(--ax-fz, 1)); font-weight: 800; line-height: 1.4; }
.cxhd-pn__tx em { display: block; margin-top: 6px; font-style: normal; font-size: calc(12.5px * var(--ax-fz, 1)); color: #c3cde4; }

/* yan sütun */
.cxhd__side .cxp-widget + .cxp-widget { margin-top: 24px; }
.cxhd-recent ol { margin: 0; padding: 0; list-style: none; }
.cxhd-recent li + li { border-top: 1px dashed var(--ax-line); }
.cxhd-recent li > a { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 0; }
.cxhd-recent__img { position: relative; display: block; height: 70px; overflow: hidden; border-radius: calc(15px * var(--ax-rs, 1)); }
.cxhd-recent__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cxhd-recent__img em { position: absolute; left: 6px; top: 6px; min-width: 26px; height: 22px; padding: 0 6px; border-radius: calc(7px * var(--ax-rs, 1)); display: grid; place-items: center; background: var(--ax-or); color: #fff; font-family: var(--ax-head); font-style: normal; font-size: calc(11px * var(--ax-fzh, 1)); font-weight: var(--ax-hw, 900); }
.cxhd-recent__tx b { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: calc(13.5px * var(--ax-fz, 1)); font-weight: 800; line-height: 1.38; color: var(--ax-ink); transition: color .2s; }
.cxhd-recent__tx small { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-size: calc(11.5px * var(--ax-fz, 1)); font-weight: 600; color: var(--ax-muted); }
.cxhd-recent__tx small i { color: var(--ax-or); }
.cxhd-recent li > a:hover b { color: var(--ax-or2); }
.cxhd-recent li > a:hover img { transform: scale(1.06); }

/* ilgili haberler */
.cxhd-rel { margin-top: 80px; }
.cxhd-rel__g { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* büyütme penceresi */
.cxhd-lb { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(12, 20, 46, .92); }
.cxhd-lb[hidden] { display: none; }
.cxhd-lb img { max-width: min(90vw, 1400px); max-height: 84vh; border-radius: calc(22px * var(--ax-rs, 1)); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7); }
.cxhd-lb button { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: calc(15px * var(--ax-rs, 1)); background: #fff; color: var(--ax-navy); font-size: calc(18px * var(--ax-fz, 1)); cursor: pointer; transition: background .2s, color .2s; }
.cxhd-lb button:hover { background: var(--ax-or); color: #fff; }
.cxhd-lb__x { top: 20px; right: 20px; } .cxhd-lb__p { left: 20px; top: 50%; transform: translateY(-50%); } .cxhd-lb__n { right: 20px; top: 50%; transform: translateY(-50%); }
.cxhd-lb[data-single] .cxhd-lb__p, .cxhd-lb[data-single] .cxhd-lb__n { display: none; }
.cxhd-lb__c { position: absolute; left: 20px; top: 26px; padding: 8px 14px; border-radius: calc(11px * var(--ax-rs, 1)); background: rgba(255, 255, 255, .12); color: #fff; font-family: var(--ax-head); font-size: calc(13px * var(--ax-fzh, 1)); font-weight: 800; }

/* ── duyarlı ── */
@media (max-width: 1280px) {
  .cxhd__grid { grid-template-columns: minmax(0, 1fr) 310px; gap: 30px; }
  .cxhd__t { font-size: calc(36px * var(--ax-fzh, 1)); }
}
@media (max-width: 1100px) {
  .cxhd__grid { grid-template-columns: minmax(0, 1fr); }
  .cxhd__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
  .cxhd__side .cxp-widget + .cxp-widget { margin-top: 0; }
  .cxhd-rel__g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cxhd-rel__g > :nth-child(3) { display: none; }
}
@media (max-width: 800px) {
  .cxhd-head { padding: 22px 20px 20px; border-radius: calc(24px * var(--ax-rs, 1)); }
  .cxhd-head__w { width: 300px; height: 170px; }
  .cxhd-pill { height: 30px; padding: 0 11px; font-size: calc(12px * var(--ax-fz, 1)); }
  .cxhd-tag { height: 30px; }
  .cxhd__t { margin-top: 16px; font-size: calc(25px * var(--ax-fzh, 1)); line-height: 1.22; }
  .cxhd__lead { font-size: calc(15.5px * var(--ax-fz, 1)); padding-left: 16px; }
  .cxhd-head__f { flex-direction: column; align-items: stretch; }
  .cxhd-head__sh { justify-content: space-between; }
  .cxhd-back { justify-content: center; }
  .cxhd { padding-top: 30px; }
  .cxhd__fig { border-radius: calc(22px * var(--ax-rs, 1)); margin-bottom: 26px; }
  .cxhd__body { font-size: calc(16px * var(--ax-fz, 1)); line-height: 1.8; }
  .cxhd__body [style*="justify"], .cxhd__body [align="justify"] { text-align: left !important; }
  .cxhd__body::first-letter { font-size: calc(52px * var(--ax-fzh, 1)); margin-right: 10px; }
  .cxhd__body img, .cxhd__body video { border-radius: calc(18px * var(--ax-rs, 1)); margin: 22px auto; }
  .cxhd-gal__g, .cxhd-gal__g--n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; gap: 10px; }
  .cxhd-gal__g--n3 li:first-child, .cxhd-gal__g li:first-child { grid-column: span 2; grid-row: span 2; }
  .cxhd-gal__g--n2 { grid-auto-rows: 150px; }
  .cxhd-gal__g--n2 li:first-child { grid-column: auto; grid-row: auto; }
  .cxhd-gal__g--n4 li:nth-child(4) { grid-column: auto; }
  .cxhd-gal__g a { border-radius: calc(16px * var(--ax-rs, 1)); }
  .cxhd-end { flex-wrap: wrap; padding: 20px; }
  .cxhd-end .cxhd-share { width: 100%; justify-content: space-between; }
  .cxhd-pn { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cxhd-pn__e { display: none; }
  .cxhd-pn__a { min-height: 150px; }
  .cxhd__side { grid-template-columns: minmax(0, 1fr); }
  .cxhd-rel { margin-top: 56px; }
  .cxhd-rel__g { grid-template-columns: minmax(0, 1fr); }
  .cxhd-rel__g > :nth-child(3) { display: flex; }
  .cxhd-lb button { width: 42px; height: 42px; }
  .cxhd-lb__p { left: 8px; } .cxhd-lb__n { right: 8px; }
}
