/*
 * Merkür · canlı yayın haber ağı çizgisi (abcnews.com ölçüleri esas alındı, birebir kopya değildir).
 * Kimlik: beyaz zemin, açık gri paneller (#F4F5F6), 6px yumuşak köşeli görseller, kalın grotesk başlıklar
 * (Figtree ≈ Post Grotesk), kategori etiketleri ve etkileşimler panelin vurgu renginde (--hp-accent), koyu bantlar
 * (#141618), tırnaklı okuma metni. Mavi kullanılmaz: tüm vurgu panelden değişebilen accent rengidir.
 * Panelin yönettiği renk/satır sınıfları ezilmez. Satır/blok kancaları: mk-header, mk-trending, mk-footer ve
 * Lines'tan devralınan yapısal sınıflar (lines-frame, lines-lead, lines-latest, lines-cards, lines-video, lines-dark).
 *
 * Ölçüler (abcnews.com, 1329px pencere; referanstaki mavi/lacivert yerine temada accent ve #141618 kullanılır):
 *  header 72px beyaz, gölge 0 8px 10px rgba(0,0,0,.03) · menü 16px/700, harf aralığı -0.32px, #141618
 *  gündem şeridi 56px · "Latest" 16px/700 #C60811 · maddeler 16px/400 · 1px dikey ayraç
 *  bölüm başlığı 24px/26px 700, -0.72px · kart başlığı 16px/18px 700, -0.48px · kategori 14px/500 #0045DA
 *  manşet paneli #F4F5F6, başlık 22px/24px 700 · Top Stories başlığı 18px/20px 700 beyaz, zemin #000E2C
 *  detay başlığı 32px/34px 700, -0.96px · metin tırnaklı 18px/28px, paragraf arası 32px · meta 15px #656C7A
 *  düğmeler 2px #E5EEFF çerçeve, 6px köşe, 16px/700 #0045DA · altyazı 14px/20px #656C7A
 */
body.merkur {
  --mk-ink: #141618;
  --mk-text: #22252a;
  --mk-faint: #656c7a;
  --mk-rule: #e1e3e7;
  --mk-panel: #f4f5f6;
  --mk-dark: #141618;
  --mk-accent: var(--hp-accent);
  --mk-accent-soft: color-mix(in srgb, var(--hp-accent) 16%, transparent);
  --mk-live: var(--hp-accent);
  --mk-recent: #f0575f;
  --mk-header: #fff;
  --mk-btn-line: #dcdfe4;
  --mk-btn-ink: #4a4f57;
  --mk-shadow: 0 8px 10px rgba(0, 0, 0, .03);
  --mk-radius: var(--hp-card-radius, 6px);
  --mk-serif: Georgia, "Times New Roman", Times, serif;
  color: var(--mk-ink);
}

html[data-bs-theme="dark"] body.merkur {
  --mk-ink: #f2f4f7;
  --mk-text: #d5d9e0;
  --mk-faint: #9aa3b2;
  --mk-rule: #262c38;
  --mk-panel: #151a24;
  --mk-dark: #08090b;
  --mk-accent: var(--hp-accent);
  --mk-accent-soft: color-mix(in srgb, var(--hp-accent) 28%, transparent);
  --mk-live: var(--hp-accent);
  --mk-header: #0e0f11;
  --mk-btn-line: #33383f;
  --mk-btn-ink: #c3c8cf;
  --mk-shadow: 0 8px 10px rgba(0, 0, 0, .35);
}

body.merkur :where(h1, h2, h3, h4, .card-title) {
  font-family: var(--hp-font-heading);
  letter-spacing: -.02em;
}

body.merkur a:hover {
  color: var(--mk-accent);
}

/* ================= Satırlar ================= */
body.merkur main .hp-layout-row.lines-frame {
  padding-block: 20px !important;
}

body.merkur main .hp-layout-row.hpu-advert-row {
  padding-block: 12px !important;
}

/* Koyu bant (video, foto) */
body.merkur .hp-layout-row.lines-dark {
  margin-block: 24px !important;
  padding-block: 40px !important;
  background: var(--mk-dark);
  color: #fff;
}

body.merkur .hp-layout-row.lines-dark.hp-container {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100% - var(--hp-content-width)) / 2)) !important;
}

/* ================= Header ================= */
body.merkur .mk-header {
  position: relative;
  z-index: 30;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--mk-rule);
  background: var(--mk-header);
}

body.merkur .mk-header > .hp-grid,
body.merkur .mk-header > .hp-layout-row__inner > .hp-grid {
  width: min(calc(100% - 2rem), var(--hp-content-width));
  min-height: 72px;
  margin-inline: auto;
  align-items: center;
  column-gap: 16px;
}

body.merkur .mk-header .hp-grid-area {
  display: flex !important;
  align-items: center;
  gap: 8px;
  container-type: normal !important;
}

body.merkur .mk-header .hp-grid-area > .hp-block {
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
}

body.merkur .mk-header [data-area-id="mk-brand"] {
  gap: 20px;
}

body.merkur .mk-header [data-area-id="mk-tools"] {
  justify-content: flex-end;
  gap: 4px;
}

body.merkur .mk-header .hp-header-brand img {
  max-height: 40px;
}

/* Menü: 16px kalın, normal harf; üzerine gelince vurgu renginde */
body.merkur .mk-header .hp-primary-menu {
  justify-content: flex-start;
  gap: 0;
}

body.merkur .mk-header .hp-primary-menu > li > .hp-category-link {
  display: block !important;
  margin: 0 !important;
  padding: 12px 12px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: var(--mk-ink) !important;
  font-family: var(--hp-font-navigation);
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -.02em;
  line-height: 16px !important;
  text-transform: none !important;
  transform: none !important;
  box-shadow: none !important;
}

body.merkur .mk-header .hp-primary-menu > li > .hp-category-link:is(:hover, :focus-visible) {
  color: var(--mk-accent) !important;
}

body.merkur .mk-header .hp-primary-menu > li > .hp-category-link::after,
body.merkur .mk-header .hp-primary-menu > li > .hp-category-link::before {
  display: none !important;
}

/* İlk menü öğesinin önünde canlı yayın noktası */
body.merkur .mk-header .hp-primary-menu > li:first-child > .hp-category-link::before {
  display: inline-block !important;
  width: 6px;
  height: 6px;
  margin: 0 6px 2px 0;
  border-radius: 50%;
  background: var(--mk-live);
  vertical-align: middle;
  content: "" !important;
}

/* Header düğmeleri: çerçevesiz ikon */
body.merkur .mk-header :is(.hp-search-toggle, .hp-mobile-menu-trigger, .hp-theme-toggle, [data-hp-theme-toggle], .hp-archive-toggle, .hp-archive-search__toggle) {
  display: inline-grid !important;
  width: 40px !important;
  height: 40px !important;
  place-items: center;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mk-ink) !important;
  font-size: 24px !important;
}

body.merkur .mk-header :is(.hp-search-toggle, .hp-mobile-menu-trigger, .hp-theme-toggle, [data-hp-theme-toggle], .hp-archive-toggle, .hp-archive-search__toggle):is(:hover, :focus-visible) {
  background: var(--mk-panel) !important;
  color: var(--mk-accent) !important;
}

body.merkur .mk-header .hp-mobile-menu-trigger span:empty {
  display: none;
}

/* Hamburger her ekranda logonun solunda */
body.merkur .mk-header [data-area-id="mk-brand"] > .hp-block-mobile-menu {
  display: block !important;
}

body.merkur .mk-header [data-area-id="mk-brand"] .hp-mobile-menu-trigger {
  margin-left: -8px;
}

/* Hava durumu: yalnız ikon + derece, zeminsiz */
body.merkur .mk-header .hp-block-header-weather :is(.hp-header-weather, [class*="hp-weather"]) {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mk-ink) !important;
}

/* ================= Gündem şeridi ================= */
body.merkur .mk-trending {
  position: relative;
  z-index: 20;
  margin: 0 0 8px !important;
  padding: 0 !important;
  background: var(--mk-header);
  box-shadow: var(--mk-shadow);
}

