/*
 * Mate — haber7 çizgisini andıran klasik, yoğun haber portalı görünümü.
 * Bloklar tüm temalarla ortaktır: bu dosya blok HTML'ine dokunmaz.
 * Kural: panelin yönettiği hiçbir şeyi ezmez. Renk, yazı tipi, genişlik, köşe, blok şablonu
 * (başlık boyutu/kalınlığı, çerçeve, gölge), header satır sınıfları, menü görünüm varyantları,
 * okuma boyutu ve reklam alanları Özelleştir / Sayfa Tasarımı / Blok Tasarımı ekranından gelir.
 * Buradaki kurallar :where() ile sıfır özgüllüktedir; panel sınıfları ve blok varyantları her zaman kazanır.
 */

/* Başlıklar: sıkı harf aralığı */
:where(body.mate) :where(h1, h2, h3, h4, h5, h6) {
  letter-spacing: -.01em;
}

/* Sayfanın en üstünde ince vurgu çizgisi */
:where(body.mate) :where(.hp-layout-section-header:first-of-type) {
  border-block-start: 3px solid var(--hp-accent);
}

/* Haber kartı başlığı üzerine gelince vurgu rengi */
:where(body.mate) :where(.hp-news-card:hover .card-title, .hp-news-card:focus-within .card-title) {
  color: var(--hp-accent);
}

/* Kart Izgarası (panelde "Kart Izgarası" seçilen haber blokları): uzun görsel, görselin üstüne binen,
   üstten saydamlaşan beyaz degradeli ve altı vurgu çizgili ortalı başlık kutusu.
   Varyant seçimi panelde kalır; Mate yalnız görünümünü verir. */
body.mate {
  --mate-card-bg: #fff;
}

html[data-bs-theme="dark"] body.mate {
  --mate-card-bg: var(--bs-body-bg);
}

body.mate .hp-news-grid--content-cards .hp-news-card {
  overflow: hidden;
  border: 0;
  border-radius: var(--hp-card-radius, 0);
  background: var(--mate-card-bg);
  box-shadow: none;
}

body.mate .hp-news-grid--content-cards .hp-news-card {
  display: flex;
  flex-direction: column;
}

body.mate .hp-news-grid--content-cards .hp-news-media {
  display: block;
  flex: 0 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

body.mate .hp-news-grid--content-cards .hp-news-media {
  position: relative;
}

body.mate .hp-news-grid--content-cards .hp-news-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

body.mate .hp-news-grid--content-cards .hp-news-card .card-body {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  justify-content: flex-start;
  margin: 0;
  padding: .6rem .75rem .65rem !important;
  border-block-end: 3px solid var(--hp-accent);
  background: var(--mate-card-bg);
  box-shadow: none;
  text-align: start;
}

body.mate .hp-news-grid--content-cards .hp-news-card .card-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  font-size: 17px !important;
  line-height: 21px !important;
  font-weight: 700;
}

/* Çizgi (segment) sayfalama: ince 3px çizgiler. */
body.mate .hp-slider-pagination--segments .swiper-pagination-bullet {
  height: 3px;
  border-radius: 0;
}

/* Son dakika rozetleri sol üstte; aynı görselde kategori etiketi varsa rozetin altına iner (dikey rozetler hariç). */
body.mate .hp-news-status-badge:not([class*="--vertical-"]) {
  inset-block-start: 12px;
  inset-inline-start: 12px;
  inset-inline-end: auto;
  transform-origin: top left;
}

body.mate :is(.swiper-slide, .hp-news-card, .hp-news-media):has(> a > .hp-news-status-badge:not([class*="--vertical-"]), > .hp-news-status-badge:not([class*="--vertical-"])) :is(.hp-headline-category, .hp-category-badge) {
  inset-block-start: 50px;
}

/* ================= Header (haber7 ölçüleri) =================
   Header şablonundaki satırlara panelden verilen sınıflar: mate-header-top, mate-header-bottom. */
