/* ===== Haber Detay (news article page) =====
   Uses the site's existing color tokens (--ink, --accent, --line, etc.)
   from styles.css so context, footer, and header stay coherent.
================================================================== */

.hd-wrap {
  background: var(--bg);
  padding: 28px 0 56px;
  position: relative;
}

/* Breadcrumb */
.hd-crumb {
  display: flex; align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.hd-crumb a {
  color: var(--ink-3);
  transition: color .15s;
}
.hd-crumb a:hover { color: var(--accent); }
.hd-crumb-sep {
  color: oklch(80% 0.008 250);
}
.hd-crumb-current {
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 480px;
}

/* Two-column layout: article + sticky rail */
.hd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

/* === Left: article === */
.hd-article {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 36px 40px;
  box-shadow: 0 1px 2px rgba(15,20,35,0.03);
}

/* FIX #4: Desktop'ta kategori + 'Öne çıkan' rozet satırı gizli —
   bilgi zaten breadcrumb'ta var, tekrar etmesin. Mobilde tekrar açılıyor
   (styles-responsive.css → @720px) çünkü mobilde breadcrumb gizli. */
.hd-cat-row {
  display: none;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.hd-cat {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--accent);
  padding: 5px 9px;
  border-radius: 3px;
  text-transform: uppercase;
}
.hd-tag {
  display: inline-flex; align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 5px 9px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
}

.hd-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.028em;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
.hd-summary {
  display: block;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.42;
  color: var(--ink-2);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

/* Meta + author byline + share */
.hd-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 8px 0 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.hd-meta-l {
  flex: 1 1 auto;
  min-width: 0;
}
.hd-meta-primary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.hd-meta-primary--inline {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.hd-meta-sep {
  margin: 0 8px;
  color: var(--ink-3);
  font-weight: 500;
  line-height: 1;
  flex-shrink: 0;
}
.hd-source-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.hd-source-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: contain;
  background: var(--bg-2);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.hd-byline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.hd-byline--source-inline {
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.hd-source-kaynak {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.hd-source-code {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.hd-byline-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-3);
  flex-shrink: 0;
  position: relative;
}
.hd-byline-avatar--source {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
}
.hd-byline-avatar--source .hd-source-badge {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}
.hd-byline-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.hd-byline-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  min-height: 36px;
  line-height: 1.35;
}
.hd-byline-name,
.hd-byline-name-link {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hd-byline-name-link {
  text-decoration: none;
}
.hd-byline-name-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hd-byline-dot {
  margin: 0 6px;
  color: var(--line-2);
  font-weight: 400;
}
.hd-byline-role {
  margin-left: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
}
.hd-meta-times {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--ink-3);
  letter-spacing: -0.005em;
}
.hd-meta-time-sep {
  color: var(--ink-3);
}
.hd-meta-times time {
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hd-meta-label {
  color: var(--ink-3);
  font-weight: 500;
}
.hd-share {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-shrink: 0;
  padding-top: 0;
}
.hd-share-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.hd-share-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.hd-share-btn--next {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.02em;
}
.hd-share-next-mark {
  line-height: 1;
}
.hd-share-btn--next:hover {
  background: oklch(42% 0.14 285);
  border-color: oklch(42% 0.14 285);
  color: #fff;
}

/* Hero image */
.hd-hero {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 26px;
  aspect-ratio: 16/9;
  background: var(--bg-3);
}
.hd-hero-img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0;
  aspect-ratio: auto !important;
}
.hd-hero-caption {
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: var(--ink-3);
  margin: -16px 0 26px;
  font-style: italic;
  border-left: 3px solid var(--line-2);
  padding-left: 12px;
  line-height: 1.4;
}

/* Article body — typography for long-form reading */
.hd-body {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.65;
  color: oklch(22% 0.010 265);
  letter-spacing: -0.002em;
}
.hd-body > p {
  margin: 0 0 20px;
  text-wrap: pretty;
}
.hd-body > p:first-of-type::first-letter {
  float: none;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  padding: 0;
  color: inherit;
}
.hd-body h2 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.022em;
  margin: 36px 0 14px;
  color: var(--ink);
}
.hd-body h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.018em;
  margin: 28px 0 10px;
  color: var(--ink);
}
.hd-body blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--accent);
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.4;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.hd-body blockquote footer {
  display: block;
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hd-body blockquote footer::before { content: "— "; opacity: 0.6; }
.hd-body ul, .hd-body ol {
  padding-left: 22px;
  margin: 0 0 22px;
}
.hd-body li { margin-bottom: 8px; }
.hd-body strong { color: var(--ink); font-weight: 700; }
.hd-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.hd-body a:hover { color: var(--accent-ink); }

/* CMS HTML içeriği — .hd-body > div > p yapısı */
.hd-body-html p {
  margin: 0 0 20px;
  text-wrap: pretty;
}
.hd-body-html p:first-of-type::first-letter {
  float: none;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  padding: 0;
  color: inherit;
}
.hd-body-html strong { color: var(--ink); font-weight: 700; }

/* CMS gömülü medya — sabit width/height (TinyMCE, Froala) taşmasını önle */
.hd-body,
.hd-body-html {
  min-width: 0;
  overflow-wrap: anywhere;
}
.hd-body-html img,
.hd-body img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 24px auto;
  border-radius: 8px;
}
.hd-body-html figure,
.hd-body-html figure.image,
.hd-body-html .image,
.hd-body-html .embed-youtube {
  max-width: 100%;
  margin: 24px 0;
  overflow: hidden;
  border-radius: 8px;
}
.hd-body-html figure img,
.hd-body-html .image img {
  margin: 0 auto;
}
.hd-body-html figcaption {
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: var(--ink-3);
  font-style: italic;
  line-height: 1.4;
}
.hd-body-html iframe,
.hd-body-html video {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
}
.hd-body-html table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.hd-body-html img.fr-fil,
.hd-body-html img[class*="fr-fil"] {
  float: left;
  margin: 4px 20px 16px 0;
  max-width: min(100%, 420px);
}
.hd-body-html img.fr-fir,
.hd-body-html img[class*="fr-fir"] {
  float: right;
  margin: 4px 0 16px 20px;
  max-width: min(100%, 420px);
}
.hd-body-html::after {
  content: "";
  display: table;
  clear: both;
}