body.merkur .mk-trending > .hp-grid,
body.merkur .mk-trending > .hp-layout-row__inner > .hp-grid {
  width: min(calc(100% - 2rem), var(--hp-content-width));
  margin-inline: auto;
}

body.merkur .mk-trending .hp-breaking {
  min-height: 56px;
  align-items: center;
  gap: 16px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Rozet: zeminsiz, kırmızı kalın yazı */
body.merkur .mk-trending :is(.hp-breaking-badge, .hp-breaking-label, .hp-breaking-control) {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mk-live) !important;
  font-family: var(--hp-font-navigation);
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -.02em !important;
  text-transform: none !important;
}

body.merkur .mk-trending :is(.hp-breaking-badge, .hp-breaking-label, .hp-breaking-control) :is(i, svg, .hp-breaking-pulse) {
  display: none !important;
}

body.merkur .mk-trending .hp-breaking-control {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  overflow: visible !important;
  padding-right: 16px !important;
  background: var(--mk-header) !important;
}

body.merkur .mk-trending .hp-breaking-control span {
  margin: 0 !important;
  transform: none !important;
  animation: none !important;
}

body.merkur .mk-trending .hp-breaking-swiper .swiper-slide {
  display: inline-flex;
  align-items: center;
  width: auto;
}

/* Maddeler arasında 1px dikey ayraç */
body.merkur .mk-trending .hp-breaking-swiper .swiper-slide::after {
  display: block;
  width: 1px;
  height: 16px;
  margin-inline: 16px;
  background: #c4c8cf;
  content: "";
}

body.merkur .mk-trending :is(.hp-breaking-swiper a, .hp-breaking-copy, .hp-breaking-copy strong) {
  font-weight: 400 !important;
}

body.merkur .mk-trending .hp-breaking-swiper :is(.swiper-button-prev, .swiper-button-next, .swiper-pagination) {
  display: none !important;
}

body.merkur .mk-trending .hp-breaking-swiper a {
  color: var(--mk-ink) !important;
  font-family: var(--hp-font-navigation);
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: -.02em;
}

body.merkur .mk-trending .hp-breaking-swiper a:hover {
  color: var(--mk-accent) !important;
}

body.merkur .mk-trending :is(.hp-breaking-swiper time, .hp-breaking-time) {
  display: none !important;
}

/* ================= Bölüm başlığı: 24px kalın + ok ================= */
body.merkur :is(.hp-heading-frame, .hp-global-block-header) {
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 8px !important;
  min-height: 0;
  height: auto;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.merkur :is(.hp-heading-frame, .hp-global-block-header)::before,
body.merkur :is(.hp-heading-frame, .hp-global-block-header)::after {
  display: none !important;
}

body.merkur :is(.hp-heading-frame, .hp-global-block-header) :is(.hp-heading-icon, .hp-block-title-icon) {
  display: none !important;
}

body.merkur :is(.hp-heading-frame, .hp-global-block-header) :is(.hp-heading-text, [data-hp-global-block-title]) {
  flex: 0 1 auto;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--mk-ink) !important;
  font-family: var(--hp-font-heading);
  font-size: 24px !important;
  font-weight: 700 !important;
  letter-spacing: -.03em !important;
  line-height: 26px !important;
  text-transform: none !important;
}

body.merkur :is(.hp-heading-frame, .hp-global-block-header) :is(.hp-heading-link, .hp-block-header-link) {
  display: inline-grid !important;
  flex: 0 0 auto;
  width: 28px !important;
  height: 28px !important;
  place-items: center;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: var(--mk-ink) !important;
  font-size: 20px;
  transform: none !important;
}

body.merkur :is(.hp-heading-frame, .hp-global-block-header) :is(.hp-heading-link, .hp-block-header-link) i::before {
  content: "\ea1f"; /* ti-arrow-right */
}

body.merkur :is(.hp-heading-frame, .hp-global-block-header) :is(.hp-heading-link, .hp-block-header-link):hover {
  color: var(--mk-accent) !important;
  transform: translateX(3px) !important;
}

body.merkur .lines-dark :is(.hp-heading-frame, .hp-global-block-header) :is(.hp-heading-text, [data-hp-global-block-title], .hp-heading-link, .hp-block-header-link) {
  color: #fff !important;
}

/* ================= Kartlar ================= */
body.merkur :is(.lines-lead, .lines-cards, .lines-video) .hp-news-card {
  position: relative;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.merkur :is(.lines-lead, .lines-cards, .lines-video) .hp-news-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--mk-radius) !important;
}

body.merkur :is(.lines-lead, .lines-cards, .lines-video) .hp-news-media img {
  width: 100%;
  height: 100%;
  border-radius: 0 !important;
  object-fit: cover;
}

body.merkur :is(.lines-lead, .lines-cards) .hp-news-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0 0 !important;
  background: transparent !important;
}

body.merkur .hp-global-block-card :is(.lines-lead, .lines-cards) .hp-news-card .card-title,
body.merkur :is(.lines-lead, .lines-cards).hp-global-block-card .hp-news-card .card-title {
  margin: 0;
  color: var(--mk-ink);
  font-family: var(--hp-font-heading);
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -.03em;
  line-height: 18px !important;
  -webkit-line-clamp: 4;
}

body.merkur :is(.lines-lead, .lines-cards) .hp-news-card .card-title a {
  color: inherit;
}

body.merkur :is(.lines-lead, .lines-cards) .hp-news-card .card-title a:hover {
  color: var(--mk-accent);
}

body.merkur :is(.lines-lead, .lines-cards) .hp-news-card .card-text {
  display: none;
}

body.merkur :is(.lines-lead, .lines-cards, .lines-latest, .lines-video) .hp-meta {
  color: var(--mk-faint) !important;
  font-family: var(--hp-font-body);
  font-size: 12px !important;
  font-weight: 400;
  letter-spacing: -.02em;
}

/* Kategori: görselin altında vurgu renginde yazı (rozet değil) */
body.merkur :is(.lines-lead, .lines-cards) .hp-category-badge {
  position: static !important;
  order: -1;
  display: inline-block !important;
  width: fit-content;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mk-accent) !important;
  font-family: var(--hp-font-heading);
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: -.02em;
  line-height: 14px;
  text-transform: none !important;
}

body.merkur :is(.lines-lead, .lines-cards) .hp-news-status-badge {
  display: none !important;
}

body.merkur .lines-cards .hp-news-items {
  gap: 24px 16px !important;
}

/* Spor/Ekonomi: solda büyük kart, sağda iki küçük kart */
@media (min-width: 768px) {
  body.merkur .lines-cards--split .hp-news-items {
    grid-template-columns: 1.2fr 1fr !important;
    grid-template-rows: auto auto;
  }

  body.merkur .lines-cards--split .hp-news-card:first-child {
    grid-row: span 2;
  }

  body.merkur .hp-global-block-card .lines-cards--split .hp-news-card:first-child .card-title,
  body.merkur .lines-cards--split.hp-global-block-card .hp-news-card:first-child .card-title {
    font-size: 22px !important;
    line-height: 24px !important;
  }
}

/* Koyu bantta kartlar: başlık görselin üstünde, alttan koyulaşan geçiş */
body.merkur .lines-dark :is(.lines-cards, .lines-video) .hp-news-card .card-title,
body.merkur .lines-dark :is(.lines-cards, .lines-video) .hp-news-card .card-title a {
  color: #fff !important;
}

body.merkur .lines-dark :is(.lines-cards, .lines-video) .hp-meta {
  color: rgba(255, 255, 255, .72) !important;
}

body.merkur .lines-video .hp-news-card .card-title {
  font-family: var(--hp-font-heading);
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: -.03em;
  line-height: 20px !important;
}

/* Koyu bantta video kartı: başlık görselin üstünde, alttan koyulaşan geçiş (ABC video kartı) */
body.merkur .lines-dark .lines-video .hp-news-card {
  overflow: hidden;
  border-radius: var(--mk-radius) !important;
}

body.merkur .lines-dark .lines-video .hp-news-media {
  aspect-ratio: 1 / 1;
}