body.mate {
  background: var(--hp-light-background, #faf8f8);
}

html[data-bs-theme="dark"] body.mate {
  background: var(--bs-body-bg);
}

body.mate :is(.mate-header-top, .mate-header-bottom) {
  background: #fff;
}

html[data-bs-theme="dark"] body.mate .mate-header-top {
  background: #15171a;
}

html[data-bs-theme="dark"] body.mate .mate-header-bottom {
  background: #1d2024;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 2px 8px rgba(0, 0, 0, .45);
}

body.mate .mate-header-top {
  border-block-start: 3px solid var(--hp-accent);
}

body.mate .mate-header-top > .hp-layout-row__inner > .hp-grid {
  min-height: 68px;
  align-items: center;
}

body.mate .mate-header-bottom {
  position: relative;
  z-index: 30;
  box-shadow: inset 0 1px 0 #e9e9e9, 0 2px 6px 0 rgba(0, 0, 0, .1);
}

body.mate .mate-header-bottom > .hp-layout-row__inner > .hp-grid {
  min-height: 45px;
  align-items: center;
}

/* Header widget alanı: WhatsApp · Hava · Namaz, sağa yaslı tek satır */
body.mate .mate-header-top .hp-grid-area[data-block-layout="row"] {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

body.mate .mate-header-top .hp-grid-area[data-block-layout="row"][data-align="right"] {
  justify-content: flex-end;
}

body.mate .mate-header-top .hp-grid-area[data-block-layout="row"] > .hp-block {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
}

body.mate .mate-header-top :is(.hp-block-whatsapp-contact, .hp-block-header-weather, .hp-block:has(> .hp-global-block-body > .hp-prayer-times)) {
  font-family: var(--hp-font-navigation);
  font-size: 13px;
  font-weight: 700;
  line-height: 14px;
}

/* WhatsApp hattı */
body.mate .mate-header-top .hp-block-whatsapp-contact {
  margin-inline-end: 43px !important;
}

body.mate .mate-header-top .hp-contact-cta--compact-number {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.mate .mate-header-top .hp-contact-cta--compact-number .hp-contact-cta__icon {
  display: inline-flex;
  width: 24px;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2b7505;
  font-size: 28px;
}

body.mate .mate-header-top .hp-contact-cta--compact-number .hp-contact-cta__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 3px;
  text-align: start;
}

body.mate .mate-header-top .hp-contact-cta--compact-number .hp-contact-cta__copy strong {
  display: block;
  color: #0f7766;
  font-weight: 700;
}

body.mate .mate-header-top .hp-contact-cta--compact-number .hp-contact-cta__copy small {
  display: none;
}

body.mate .mate-header-top .hp-contact-cta--compact-number .hp-contact-cta__copy b {
  display: block;
  color: #1a9485;
  font-weight: 700;
}

body.mate .mate-header-top .hp-contact-cta--compact-number .hp-contact-cta__action {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0;
}

body.mate .mate-header-top .hp-contact-cta--compact-number .hp-contact-cta__action i {
  display: none;
}

/* Hava durumu: ikon | ŞEHİR ⌄ / 23° DURUM */
body.mate .mate-header-top .hp-header-weather {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

body.mate .mate-header-top .hp-header-weather-main {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-areas: "icon city city" "icon temp state";
  column-gap: 0;
  row-gap: 1px;
  align-items: center;
  color: #295e90;
}

body.mate .mate-header-top .hp-header-weather-icon {
  grid-area: icon;
  width: 30px;
  height: 30px;
  margin-inline-end: 9px;
  scale: 1;
  font-size: 30px;
}

body.mate .mate-header-top .hp-header-weather-icon img {
  width: 30px;
  height: 30px;
}

body.mate .mate-header-top .hp-header-weather-copy {
  display: contents;
}

body.mate .mate-header-top .hp-header-weather-city {
  grid-area: city;
  color: #295e90;
  text-transform: uppercase;
}

body.mate .mate-header-top .hp-header-weather-copy small {
  grid-area: state;
  color: #5b89b5;
  font-size: 13px;
  text-transform: uppercase;
}

body.mate .mate-header-top .hp-header-weather-temp {
  grid-area: temp;
  margin-inline-end: 4px;
  color: #5b89b5;
  font-size: 13px;
  font-weight: 700;
}

body.mate .mate-header-top .hp-header-weather-more {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  margin-inline-start: 6px;
  margin-top: -3px;
  border-radius: 4px;
  color: #295e90;
  font-size: 15px;
  transition: background-color .2s ease, color .2s ease;
}

body.mate .mate-header-top .hp-header-weather-more:hover,
body.mate .mate-header-top .hp-header-weather-more[aria-expanded="true"] {
  background: #e8f0f8;
  color: #183754;
}

body.mate .mate-header-top .hp-header-weather-more i {
  transition: transform .25s ease;
}

body.mate .mate-header-top .hp-header-weather-more[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* Namaz vakti: [04:55] SIRADAKİ / İMSAK · üzerine gelince vakit listesi */
body.mate .mate-header-top .hp-block:has(> .hp-global-block-body > .hp-prayer-times) {
  position: relative;
  width: auto !important;
  margin-inline-start: 49px !important;
  overflow: visible;
}

body.mate .mate-header-top .hp-prayer-times--compact-next {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none;
}

body.mate .mate-header-top .hp-prayer-times--compact-next :is(.hp-widget-head, .hp-prayer-place, .hp-prayer-moon-data, .hp-cloud-meta) {
  display: none !important;
}

body.mate .mate-header-top .hp-prayer-times--compact-next .hp-prayer-hero {
  padding: 0;
  background: transparent;
}

body.mate .mate-header-top .hp-prayer-times--compact-next .hp-prayer-toolbar {
  display: block;
  padding: 0;
}

body.mate .mate-header-top .hp-prayer-next {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

body.mate .mate-header-top .hp-prayer-next strong {
  order: -1;
  display: inline-block;
  height: 29px;
  padding-inline: 6px;
  border-radius: 3px;
  background: #e6f0e6;
  color: #2b7505;
  font-size: 18px;
  line-height: 32px;
}

body.mate .mate-header-top .hp-prayer-next small {
  color: #4e9429;
  font-size: 13px;
  text-transform: uppercase;
}

body.mate .mate-header-top .hp-prayer-times--compact-next .hp-prayer-grid {
  position: absolute;
  z-index: 50;
  top: 40px;
  left: -1px;
  display: block;
  width: 160px;
  padding: 5px 6px;
  border: 1px solid #eaeaea;
  border-radius: 3px;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: scale(.95);
  transition: opacity .2s, transform .2s, visibility .2s;
}

body.mate .mate-header-top .hp-block:has(> .hp-global-block-body > .hp-prayer-times):hover .hp-prayer-grid {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

body.mate .mate-header-top .hp-prayer-times--compact-next .hp-prayer-time {
  display: flex !important;
  width: 100%;
  height: 28px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 10px;
  border: 0;
  background: transparent;
  color: #444;
  font-size: 13px;
}

body.mate .mate-header-top .hp-prayer-times--compact-next .hp-prayer-time + .hp-prayer-time {
  border-top: 1px solid #e9e9e9;
}

body.mate .mate-header-top .hp-prayer-times--compact-next .hp-prayer-time i {
  display: none;
}

body.mate .mate-header-top .hp-prayer-times--compact-next .hp-prayer-time strong {
  font-weight: 700;
}

/* Header widget'larında ortak dil: etiketler koyu, önemli veri yeşil; hepsi 13px kalın. */
body.mate .mate-header-top {
  --mate-widget-ink: #333;
  --mate-widget-data: #2b7505;
  --mate-widget-soft: #e6f0e6;
}

html[data-bs-theme="dark"] body.mate .mate-header-top {
  --mate-widget-ink: #eee;
  --mate-widget-data: #8fd46a;
  --mate-widget-soft: #2d3a2a;
}

body.mate .mate-header-top .hp-contact-cta--compact-number .hp-contact-cta__copy strong,
body.mate .mate-header-top .hp-header-weather-city,
body.mate .mate-header-top .hp-header-weather-copy small,
body.mate .mate-header-top .hp-prayer-countdown-label strong {
  color: var(--mate-widget-ink) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 15px;
  text-transform: uppercase;
}

body.mate .mate-header-top .hp-contact-cta--compact-number .hp-contact-cta__copy b,
body.mate .mate-header-top .hp-header-weather-temp {
  color: var(--mate-widget-data) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 15px;
}

body.mate .mate-header-top .hp-contact-cta--compact-number .hp-contact-cta__icon {
  color: var(--mate-widget-data);
}

body.mate .mate-header-top .hp-prayer-countdown {
  height: 28px;
  background: var(--mate-widget-soft);
  color: var(--mate-widget-data);
  font-size: 15px;
  line-height: 29px;
}

body.mate .mate-header-top :is(.hp-header-weather-more, .hp-prayer-countdown-toggle) {
  color: var(--mate-widget-ink);
}

body.mate .mate-header-top :is(.hp-header-weather-more, .hp-prayer-countdown-toggle):is(:hover, [aria-expanded="true"]) {
  background: var(--mate-widget-soft);
  color: var(--mate-widget-data);
}

/* Menü satırı: 15px kalın #333, hover'da kırmızı üst çizgi */
body.mate .mate-header-bottom .hp-primary-menu {
  min-height: 45px;
  gap: 0;
}

body.mate .mate-header-bottom .hp-primary-menu > li:not(.hp-other-menu) > .hp-category-link {
  position: relative;
  margin-inline: 7px;
  padding: 0 7px;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: #333;
  font-family: var(--hp-font-navigation);
  font-size: 15px;
  font-weight: 700;
  line-height: 45px;
  transform: none !important;
}

body.mate .mate-header-bottom .hp-primary-menu > li:first-child > .hp-category-link,
body.mate .mate-header-bottom .hp-primary-menu > li.hp-menu-device-desktop:first-of-type > .hp-category-link {
  margin-inline-start: -7px;
}

body.mate .mate-header-bottom .hp-primary-menu > li:not(.hp-other-menu) > .hp-category-link::after {
  display: none !important;
}

body.mate .mate-header-bottom .hp-primary-menu > li:not(.hp-other-menu) > .hp-category-link:is(:hover, [aria-current="page"]),
body.mate .mate-header-bottom .hp-primary-menu > li.is-current:not(.hp-other-menu) > .hp-category-link {
  color: var(--hp-accent);
}

body.mate .mate-header-bottom .hp-primary-menu > li:not(.hp-other-menu) > .hp-category-link:is(:hover, [aria-current="page"])::before,
body.mate .mate-header-bottom .hp-primary-menu > li.is-current:not(.hp-other-menu) > .hp-category-link::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--hp-accent);
  content: "";
}

html[data-bs-theme="dark"] body.mate .mate-header-bottom .hp-primary-menu > li:not(.hp-other-menu) > .hp-category-link {
  color: #fff;
}

/* MENÜ ≡ düğmesi ve açılır mega panel */
/* Menü bloğunun "diğer" düğmesi yerine tam menüyü açan hamburger (mobil menü bloğu) kullanılır. */
body.mate .mate-header-bottom .hp-other-menu {
  display: none !important;
}

/* Mobil menü bloğu masaüstünde kendini gizler; Mate menü satırında hamburger olarak gösterilir. */
body.mate .mate-header-bottom .hp-grid-area:has(> .hp-block-mobile-menu) {
  display: flex !important;
  align-items: center;
}

body.mate .mate-header-bottom .hp-block-mobile-menu {
  display: block !important;
}

body.mate .mate-header-bottom .hp-mobile-menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 45px;
  padding: 0 11px;
  border: 0;
  border-inline-end: 1px solid #e5e5e5;
  border-radius: 0;
  background: transparent;
  color: #333;
  font-size: 24px;
}

body.mate .mate-header-bottom .hp-mobile-menu-trigger:hover,
body.mate .mate-header-bottom .hp-mobile-menu-trigger:focus-visible {
  background: #f4f4f4;
  color: var(--hp-accent);
}

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

/* Arama düğmesi satırın en sağında */
body.mate .mate-header-bottom .hp-grid-area:has(.hp-archive-search--toggle-panel) {
  display: flex;
  justify-content: flex-end;
}

body.mate .mate-header-bottom .hp-grid-area:has(.hp-archive-search--toggle-panel) > .hp-block {
  width: auto;
  margin-inline-start: auto;
}

/* Hava durumu açılır listesi ortada */
body.mate .mate-header-top .hp-header-weather .dropdown-menu {
  inset: 100% auto auto 50% !important;
  margin-top: 10px !important;
  transform: translateX(-50%) !important;
}

/* Arama ikonu menü satırında */
body.mate .mate-header-bottom .hp-search-toggle {
  width: 40px;
  height: 45px;
  color: #444;
  font-size: 24px;
}

/* ================= Son dakika bandı (haber7 ölçüleri) =================
   Ana sayfadaki satıra panelden verilen sınıf: mate-breaking-row. */
body.mate .mate-breaking-row {
  overflow: hidden;
  background: #ffeda5;
}

body.mate .mate-breaking-row > .hp-layout-row__inner > .hp-grid {
  min-height: 45px;
  align-items: center;
}

body.mate .mate-breaking-row :is(.hp-block, .hp-global-block-body):has(.hp-breaking) {
  overflow: visible;
}

body.mate .mate-breaking-row .hp-breaking {
  --hp-breaking-height: 45px;
  height: 45px;
  min-height: 45px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}

body.mate .mate-breaking-row .hp-breaking-control {
  position: relative;
  z-index: 2;
  width: 147px;
  height: 45px;
  padding: 0 0 0 10px;
  overflow: visible;
  isolation: auto;
  background: #ffe57c !important;
  color: #dc2c00 !important;
  font: 700 18px/45px var(--hp-font-navigation);
  letter-spacing: 0;
  text-transform: uppercase;
  transform: skewX(-26deg);
}

body.mate .mate-breaking-row .hp-breaking-control > :is(i, span) {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-style: normal;
  transform: skewX(26deg) !important;
}

body.mate .mate-breaking-row .hp-breaking-control {
  gap: 7px;
  font-style: normal;
}

body.mate .mate-breaking-row .hp-breaking-control i {
  color: #dc2c00 !important;
  font-size: 20px;
  animation: mate-breaking-pulse 1.1s ease-in-out infinite;
}

@keyframes mate-breaking-pulse {
  0%, 100% { opacity: 1; transform: skewX(26deg) scale(1); }
  50% { opacity: .55; transform: skewX(26deg) scale(1.22); }
}

@media (prefers-reduced-motion: reduce) {
  body.mate .mate-breaking-row .hp-breaking-control i { animation: none; }
}

body.mate .mate-breaking-row .hp-breaking-control::before,
body.mate .mate-breaking-row .hp-breaking-control::after {
  position: absolute;
  top: 0;
  z-index: 0;
  height: 45px;
  background: inherit;
  opacity: 1;
  animation: none;
  content: "";
  inset-block: 0 auto;
  inset-inline: auto;
}

body.mate .mate-breaking-row .hp-breaking-control::before {
  right: 100%;
  width: 1000px;
}

body.mate .mate-breaking-row .hp-breaking-control::after {
  right: -9px;
  width: 6px;
}

body.mate .mate-breaking-row .hp-breaking-swiper {
  height: 45px;
  padding-inline: 42px 0;
}

body.mate .mate-breaking-row .hp-breaking-swiper .swiper-slide > a {
  color: #333;
  font-family: var(--hp-font-navigation);
  font-size: 16px;
  font-weight: 700;
  line-height: 49px;
}

body.mate .mate-breaking-row .hp-breaking-swiper .swiper-slide > a::before {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-inline: 4px 10px;
  border-radius: 50%;
  background: #1d1d1d;
  content: "";
}

body.mate .mate-breaking-row .hp-breaking-swiper .swiper-slide > a:hover {
  color: #dc2c00;
}

/* ================= Bölüm başlıkları, sekmeler, numara şeridi (haber7 ölçüleri) ================= */
/* Bölüm başlığı: Başlık bloğu ve blok şablonu başlıkları ("Bölünmüş çizgi" / baslik-18) */
body.mate :is(.hp-heading-frame, .hp-global-block-header).baslik-18 {
  display: flex !important;
  align-items: center;
  gap: 0 !important;
  min-height: 29px;
  height: 29px;
  margin-bottom: 7px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--hp-accent);
}

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

/* Ok, 4px çizgiyle uyumlu olsun diye kalın */
body.mate :is(.hp-heading-frame, .hp-global-block-header).baslik-18 :is(.hp-heading-link, .hp-block-header-link) i,
body.mate :is(.hp-heading-frame, .hp-global-block-header).baslik-18:not(:has(.hp-heading-link, .hp-block-header-link))::before {
  -webkit-text-stroke: 1.6px currentColor;
  paint-order: stroke fill;
}

/* Bağlantısı olmayan başlıkta da sağdaki ok görünür (dekoratif) */
body.mate :is(.hp-heading-frame, .hp-global-block-header).baslik-18:not(:has(.hp-heading-link, .hp-block-header-link))::before {
  position: static !important;
  display: block !important;
  order: 3;
  width: auto !important;
  height: auto !important;
  margin-inline-start: 4px;
  background: none !important;
  transform: none !important;
  color: var(--hp-accent);
  content: "\ea61" !important;
  font-family: "tabler-icons" !important;
  font-size: 18px;
  line-height: 1;
}

body.mate :is(.hp-heading-frame, .hp-global-block-header).baslik-18::after {
  position: static !important;
  display: block !important;
  order: 2;
  flex: 1 1 auto;
  width: auto !important;
  height: 4px !important;
  margin: 0 !important;
  border: 0 !important;
  background: linear-gradient(to right, var(--mate-heading-line, #222) 0 140px, var(--mate-heading-line-2, #555) 140px 100%) !important;
  transform: none !important;
  content: "" !important;
}

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

body.mate :is(.hp-heading-frame, .hp-global-block-header).baslik-18 :is(.hp-heading-text, [data-hp-global-block-title]) {
  order: 1;
  flex: 0 0 auto;
  padding-inline-end: 14px;
  color: var(--hp-accent);
  font-family: var(--hp-font-navigation);
  font-size: 18px;
  font-weight: 900;
  line-height: 29px;
  text-transform: uppercase;
}

body.mate :is(.hp-heading-frame, .hp-global-block-header).baslik-18 :is(.hp-heading-link, .hp-block-header-link) {
  order: 3;
  display: inline-flex;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin-inline-start: 4px;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: var(--hp-accent);
  font-size: 18px;
}

body.mate :is(.text-light, .text-white) :is(.hp-heading-frame, .hp-global-block-header).baslik-18,
body.mate :is(.text-light, .text-white) :is(.hp-heading-frame, .hp-global-block-header).baslik-18 :is(.hp-heading-text, [data-hp-global-block-title], .hp-heading-link, .hp-block-header-link) {
  color: #fff;
}

body.mate :is(.text-light, .text-white) :is(.hp-heading-frame, .hp-global-block-header).baslik-18::after {
  background: linear-gradient(to right, rgba(255, 255, 255, .7) 0 140px, rgba(255, 255, 255, .4) 140px 100%) !important;
}

/* Hamburger ile açılan menü: masaüstünde hamburger hizasından, header altında açılan en fazla 500px panel */
@media (min-width: 768px) {
  body.mate .hp-mobile-menu-canvas.offcanvas {
    top: 116px;
    right: auto;
    bottom: auto;
    left: max(16px, calc((100vw - var(--hp-content-width, 960px)) / 2));
    width: min(500px, calc(100vw - 32px));
    max-height: calc(100vh - 132px);
    border: 0;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
    opacity: 0;
    transform: translateY(-12px) !important;
    transition: opacity .22s ease, transform .22s ease, visibility .22s !important;
  }

  body.mate .hp-mobile-menu-canvas.offcanvas:is(.show, .showing) {
    opacity: 1;
    transform: translateY(0) !important;
  }

  body.mate .hp-mobile-menu-canvas :is(.offcanvas-header, .offcanvas-body) {
    padding-inline: 1.25rem;
  }

  body.mate .hp-mobile-menu-canvas .offcanvas-header {
    display: none;
  }

  body.mate .hp-mobile-menu-canvas .offcanvas-body {
    padding-top: 1.25rem;
  }
}

/* Kategori sekmeli haberler: koyu sekme başlığı */
body.mate .hp-category-news-tabs__nav {
  display: flex;
  gap: 0;
  height: 40px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-top: 2px solid #d72530;
  background: #222;
}

body.mate .hp-category-news-tabs__tab {
  flex: 0 0 auto;
  height: 38px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ececec;
  font-family: var(--hp-font-navigation);
  font-size: 14px;
  font-weight: 700;
  line-height: 38px;
  text-transform: uppercase;
}

body.mate .hp-category-news-tabs__tab::after,
body.mate .hp-category-news-tabs__tab::before {
  display: none;
}

body.mate .hp-category-news-tabs__tab.active,
body.mate .hp-category-news-tabs__tab:hover {
  background: #d72530;
  color: #fff;
}

/* Büyük slider numara şeridi (Çerçeveli numara tasarımı) */
body.mate .hp-headline-pagination--outline-strip.hp-slider-pagination--numbers {
  display: flex;
  height: 37px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #e3e3e3;
  box-shadow: inset 1px 0 0 #c7c7c7, inset -1px 0 0 #c7c7c7, inset 0 -1px 0 #c7c7c7;
}

body.mate .hp-headline-pagination--outline-strip.hp-slider-pagination--numbers :is(.swiper-pagination-bullet, .hp-headline-all-counter) {
  flex: 1 1 0;
  height: 37px;
  min-width: 0;
  margin: 0 !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #444;
  font-family: var(--hp-font-navigation);
  font-size: 13px;
  font-weight: 900;
  line-height: 39px;
  opacity: 1;
}

body.mate .hp-headline-pagination--outline-strip.hp-slider-pagination--numbers :is(.swiper-pagination-bullet, .hp-headline-all-counter) + :is(.swiper-pagination-bullet, .hp-headline-all-counter) {
  box-shadow: inset 1px 0 0 #c7c7c7;
}

body.mate .hp-headline-pagination--outline-strip.hp-slider-pagination--numbers .swiper-pagination-bullet-active {
  background: #d8242f;
  color: #fff;
}

/* ================= Ana sayfa alt bölümleri: karo kartlar, bantlar, numaralı liste ================= */
body.mate .mate-sec {
  margin-top: 30px;
}

/* Karo kart: tam görsel, alttan koyu geçiş, ortada beyaz başlık */
body.mate .hp-news-grid--content-overlay-grid .hp-news-items {
  --mate-tile-h: 190px;
  gap: var(--hp-grid-gap, 20px);
  grid-auto-rows: var(--mate-tile-h);
}

body.mate .hp-news-grid--content-overlay-grid .hp-news-card {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: var(--hp-card-radius, 0);
  background: #222;
}

body.mate .hp-news-grid--content-overlay-grid .hp-news-media {
  position: absolute;
  inset: 0;
  display: block;
  height: 100%;
}

body.mate .hp-news-grid--content-overlay-grid .hp-news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

body.mate .hp-news-grid--content-overlay-grid .hp-news-card:hover .hp-news-media img {
  transform: scale(1.05);
}

body.mate .hp-news-grid--content-overlay-grid .hp-news-card .card-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: flex;
  min-height: 70%;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 14px 14px !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .88) 100%);
  pointer-events: none;
  text-align: center;
}

body.mate .hp-global-block-card .hp-news-grid--content-overlay-grid .hp-news-card .card-title {
  margin: 0;
  color: #fff;
  font-family: var(--hp-font-heading);
  font-size: 16px !important;
  font-weight: 700;
  line-height: 20px !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  -webkit-line-clamp: 4;
}

body.mate .hp-news-grid--content-overlay-grid .hp-news-card .card-title a {
  color: inherit;
  pointer-events: auto;
}

body.mate .hp-news-grid--content-overlay-grid .hp-news-card .card-title a::after {
  position: absolute;
  inset: 0;
  content: "";
}

body.mate .hp-news-grid--content-overlay-grid :is(.hp-news-status-badge, .hp-category-badge) {
  display: none !important;
}

/* Mozaik: 1. ve 6. kart iki sütun, başlık solda kırmızı çizgili */
body.mate .mate-mosaic .hp-news-grid--content-overlay-grid .hp-news-items {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.mate .mate-mosaic .hp-news-card:is(:nth-child(1), :nth-child(6)),
body.mate .mate-duo .hp-news-card:first-child {
  grid-column: span 2;
}

body.mate :is(.mate-mosaic .hp-news-card:is(:nth-child(1), :nth-child(6)), .mate-duo .hp-news-card:first-child) .card-body {
  padding: 0 20px 18px !important;
  text-align: start;
}

body.mate .hp-global-block-card :is(.mate-mosaic .hp-news-card:is(:nth-child(1), :nth-child(6)), .mate-duo .hp-news-card:first-child) .card-title {
  padding-inline-start: 12px;
  border-inline-start: 5px solid var(--hp-accent);
  font-size: 20px !important;
  line-height: 22px !important;
  -webkit-line-clamp: 2;
}

body.mate .mate-duo .hp-news-grid--content-overlay-grid .hp-news-items {
  --mate-tile-h: 170px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 250px;
}

body.mate .mate-tiles .hp-news-grid--content-overlay-grid .hp-news-items,
body.mate .mate-band-grid .hp-news-grid--content-overlay-grid .hp-news-items {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.mate .mate-tiles--3 .hp-news-grid--content-overlay-grid .hp-news-items {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Renkli bant: üstte renkli şerit, altta gri zemin, kartlar şeridin üstüne biner */
body.mate .mate-band {
  --mate-band: var(--hp-accent);
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 18px 20px 22px;
  background: linear-gradient(180deg, var(--mate-band) 0 118px, #e3e3e3 118px 100%);
}

body.mate .mate-band--plum {
  --mate-band: #9b1c5c;
}

body.mate .mate-band--dark {
  --mate-band: #222;
}

html[data-bs-theme="dark"] body.mate .mate-band {
  background: linear-gradient(180deg, var(--mate-band) 0 118px, var(--bs-tertiary-bg) 118px 100%);
}

body.mate .mate-band :is(.hp-heading-frame, .hp-global-block-header).baslik-18 {
  --hp-heading-ink: #fff;
  --hp-heading-accent: #fff;
}

body.mate .mate-band .hp-heading-frame.baslik-18 .hp-heading-text {
  color: #fff;
  font-size: 26px;
  letter-spacing: -.01em;
}

body.mate .mate-band .hp-heading-frame.baslik-18::after {
  display: none;
}

body.mate .mate-band .hp-heading-frame.baslik-18 .hp-heading-link {
  color: #fff;
}

body.mate .mate-band .hp-news-grid--content-overlay-grid .hp-news-card {
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .55), 0 6px 14px rgba(0, 0, 0, .18);
}

/* Günün gelişmeleri: numaralı liste */
body.mate .mate-ranked .hp-news-grid--sidebar-ranked {
  height: auto;
  overflow: visible;
  padding: 4px 16px;
  border-top: 3px solid var(--hp-accent);
  background: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .04);
  scroll-snap-type: none;
}

html[data-bs-theme="dark"] body.mate .mate-ranked .hp-news-grid--sidebar-ranked {
  background: var(--bs-tertiary-bg);
}

body.mate .mate-ranked .hp-news-grid--sidebar-ranked .hp-news-items {
  grid-template-columns: 1fr;
  gap: 0;
}

body.mate .mate-ranked .hp-news-grid--sidebar-ranked .hp-news-card {
  position: relative;
  display: grid;
  min-height: 50px;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  border: 0;
  border-radius: var(--hp-card-radius, 0);
  background: transparent;
}

body.mate .mate-ranked .hp-news-grid--sidebar-ranked .hp-news-card + .hp-news-card {
  border-top: 1px solid #e6e6e6;
}

body.mate .mate-ranked .hp-news-grid--sidebar-ranked .hp-news-card::before {
  position: static;
  display: block;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
  border-radius: var(--hp-card-radius, 0);
  background: none;
  color: #9b9b9b;
  content: counter(hp-news-rank);
  font: 700 22px/1 var(--hp-font-heading);
  grid-column: 1;
  grid-row: 1;
}

body.mate .mate-ranked .hp-news-grid--sidebar-ranked .hp-news-media {
  display: none;
}

body.mate .mate-ranked .hp-news-grid--sidebar-ranked .hp-news-card .card-body {
  min-height: 0;
  padding: 8px 0 !important;
  grid-column: 2;
  grid-row: 1;
}

body.mate .hp-global-block-card .mate-ranked .hp-news-grid--sidebar-ranked .hp-news-card .card-title,
body.mate .mate-ranked.hp-global-block-card .hp-news-grid--sidebar-ranked .hp-news-card .card-title {
  color: #333;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 18px !important;
  -webkit-line-clamp: 2;
}

body.mate .mate-ranked .hp-news-grid--sidebar-ranked .hp-news-card:first-child .card-title a {
  color: var(--hp-accent);
}

body.mate .mate-ranked .hp-news-grid--sidebar-ranked :is(.hp-meta, .hp-category-badge, .hp-news-status-badge) {
  display: none !important;
}

html[data-bs-theme="dark"] body.mate .mate-ranked .hp-news-grid--sidebar-ranked .hp-news-card .card-title {
  color: var(--bs-body-color);
}

/* Dar sütundaki puan tablosu */
body.mate [data-area-id="mate-sport-table"] .hp-standings-body {
  padding: 0 !important;
}

body.mate [data-area-id="mate-sport-table"] table {
  width: 100%;
  margin: 0;
  table-layout: fixed;
  border-top: 3px solid var(--hp-accent);
}

body.mate [data-area-id="mate-sport-table"] table :is(th, td) {
  padding: 8px 4px !important;
  vertical-align: middle;
  white-space: nowrap;
}

body.mate [data-area-id="mate-sport-table"] table :is(th, td):first-child {
  width: 34px;
  padding-inline-start: 8px !important;
}

body.mate [data-area-id="mate-sport-table"] table :is(th, td):nth-last-child(2) {
  width: 26px;
  text-align: center;
}

body.mate [data-area-id="mate-sport-table"] table :is(th, td):last-child {
  width: 34px;
  padding-inline-end: 8px !important;
  text-align: center;
}

body.mate [data-area-id="mate-sport-table"] .hp-standing-position {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  font-size: 11px;
}

body.mate [data-area-id="mate-sport-table"] .hp-standing-team {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  font-size: 11px;
  white-space: nowrap;
}

body.mate [data-area-id="mate-sport-table"] .hp-standing-team .hp-team-crest {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

body.mate .mate-band + :is(.hp-footer, footer, section),
body.mate main > .mate-band:last-child {
  margin-bottom: 30px;
}

/* Koyu/renkli satırdaki video ızgarası: beyaz başlık */
body.mate :is(.text-light, .text-white) .hp-news-grid--content-video-grid .hp-news-card .card-title,
body.mate :is(.text-light, .text-white) .hp-news-grid--content-video-grid .hp-news-card .card-title a {
  color: #fff !important;
}

body.mate .hp-news-grid--content-video-grid .hp-news-card .card-title {
  font-size: 13px !important;
  font-weight: 700;
  line-height: 17px !important;
}

/* Karo ızgarası: tablet ve mobil */
@media (max-width: 959.98px) {
  body.mate :is(.mate-mosaic, .mate-tiles, .mate-band-grid) .hp-news-grid--content-overlay-grid .hp-news-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.mate .mate-mosaic .hp-news-card:is(:nth-child(1), :nth-child(6)) {
    grid-column: span 2;
  }
}

@media (max-width: 575.98px) {
  body.mate .hp-news-grid--content-overlay-grid .hp-news-items {
    --mate-tile-h: 150px;
    gap: 12px;
  }

  body.mate .hp-global-block-card .hp-news-grid--content-overlay-grid .hp-news-card .card-title {
    font-size: 14px !important;
    line-height: 18px !important;
  }

  body.mate .mate-duo .hp-news-grid--content-overlay-grid .hp-news-items {
    grid-template-rows: 200px;
  }

  body.mate .mate-band {
    padding: 16px 12px 18px;
  }
}

/* Blok başlık tasarımı, son dakika varyantı, alt alan (footer), reklam alanları ve kule reklamları çekirdek/blok stillerini olduğu gibi kullanır. */

html[data-bs-theme="dark"] body.mate {
  --mate-heading-line: #e6e6e6;
  --mate-heading-line-2: #8a8f94;
}

/* Renkli bant ve koyu/renkli satırlarda başlık çizgisi ve ok açık renkte */
body.mate :is(.mate-band, .text-light, .text-white) {
  --mate-heading-line: #fff;
  --mate-heading-line-2: rgba(255, 255, 255, .45);
}

body.mate :is(.mate-band, .text-light, .text-white) :is(.hp-heading-frame, .hp-global-block-header).baslik-18::after {
  display: block !important;
  background: linear-gradient(to right, var(--mate-heading-line) 0 140px, var(--mate-heading-line-2) 140px 100%) !important;
}

body.mate :is(.mate-band, .text-light, .text-white) :is(.hp-heading-frame, .hp-global-block-header).baslik-18 :is(.hp-heading-link, .hp-block-header-link),
body.mate :is(.mate-band, .text-light, .text-white) :is(.hp-heading-frame, .hp-global-block-header).baslik-18:not(:has(.hp-heading-link, .hp-block-header-link))::before {
  color: #fff !important;
}

/* ================= Koyu mod ================= */
html[data-bs-theme="dark"] body.mate .mate-header-bottom .hp-primary-menu > li:not(.hp-other-menu) > .hp-category-link {
  color: #e4e6e9;
}

html[data-bs-theme="dark"] body.mate .mate-header-bottom .hp-mobile-menu-trigger,
html[data-bs-theme="dark"] body.mate .mate-header-top .hp-mobile-menu-trigger {
  border-color: rgba(255, 255, 255, .08);
  color: #e4e6e9;
}

html[data-bs-theme="dark"] body.mate :is(.mate-header-bottom, .mate-header-top) .hp-mobile-menu-trigger:is(:hover, :focus-visible) {
  background: rgba(255, 255, 255, .06);
  color: var(--hp-accent);
}

html[data-bs-theme="dark"] body.mate :is(.mate-header-bottom, .mate-header-top) .hp-search-toggle {
  color: #e4e6e9;
}

html[data-bs-theme="dark"] body.mate :is(.mate-header-bottom, .mate-header-top) .hp-search-toggle:is(:hover, :focus-visible) {
  color: var(--hp-accent);
}

/* Son dakika bandı: koyu modda koyu sarımsı şerit */
html[data-bs-theme="dark"] body.mate .mate-breaking-row {
  background: #2a2616;
}

html[data-bs-theme="dark"] body.mate .mate-breaking-row .hp-breaking-control {
  background: #3d3614 !important;
  color: #ffcf4d !important;
}

html[data-bs-theme="dark"] body.mate .mate-breaking-row .hp-breaking-control::before {
  background: #3d3614 !important;
}

html[data-bs-theme="dark"] body.mate .mate-breaking-row :is(.hp-breaking-copy, .hp-breaking-copy a, .swiper-slide, .swiper-slide a) {
  color: #eee !important;
}

html[data-bs-theme="dark"] body.mate .mate-breaking-row .hp-breaking-swiper .swiper-slide > a::before,
html[data-bs-theme="dark"] body.mate .mate-breaking-row .hp-breaking-copy::before {
  background: #eee !important;
}

/* Manşet numara şeridi */
html[data-bs-theme="dark"] body.mate .hp-headline-pagination--outline-strip.hp-slider-pagination--numbers {
  background: #25282c;
  box-shadow: inset 1px 0 0 #3a3e44, inset -1px 0 0 #3a3e44, inset 0 -1px 0 #3a3e44;
}

html[data-bs-theme="dark"] body.mate .hp-headline-pagination--outline-strip.hp-slider-pagination--numbers :is(.swiper-pagination-bullet, .hp-headline-all-counter) {
  color: #c9ccd1;
}

html[data-bs-theme="dark"] body.mate .hp-headline-pagination--outline-strip.hp-slider-pagination--numbers :is(.swiper-pagination-bullet, .hp-headline-all-counter) + :is(.swiper-pagination-bullet, .hp-headline-all-counter) {
  box-shadow: inset 1px 0 0 #3a3e44;
}

html[data-bs-theme="dark"] body.mate .hp-headline-pagination--outline-strip.hp-slider-pagination--numbers .swiper-pagination-bullet-active {
  color: #fff;
}

/* Kart tarihleri ve boş durum kutuları */
html[data-bs-theme="dark"] body.mate .hp-news-card .hp-meta {
  color: var(--bs-secondary-color) !important;
}

html[data-bs-theme="dark"] body.mate .hp-news-grid__empty {
  background: var(--bs-tertiary-bg) !important;
  color: var(--bs-body-color);
}

html[data-bs-theme="dark"] body.mate .hp-standing-toggle {
  background: var(--bs-tertiary-bg) !important;
  color: var(--bs-secondary-color) !important;
}

/* Hamburger/arama paneli açılınca sayfa kaymasın */
html:has(body.mate) {
  scrollbar-gutter: stable;
}

body.mate,
body.mate :is(.fixed-top, .fixed-bottom, .sticky-top, .hp-desktop-tower) {
  padding-right: 0 !important;
  margin-right: 0 !important;
}

/* Karo kartlarda video/galeri simgesi sol üstte */
body.mate .hp-news-grid--content-overlay-grid .hp-news-kind {
  position: absolute !important;
  z-index: 2;
  inset: 10px auto auto 10px !important;
  transform: none !important;
}
