/* ==========================================================================
   KIRSİAD - Header (MÜSİAD tarzı koyu antrasit) - YALNIZCA TASARIM
   ========================================================================== */

:root { --mh-header-bg: #3a3d43; --mh-topbar-bg: #2e3135; --mh-gold: #c8a83a; }

/* ===== MÜSİAD tarzı üst ince şerit ===== */
.mh-topbar { background: var(--mh-topbar-bg); border-bottom: 1px solid rgba(255,255,255,.06); }
.mh-topbar__inner { max-width: none; margin: 0; padding: 0 30px; min-height: 40px; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 18px; }
.mh-topbar__item { color: #c7cace; font-size: 12.5px; font-weight: 500; text-decoration: none; letter-spacing: .02em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.mh-topbar__item:hover { color: var(--mh-gold); }
.mh-topbar__item .mdi { color: var(--mh-gold); font-size: 15px; }
.mh-topbar__strong { color: #fff; }
.mh-topbar__lang { cursor: default; }
@media (max-width: 991px) { .mh-topbar { display: none; } }

/* ana bardaki e-posta/telefon/dil üst şeride taşındı → gizle */
.rd-navbar-info .box-icon-minimal:has(.linearicons-envelope),
.rd-navbar-info .box-icon-minimal:has(.linearicons-phone),
.rd-navbar-info .box-icon-minimal:has(.lang-dropdown) { display: none !important; }

/* ana bar hizalama: menü solda, üyelik+butonlar sağda toplu (tek satır) */
@media (min-width: 1200px) {
  .rd-navbar-classic .rd-navbar-right { display: flex !important; align-items: center; justify-content: space-between; flex: 1 1 auto; flex-wrap: nowrap !important; }
  .rd-navbar-classic .rd-navbar-main { flex: 1 1 auto; min-width: 0; }
  .rd-navbar-classic .rd-navbar-nav { flex-wrap: nowrap !important; white-space: nowrap; }
  .rd-navbar-classic .rd-navbar-nav > li { white-space: nowrap; }
  .rd-navbar-classic .rd-navbar-nav > li > .rd-nav-link { padding-left: 7px !important; padding-right: 7px !important; }
  .rd-navbar-classic .rd-navbar-aside { display: flex !important; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; flex-wrap: nowrap; }
  .rd-navbar-classic .rd-navbar-info { display: flex !important; align-items: center; gap: 12px; margin: 0; flex-wrap: nowrap; }
  .rd-navbar-classic .rd-navbar-info .box-icon-minimal { margin: 0 !important; }
}
/* Üyelik'i MÜSİAD "ÜYELİK" butonu gibi göster — kompakt */
.rd-navbar-info .member-selected {
  border: 1.5px solid rgba(255,255,255,.26) !important; border-radius: 6px; padding: 7px 13px !important;
  text-transform: uppercase; font-size: 12px !important; font-weight: 600; letter-spacing: .02em; gap: 7px;
}
.rd-navbar-info .member-selected .icon { font-size: 15px !important; }
.rd-navbar-info .member-selected span { font-size: 12px !important; }
.rd-navbar-info .member-selected:hover { border-color: var(--mh-gold) !important; }

/* sağdaki öğeleri küçült + ferahlat */
@media (min-width: 1200px) {
  .rd-navbar-classic .rd-navbar-aside { margin-left: 26px !important; gap: 10px !important; }
  .rd-navbar-classic .rd-navbar-nav > li > .rd-nav-link { padding-left: 7px !important; padding-right: 7px !important; font-size: 13.5px; }
  /* fazlalık "İletişime Geç" butonunu gizle (İletişim üst şeritte + menüde var) */
  .rd-navbar-aside > a.button-icon:not(.bn-search) { display: none !important; }
  .button-share .button-share-icon { width: auto !important; height: auto !important; font-size: 20px !important; padding: 0 !important; color: #fff !important; opacity: 1 !important; }
  .rd-navbar-aside .bn-search { padding: 0 !important; }
  .rd-navbar-aside .bn-search span:not(.icon) { display: none; }
  .rd-navbar-aside .bn-search .icon { font-size: 17px !important; }
}

/* --- koyu zemin --- */
.page-header .rd-navbar,
.rd-navbar.rd-navbar-classic,
.rd-navbar-classic .rd-navbar-main,
.rd-navbar-classic .rd-navbar-panel,
.rd-navbar-classic .rd-navbar-aside-outer,
.rd-navbar-classic.rd-navbar--is-clone,
.rd-navbar-fixed .rd-navbar-panel,
.rd-navbar-fixed .rd-navbar-nav-wrap {
  background-color: var(--mh-header-bg) !important;
}
.rd-navbar-classic.rd-navbar--is-stuck { background-color: var(--mh-header-bg) !important; box-shadow: 0 4px 18px rgba(0,0,0,.18) !important; }

/* --- logo beyaz --- */
.rd-navbar-brand .brand-logo-dark,
.rd-navbar-brand img { filter: brightness(0) invert(1); }

/* --- menü öğe aralığı (asıl boşluk buradaydı: li margin-left:46px) --- */
.rd-navbar-classic .rd-navbar-nav > li { margin-left: 15px !important; margin-right: 0 !important; }
.rd-navbar-classic .rd-navbar-nav > li:first-child { margin-left: 0 !important; }

/* --- menü linkleri --- */
.rd-navbar-classic .rd-navbar-nav > li > .rd-nav-link {
  color: #fff !important; font-weight: 500 !important; text-transform: uppercase; letter-spacing: .02em; font-size: 14px;
}
.rd-navbar-classic .rd-navbar-nav > li > .rd-nav-link:hover,
.rd-navbar-classic .rd-navbar-nav > li.active > .rd-nav-link,
.rd-navbar-classic .rd-navbar-nav > li.focus > .rd-nav-link,
.rd-navbar-classic .rd-navbar-nav > li.opened > .rd-nav-link { color: var(--mh-gold) !important; }

/* alt çizgi (aktif) — TEK BORDO */
.rd-navbar-classic .rd-navbar-nav > li.active > .rd-nav-link::after,
.rd-navbar-classic .rd-navbar-nav > li > .rd-nav-link:hover::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: -6px; height: 3px; background: #610615 !important;
}
.rd-navbar-classic .rd-navbar-nav > li > .rd-nav-link { position: relative; }
/* tema'nın kendi (çift renk) göstergesini kaldır */
.rd-navbar-classic .rd-navbar-nav > li > .rd-nav-link::before { display: none !important; }
.rd-navbar-classic .rd-navbar-nav > li.active > .rd-nav-link,
.rd-navbar-classic .rd-navbar-nav > li > .rd-nav-link { border-bottom: none !important; box-shadow: none !important; }

/* header'daki dikey ayraç çizgilerini kaldır */
.rd-navbar-classic .rd-navbar-right,
.rd-navbar-classic .rd-navbar-main,
.rd-navbar-aside,
.rd-navbar-aside > *,
.rd-navbar-aside .button-share,
.rd-navbar-aside .bn-search,
.list-share,
.rd-navbar-info,
.rd-navbar-info .box-icon-minimal { border-left: none !important; border-right: none !important; }
/* arama/paylaş butonlarının kenarlığını kaldır (ÜYELİK butonu hariç) */
.rd-navbar-aside .button.button-white:not(.member-selected),
.rd-navbar-aside .bn-search { border: none !important; }

/* menü barı altındaki gri çizgiyi kaldır (asıl "çizgi" buydu) */
.rd-navbar.rd-navbar-classic,
.rd-navbar-classic .rd-navbar-main,
.rd-navbar-classic .rd-navbar-nav-wrap,
.rd-navbar-classic .rd-navbar-right { border-bottom: none !important; }

/* paylaş butonu 80px boşluğu → içerik kadar, ferah */
.rd-navbar-aside .button-share { width: auto !important; min-width: 0 !important; padding: 0 6px !important; }
.rd-navbar-aside .button-share .button-share-icon { width: auto !important; height: auto !important; }
.rd-navbar-aside .list-share { border: none !important; }

/* SAĞ BLOK dikey hizalama — hepsi tek satırda ortalı */
@media (min-width: 1200px) {
  .rd-navbar-classic .rd-navbar-aside { display: flex !important; align-items: center !important; gap: 16px !important; }
  .rd-navbar-classic .rd-navbar-aside > * { margin: 0 !important; float: none !important; display: flex !important; align-items: center !important; }
  .rd-navbar-classic .rd-navbar-info { display: flex !important; align-items: center !important; margin: 0 !important; }
  .rd-navbar-classic .rd-navbar-info > .box-icon-minimal { display: flex !important; align-items: center !important; margin: 0 !important; }
  .rd-navbar-classic .rd-navbar-info .unit,
  .rd-navbar-classic .rd-navbar-info .unit-body { margin: 0 !important; }
  .rd-navbar-aside .button-share { display: flex !important; align-items: center !important; height: auto !important; }
  .rd-navbar-aside .bn-search { display: flex !important; align-items: center !important; height: auto !important; }
  .rd-navbar-aside .bn-search .icon,
  .rd-navbar-aside .button-share .button-share-icon { display: flex !important; align-items: center !important; }
}
.rd-navbar-aside > *::before,
.rd-navbar-aside > *::after,
.rd-navbar-info .box-icon-minimal::before,
.rd-navbar-info .box-icon-minimal::after { display: none !important; }

/* dropdown menü koyu — okunur (maksimum spesifiklik) */
html body .rd-navbar .rd-navbar-dropdown,
html body .rd-navbar .rd-menu,
html body .rd-navbar-classic .rd-navbar-dropdown,
html body .rd-navbar-classic .rd-menu.rd-navbar-dropdown { background-color: #2e3135 !important; border: none !important; box-shadow: 0 14px 34px rgba(0,0,0,.32) !important; opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; will-change: auto !important; backdrop-filter: none !important; }
html body .rd-navbar .rd-navbar-dropdown li,
html body .rd-navbar .rd-navbar-dropdown .rd-dropdown-item,
html body .rd-navbar .rd-menu li,
html body .rd-navbar .rd-navbar-dropdown .rd-dropdown-link,
html body .rd-navbar .rd-menu a { background-color: #2e3135 !important; border: none !important; }
html body .rd-navbar .rd-navbar-dropdown a,
html body .rd-navbar .rd-navbar-dropdown .rd-dropdown-link,
html body .rd-navbar .rd-menu a { color: #ffffff !important; background-color: transparent !important; opacity: 1 !important; font-weight: 500 !important; }
html body .rd-navbar .rd-navbar-dropdown a:hover,
html body .rd-navbar .rd-navbar-dropdown .rd-dropdown-link:hover,
html body .rd-navbar .rd-menu a:hover { color: #c8a83a !important; background-color: rgba(255,255,255,.08) !important; }

/* --- sağ bilgi (eposta/tel/üyelik/dil) --- */
.rd-navbar-info .box-icon-minimal-title { color: #a9adb4 !important; }
.rd-navbar-info .box-icon-minimal-text { color: #fff !important; }
.rd-navbar-info .icon,
.rd-navbar-info .linearicons-envelope,
.rd-navbar-info .linearicons-phone,
.rd-navbar-info .linearicons-users2 { color: var(--mh-gold) !important; }
.rd-navbar-info .member-selected,
.rd-navbar-info .member-selected span,
.rd-navbar-info .lang-selected,
.rd-navbar-info .lang-selected span { color: #fff !important; }

/* dropdownlar koyu */
.member-list, .lang-list { background: #33363b !important; border: none !important; box-shadow: 0 10px 26px rgba(0,0,0,.28) !important; }
.member-list a, .lang-list li { color: #e6e7ea !important; }
.member-list a:hover, .lang-list li:hover { color: var(--mh-gold) !important; background: rgba(255,255,255,.05) !important; }

/* paylaş + butonlar */
.button-share .button-share-icon { color: #fff !important; }
.rd-navbar-aside .list-share-item .icon { color: #fff !important; }
.rd-navbar-aside .list-share-item .icon:hover { color: var(--mh-gold) !important; }
.rd-navbar-aside .button-white,
.rd-navbar-aside .button.button-white {
  background: transparent !important; border: 1.5px solid rgba(255,255,255,.35) !important; color: #fff !important;
}
.rd-navbar-aside .button-winona::before,
.rd-navbar-aside .button-white::before { background: var(--mh-gold) !important; }
.rd-navbar-aside .button-white:hover { border-color: var(--mh-gold) !important; color: #1c1c1c !important; }
.rd-navbar-aside .button-white:hover .icon,
.rd-navbar-aside .button-white:hover span { color: #1c1c1c !important; position: relative; z-index: 2; }
.rd-navbar-aside .button-white .icon,
.rd-navbar-aside .button-white span { color: #fff !important; }

/* tüm aside butonları koyu-tema (beyaz zemin kutu kalmasın) */
.rd-navbar-aside .button { background-color: transparent !important; }
.rd-navbar-aside .button.button-white { border: 1.5px solid rgba(255,255,255,.32) !important; }

/* dil seçici + paylaş butonu beyaz zemini kaldır */
.lang-selected { background: transparent !important; border: 1px solid rgba(255,255,255,.28) !important; }
.lang-selected span { color: #fff !important; }
.button-share .button-share-icon { background: transparent !important; color: #fff !important; }
.button-share .button-share-icon:hover { color: var(--mh-gold) !important; }
.rd-navbar-info .member-selected { background: transparent !important; }

/* arama/toggle ikonlar beyaz */
.rd-navbar-classic .rd-navbar-toggle span,
.rd-navbar-classic .rd-navbar-toggle span::before,
.rd-navbar-classic .rd-navbar-toggle span::after { background: #fff !important; }

/* mobil menü paneli koyu */
@media (max-width: 1199px) {
  .rd-navbar-fixed .rd-navbar-nav-wrap,
  .rd-navbar-fixed .rd-navbar-submenu,
  .rd-navbar-fixed .rd-navbar-nav { background: var(--mh-header-bg) !important; }
  .rd-navbar-fixed .rd-nav-link { color: #fff !important; }
}

/* ana bardan e-posta/telefon/dil'i KESİN gizle (üst şeride taşındı) — hizalama kuralından sonra */
@media (min-width: 1200px) {
  html body .rd-navbar-info .box-icon-minimal:has(.linearicons-envelope),
  html body .rd-navbar-info .box-icon-minimal:has(.linearicons-phone),
  html body .rd-navbar-info .box-icon-minimal:has(.lang-dropdown) { display: none !important; }
}

/* paylaş (sosyal) butonunu belirginleştir + arama ile hizala */
.rd-navbar-aside .button-share .button-share-icon,
.rd-navbar-aside .bn-search .icon { color: #fff !important; opacity: 1 !important; font-size: 20px !important; }
.rd-navbar-aside .button-share .button-share-icon:hover,
.rd-navbar-aside .bn-search:hover .icon { color: var(--mh-gold) !important; }

/* ===== Paylaş toggle yerine SOSYAL MEDYA ikonlarını doğrudan göster ===== */
.rd-navbar-aside .button-share-icon { display: none !important; }
.rd-navbar-aside .list-share {
  position: static !important; display: flex !important; flex-direction: row !important; align-items: center !important;
  gap: 13px !important; background: transparent !important; box-shadow: none !important; border: none !important;
  opacity: 1 !important; visibility: visible !important; transform: none !important; padding: 0 !important; margin: 0 !important;
  width: auto !important; min-width: 0 !important; height: auto !important;
}
.rd-navbar-aside .list-share .list-share-item { margin: 0 !important; list-style: none !important; }
.rd-navbar-aside .list-share .icon { color: #fff !important; font-size: 16px !important; background: transparent !important; opacity: 1 !important; transition: color .2s; }
.rd-navbar-aside .list-share .icon:hover { color: var(--mh-gold) !important; }
.rd-navbar-aside .list-share a svg { fill: #fff !important; width: 15px !important; height: 15px !important; }
.rd-navbar-aside .list-share a:hover svg { fill: var(--mh-gold) !important; }
.rd-navbar-aside .button-share { padding: 0 !important; }

/* ===== Header sosyal medya ikonları (paylaş toggle yerine doğrudan) ===== */
.rd-navbar-aside .mh-social { display: flex !important; align-items: center; gap: 13px; }
.rd-navbar-aside .mh-social__link { color: #fff !important; font-size: 16px; line-height: 1; text-decoration: none; display: inline-flex; align-items: center; transition: color .2s; }
.rd-navbar-aside .mh-social__link:hover { color: var(--mh-gold) !important; }
.rd-navbar-aside .mh-social__x svg { fill: currentColor; display: block; }

/* ===== Sosyal medya: geniş ekranda AÇIK, daralınca DROPDOWN ===== */
.rd-navbar-aside .mh-social-dd { position: relative; display: flex; align-items: center; }
.rd-navbar-aside .mh-social-dd__toggle { background: none; border: none; color: #fff; font-size: 19px; cursor: pointer; display: none; align-items: center; padding: 0; line-height: 1; }
.rd-navbar-aside .mh-social-dd__toggle:hover { color: var(--mh-gold); }
.rd-navbar-aside .mh-social-dd__menu { display: flex; align-items: center; gap: 13px; }
.rd-navbar-aside .mh-social-dd__menu a { color: #fff !important; font-size: 16px; line-height: 1; display: inline-flex; align-items: center; text-decoration: none; transition: color .2s; }
.rd-navbar-aside .mh-social-dd__menu a:hover { color: var(--mh-gold) !important; }
.rd-navbar-aside .mh-social-dd__menu .mh-social__x svg { fill: currentColor; display: block; }

/* geniş ekran (≥1200): ikonlar açık, toggle gizli — default böyle */

/* daralınca (<1200): tek buton + açılır dropdown */
@media (max-width: 1199px) {
  .rd-navbar-aside .mh-social-dd__toggle { display: flex; }
  .rd-navbar-aside .mh-social-dd__menu {
    position: absolute; top: calc(100% + 14px); right: 0; flex-direction: row; gap: 15px;
    background: #2e3135; border-radius: 8px; padding: 12px 15px; box-shadow: 0 12px 30px rgba(0,0,0,.38);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 1200;
  }
  .rd-navbar-aside .mh-social-dd.is-open .mh-social-dd__menu { opacity: 1; visibility: visible; transform: translateY(0); }
}

/* ===== Liste/etkinlik/haber kart görselleri TAM görünsün (kırpma yok) ===== */
.post-classic-figure { background: #ffffff !important; display: flex !important; align-items: center; justify-content: center; overflow: hidden; }
.post-classic-figure img { object-fit: contain !important; width: 100% !important; height: 100% !important; }