body.merkur .lines-dark .lines-video .hp-news-media img {
  height: 100% !important;
  aspect-ratio: auto !important;
}

/* YouTube hqdefault kapaklarındaki siyah bantlar kırpılır */
body.merkur .lines-dark .lines-video .hp-news-media img[src*="ytimg.com"] {
  transform: scale(1.34);
}

body.merkur .lines-dark .lines-video .hp-news-card .card-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 48px 12px 16px !important;
  background: none !important;
  border-image: var(--hp-scrim-img) fill 0 / 0 / 52px 0 0 0;
  pointer-events: none;
}

body.merkur .lines-dark .lines-video .hp-news-card .card-body a {
  pointer-events: auto;
}

body.merkur .lines-video .hp-news-kind {
  inset: auto auto 12px 12px !important;
  width: auto !important;
  height: 26px !important;
  padding: 0 8px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: rgba(20, 22, 24, .82) !important;
  color: #fff !important;
  font-size: 14px !important;
}

body.merkur .lines-dark .lines-video .hp-news-card:has(.card-body) .hp-news-kind {
  top: 12px !important;
  bottom: auto !important;
}

/* Koyu bantta kategori açık vurgu tonunda */
body.merkur .lines-dark .hp-category-badge {
  color: color-mix(in srgb, var(--hp-accent) 45%, #fff) !important;
}

/* ================= Bölüm düzeni (mk-feature): ABC orta bölümleri =================
 * Solda yarım genişlik büyük haber (20/22), altında iki kart; sağdaki iki sütunda üstte görselli kart,
 * altında çizgiyle ayrılmış yalnız başlıklı haberler (16/18.4). 9 haber. */
@media (min-width: 960px) {
  body.merkur .mk-feature .hp-news-items {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: auto auto auto;
    gap: 0 16px !important;
    align-items: start;
  }

  body.merkur .mk-feature .hp-news-items > article:nth-of-type(1) { grid-column: 1 / 3; grid-row: 1; margin-bottom: 24px; }
  body.merkur .mk-feature .hp-news-items > article:nth-of-type(2) { grid-column: 3; grid-row: 1; }
  body.merkur .mk-feature .hp-news-items > article:nth-of-type(3) { grid-column: 4; grid-row: 1; }
  body.merkur .mk-feature .hp-news-items > article:nth-of-type(4) { grid-column: 1; grid-row: 2 / 4; }
  body.merkur .mk-feature .hp-news-items > article:nth-of-type(5) { grid-column: 2; grid-row: 2 / 4; }
  body.merkur .mk-feature .hp-news-items > article:nth-of-type(6) { grid-column: 3; grid-row: 2; }
  body.merkur .mk-feature .hp-news-items > article:nth-of-type(7) { grid-column: 3; grid-row: 3; }
  body.merkur .mk-feature .hp-news-items > article:nth-of-type(8) { grid-column: 4; grid-row: 2; }
  body.merkur .mk-feature .hp-news-items > article:nth-of-type(9) { grid-column: 4; grid-row: 3; }

  body.merkur .hp-global-block-card.mk-feature .hp-news-items > article:nth-of-type(1) .card-title {
    font-size: 20px !important;
    line-height: 22px !important;
  }

  /* Sağ sütunlardaki alt haberler: görselsiz, üstte 1px çizgi */
  body.merkur .mk-feature .hp-news-items > article:nth-of-type(n+6) .hp-news-media,
  body.merkur .mk-feature .hp-news-items > article:nth-of-type(n+6) .hp-category-badge {
    display: none !important;
  }

  body.merkur .mk-feature .hp-news-items > article:nth-of-type(n+6) {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--mk-rule) !important;
  }

  body.merkur .mk-feature .hp-news-items > article:nth-of-type(n+6) .card-body {
    padding: 0 !important;
  }

  body.merkur .mk-feature .hp-news-items > article:nth-of-type(n+6) .hp-meta {
    display: none !important;
  }
}