/* Inline image / pull figure */
.hd-figure {
  margin: 32px 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-3);
}
.hd-figure-img {
  position: relative;
  aspect-ratio: 16/9;
}
.hd-figure-caption {
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: var(--ink-3);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  font-style: italic;
}

/* Footer of article (tags + share again) */
.hd-foot {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.hd-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 22px;
}
.hd-tag-chip {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  background: var(--bg-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background .15s, color .15s, border-color .15s;
}
.hd-tag-chip:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.hd-react {
  display: flex; align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hd-react-btn {
  display: inline-flex; align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.hd-react-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.hd-react-count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
}
.hd-react-btn:hover .hd-react-count { color: rgba(255,255,255,0.75); }

/* === Right: sticky rail === */
.hd-rail {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 80px;
  min-width: 0;
}
.hd-rail-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.hd-rail-h {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.012em;
  color: var(--ink);
  padding: 14px 18px 10px;
  margin: 0;
  position: relative;
}
.hd-rail-h::after {
  content: ""; position: absolute; left: 18px; bottom: 4px;
  width: 28px; height: 3px;
  background: var(--accent); border-radius: 2px;
}
.hd-rail-list { list-style: none; padding: 0; margin: 0; }
.hd-rail-item { border-top: 1px solid var(--line); }
.hd-rail-item a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 18px;
  color: var(--ink);
  transition: background .15s;
}
.hd-rail-item a:hover { background: var(--bg-2); color: var(--ink); }
.hd-rail-item a:hover .hd-rail-t { color: var(--accent); }
.hd-rail-t {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.hd-rail-n {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.04em;
  color: oklch(88% 0.008 250);
  line-height: 1;
}

/* Ad placeholder in rail */
.hd-rail-ad {
  display: flex; align-items: center; justify-content: center;
  height: 250px;
  background:
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(15,20,30,0.05) 10px 20px),
    var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  flex-direction: column;
  gap: 6px;
}
.hd-rail-ad-dims { font-size: 12px; letter-spacing: 0.04em; color: oklch(72% 0.008 260); font-weight: 500; }

.hd-rail-ad-slot,
.hd-inline-ad {
  display: flex;
  justify-content: center;
}
.hd-rail-ad-slot .ad-card,
.hd-inline-ad .ad-card {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
.hd-inline-ad {
  margin: 24px 0;
}

.hd-rail-box--authors .hd-rail-h a {
  color: inherit;
  text-decoration: none;
}
.hd-rail-box--authors .hd-rail-h a:hover {
  color: var(--accent);
}
.hd-rail-authors {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hd-rail-author {
  border-top: 1px solid var(--line);
}
.hd-rail-author a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 18px;
  text-decoration: none;
  color: var(--ink);
  transition: background .15s;
}
.hd-rail-author a:hover {
  background: var(--bg-2);
}
.hd-rail-author-name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hd-rail-author a:hover .hd-rail-author-name {
  color: var(--accent);
}
.hd-rail-author-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === İlgili Haberler — bottom related grid === */
.hd-related {
  margin-top: 40px;
}
.hd-related-head {
  display: flex; justify-content: space-between; align-items: end;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 20px;
}
.hd-related-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.022em;
  margin: 0;
  color: var(--ink);
  position: relative;
  padding-bottom: 6px;
}
.hd-related-title::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 36px; height: 3px;
  background: var(--accent); border-radius: 2px;
}
.hd-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.hd-rel-card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  color: var(--ink);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.hd-rel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -14px rgba(15,20,30,0.18);
  border-color: var(--ink-3);
  color: var(--ink);
}
.hd-rel-photo {
  position: relative;
  aspect-ratio: var(--img-ratio-card);
  background: var(--bg-3);
}
.hd-rel-img {
  position: absolute !important;
  inset: 0;
  width: 100% !important; height: 100% !important;
  border-radius: 0;
  aspect-ratio: auto !important;
}
.hd-rel-body {
  padding: 14px 16px 18px;
  display: flex; flex-direction: column;
  gap: 8px;
}
.hd-rel-cat {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}
.hd-rel-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.28;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hd-rel-card:hover .hd-rel-title { color: var(--accent); }
.hd-rel-time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  margin-top: auto;
}