/* ================= Editörün Seçimi: 3 geniş kart (ABC "The future of AI") ================= */
@media (min-width: 960px) {
  body.merkur [data-area-id="lines-editor"] .lines-cards .hp-news-items {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* ================= Videolar: solda oynatma listesi, sağda büyük video (ABC "Trending Videos") ================= */
@media (min-width: 960px) {
  body.merkur .mk-playlist .hp-news-items {
    display: grid !important;
    grid-template-columns: 377px minmax(0, 1fr) !important;
    grid-template-rows: repeat(4, auto);
    gap: 16px 24px !important;
  }

  body.merkur .mk-playlist .hp-news-items > article:nth-of-type(1) {
    grid-column: 2;
    grid-row: 1 / 5;
    align-self: stretch;
  }

  body.merkur .lines-dark .mk-playlist .hp-news-items > article:nth-of-type(1) .hp-news-media {
    height: 100%;
    aspect-ratio: 16 / 9;
  }

  body.merkur .lines-dark .mk-playlist .hp-news-items > article:nth-of-type(1) .card-title {
    font-size: 24px !important;
    line-height: 26px !important;
  }

  body.merkur .mk-playlist .hp-news-items > article:nth-of-type(n+2) {
    grid-column: 1;
    display: grid !important;
    grid-template-columns: 154px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    overflow: visible !important;
    border-radius: 0 !important;
  }

  body.merkur .lines-dark .mk-playlist .hp-news-items > article:nth-of-type(n+2) .hp-news-media {
    aspect-ratio: 16 / 9;
    border-radius: var(--mk-radius) !important;
  }

  body.merkur .lines-dark .mk-playlist .hp-news-items > article:nth-of-type(n+2) .hp-news-media img[src*="ytimg.com"] {
    transform: scale(1.34);
  }

  body.merkur .lines-dark .mk-playlist .hp-news-items > article:nth-of-type(n+2) .card-body {
    position: static;
    padding: 2px 0 0 !important;
    background: none !important;
  }

  body.merkur .lines-dark .mk-playlist .hp-news-items > article:nth-of-type(n+2) .card-title {
    font-size: 16px !important;
    line-height: 18.4px !important;
  }

  body.merkur .lines-dark .mk-playlist .hp-news-items > article:nth-of-type(n+2) .hp-news-kind {
    top: auto !important;
    bottom: 8px !important;
    left: 8px !important;
    height: 22px !important;
    font-size: 12px !important;
  }
}

/* ================= Öne çıkan galeri: tam genişlik, yarısı görsel yarısı koyu panel ================= */
body.merkur .hp-layout-row.mk-split-row {
  margin-block: 32px !important;
  padding: 0 !important;
}

body.merkur .mk-split-row .hp-grid {
  gap: 0 !important;
}

body.merkur .mk-split .hp-news-items {
  display: block !important;
}

body.merkur .mk-split .hp-news-card {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  min-height: 405px;
  overflow: hidden;
  border-radius: 0 !important;
  background: #141618 !important;
}

body.merkur .mk-split .hp-news-card .hp-news-media {
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0 !important;
}

body.merkur .mk-split .hp-news-card .hp-news-media img {
  height: 100% !important;
}

body.merkur .mk-split .hp-news-card .card-body {
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 40px max(24px, calc((100vw - var(--hp-content-width)) / 2)) 40px 64px !important;
  text-align: center;
}

body.merkur .hp-global-block-card.mk-split .hp-news-card .card-title {
  color: #fff !important;
  font-size: 28px !important;
  line-height: 32px !important;
  -webkit-line-clamp: 3;
}

body.merkur .mk-split .hp-news-card .card-title a {
  color: #fff !important;
}

body.merkur .mk-split .hp-news-card .card-text {
  display: -webkit-box !important;
  max-width: 440px;
  overflow: hidden;
  color: rgba(255, 255, 255, .78) !important;
  font-size: 16px !important;
  line-height: 22px !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.merkur .mk-split .hp-category-badge {
  color: color-mix(in srgb, var(--hp-accent) 45%, #fff) !important;
}

body.merkur .mk-split :is(.hp-news-kind, .hp-meta) {
  display: none !important;
}

@media (max-width: 767.98px) {
  body.merkur .mk-split .hp-news-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body.merkur .mk-split .hp-news-card .hp-news-media {
    aspect-ratio: 16 / 9;
  }

  body.merkur .mk-split .hp-news-card .card-body {
    padding: 24px 16px 28px !important;
  }

  body.merkur .hp-global-block-card.mk-split .hp-news-card .card-title {
    font-size: 22px !important;
    line-height: 26px !important;
  }
}

/* ================= Çok Okunanlar: gri bant, 3 sütun küçük görselli liste (ABC "Trending Stories") ================= */
body.merkur .hp-layout-row.mk-panel-band {
  width: 100%;
  max-width: none;
  margin-block: 24px !important;
  padding: 32px max(1rem, calc((100% - var(--hp-content-width)) / 2)) 36px !important;
  background: var(--mk-panel);
}

body.merkur .mk-thumbs .hp-news-items {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px 24px !important;
}

body.merkur .mk-thumbs .hp-news-card {
  display: grid !important;
  grid-template-columns: 105px minmax(0, 1fr) !important;
  align-items: start;
  gap: 16px;
}

body.merkur .mk-thumbs .hp-news-card .hp-news-media {
  grid-column: 1 !important;
  grid-row: 1 !important;
  aspect-ratio: 1 / 1;
}

body.merkur .mk-thumbs .hp-news-card .card-body {
  grid-column: 2 !important;
  grid-row: 1 !important;
  padding: 0 !important;
}

body.merkur .mk-thumbs :is(.hp-category-badge, .hp-meta, .hp-news-kind),
body.merkur .hp-global-block-card.mk-thumbs .hp-news-card :is(.hp-category-badge, .hp-meta, .hp-news-kind) {
  display: none !important;
}

@media (max-width: 959.98px) {
  body.merkur .mk-thumbs .hp-news-items {
    grid-template-columns: 1fr !important;
  }

  body.merkur .mk-thumbs .hp-news-card {
    grid-template-columns: 88px minmax(0, 1fr) !important;
    padding-top: 0 !important;
    border-top: 0 !important;
  }
}

/* ================= Spor | Ekonomi: büyük haber + 2 sütun başlık listesi (ABC "Business | International") ================= */
@media (min-width: 768px) {
  body.merkur .mk-halves .hp-news-items {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 16px !important;
  }

  body.merkur .mk-halves .hp-news-items > article:nth-of-type(1) {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }

  body.merkur .hp-global-block-card.mk-halves .hp-news-items > article:nth-of-type(1) .card-title {
    font-size: 20px !important;
    line-height: 22px !important;
  }

  body.merkur .mk-halves .hp-news-items > article:nth-of-type(n+2) {
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid var(--mk-rule) !important;
  }

  body.merkur .mk-halves .hp-news-items > article:nth-of-type(n+2) :is(.hp-news-media, .hp-category-badge, .hp-meta) {
    display: none !important;
  }

  body.merkur .mk-halves .hp-news-items > article:nth-of-type(n+2) .card-body {
    padding: 0 !important;
  }
}

/* ================= Dört sütun: başlık, görselli kart, altında başlıklar ================= */
body.merkur .mk-columns .hp-news-items {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}

body.merkur .mk-columns .hp-news-items > article:nth-of-type(1) {
  display: flex !important;
  flex-direction: column;
  margin-bottom: 4px;
}

body.merkur .mk-columns .hp-news-items > article:nth-of-type(1) .hp-news-media {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
}

body.merkur .mk-columns .hp-news-items > article:nth-of-type(1) .card-body {
  padding: 12px 0 0 !important;
}

body.merkur .mk-columns .hp-news-items > article:nth-of-type(n+2) {
  display: block !important;
  padding-top: 12px !important;
  margin-top: 12px;
  border-top: 1px solid var(--mk-rule) !important;
}

body.merkur .mk-columns .hp-news-items > article:nth-of-type(n+2) :is(.hp-news-media, .hp-category-badge, .hp-meta) {
  display: none !important;
}

body.merkur .mk-columns .hp-news-items > article:nth-of-type(n+2) .card-body {
  padding: 0 !important;
}

body.merkur .mk-columns .hp-news-items > article:nth-of-type(1) .hp-category-badge {
  display: none !important;
}

/* ================= Manşet: gri panelde yatay büyük haber + 4 kart ================= */
@media (min-width: 960px) {
  body.merkur [data-area-id="lines-lead"] {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: row;
    gap: 16px 16px;
    align-items: start;
    align-content: start;
  }

  body.merkur [data-area-id="lines-lead"] > .hp-block.lines-lead,
  body.merkur [data-area-id="lines-lead"] > .hp-block.lines-lead > .hp-global-block-body,
  body.merkur [data-area-id="lines-lead"] > .hp-block.lines-lead > .hp-global-block-body > .hp-news-grid,
  body.merkur [data-area-id="lines-lead"] > .hp-block.lines-lead > .hp-global-block-body > .hp-news-grid > .hp-news-items {
    display: contents !important;
  }

  body.merkur [data-area-id="lines-lead"] > .hp-block + .hp-block {
    margin: 0 !important;
  }

  body.merkur [data-area-id="lines-lead"] .hp-news-card:nth-child(1) { grid-column: 1 / -1; grid-row: 1; }
  body.merkur [data-area-id="lines-lead"] .hp-news-card:nth-child(n+2) { grid-row: auto; margin-bottom: 8px; }
  body.merkur [data-area-id="lines-lead"] > .lines-lead-ad { grid-column: 1 / -1; grid-row: auto; }

  /* Büyük haber: solda gri panelde yazı, sağda görsel */
  body.merkur [data-area-id="lines-lead"] .hp-news-card:nth-child(1) {
    display: grid !important;
    grid-template-columns: 41fr 59fr;
    overflow: hidden;
    border-radius: var(--mk-radius) !important;
    background: var(--mk-panel) !important;
  }

  body.merkur [data-area-id="lines-lead"] .hp-news-card:nth-child(1) .hp-news-media {
    grid-column: 2;
    grid-row: 1;
    height: 100%;
    min-height: 250px;
    aspect-ratio: auto;
    border-radius: 0 !important;
  }

  body.merkur [data-area-id="lines-lead"] .hp-news-card:nth-child(1) .card-body {
    grid-column: 1;
    grid-row: 1;
    justify-content: center;
    gap: 10px;
    padding: 24px 16px !important;
  }

  body.merkur [data-area-id="lines-lead"] .hp-news-card:nth-child(1) .card-title {
    font-size: 24px !important;
    line-height: 26px !important;
    -webkit-line-clamp: 5;
  }

  body.merkur [data-area-id="lines-lead"] .hp-news-card:nth-child(1) .card-text {
    display: -webkit-box;
    margin: 4px 0 0;
    overflow: hidden;
    color: var(--mk-text) !important;
    font-size: 14px !important;
    line-height: 16px !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
}

body.merkur .lines-lead-ad .hp-advert {
  display: flex;
  justify-content: center;
}

@media (max-width: 959.98px) {
  body.merkur [data-area-id="lines-lead"] > .lines-lead-ad {
    margin-top: 16px !important;
  }
}

/* ================= Top Stories: koyu başlık, gri liste, vurgu renginde nokta ================= */
body.merkur [data-area-id="lines-latest"] {
  align-self: start;
}

body.merkur [data-area-id="lines-latest"] > .hp-block-heading {
  margin: 0 !important;
}

body.merkur [data-area-id="lines-latest"] .hp-heading-frame {
  margin: 0 !important;
  padding: 12px 17px !important;
  border-radius: var(--mk-radius) var(--mk-radius) 0 0 !important;
  background: var(--mk-dark) !important;
}

body.merkur [data-area-id="lines-latest"] .hp-heading-frame :is(.hp-heading-text, [data-hp-global-block-title]) {
  color: #fff !important;
  font-size: 18px !important;
  letter-spacing: -.03em !important;
  line-height: 20px !important;
}

body.merkur [data-area-id="lines-latest"] .hp-heading-frame .hp-heading-link {
  margin-left: auto !important;
  color: #fff !important;
}

body.merkur [data-area-id="lines-latest"] > .hp-block + .hp-block {
  margin: 0 !important;
}

body.merkur [data-area-id="lines-latest"] > .lines-lead-ad {
  margin-top: 24px !important;
}

body.merkur .lines-latest {
  padding: 4px 16px 8px !important;
  border-radius: 0 0 var(--mk-radius) var(--mk-radius) !important;
  background: var(--mk-panel) !important;
}

body.merkur .lines-latest .hp-news-items {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  padding: 0 !important;
}

body.merkur .lines-latest .hp-news-items::before {
  display: none !important;
}

body.merkur .lines-latest .hp-news-card {
  position: relative;
  display: block !important;
  padding: 16px 0 16px 18px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--mk-rule) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.merkur .lines-latest .hp-news-card {
  position: relative !important;
  justify-self: stretch !important;
  width: auto !important;
}

body.merkur .lines-latest .hp-news-card::after,
body.merkur .lines-latest .hp-news-items::after {
  display: none !important;
}

body.merkur [data-area-id="lines-latest"] .hp-block.lines-latest {
  margin-top: 0 !important;
}

body.merkur .lines-latest .card-body {
  display: block !important;
}

body.merkur .lines-latest .hp-news-card:last-child {
  border-bottom: 0 !important;
}

body.merkur .lines-latest .hp-news-card::before {
  position: absolute;
  top: 23px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block !important;
  background: var(--mk-accent);
  box-shadow: none;
  content: "" !important;
}

body.merkur .lines-latest :is(.hp-news-media, .hp-meta, .hp-category-badge, .card-text) {
  display: none !important;
}

body.merkur .lines-latest .card-body {
  padding: 0 !important;
  background: transparent !important;
}

body.merkur .hp-global-block-card .lines-latest .hp-news-card .card-title,
body.merkur .lines-latest.hp-global-block-card .hp-news-card .card-title {
  margin: 0;
  color: var(--mk-ink);
  font-family: var(--hp-font-heading);
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -.03em;
  line-height: 18.4px !important;
  -webkit-line-clamp: 2;
}

/* ================= Köşe yazarları: koyu ad, gri başlık ================= */
body.merkur .hp-authors .hp-author-name {
  color: var(--mk-ink) !important;
  font-family: var(--hp-font-heading);
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -.02em !important;
  text-transform: none !important;
}

body.merkur .hp-authors .hp-author-copy h3 a {
  color: var(--mk-faint) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

body.merkur .hp-authors .hp-author-copy h3 a:hover,
body.merkur .hp-authors .hp-author-name:hover {
  color: var(--mk-accent) !important;
}

/* ================= Piyasa şeridi: sade ================= */
body.merkur .lines-market {
  padding-block: 8px !important;
}

body.merkur .lines-market .hp-currency--static-strip {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.merkur .hp-currency--static-strip .hp-currency-name {
  display: none !important;
}

/* ================= Footer: koyu ================= */
body.merkur .hp-layout-row.mk-footer {
  margin-top: 40px !important;
  padding-block: 0 !important;
  background: var(--mk-dark) !important;
  color: #fff;
}

body.merkur .mk-footer .hp-block-site-footer,
body.merkur .mk-footer .hp-block-site-footer > .hp-global-block-body > * {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.merkur .mk-footer .hp-block-site-footer :is(h2, h3, h4, strong) {
  color: #fff !important;
  font-family: var(--hp-font-heading);
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -.02em;
  text-transform: none !important;
}

body.merkur .mk-footer .hp-block-site-footer a {
  color: rgba(255, 255, 255, .86) !important;
  font-size: 15px;
}

/* Footer menüleri: ikonsuz düz bağlantı (sosyal düğmeler hariç) */
body.merkur .mk-footer :is(.hp-footer-menu, .hp-footer-legal) a > i {
  display: none !important;
}

body.merkur .mk-footer .hp-footer-social-link {
  border: 0 !important;
  background: rgba(255, 255, 255, .12) !important;
  color: #fff !important;
}

body.merkur .mk-footer .hp-footer-social-link:hover {
  background: #fff !important;
  color: var(--mk-dark) !important;
}

body.merkur .mk-footer .hp-footer-navigation {
  border: 0 !important;
}

body.merkur .mk-footer .hp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .16) !important;
}

body.merkur .mk-footer :is(.hp-footer-bottom, .hp-footer-legal) a,
body.merkur .mk-footer .hp-footer-copyright {
  color: rgba(255, 255, 255, .72) !important;
  font-size: 12px !important;
}

body.merkur .mk-footer .hp-block-site-footer a:hover {
  color: #fff !important;
}

/* ================= Haber detayı (ABC hikâye sayfası) ================= */
body.merkur .hp-block-content-title h1 {
  margin: 0 0 12px;
  color: var(--mk-ink);
  font-family: var(--hp-font-heading);
  font-size: 32px !important;
  font-weight: 700 !important;
  letter-spacing: -.03em !important;
  line-height: 34px !important;
}

body.merkur .hp-content-description {
  margin: 0;
  color: var(--mk-text) !important;
  font-family: var(--hp-font-body);
  font-size: 18px !important;
  font-weight: 400 !important;
  letter-spacing: -.01em;
  line-height: 26px !important;
}

/* Bilgi satırı: 15px gri, ayraçsız sade */
body.merkur .hp-news-info-band {
  margin: 4px 0 0 !important;
  padding: 12px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.merkur .hp-news-info-band__fact {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--mk-faint) !important;
  font-family: var(--hp-font-body);
  font-size: 15px !important;
  font-weight: 400 !important;
  letter-spacing: -.02em;
}

body.merkur .hp-news-info-band__fact :is(strong, b, time, span) {
  color: var(--mk-faint) !important;
  font-weight: 400 !important;
}

body.merkur .hp-news-info-band__fact a,
body.merkur .hp-news-info-band__fact a :is(strong, b, span) {
  color: var(--mk-accent) !important;
  font-weight: 700 !important;
}

body.merkur .hp-news-info-band__fact i {
  color: var(--mk-faint) !important;
}

body.merkur :is(.hp-block-content-media, .hp-block-content-media img, .hp-block-content-media .hp-video-frame) {
  border-radius: var(--mk-radius) !important;
}

body.merkur :is(.hp-block-content-media figcaption, .hp-content-media__caption) {
  color: var(--mk-faint) !important;
  font-size: 14px !important;
  line-height: 20px !important;
}

/* Okuma araçları ve paylaşım: 1px gri çerçeve, 6px köşe, gri ikon; üzerine gelince vurgu */
body.merkur .hp-reader-tools .hp-reader-tool {
  display: inline-grid !important;
  min-width: 40px;
  height: 40px !important;
  place-items: center;
  padding: 0 10px !important;
  border: 1px solid var(--mk-btn-line) !important;
  border-radius: 6px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mk-btn-ink) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

body.merkur .hp-reader-tools .hp-reader-tool:is(:hover, :focus-visible) {
  border-color: var(--mk-accent) !important;
  background: transparent !important;
  color: var(--mk-accent) !important;
}

body.merkur .hp-reader-controls .hp-reader-tool:is(:hover, :focus-visible) {
  color: var(--mk-accent) !important;
}

/* Yazı boyutu: tek çerçeveli düğme grubu, içte 1px ayraç */
body.merkur .hp-reader-controls {
  display: inline-flex !important;
  align-items: stretch;
  gap: 0 !important;
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid var(--mk-btn-line) !important;
  border-radius: 6px !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.merkur .hp-reader-controls .hp-reader-tool {
  height: 38px !important;
  min-width: 40px;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}

body.merkur .hp-reader-controls .hp-reader-tool + .hp-reader-tool {
  border-left: 1px solid var(--mk-btn-line) !important;
}

body.merkur .hp-reader-controls .hp-reader-tool:is(:hover, :focus-visible) {
  border-color: var(--mk-btn-line) !important;
}

body.merkur .hp-reader-controls .hp-reader-tool--level {
  min-width: 56px;
  color: var(--mk-ink) !important;
  font-size: 14px !important;
}

body.merkur .hp-reader-tools__primary {
  display: flex;
  align-items: center;
  gap: 8px !important;
}

body.merkur .hp-reader-tools__share {
  display: flex;
  gap: 8px !important;
}

/* Metin: tırnaklı 18/28, paragraflar arası geniş */
body.merkur .hp-block-content-body .hp-article-body :is(p, li) {
  color: var(--mk-ink) !important;
  font-family: var(--mk-serif) !important;
  font-size: 18px !important;
  letter-spacing: -.01em;
  line-height: 28px !important;
}

body.merkur .hp-block-content-body .hp-article-body p {
  margin: 0 0 28px !important;
}

body.merkur .hp-block-content-body .hp-article-body :is(h2, h3, h4) {
  margin: 32px 0 12px !important;
  color: var(--mk-ink) !important;
  font-family: var(--hp-font-heading) !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  letter-spacing: -.03em;
  line-height: 26px !important;
}

body.merkur .hp-block-content-body .hp-article-body a:not(.btn) {
  color: var(--mk-accent) !important;
  font-weight: 700;
  text-decoration: none !important;
}

body.merkur .hp-block-content-body .hp-article-body a:not(.btn):hover {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

body.merkur .hp-block-content-tags a {
  border: 1px solid var(--mk-btn-line) !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: var(--mk-btn-ink) !important;
  font-family: var(--hp-font-heading);
  font-weight: 700 !important;
}

/* Google'da takip: çerçeveli düz kutu (ABC "Follow on Google" düğmesi) */
body.merkur .hp-google-source,
body.merkur .hp-google-source[class*="hp-google-source--"],
body.merkur .hp-google-source .hp-google-source__link {
  background: transparent !important;
  background-image: none !important;
}

body.merkur .hp-google-source {
  border: 1px solid var(--mk-btn-line) !important;
  border-radius: var(--mk-radius) !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.merkur .hp-google-source__copy strong {
  color: var(--mk-ink) !important;
  font-family: var(--hp-font-heading);
  font-weight: 700 !important;
}

body.merkur .hp-google-source__action {
  max-width: 100%;
  white-space: normal !important;
  border: 1px solid var(--mk-btn-line) !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: var(--mk-btn-ink) !important;
  font-weight: 700 !important;
}

body.merkur .hp-google-source__link:hover .hp-google-source__action {
  border-color: var(--mk-accent) !important;
  background: transparent !important;
}

/* Yorumlar */
body.merkur .hp-comments-kicker,
body.merkur .hp-comments-heading i {
  color: var(--mk-ink) !important;
  font-family: var(--hp-font-heading);
  font-size: 24px !important;
  font-weight: 700 !important;
  letter-spacing: -.03em !important;
  text-transform: none !important;
}

body.merkur .hp-comments-heading i {
  display: none !important;
}

body.merkur .hp-comments summary,
body.merkur .hp-comments .btn-primary,
body.merkur .hp-comment-report-modal .btn-primary {
  border: 1px solid var(--mk-btn-line) !important;
  border-radius: 6px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mk-btn-ink) !important;
  font-weight: 700 !important;
}

body.merkur .hp-comments summary:hover,
body.merkur .hp-comments .btn-primary:hover {
  border-color: var(--mk-accent) !important;
  background: transparent !important;
}

/* Sağ sütun listesi (Popular Reads): 88px kare görsel, 16px kalın başlık, küçük tarih */
body.merkur .hp-sidebar-feed .list-group-item {
  padding: 0 0 20px !important;
  border: 0 !important;
  background: transparent !important;
}

body.merkur .hp-sidebar-feed .list-group-item > a {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px !important;
}

body.merkur .hp-sidebar-feed .list-group-item.has-media > a {
  grid-template-columns: 88px minmax(0, 1fr);
}

body.merkur .hp-sidebar-feed--with-rank .list-group-item > a {
  grid-template-columns: 28px minmax(0, 1fr);
}

body.merkur .hp-sidebar-feed--with-rank .list-group-item.has-media > a {
  grid-template-columns: 28px 88px minmax(0, 1fr);
}

/* Sütunlar açık: numara 1, görsel numaradan sonra, başlık her zaman son sütunda */
body.merkur .hp-sidebar-feed .list-group-item > a > * {
  grid-row: 1 !important;
}

body.merkur .hp-sidebar-feed .hp-sidebar-feed-rank {
  position: static !important;
  inset: auto !important;
  grid-column: 1 !important;
  align-self: start;
  order: 0 !important;
  transform: none !important;
}

body.merkur .hp-sidebar-feed .hp-sidebar-feed-media {
  grid-column: 1 !important;
}

body.merkur .hp-sidebar-feed--with-rank .hp-sidebar-feed-media {
  grid-column: 2 !important;
}

body.merkur .hp-sidebar-feed .hp-sidebar-feed-copy {
  grid-column: -2 / -1 !important;
  min-width: 0;
}

/* Sıra numarası: zeminsiz, koyu kalın */
body.merkur .hp-sidebar-feed .hp-sidebar-feed-rank {
  display: block !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mk-ink) !important;
  font-family: var(--hp-font-heading);
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: -.03em;
  line-height: 20px !important;
}

body.merkur .hp-sidebar-feed .hp-sidebar-feed-media {
  width: 88px !important;
  height: 88px !important;
  overflow: hidden;
  border-radius: var(--mk-radius) !important;
}

body.merkur .hp-sidebar-feed .hp-sidebar-feed-media img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  object-fit: cover;
}

body.merkur .hp-sidebar-feed .hp-sidebar-feed-copy strong {
  color: var(--mk-ink) !important;
  font-family: var(--hp-font-heading);
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -.03em;
  line-height: 18.4px !important;
}

body.merkur .hp-sidebar-feed .hp-sidebar-feed-copy time {
  margin-top: 8px;
  color: var(--mk-faint) !important;
  font-size: 12px !important;
}

body.merkur .hp-sidebar-feed .hp-sidebar-feed-copy time i {
  display: none !important;
}

body.merkur .hp-sidebar-feed .list-group-item > a:hover strong {
  color: var(--mk-accent) !important;
}

/* Çok Okunanlar sekmeleri: aktif sekme koyu yazı + vurgu alt çizgi */
body.merkur .hp-block-popular-news-tabs :is(.nav-link, [role="tab"]) {
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--mk-faint) !important;
  font-family: var(--hp-font-heading);
  font-size: 15px !important;
  font-weight: 700 !important;
}

body.merkur .hp-block-popular-news-tabs :is(.nav-link.active, [role="tab"][aria-selected="true"]) {
  border-bottom-color: var(--mk-accent) !important;
  color: var(--mk-ink) !important;
}

body.merkur .hp-popular-tabs__tab {
  border-bottom-color: transparent !important;
  color: var(--mk-faint) !important;
  font-family: var(--hp-font-heading);
  font-weight: 700 !important;
}

body.merkur .hp-popular-tabs__tab.active {
  border-bottom-color: var(--mk-accent) !important;
  color: var(--mk-ink) !important;
}

body.merkur .hp-popular-tabs__tab::after,
body.merkur .hp-popular-tabs__tab::before {
  background: var(--mk-accent) !important;
}

@media (max-width: 575.98px) {
  body.merkur .hp-block-content-title h1 {
    font-size: 28px !important;
    line-height: 31px !important;
  }

  body.merkur .hp-content-description {
    font-size: 17px !important;
    line-height: 24px !important;
  }
}

/* ================= İç sayfa kapakları: zeminsiz 32px başlık ================= */
body.merkur .hp-block-listing-cover {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

body.merkur .hp-listing-cover {
  display: flex !important;
  align-items: flex-end;
  gap: 0 !important;
  min-height: 0 !important;
  padding: 8px 0 20px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

body.merkur .hp-listing-cover::before,
body.merkur .hp-listing-cover::after,
body.merkur .hp-listing-cover__mark {
  display: none !important;
}

body.merkur .hp-listing-cover h1 {
  margin: 0 0 8px !important;
  color: var(--mk-ink) !important;
  font-family: var(--hp-font-heading);
  font-size: 32px !important;
  font-weight: 700 !important;
  letter-spacing: -.03em !important;
  line-height: 34px !important;
}

body.merkur .hp-listing-cover p {
  max-width: 70ch;
  margin: 0 !important;
  color: var(--mk-faint) !important;
  font-size: 16px !important;
  line-height: 22px !important;
}

/* Yazar / köşe yazısı kapağı: açık gri panel */
body.merkur .hp-author-cover {
  border: 1px solid var(--hp-border, var(--mk-rule)) !important;
  border-radius: var(--mk-radius) !important;
  background: var(--hp-surface, #fff) !important;
  background-image: none !important;
  box-shadow: none !important;
}

body.merkur .hp-author-cover__effects {
  display: none !important;
}

body.merkur .hp-author-cover__inner {
  background: transparent !important;
}

body.merkur .hp-author-cover :is(h1, h2) {
  color: var(--mk-ink) !important;
  font-family: var(--hp-font-heading);
  font-weight: 700 !important;
  letter-spacing: -.03em !important;
}

body.merkur .hp-author-cover__portrait img {
  border-radius: 50% !important;
  box-shadow: none !important;
}

/* Sıralı yan listeler: numaralar vurgu renginde */
body.merkur :is(.hp-sidebar-feed-rank, .hp-rank, .hp-popular-rank, .hp-sidebar-feed .list-group-item::before) {
  color: var(--mk-accent) !important;
}

/* ================= Nötr tonlar: accent'ten türeyen pembe zeminler gri panele ================= */
body.merkur .hp-weather-current {
  background: var(--mk-panel) !important;
  background-image: none !important;
}

body.merkur .hp-weather-current-icon,
body.merkur .hp-weather-day.active,
body.merkur .hp-standing-position,
body.merkur :is(.hp-contact-social__icon, .hp-contact-card__icon),
body.merkur .hp-contact-form__header > span,
body.merkur .hp-market-cover__name > i,
body.merkur .hp-standings-leagues__mark,
body.merkur .hp-cloud-service__item > i {
  border-color: var(--mk-rule) !important;
  background: var(--mk-panel) !important;
  color: var(--mk-ink) !important;
}

body.merkur .hp-weather-day.active {
  box-shadow: inset 0 -2px 0 var(--mk-accent) !important;
}

body.merkur .hp-standing-table thead,
body.merkur .hp-standing-table thead tr {
  background: transparent !important;
}

/* Liste kartlarındaki renkli sol çizgiler: gri */
body.merkur .hp-news-items > .hp-news-card,
body.merkur .hp-news-card > .card-body {
  border-left-color: var(--mk-btn-line) !important;
}

/* ================= Anketler: gri panel, 24px soru, çerçeveli seçenekler, koyu düğme ================= */
body.merkur .hp-poll {
  padding: 24px !important;
  border: 0 !important;
  border-radius: var(--mk-radius) !important;
  background: var(--mk-panel) !important;
  box-shadow: none !important;
}

body.merkur .hp-poll .hp-widget-title {
  display: block !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--mk-accent) !important;
  font-family: var(--hp-font-heading);
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: none !important;
}

body.merkur .hp-poll .hp-widget-title::after,
body.merkur .hp-poll .hp-widget-title::before {
  display: none !important;
}

body.merkur .hp-poll h3 {
  margin: 0 0 16px !important;
  color: var(--mk-ink) !important;
  font-family: var(--hp-font-heading);
  font-size: 24px !important;
  font-weight: 700 !important;
  letter-spacing: -.03em;
  line-height: 26px !important;
}

body.merkur .hp-poll fieldset.list-group {
  gap: 8px;
  margin-bottom: 16px;
  border-radius: 0 !important;
}

body.merkur .hp-poll .hp-poll-option {
  align-items: center;
  padding: 14px 16px !important;
  border: 1px solid var(--mk-btn-line) !important;
  border-radius: 6px !important;
  background: var(--bs-body-bg) !important;
  color: var(--mk-ink) !important;
  font-size: 16px !important;
  cursor: pointer;
}

body.merkur .hp-poll .hp-poll-option:hover,
body.merkur .hp-poll .hp-poll-option:has(input:checked) {
  border-color: var(--mk-accent) !important;
}

body.merkur .hp-poll .hp-poll-option input {
  accent-color: var(--hp-accent);
}

body.merkur .hp-poll .hp-poll-submit {
  min-height: 44px;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: var(--mk-ink) !important;
  color: var(--bs-body-bg) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

body.merkur .hp-poll .hp-poll-submit:hover {
  background: var(--mk-accent) !important;
  color: #fff !important;
}

/* Diğer anketler: çizgili başlık listesi */
body.merkur .hp-poll-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.merkur .hp-poll-list li {
  padding: 14px 0 !important;
  border-bottom: 1px solid var(--mk-rule) !important;
}

body.merkur .hp-poll-list li a {
  display: block;
  color: var(--mk-ink) !important;
  font-family: var(--hp-font-heading);
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -.03em;
  line-height: 18.4px;
}

body.merkur .hp-poll-list li a:hover {
  color: var(--mk-accent) !important;
}

body.merkur .hp-poll-list li a :is(i, svg, .badge, span[class*="icon"]),
body.merkur .hp-poll-list li::before,
body.merkur .hp-poll-list li a::before {
  display: none !important;
  content: none !important;
}

body.merkur .hp-poll-list li a {
  padding-left: 0 !important;
}

/* ================= Mobil ve tablet (≤991px) ================= */
@media (max-width: 959.98px) {
  /* Header: hamburger · logo · arama (hava durumu ve renk seçici hamburger menüde değil, gizli) */
  body.merkur .mk-header > .hp-grid,
  body.merkur .mk-header > .hp-layout-row__inner > .hp-grid {
    min-height: 60px;
  }

  body.merkur .mk-header [data-area-id="mk-brand"] {
    gap: 8px;
  }

  body.merkur .mk-header .hp-header-brand img {
    max-height: 32px;
  }

  body.merkur .mk-header [data-area-id="mk-tools"] > .hp-block-header-weather {
    display: none !important;
  }

  /* Son dakika etiketi mobilde de görünür */
  body.merkur .mk-trending .hp-breaking {
    min-height: 44px;
    gap: 10px;
  }

  body.merkur .mk-trending .hp-breaking-control {
    display: inline-flex !important;
    font-size: 14px !important;
  }

  body.merkur .mk-trending .hp-breaking-control {
    width: auto !important;
    max-width: none !important;
  }

  body.merkur .mk-trending .hp-breaking-control span {
    display: inline !important;
    white-space: nowrap;
  }

  body.merkur .mk-trending .hp-breaking-swiper a {
    font-size: 14px !important;
  }

  /* Piyasa şeridi: yatay kaydırılır */
  body.merkur .lines-market .hp-currency-items {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body.merkur .lines-market .hp-currency-items::-webkit-scrollbar {
    display: none;
  }

  body.merkur .lines-market .hp-currency-item {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    gap: 8px;
  }

  body.merkur .lines-market .hp-currency-item + .hp-currency-item {
    padding-left: 16px;
    border-left: 1px solid var(--mk-rule) !important;
  }

  /* Kart listeleri: görsel solda 120px, yazı sağda, arada 12px */
  body.merkur :is(.lines-lead, .lines-cards) .hp-news-card {
    display: grid !important;
    grid-template-columns: 120px minmax(0, 1fr) !important;
    align-items: start;
    gap: 12px;
  }

  body.merkur :is(.lines-lead, .lines-cards) .hp-news-card .card-body {
    padding: 0 !important;
  }

  body.merkur :is(.lines-lead, .lines-cards) .hp-news-card + .hp-news-card {
    padding-top: 16px;
    border-top: 1px solid var(--mk-rule) !important;
  }

  body.merkur :is(.lines-lead, .lines-cards) .hp-news-items {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* İlk manşet: tam genişlik görsel, altında büyük başlık */
  body.merkur .lines-lead .hp-news-card--first {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px;
  }

  body.merkur .lines-lead .hp-news-card--first .hp-news-media {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
  }

  body.merkur .lines-lead .hp-news-card--first .card-body {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  body.merkur .hp-global-block-card .lines-lead .hp-news-card--first .card-title,
  body.merkur .lines-lead.hp-global-block-card .hp-news-card:first-child .card-title {
    font-size: 22px !important;
    line-height: 24px !important;
  }

  /* Videolar: iki sütun */
  body.merkur .lines-video .hp-news-items {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.merkur .lines-dark .lines-video .hp-news-card {
    display: block !important;
    padding-top: 0 !important;
    border-top: 0 !important;
  }

  body.merkur .lines-dark .lines-video .hp-news-card .card-body {
    padding: 40px 10px 12px !important;
  }

  body.merkur .lines-dark .lines-video .hp-news-card .card-title {
    font-size: 15px !important;
    line-height: 17px !important;
  }

  body.merkur .hp-layout-row.lines-dark {
    padding-block: 28px !important;
  }

  body.merkur :is(.hp-heading-frame, .hp-global-block-header) :is(.hp-heading-text, [data-hp-global-block-title]) {
    font-size: 22px !important;
    line-height: 24px !important;
  }
}

@media (max-width: 959.98px) {
  /* Videolar: ilk kart tam genişlik, ardından 2×2 */
  body.merkur .lines-video .hp-news-items > article:nth-of-type(1) {
    grid-column: 1 / -1;
  }

  body.merkur .lines-dark .lines-video .hp-news-items > article:nth-of-type(1) .hp-news-media {
    aspect-ratio: 16 / 9;
  }

  /* Google'da takip: düğme alt satıra iner */
  body.merkur .hp-google-source__link {
    flex-wrap: wrap !important;
  }

  body.merkur .hp-google-source__action {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  /* Piyasa kapağı fiyat kutuları sığsın */
  body.merkur .hp-market-cover__quote {
    min-width: 0 !important;
    padding: 10px !important;
  }

  body.merkur .hp-market-cover__quote > strong {
    font-size: 17px !important;
    white-space: nowrap;
  }

  body.merkur .hp-market-cover__name {
    overflow: hidden;
    min-width: 0;
  }

  body.merkur .hp-market-cover__name b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* ================= Genel ================= */
body.merkur :is(input, select, textarea, button) {
  font-family: var(--hp-font-body);
}

/* Header ve açılan hamburger paneli sayfanın tüm satırlarının üstünde */
body.merkur .mk-header {
  z-index: 1045 !important;
}

/* ==========================================================================
   Görsel üstü yazı degradeleri (slider/manşet/overlay kartlar)
   Sorun: blok CSS'teki karartma yalnız metin kutusunun (card-body/figcaption)
   yüksekliğinde ve 0→.9 geçişini ~25-40px içinde yapıyordu; kutunun üst
   kenarında sert bir çizgi oluşuyordu. Çözüm: kutunun kendi arka planı
   kaldırılır, yerine border-image ile kutudan --hp-scrim-reach kadar yukarı
   taşan, ara duraklı (easing) yumuşak bir degrade boyanır. Yerleşim değişmez;
   taşan kısım kartın overflow:hidden sınırında kırpılır. :not(#hp-scrim)
   özgüllüğü, sonra yüklenen *-variants.css içindeki !important düz
   degradelerin de kaldırılması içindir.
   ========================================================================== */
body.merkur {
  --hp-scrim-img: linear-gradient(to top,
    rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .87) 14%, rgba(0, 0, 0, .8) 27%,
    rgba(0, 0, 0, .7) 39%, rgba(0, 0, 0, .57) 50%, rgba(0, 0, 0, .43) 60%,
    rgba(0, 0, 0, .3) 69%, rgba(0, 0, 0, .18) 78%, rgba(0, 0, 0, .09) 86%,
    rgba(0, 0, 0, .03) 94%, rgba(0, 0, 0, 0) 100%);
}

body.merkur :is(
  .hp-news-grid--compact-overlay .hp-news-card,
  .hp-news-grid--sidebar-overlay-list .hp-news-card,
  .hp-news-grid--content-overlay-grid .hp-news-card,
  .hp-news-grid--sidebar-featured .hp-news-card--first,
  .hp-news-grid--full-hero-overlay .hp-news-card--first,
  .hp-news-grid--full-cinema-strip .hp-news-card,
  .hp-news-grid--content-gallery-editorial .hp-news-card,
  .hp-news-grid--full-accent-band .hp-news-card,
  .hp-news-grid--full-mosaic .hp-news-card--first
):has(.hp-news-media > img) .card-body:not(#hp-scrim),
body.merkur .hp-gallery--content-slider figcaption:not(#hp-scrim) {
  background: none !important;
  border-image: var(--hp-scrim-img) fill 0 / 0 / var(--hp-scrim-reach, 44px) 0 0 0;
}

@container hp-news-grid (min-width: 600px) {
  body.merkur .hp-news-grid--full-mosaic .hp-news-card:has(.hp-news-media > img) .card-body:not(#hp-scrim) {
    background: none !important;
    border-image: var(--hp-scrim-img) fill 0 / 0 / var(--hp-scrim-reach, 44px) 0 0 0;
  }
}

body.merkur :is(.hp-news-grid--sidebar-featured, .hp-news-grid--full-cinema-strip, .hp-news-grid--content-gallery-editorial) .card-body,
body.merkur .hp-news-grid--full-mosaic .hp-news-card--first .card-body {
  --hp-scrim-reach: 60px;
}

body.merkur .hp-news-grid--full-hero-overlay .hp-news-card--first .card-body {
  --hp-scrim-reach: 90px;
}

/* accent-band: border-image alt vurgu çizgisini de örttüğü için çizgi degradenin ilk 3px'ine eklenir */
body.merkur .hp-news-grid--full-accent-band .hp-news-card:has(.hp-news-media > img) .card-body:not(#hp-scrim) {
  --hp-scrim-reach: 70px;
  border-image-source: linear-gradient(to top,
    var(--hp-accent) 0, var(--hp-accent) 3px, rgba(0, 0, 0, .9) 3px, rgba(0, 0, 0, .87) 14%,
    rgba(0, 0, 0, .8) 27%, rgba(0, 0, 0, .7) 39%, rgba(0, 0, 0, .57) 50%, rgba(0, 0, 0, .43) 60%,
    rgba(0, 0, 0, .3) 69%, rgba(0, 0, 0, .18) 78%, rgba(0, 0, 0, .09) 86%,
    rgba(0, 0, 0, .03) 94%, rgba(0, 0, 0, 0) 100%);
}

/* Manşet bant varyantları: 27% yükseklikte .08→.94 geçişi sert bitiyordu */
body.merkur .hp-headline--overlay-bottom-band .hp-headline-item:not([data-headline-position])::after {
  height: clamp(120px, 50%, 280px);
  background: linear-gradient(to top,
    #000 0%, rgba(0, 0, 0, .9) 18%, rgba(0, 0, 0, .76) 34%, rgba(0, 0, 0, .58) 48%,
    rgba(0, 0, 0, .4) 60%, rgba(0, 0, 0, .24) 71%, rgba(0, 0, 0, .12) 81%,
    rgba(0, 0, 0, .04) 91%, rgba(0, 0, 0, 0) 100%);
}

body.merkur .hp-headline--overlay-top-band .hp-headline-item:not([data-headline-position])::after {
  height: clamp(120px, 50%, 280px);
  background: linear-gradient(to bottom,
    #000 0%, rgba(0, 0, 0, .9) 18%, rgba(0, 0, 0, .76) 34%, rgba(0, 0, 0, .58) 48%,
    rgba(0, 0, 0, .4) 60%, rgba(0, 0, 0, .24) 71%, rgba(0, 0, 0, .12) 81%,
    rgba(0, 0, 0, .04) 91%, rgba(0, 0, 0, 0) 100%);
}

/* Koyu mod: son dakika şeridi rozeti açık vurgu (kırmızı koyu zeminde 2,9:1) — 08.10.2026 */
html[data-bs-theme="dark"] body.merkur .mk-trending :is(.hp-breaking-badge,.hp-breaking-label,.hp-breaking-control),html[data-bs-theme="dark"] body.merkur .mk-trending .hp-breaking-swiper a:hover{color:var(--hp-dark-accent,#ff4d4d)!important}