/* Responsive */
@media (max-width: 1100px) {
  .hd-grid { grid-template-columns: 1fr; }
  .hd-rail { position: static; }
  .hd-rail-ad { display: none; }
  .hd-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .hd-wrap { padding-bottom: 28px; }
  .hd-article {
    padding: 20px var(--card-inset-x, 16px) 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  /* font-size'lar styles-responsive.css'te kullanıcı brief'iyle eşleniyor
     (title 30, summary 20, body 18). */
  .hd-body > p:first-of-type::first-letter { font-size: inherit; float: none; padding: 0; }
  .hd-cat-row { order: 1; display: flex; }
  .hd-title { order: 2; margin-bottom: 14px; }
  .hd-summary { order: 3; margin-bottom: 10px; }
  .hd-meta {
    order: 4;
    grid-template-columns: 1fr;
    margin-top: 0;
    margin-bottom: 12px;
    padding: 0 0 10px;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    gap: 8px;
  }
  .hd-hero { order: 5; margin-bottom: 18px; }
  .hd-body { order: 6; margin-bottom: 0; }
  .hd-body-html img.fr-fil,
  .hd-body-html img.fr-fir,
  .hd-body-html img[class*="fr-fil"],
  .hd-body-html img[class*="fr-fir"] {
    float: none;
    margin: 20px auto;
    max-width: 100%;
  }
  .hd-foot { order: 7; margin-top: 18px; padding-top: 14px; }
  .hd-meta-primary { gap: 2px; }
  .hd-meta-primary--inline {
    flex-direction: column;
    align-items: flex-start;
  }
  .hd-meta-sep { display: none; }
  .hd-share { justify-content: flex-start; padding-top: 0; }
  .hd-grid { gap: 20px; }
  .hd-rail { gap: 16px; }
  .hd-related { margin-top: 20px; }
  .hd-related-grid { grid-template-columns: 1fr; }
  .hd-prepared-by { margin-top: 16px; margin-bottom: 0; }
}

/* === Haberi hazırlayan (İlgili Haberler üstü, çerçevesiz) === */
.hd-prepared-by {
  margin: 28px 0 8px;
  padding: 0;
  max-width: 520px;
}
.hd-prepared-by-name {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.hd-prepared-by-role {
  margin: 2px 0 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink-3);
}
.hd-prepared-by-bio {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-2);
}
.hd-prepared-by-bio-label {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hd-prepared-by-bio-text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
}
@media (max-width: 720px) {
  .hd-prepared-by { max-width: 100%; margin-top: 22px; }
}

/* Source byline (inline) */
.hd-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-family: var(--font-sans);
  flex-shrink: 0;
  vertical-align: middle;
}
.hd-source-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--ink);
  padding: 2px 6px;
  border-radius: 3px;
  line-height: 1.3;
}
.hd-source-label {
  display: none;
}
.hd-source-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}
.hd-meta-info {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  margin-left: 4px;
}
.hd-dates {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hd-date-line {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.hd-date-line strong {
  font-weight: 700;
  color: var(--ink-2);
}
a.hd-source {
  text-decoration: none;
  color: inherit;
}
a.hd-source:hover .hd-source-name {
  color: var(--accent);
}
a.hd-source:hover .hd-source-badge {
  opacity: 0.88;
}
.hd-byline-img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border-radius: 50%;
}
@media (max-width: 720px) {
  .hd-meta {
    flex-direction: column;
    gap: 8px;
  }
  .hd-share {
    justify-content: flex-start;
    padding-top: 0;
  }
  .hd-meta-times { font-size: 12px; }
  .hd-byline-name,
  .hd-byline-name-link { font-size: 13.5px; }
  .hd-source { padding: 0; }
  .hd-source-badge { font-size: 10px; padding: 3px 6px; }
  .hd-source-name { font-size: 12.5px; }
}

/* iOS Safari: promote sticky article sidebar to its own compositor layer */
@supports (-webkit-touch-callout: none) {
  .hd-rail {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

/* X / Twitter gömülü kart (editörden) */
.hd-body-html .embed-tweet-card,
.yy-body--html .embed-tweet-card {
  margin: 1.5rem 0;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 14px;
  background: var(--paper, #fff);
  overflow: hidden;
  max-width: 560px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.hd-body-html .embed-tweet-card__link,
.yy-body--html .embed-tweet-card__link {
  display: block;
  padding: 16px 18px;
  color: inherit;
  text-decoration: none;
}
.hd-body-html .embed-tweet-card__link:hover .embed-tweet-card__cta,
.yy-body--html .embed-tweet-card__link:hover .embed-tweet-card__cta {
  text-decoration: underline;
}
.hd-body-html .embed-tweet-card__brand,
.yy-body--html .embed-tweet-card__brand {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-3, #64748b);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.hd-body-html .embed-tweet-card__meta,
.yy-body--html .embed-tweet-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
.hd-body-html .embed-tweet-card__author,
.yy-body--html .embed-tweet-card__author {
  font-weight: 700;
  color: var(--ink, #0f172a);
  font-size: 15px;
}
.hd-body-html .embed-tweet-card__handle,
.yy-body--html .embed-tweet-card__handle {
  color: var(--ink-3, #64748b);
  font-size: 13px;
}
.hd-body-html .embed-tweet-card__text,
.yy-body--html .embed-tweet-card__text {
  margin: 0 0 12px;
  color: var(--ink-2, #1e293b);
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-wrap;
}
.hd-body-html .embed-tweet-card__cta,
.yy-body--html .embed-tweet-card__cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2, #2563eb);
}
