/* === Bilal Alyar — Astra Restoration v2 (2026-05-01) === */

/* 1) HERO OVERLAY — Spectra (UAGB) container'ında heykel arka planı üzerine yarı saydam koyu katman */
.wp-block-uagb-container[class*=uagb-is-root-container]:first-of-type,
.entry-content > .wp-block-uagb-container.alignfull:first-of-type {
  position: relative;
}
.wp-block-uagb-container[style*=background-image]::before,
.wp-block-uagb-container[class*=uagb-is-root-container]:first-of-type::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.4) 50%, rgba(0,0,0,.7) 100%);
  pointer-events: none;
  z-index: 1;
}
.wp-block-uagb-container > .uagb-container-inner-blocks-wrap,
.wp-block-uagb-container > * {
  position: relative;
  z-index: 2;
}

/* 2) HERO BAŞLIK & METİN */
.wp-block-uagb-container h1,
.wp-block-uagb-container h2,
body.home h1.entry-title,
body.home .ast-article-single h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.wp-block-uagb-container p {
  color: #f0f0f0 !important;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* 3) BUTONLAR — altın sarısı, marka rengiyle uyumlu */
.wp-block-button__link,
.wp-block-cover .wp-block-button__link,
.ast-button,
.uagb-buttons-repeater,
body .wp-block-button .wp-block-button__link {
  background-color: #c9a961 !important;
  color: #1a1a1a !important;
  border: 2px solid #c9a961 !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  transition: all .2s ease;
}
.wp-block-button__link:hover,
.ast-button:hover {
  background-color: #b89548 !important;
  border-color: #b89548 !important;
  color: #ffffff !important;
}

/* 4) GENEL İÇERİK — koyu zeminde okunabilir */
body {
  background-color: #0d0d0d;
  color: #e8e8e8;
}
body .entry-content,
body .ast-article-single {
  color: #e8e8e8;
}
body .entry-content h1,
body .entry-content h2,
body .entry-content h3,
body .entry-content h4 {
  color: #ffffff !important;
}
body .entry-content p,
body .ast-article-single p,
body .ast-article-single li {
  color: #e0e0e0 !important;
  line-height: 1.7;
}

/* 5) FOOTER */
.site-footer,
.site-footer * {
  color: #d8d8d8;
}
.site-footer a {
  color: #c9a961 !important;
  text-decoration: none;
}
.site-footer a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}
.site-footer h2,
.site-footer h3,
.site-footer h4 {
  color: #ffffff !important;
}

/* 6) MOBİL Header & Menü */
@media (max-width: 921px) {
  .ast-mobile-header-wrap .main-navigation,
  #ast-mobile-header .main-navigation {
    background-color: #1a1f2e;
  }
  .ast-mobile-header-wrap .main-navigation a {
    color: #c9a961 !important;
  }
  /* Mobil header altında fazla boşluk olmasın */
  body.home .ast-article-single,
  body.home main#main {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* 7) WhatsApp Float */
#wa-float-btn,
.wa-float-button,
[class*=whatsapp-float] {
  z-index: 9998 !important;
}

/* 8) Logo hücresi — ölçü kontrolü */
.custom-logo,
.site-branding img,
.ast-header-logo img {
  max-width: 180px !important;
  height: auto !important;
}
@media (max-width: 921px) {
  .custom-logo,
  .site-branding img {
    max-width: 110px !important;
  }
}

/* === End === */

/* === MOBIL BASLIK KIRILMA DUZELTMESI (2026-05-01) === */
/* Mobilde h1/h2 kelimelerin harf harf alt alta dusmesini engeller */
@media (max-width: 921px) {
  .wp-block-uagb-container h1,
  .wp-block-uagb-container h2,
  .wp-block-uagb-container h3,
  .entry-content h1,
  .entry-content h2,
  .entry-content h3,
  .ast-container h1,
  .ast-container h2,
  .ast-container h3,
  .uagb-heading-text,
  body h1,
  body h2,
  body h3 {
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    -webkit-hyphens: none !important;
    hyphens: none !important;
    white-space: normal !important;
  }
}

@media (max-width: 600px) {
  .wp-block-uagb-container h1,
  .entry-content h1,
  body h1 {
    font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
    line-height: 1.2 !important;
  }
  .wp-block-uagb-container h2,
  .entry-content h2,
  body h2 {
    font-size: clamp(1.3rem, 6vw, 2rem) !important;
    line-height: 1.25 !important;
  }
  .wp-block-uagb-container h3,
  .entry-content h3,
  body h3 {
    font-size: clamp(1.1rem, 5vw, 1.6rem) !important;
    line-height: 1.3 !important;
  }
  /* Hero alanindaki ic dolgular taşmasın */
  .wp-block-uagb-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}


/* === LAYOUT FIX v3 (2026-05-01) === Header/menu/spacing duzeltmeleri */

/* A) Astra Mobile Header'i tablet/desktop ekranlarda KESIN gizle (>=922px) */
@media (min-width: 922px) {
  #ast-mobile-header,
  .ast-mobile-header-wrap,
  .ast-mobile-menu-buttons,
  .main-header-bar .menu-toggle,
  .ast-button-wrap .menu-toggle,
  body .ast-mobile-menu-buttons,
  .main-header-bar-navigation.toggle-on,
  .ast-mobile-header-stack #masthead .ast-mobile-header-wrap {
    display: none !important;
  }
  /* Masaustu header'i goster */
  .ast-desktop-header-content,
  .main-header-bar,
  .ast-main-header-wrap {
    display: flex !important;
  }
  /* Ana menu yatay */
  .main-header-menu,
  .main-header-menu.ast-nav-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
  }
  .main-header-menu > li {
    display: inline-flex !important;
    list-style: none !important;
  }
  .main-header-menu > li > a {
    padding: 0 16px !important;
    line-height: 60px !important;
    text-decoration: none !important;
  }
}

/* B) Site genel taşma kontrolü */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}
#page, .site, .ast-container, .site-content, #content {
  max-width: 100% !important;
}

/* C) Mobil offcanvas kapali iken gozukmesin */
.ast-mobile-popup-drawer:not(.active),
.main-header-bar-navigation:not(.toggle-on) .main-header-menu.submenu-with-border,
#ast-hf-mobile-menu:not(.toggle-on) {
  /* offcanvas Astra tarafından zaten yönetilir; gerekirse:*/
}
@media (min-width: 922px) {
  #ast-hf-mobile-menu,
  .ast-mobile-popup-drawer,
  .ast-mobile-popup-inner {
    display: none !important;
  }
}

/* D) Hero/Spectra container - ic dolgu ve max genislik */
.entry-content > .wp-block-uagb-container.alignfull,
.wp-block-uagb-container[class*=uagb-is-root-container]:first-of-type {
  padding-left: clamp(16px, 4vw, 64px) !important;
  padding-right: clamp(16px, 4vw, 64px) !important;
  padding-top: clamp(40px, 6vw, 96px) !important;
  padding-bottom: clamp(40px, 6vw, 96px) !important;
}
.wp-block-uagb-container .uagb-container-inner-blocks-wrap {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* CTA button styling */
a[href^="tel:"],
.elementor-button-link[href^="tel:"],
.hemen-arayin,
li.menu-item a[href^="tel:"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background-color: #c9a961 !important;
  color: #1a1a1a !important;
  text-decoration: none !important;
  padding: 8px 18px !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  border: 2px solid #c9a961 !important;
  transition: all .2s ease;
}
a[href^="tel:"]:hover {
  background-color: #b89548 !important;
  color: #ffffff !important;
  border-color: #b89548 !important;
}

/* F) TR dil seciciyi sabitleme - kayan elementi normal akisa al */
.gtranslate_wrapper,
.gt_switcher_wrapper,
[class*="gtranslate"],
.trp-language-switcher,
.trp_language_switcher_shortcode {
  position: static !important;
  display: inline-block !important;
  z-index: 5 !important;
}
/* Eger header icindeyse sag tarafa hizala */
.ast-header-html .gtranslate_wrapper,
.main-header-bar .gtranslate_wrapper,
header .gtranslate_wrapper {
  margin-left: auto !important;
}

/* G) Header alti devasa siyah bosluk olusmasin */
#masthead {
  min-height: 0 !important;
}
.main-header-bar {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
body.home #content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.home .ast-article-single {
  padding-top: 0 !important;
}

/* H) Cookie banner (Cookie Law Info) z-index ve konum duzeltmesi */
#cookie-law-info-bar,
.cli-modal,
.cli-bar-container {
  z-index: 9990 !important;
}

/* I) Cift logo onlemi - sadece gorunur olan kalsin */
@media (min-width: 922px) {
  #masthead .site-branding ~ .site-branding,
  #masthead .ast-mobile-header-wrap .site-branding {
    display: none !important;
  }
}

/* J) WhatsApp butonu cookie banner ile cakismasin */
.wa-float-button,
[class*=whatsapp-float],
#wa-float-btn {
  bottom: 90px !important;
}

/* K) Daha Fazlasi butonu kenara yapismasin (hero icindeyse) */
.wp-block-uagb-container .wp-block-button {
  margin-left: 0 !important;
}

/* === END LAYOUT FIX v3 === */

/* === HEADER OVERLAP FIX v4 (2026-05-01) ===
/* Masthead absolute oldugu icin hero'nun uzerine biniyor, hero icerik gizleniyor */
/* Cozum: Astra "Transparent Header" yerine static header + body'ye top padding */

/* 1) Masthead'i normal akisa al (artik hero uzerinde durmasin) */
#masthead.site-header {
  position: relative !important;
  z-index: 5 !important;
  background-color: transparent !important;
}

/* 2) Hero kontaynerinin ust dolgusu zaten yeterli; header'i z-index ile uste tasi sadece tiklanma icin */
.main-header-bar-wrap,
.ast-main-header-wrap {
  position: relative !important;
  z-index: 10 !important;
}

/* 3) Hero container'in en ust kismi header ile cakismasin - extra padding */
.entry-content > .wp-block-uagb-container.alignfull:first-of-type,
.wp-block-uagb-container[class*=uagb-is-root-container]:first-of-type {
  padding-top: clamp(16px, 3vw, 40px) !important;
}

/* 4) Masthead'i transparent header'dan cikar */
.ast-theme-transparent-header #masthead,
body #masthead {
  position: relative !important;
}

/* 5) Body'de tum sayfalar icin masthead alanindan sonra hero baslasin */
body.home > div#page > #content,
body.home > div#page > main,
body.home #content {
  padding-top: 0 !important;
}

/* 6) Eger header hala absolute kalirsa, hero'nun ilk childlarina ekstra ust margin */
@media (max-width: 921px) {
  body #masthead.site-header {
    position: relative !important;
  }
  /* Ekstra guvenlik: hero ic ilk eleman header altina kaymasin */
  .wp-block-uagb-container[class*=uagb-is-root-container]:first-of-type > .uagb-container-inner-blocks-wrap > :first-child,
  .entry-content > .wp-block-uagb-container.alignfull:first-of-type > .uagb-container-inner-blocks-wrap > :first-child {
    margin-top: 0 !important;
  }
}

/* 7) Site-branding (logo) icin guvenli yukseklik */
.site-branding {
  display: inline-flex !important;
  align-items: center !important;
}

/* === END HEADER OVERLAP FIX v4 === */

/* === LANG SWITCHER FIX v5 ===
#bl-lang-wrap {
  position: fixed !important;
  top: 16px !important;
  right: 16px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 9995 !important;
  background: rgba(20,20,20,.85) !important;
  border: 1px solid rgba(201,169,97,.4) !important;
  border-radius: 6px !important;
  padding: 6px 10px !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 13px !important;
  line-height: 1.3 !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.35);
}
#bl-lang-wrap a, #bl-lang-wrap button, #bl-lang-wrap span, #bl-lang-wrap div {
  color: #fff !important;
}
.admin-bar #bl-lang-wrap { top: 48px !important; }
#whatsapp-button.wp-whatsapp-float {
  bottom: 24px !important;
  right: 24px !important;
}
/* === END LANG SWITCHER FIX v5 === */

/* === CARD-FIX v1 (eklendi: dark mode card okunabilirligi) === */
/* Spectra info-box kartlari koyu zemin */
.wp-block-uagb-info-box, .uagb-info-box, .uagb-info-box__content-wrap, .wp-block-uagb-info-box .uagb-ifb-content {
  background-color: rgb(20, 20, 20) !important;
}
.wp-block-uagb-info-box .uagb-info-box-title, .wp-block-uagb-info-box .uagb-info-box-title-wrap *, .uagb-info-box__title, .wp-block-uagb-info-box h2, .wp-block-uagb-info-box h3 {
  color: rgb(201, 169, 97) !important;
}
.wp-block-uagb-info-box .uagb-ifb-desc, .wp-block-uagb-info-box .uagb-ifb-content p, .uagb-info-box__content-wrap p {
  color: rgb(224, 224, 224) !important;
}

/* Lokal hizmet kartlari (Anadolu Yakasi linkleri) */
.wp-block-uagb-buttons-child a, .wp-block-uagb-buttons a {
  background-color: rgb(20, 20, 20) !important;
  color: rgb(232, 232, 232) !important;
  border-color: rgba(201, 169, 97, 0.4) !important;
}
.wp-block-uagb-buttons-child a:hover {
  border-color: rgb(201, 169, 97) !important;
}

/* Ana sayfa genel: koyu zemin + altin basliklar */
body.home #content, body.home main, body.home .ast-article-single {
  background-color: rgb(13, 13, 13) !important;
}
body.home p, body.home li {
  color: rgb(224, 224, 224) !important;
}
body.home h1, body.home h2, body.home h3, body.home h4 {
  color: rgb(201, 169, 97) !important;
}

/* Spectra section'lar transparan */
.wp-block-uagb-section, .uagb-section__inner-wrap {
  background-color: transparent !important;
}

/* .01-.06 numarali hizmet kartlari (Spectra container) */
body.home .wp-block-uagb-container[class*="uagb-block-"] {
  background-color: rgb(20, 20, 20) !important;
}

/* Hamburger ikon altin */
.menu-toggle, .ast-mobile-menu-buttons-fill, .ast-mobile-menu-buttons-minimal {
  color: rgb(201, 169, 97) !important;
}
.menu-toggle .menu-toggle-icon, .menu-toggle::before, .menu-toggle::after, .ast-mobile-menu-buttons-minimal .menu-toggle-icon {
  color: rgb(201, 169, 97) !important;
}
.menu-toggle svg, .menu-toggle svg path {
  fill: rgb(201, 169, 97) !important;
  stroke: rgb(201, 169, 97) !important;
}

/* Buton metni siyah (altin zemin uzerinde) */
.wp-block-button__link, .ast-button, .wp-block-button .wp-block-button__link {
  color: rgb(26, 26, 26) !important;
}
.wp-block-button__link *, .ast-button * {
  color: rgb(26, 26, 26) !important;
}
/* === CARD-FIX v1 SONU === */

/* === Cift cerez bildirim cubugunu gizle (bilal-cb custom banner) === */
#bilal-cb { display: none !important; visibility: hidden !important; }


/* === Bilal Alyar - 2026-05-02 Header & Footer & A11y Pack === */

/* HEADER: Logo'yu büyüt + masaüstü navigasyonu sağa kaydır */
@media (min-width: 922px){
  .ast-header-break-point .site-branding img,
  .site-branding .custom-logo-link img,
  .ast-builder-layout-element .custom-logo-link img{
    max-height: 110px !important;
    width: auto !important;
    height: auto !important;
  }
  /* Header column dağılımı: logo sol, nav sağ uçta */
  .ast-builder-grid-row-container .ast-builder-grid-row{
    grid-template-columns: auto 1fr !important;
    align-items: center !important;
    gap: 32px !important;
  }
  /* Astra header builder: nav'ı sağ uca it */
  .ast-builder-menu-1,
  .site-header .main-header-menu,
  .site-header .main-navigation,
  header .main-header-bar-navigation{
    margin-left: auto !important;
    justify-content: flex-end !important;
  }
  /* Nav menü font-size büyüt + altın hover */
  .ast-builder-menu-1 .menu-item > a,
  .main-header-menu > .menu-item > a,
  .main-header-bar .main-header-menu li a{
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  /* CTA button styling */
  .ast-builder-button-1{
    margin-left: 24px !important;
  }
}

/* FOOTER: Beyaz/krem beyan satırı + alt mavi-lacivert -> komple SİYAH */
.site-footer,
footer.site-footer,
#colophon,
.footer-widget-area,
.site-below-footer-wrap,
.site-above-footer-wrap,
.ast-below-footer-section,
.ast-above-footer-section,
.site-primary-footer-wrap,
.footer-sml-layout-2,
.footer-sml-layout-1,
[data-section="section-footer-builder"],
.site-footer .ast-footer-overlay{
  background-color: #000 !important;
  background: #000 !important;
  color: #ffffff !important;
}

/* Cream/krem ara şerit (eğer varsa) */
.site-footer-section-1,
.site-footer-section-2,
.ast-footer-copyright,
.footer-copyright,
.site-info,
.below-footer-bar{
  background-color: #000 !important;
  color: #ffffff !important;
}

/* Footer başlıklar -> Altın */
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer .widget-title,
footer .widget-title,
footer h3,
footer h4{
  color: #d4af37 !important;
}

/* Footer link ve metinler -> Beyaz, hover -> Altın */
.site-footer p,
.site-footer li,
.site-footer span,
.site-footer address,
footer p, footer li, footer span, footer td, footer dd, footer dt{
  color: #ffffff !important;
}
.site-footer a,
footer a{
  color: #ffffff !important;
  text-decoration: none !important;
}
.site-footer a:hover,
.site-footer a:focus,
footer a:hover,
footer a:focus{
  color: #d4af37 !important;
  text-decoration: underline !important;
}

/* Telefon butonu (footer'daki) */
.site-footer .wp-block-button__link,
footer .wp-block-button__link{
  background-color: #d4af37 !important;
  color: #000 !important;
  border-color: #d4af37 !important;
}
.site-footer .wp-block-button__link:hover,
footer .wp-block-button__link:hover{
  background-color: #ffffff !important;
  color: #000 !important;
}

/* Footer üst altın çizgi (sınır) */
.site-footer{
  border-top: 2px solid #d4af37 !important;
}

/* "© 2026 ... saklıdır" alt copyright satırı */
.ast-small-footer,
.ast-small-footer-section,
.ast-small-footer .ast-container,
.site-below-footer-wrap[data-section="section-below-footer-builder"]{
  background-color: #000 !important;
  color: #ffffff !important;
  border-top: 1px solid #2a2a2a !important;
}
.ast-small-footer a{
  color: #d4af37 !important;
}

/* === A11Y - ERİŞİLEBİLİRLİK 100 PUAN İÇİN KONTRAST ARTIRMA === */

/* Hero alt başlık ve gri metinleri okunur beyaza çek */
.entry-content p,
.wp-block-uagb-container p,
.wp-block-uagb-container h2,
.wp-block-uagb-container h3,
.wp-block-uagb-container li{
  color: #ffffff !important;
}

/* Açık temadaki gri "açık renkli" gibi metinler için kontrast */
.has-text-color.has-light-gray-color,
.has-text-color.has-pale-color{
  color: #cccccc !important;
}

/* Form etiketleri */
label, .wp-block-form-input-label{
  color: inherit !important;
  font-weight: 500 !important;
}

/* Focus outline (klavye erişilebilirliği) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.menu-item a:focus-visible{
  outline: 3px solid #d4af37 !important;
  outline-offset: 2px !important;
  border-radius: 2px !important;
}

/* Skip-to-content (ekran okuyucu için) */
.skip-link{
  background: #000 !important;
  color: #d4af37 !important;
  border: 2px solid #d4af37 !important;
}

/* CTA button styling */
.wp-block-button__link,
.ast-custom-button{
  font-weight: 600 !important;
}

/* === PERFORMANS: lazy / aspect-ratio === */
img:not([loading]){ loading: lazy; }
img{ height: auto; max-width: 100%; }

/* === Scroll-margin-top başlıklarda anchor jump için === */
h2[id], h3[id]{ scroll-margin-top: 100px; }


/* === STRONGER FOOTER OVERRIDE - 2026-05-02 v2 === */
html body .site-footer,
html body footer.site-footer,
html body #colophon,
html body [class*="footer-widgets"],
html body [class*="below-footer"],
html body [class*="primary-footer"],
html body [data-section*="footer"],
html body .ast-builder-footer-grid-row,
html body .ast-builder-footer-grid-columns,
html body .ast-builder-grid-row-container.site-primary-footer-wrap,
html body .ast-builder-grid-row-container.site-below-footer-wrap{
  background-color: #000000 !important;
  background-image: none !important;
  background: #000000 !important;
}

html body .site-footer *:not(a):not(.wp-block-button__link):not(button){
  background-color: transparent !important;
}

/* Copyright satırı (© 2026...) */
html body .site-below-footer-wrap,
html body .ast-below-footer-section-1,
html body .ast-below-footer-section-2,
html body [data-section="section-below-footer-builder"],
html body .ast-builder-grid-row-container.site-below-footer-wrap .ast-builder-grid-row{
  background-color: #000000 !important;
  background: #000000 !important;
  border-top: 1px solid #d4af37 !important;
}

/* Copyright text "© 2026 Av. Bilal Alyar - Tüm hakları saklıdır." */
html body .site-below-footer-wrap *,
html body .site-info,
html body .ast-footer-copyright,
html body .ast-footer-copyright p,
html body .ast-builder-html-element{
  color: #ffffff !important;
}

/* Yıl ve isim altın */
html body .ast-footer-copyright a,
html body .site-info a{
  color: #d4af37 !important;
}

/* CTA button styling */
html body .ast-custom-button,
html body .ast-builder-button-1 .ast-custom-button{
  background-color: #d4af37 !important;
  color: #000000 !important;
  border: 2px solid #d4af37 !important;
  font-weight: 700 !important;
}
html body .ast-custom-button:hover{
  background-color: #ffffff !important;
  color: #000000 !important;
  border-color: #d4af37 !important;
}

/* Ekstra header sağa kaydırma garantisi */
@media (min-width: 922px){
  html body .ast-builder-grid-row-container .ast-builder-grid-row-tablet,
  html body .site-header .ast-builder-grid-row{
    grid-template-columns: minmax(120px, auto) 1fr !important;
  }
  html body .ast-builder-menu-1{
    justify-self: end !important;
  }
}

/* Astra ana renk değişkeni override - footer için */
.site-footer{
  --ast-global-color-0: #d4af37;
  --ast-global-color-1: #ffffff;
  --ast-global-color-2: #d4af37;
  --ast-global-color-3: #000000;
  --ast-global-color-4: #000000;
  --ast-global-color-5: #ffffff;
}


/* === #blf CUSTOM FOOTER OVERRIDE - 2026-05-02 v3 === */
html body #blf,
html body #blf .fg,
html body #blf .fb,
html body #blf > div,
html body #blf section{
  background-color: #000000 !important;
  background-image: none !important;
  background: #000000 !important;
}

html body #blf{
  border-top: 2px solid #d4af37 !important;
}

/* #blf içindeki başlıklar -> Altın */
html body #blf h1,
html body #blf h2,
html body #blf h3,
html body #blf h4,
html body #blf h5,
html body #blf h6{
  color: #d4af37 !important;
}

/* #blf içindeki tüm metinler -> Beyaz */
html body #blf p,
html body #blf span,
html body #blf li,
html body #blf address,
html body #blf div{
  color: #ffffff !important;
}

/* #blf linkleri -> Beyaz, hover -> Altın */
html body #blf a{
  color: #ffffff !important;
  text-decoration: none !important;
}
html body #blf a:hover,
html body #blf a:focus{
  color: #d4af37 !important;
  text-decoration: underline !important;
}

/* #blf telefon butonu (sarı buton) -> Altın koru */
html body #blf .wp-block-button__link,
html body #blf button,
html body #blf [class*="button"]{
  background-color: #d4af37 !important;
  color: #000000 !important;
  border-color: #d4af37 !important;
  font-weight: 700 !important;
}
html body #blf .wp-block-button__link:hover{
  background-color: #ffffff !important;
  color: #000000 !important;
}

/* .fb = footer-bottom (copyright satırı) */
html body #blf .fb{
  border-top: 1px solid #2a2a2a !important;
  background-color: #000000 !important;
}
html body #blf .fb,
html body #blf .fb p,
html body #blf .fb span{
  color: #ffffff !important;
}
html body #blf .fb a{
  color: #d4af37 !important;
}


/* ============================================================
   GLOBAL DARK MODE CONSISTENCY PACK - 2026-05-02 v4
   Tüm sayfalarda tutarlı koyu tema, okunabilir metinler
   ============================================================ */

/* ---- 1) GLOBAL BODY/SITE BACKGROUND ---- */
html body,
html body.wp-singular,
html body .site,
html body #page,
html body .ast-container,
html body .site-content,
html body .site-content > .ast-container,
html body #content,
html body #primary,
html body #secondary,
html body main,
html body article,
html body .entry-content{
  background-color: #000000 !important;
  color: #ffffff !important;
}

/* ---- 2) SIDEBAR WIDGETS (Son Yorumlar, Arşivler, Kategoriler) ---- */
html body .widget,
html body .widget-area,
html body aside.widget,
html body #secondary .widget,
html body .ast-sidebar .widget,
html body .wp-block-group,
html body .wp-block-search,
html body .wp-block-latest-posts,
html body .wp-block-archives,
html body .wp-block-categories,
html body .wp-block-tag-cloud,
html body .wp-block-recent-comments{
  background-color: #0d0d0d !important;
  color: #ffffff !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 8px !important;
  padding: 18px !important;
  margin-bottom: 20px !important;
}

html body .widget *,
html body aside.widget *,
html body #secondary *,
html body .wp-block-group *{
  color: #ffffff !important;
  background-color: transparent !important;
}

html body .widget-title,
html body .widget h2,
html body .widget h3,
html body .widget h4,
html body aside h2,
html body aside h3,
html body .wp-block-heading{
  color: #d4af37 !important;
  background: transparent !important;
}

html body .widget a,
html body aside a,
html body .wp-block-group a{
  color: #ffffff !important;
}

html body .widget a:hover,
html body aside a:hover{
  color: #d4af37 !important;
}

/* ---- 3) MAKALE / POST İÇERİK ---- */
html body .entry-content,
html body article .entry-content,
html body .single .entry-content,
html body .post-content{
  background-color: #000000 !important;
  color: #ffffff !important;
}
/* Children inherit dark theme but allow inline backgrounds to win */
html body .entry-content *:not([style*="background"]):not(a):not(strong):not(em):not(small){
  background-color: transparent !important;
}
/* Any descendant with inline background color: force black text */
html body .entry-content [style*="background:#"],
html body .entry-content [style*="background-color:#"],
html body .entry-content [style*="background: #"],
html body .entry-content [style*="background-color: #"]{
  color: #000000 !important;
}
html body .entry-content [style*="background:#"] *,
html body .entry-content [style*="background-color:#"] *,
html body .entry-content [style*="background: #"] *,
html body .entry-content [style*="background-color: #"] *{
  color: #000000 !important;
  background-color: transparent !important;
}
/* Anchors inside light-bg callouts: dark blue underlined */
html body .entry-content [style*="background:#"] a,
html body .entry-content [style*="background-color:#"] a,
html body .entry-content [style*="background: #"] a,
html body .entry-content [style*="background-color: #"] a{
  color: #0d47a1 !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
}

html body .entry-content p,
html body .entry-content li,
html body .entry-content td,
html body .entry-content blockquote,
html body .entry-content span:not(.has-text-color),
html body article p,
html body article li{
  color: #ffffff !important;
}

html body .entry-content h1,
html body .entry-content h2,
html body .entry-content h3,
html body .entry-content h4,
html body .entry-content h5,
html body .entry-content h6,
html body article h1,
html body article h2,
html body article h3{
  color: #d4af37 !important;
}

html body .entry-content a,
html body article a{
  color: #ffd966 !important;
  text-decoration: underline !important;
}
html body .entry-content a:hover{
  color: #ffffff !important;
}

/* TLDR/ÖZET kart kutusu */
html body .entry-content blockquote,
html body .wp-block-quote,
html body .entry-content [class*="ozet"],
html body .entry-content [class*="tldr"]{
  background-color: #1a1a1a !important;
  border-left: 4px solid #d4af37 !important;
  color: #ffffff !important;
  padding: 16px 20px !important;
}

/* SSS / FAQ kutuları */
html body .sss-section,
html body .faq-section,
html body .sss-item,
html body details,
html body summary{
  background-color: #0d0d0d !important;
  color: #ffffff !important;
  border: 1px solid #2a2a2a !important;
}

/* İlgili Makaleler / Detaylı Rehberler */
html body .related-pillars,
html body .detayli-rehberler,
html body .related-posts,
html body .related-articles{
  background-color: #0d0d0d !important;
  color: #ffffff !important;
  border: 1px solid #2a2a2a !important;
  padding: 20px !important;
  border-radius: 8px !important;
}

html body .related-pillars *,
html body .detayli-rehberler *{
  color: #ffffff !important;
}
html body .related-pillars h2,
html body .related-pillars h3,
html body .detayli-rehberler h2,
html body .detayli-rehberler h3{
  color: #d4af37 !important;
}
html body .related-pillars a,
html body .detayli-rehberler a{
  color: #ffd966 !important;
}

/* ---- 4) ANA SAYFA - HİZMET ALANLARIMIZ KARTLARI ---- */
html body .wp-block-uagb-info-box,
html body .wp-block-uagb-container,
html body .uagb-info-box-wrap,
html body .uagb-section__wrap{
  background-color: transparent !important;
}

/* Hizmet kartları (.01 .02 .03 başlıklı kutular) */
html body .wp-block-uagb-container[class*="card"],
html body .uagb-container-wrap,
html body article.post,
html body .ast-article-single,
html body .ast-article-inner{
  background-color: transparent !important;
  color: #ffffff !important;
}

/* Beyaz / krem renkli kart kutuları SIYAH yap */
/* DARK_MODE_INVERT_REMOVED v10 */


html body [style*="background-color: rgb(255"] *,
html body .has-white-background-color *,
html body .has-very-light-gray-background-color *{
  color: #ffffff !important;
}

html body [style*="background-color: rgb(255"] h1,
html body [style*="background-color: rgb(255"] h2,
html body [style*="background-color: rgb(255"] h3,
html body [style*="background-color: rgb(255"] h4,
html body .has-white-background-color h1,
html body .has-white-background-color h2,
html body .has-white-background-color h3,
html body .has-white-background-color h4{
  color: #d4af37 !important;
}

/* ---- 5) AÇIK METİN RENKLERİNİ DÜZELT ---- */
html body .has-white-color:not(.wp-block-button__link),
html body .has-very-light-gray-color,
html body .has-pale-color,
html body [style*="color: rgb(255, 255, 255)"]:not(.wp-block-button__link),
html body [style*="color:#fff"]:not(.wp-block-button__link),
html body [style*="color: #fff"]:not(.wp-block-button__link){
  color: #ffffff !important;
}

/* Açık gri metinleri okunaklı beyaz */
html body [style*="color: rgb(2"],
html body .has-light-gray-color,
html body .has-cyan-bluish-gray-color{
  color: #cccccc !important;
}

/* Siyah/koyu metinler beyaza */
html body [style*="color: rgb(0, 0, 0)"]:not(.wp-block-button__link):not(.ast-custom-button),
html body [style*="color:#000"]:not(.wp-block-button__link),
html body [style*="color: #000"]:not(.wp-block-button__link),
html body .has-black-color:not(.wp-block-button__link){
  color: #ffffff !important;
}

/* ---- 6) HEADER - HER SAYFADA TUTARLI ---- */
html body .site-header,
html body .ast-primary-header-bar,
html body .main-header-bar,
html body header.site-header,
html body .ast-above-header,
html body .ast-below-header{
  background-color: #000000 !important;
  border-bottom: 1px solid #2a2a2a !important;
}

@media (min-width: 922px){
  html body .ast-primary-header-bar,
  html body .main-header-bar{
    padding: 12px 0 !important;
  }
  
  /* Logo standart boyut - tüm sayfalarda */
  html body .site-branding img,
  html body .custom-logo-link img,
  html body .ast-builder-layout-element .custom-logo-link img{
    /* superseded by v15d */
    object-fit: contain !important;
  }
  
  /* Nav font-size standart */
  html body .ast-builder-menu-1 .menu-item > a,
  html body .main-header-menu > .menu-item > a,
  html body .main-header-bar .main-header-menu li a,
  html body header nav a{
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    padding: 10px 16px !important;
  }
  
  html body .ast-builder-menu-1 .menu-item > a:hover,
  html body .main-header-menu > .menu-item > a:hover,
  html body header nav a:hover{
    color: #d4af37 !important;
  }
  
  /* Aktif menü öğesi */
  html body .current-menu-item > a,
  html body .current_page_item > a{
    color: #d4af37 !important;
  }
}

/* ---- 7) HERO/ANA SAYFA HUKUKİ DESTEK BLOĞU ---- */
html body .wp-block-uagb-container [style*="background"]:not([style*="image"]),
html body section[class*="hero"]{
  /* sadece açık olan inline'lar etkilenecek; tema dark zaten bırak */
}

/* "Hukuki Desteğe Mi İhtiyacınız Var" altındaki buton/kutu */
html body .wp-block-uagb-buttons-child__link{
  background-color: #d4af37 !important;
  color: #000000 !important;
  border: 2px solid #d4af37 !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
}
html body .wp-block-uagb-buttons-child__link:hover{
  background-color: #ffffff !important;
  color: #000000 !important;
}

/* ---- 8) "n" LITERAL METNİ GİZLE ---- */
/* Yardımcı: ":has()" kontrol — Spectra container'larında n metnini taşıyan text node'u temizle */
html body .wp-block-uagb-container > *:first-child:empty{ display: none !important; }

/* ---- 9) HAKKIMIZDA - "NEDEN BİZİ" BÖLÜMÜ ---- */
html body .wp-block-uagb-info-box,
html body .uagb-ifb,
html body .uagb-infobox,
html body [class*="why-us"],
html body [class*="neden-bizi"],
html body section[class*="features"]{
  background-color: transparent !important;
}

html body .wp-block-uagb-info-box-title,
html body .uagb-ifb-title,
html body .uagb-infobox h3,
html body .uagb-ifb h3,
html body .uagb-ifb h4{
  color: #d4af37 !important;
}

html body .wp-block-uagb-info-box-text,
html body .uagb-ifb-desc,
html body .uagb-ifb p{
  color: #ffffff !important;
}

/* Emoji icon kart kutuları */
html body .wp-block-uagb-info-box,
html body .uagb-ifb-content{
  background-color: #0d0d0d !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 12px !important;
  padding: 24px !important;
}

/* ---- 10) HİZMETLERİMİZ SAYFASI ---- */
html body .page-id-hizmetlerimiz,
html body [class*="hizmetler"] .entry-content,
html body .page .entry-content{
  background-color: #000000 !important;
  color: #ffffff !important;
}

html body .page .entry-content h1,
html body .page .entry-content h2,
html body .page .entry-content h3,
html body .page .entry-content h4{
  color: #d4af37 !important;
}

html body .page .entry-content p,
html body .page .entry-content li{
  color: #ffffff !important;
}

/* ---- 11) BLOG ARŞİV SAYFASI ---- */
html body.blog,
html body.archive,
html body.category,
html body .blog .site-content,
html body .archive .site-content{
  background-color: #000000 !important;
}

html body .blog article,
html body .archive article,
html body .blog .ast-article-post,
html body .archive .ast-article-post{
  background-color: #0d0d0d !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 10px !important;
  padding: 24px !important;
  margin-bottom: 24px !important;
  color: #ffffff !important;
}

html body .blog article *,
html body .archive article *{
  color: #ffffff !important;
  background-color: transparent !important;
}

html body .blog article .entry-title,
html body .blog article .entry-title a,
html body .archive article .entry-title,
html body .archive article .entry-title a,
html body .blog article h2,
html body .blog article h2 a,
html body .archive article h2 a{
  color: #d4af37 !important;
}

html body .blog article .entry-title a:hover,
html body .archive article .entry-title a:hover{
  color: #ffffff !important;
}

html body .blog article .ast-excerpt-container p,
html body .blog article .entry-content p,
html body .archive article p{
  color: #cccccc !important;
}

html body .blog article .read-more,
html body .blog article .ast-button,
html body .blog article a.button{
  background-color: #d4af37 !important;
  color: #000000 !important;
  border: 2px solid #d4af37 !important;
  padding: 8px 18px !important;
  border-radius: 4px !important;
}

/* Blog sayfa başlığı */
html body.blog .entry-title,
html body.archive .archive-title,
html body.blog h1,
html body.archive h1{
  color: #d4af37 !important;
}

/* Breadcrumb (Anasayfa » Blog) */
html body .rank-math-breadcrumb,
html body .breadcrumb-trail,
html body nav.rank-math-breadcrumb a,
html body .rank-math-breadcrumb p{
  color: #ffffff !important;
  background-color: transparent !important;
}
html body .rank-math-breadcrumb a{
  color: #d4af37 !important;
}

/* ---- 12) İLETİŞİM SAYFASI - SOSYAL MEDYA İKONLARI ---- */
html body .wp-social-link,
html body .wp-block-social-link,
html body .wp-block-social-links a,
html body [class*="social-icon"]{
  color: #d4af37 !important;
  background-color: #1a1a1a !important;
  border: 2px solid #d4af37 !important;
  border-radius: 50% !important;
  width: 48px !important;
  height: 48px !important;
  font-size: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html body .wp-social-link svg,
html body .wp-block-social-link svg{
  fill: #d4af37 !important;
  width: 24px !important;
  height: 24px !important;
}

html body .wp-social-link:hover,
html body .wp-block-social-link:hover{
  background-color: #d4af37 !important;
}
html body .wp-social-link:hover svg,
html body .wp-block-social-link:hover svg{
  fill: #000000 !important;
}

/* Sosyal medya isim/text label'ları */
html body .iletisim-sosyal a,
html body .contact-social a,
html body [class*="iletisim"] a[href*="instagram"],
html body [class*="iletisim"] a[href*="twitter"],
html body [class*="iletisim"] a[href*="x.com"],
html body [class*="iletisim"] a[href*="tiktok"],
html body [class*="iletisim"] a[href*="linkedin"]{
  color: #d4af37 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
}

/* ---- 13) FORM/INPUT KOYU TEMA ---- */
html body input[type="text"],
html body input[type="email"],
html body input[type="tel"],
html body input[type="search"],
html body input[type="url"],
html body input[type="number"],
html body textarea,
html body select{
  background-color: #1a1a1a !important;
  color: #ffffff !important;
  border: 1px solid #2a2a2a !important;
  padding: 10px 14px !important;
}

html body input::placeholder,
html body textarea::placeholder{
  color: #888 !important;
}

html body input:focus,
html body textarea:focus,
html body select:focus{
  border-color: #d4af37 !important;
  outline: 2px solid #d4af37 !important;
}

html body input[type="submit"],
html body button[type="submit"],
html body .wpcf7-submit{
  background-color: #d4af37 !important;
  color: #000000 !important;
  border: 2px solid #d4af37 !important;
  font-weight: 700 !important;
}

/* ---- 14) TABLOLAR ---- */
html body table{
  background-color: #0d0d0d !important;
  color: #ffffff !important;
  border: 1px solid #2a2a2a !important;
}
html body table th{
  background-color: #1a1a1a !important;
  color: #d4af37 !important;
  border-bottom: 2px solid #d4af37 !important;
}
html body table td{
  border-bottom: 1px solid #2a2a2a !important;
  color: #ffffff !important;
}
html body table tr:nth-child(even){
  background-color: #141414 !important;
}

/* ---- 15) PAGINATION ---- */
html body .ast-pagination,
html body .nav-links,
html body .page-numbers{
  color: #ffffff !important;
}
html body .page-numbers{
  background-color: #1a1a1a !important;
  border: 1px solid #2a2a2a !important;
  padding: 8px 14px !important;
  margin: 0 4px !important;
}
html body .page-numbers.current,
html body .page-numbers:hover{
  background-color: #d4af37 !important;
  color: #000000 !important;
}

/* ---- 16) KOD BLOKLARı ---- */
html body code,
html body pre{
  background-color: #1a1a1a !important;
  color: #d4af37 !important;
  border: 1px solid #2a2a2a !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
}

/* ---- 17) GENEL: ASTRA İÇERİK KONTEYNERİ ---- */
html body .ast-separate-container .ast-article-single,
html body .ast-separate-container .ast-article-post,
html body .ast-plain-container .ast-article-single{
  background-color: transparent !important;
  color: #ffffff !important;
}

/* ---- 18) BREAKPOINT MOBİL HEADER ---- */
@media (max-width: 921px){
  html body .ast-mobile-menu-buttons-fill,
  html body .ast-mobile-menu-buttons-outline{
    color: #d4af37 !important;
    border-color: #d4af37 !important;
  }
  html body .ast-mobile-popup-drawer .menu-item a,
  html body .menu-toggle{
    color: #ffffff !important;
  }
  html body .ast-mobile-header-wrap{
    background-color: #000000 !important;
  }
}


/* === FIX PACK v5 - 2026-05-02 === */

/* "n" literal text gizlemek için: entry-content'in ilk text düğümünü gizleyemeyiz CSS ile,
   bu yüzden first-letter trick ve content visibility yok. 
   Onun yerine: Astra entry-content padding ile "n" karakterini gizle */
html body .entry-content{
  text-indent: 0 !important;
}
/* Önce entry-content içindeki direct text node'ları sadece child element'leriyle göster */
html body .entry-content > *:first-child{
  margin-top: 0 !important;
}
/* "n" karakteri görünür ise: bunu CSS ile değil JS ile temizleyeceğim - aşağıda script yok ama
   alternative: white-space normalize entry-content */
html body .entry-content{
  white-space: normal !important;
}

/* SSS / Accordion / FAQ - başlıklar ve içerik görünür olsun */
html body .sss-section,
html body .sss-item,
html body details,
html body summary,
html body .wp-block-uagb-faq-child,
html body .uagb-faq-item,
html body .uagb-faq-questions-button,
html body .uagb-faq-content,
html body .uagb-question,
html body .uagb-faq-child__inner-wrap,
html body [class*="accordion"]{
  background-color: #0d0d0d !important;
  color: #ffffff !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 8px !important;
}

html body .sss-item h3,
html body .sss-item h4,
html body .uagb-faq-questions-button,
html body .uagb-question,
html body .uagb-faq-questions-button *,
html body details summary,
html body summary,
html body .wp-block-uagb-faq-child .uagb-question{
  color: #d4af37 !important;
  background-color: transparent !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  padding: 14px 18px !important;
}

html body .sss-item p,
html body .uagb-faq-content,
html body .uagb-faq-content p,
html body details > *:not(summary),
html body .wp-block-uagb-faq-child .uagb-faq-content{
  color: #ffffff !important;
  background-color: transparent !important;
  padding: 14px 18px !important;
}

/* SSS arrow/chevron icon */
html body .uagb-question-arrow,
html body summary::-webkit-details-marker,
html body summary::marker{
  color: #d4af37 !important;
}

/* Geniş açılan FAQ - tüm metinler */
html body .wp-block-uagb-faq-child *,
html body .uagb-faq-item *{
  color: #ffffff !important;
}
html body .wp-block-uagb-faq-child h3,
html body .wp-block-uagb-faq-child h4,
html body .wp-block-uagb-faq-child .uagb-question,
html body .uagb-faq-item h3,
html body .uagb-faq-item h4{
  color: #d4af37 !important;
}

/* Astra accordion */
html body .ast-accordion-layout-container,
html body .accordion-row,
html body .ast-accordion-trigger,
html body .ast-accordion-content{
  background-color: #0d0d0d !important;
  color: #ffffff !important;
  border-color: #2a2a2a !important;
}
html body .ast-accordion-trigger,
html body .ast-accordion-trigger *{
  color: #d4af37 !important;
}
html body .ast-accordion-content,
html body .ast-accordion-content *{
  color: #ffffff !important;
}

/* "n" satırını gizlemek için ilk top text-node tipi zorla */
html body .entry-content::first-line{
  font-size: 0 !important;
}

/* CRITICAL: entry-content'te ilk wrapper olmayan elemanlar arasında n var */
html body .entry-content{
  /* trick: entry-content text-indent: -9999px trick OLMAZ — child'ları da etkiler */
  /* Bunun yerine display:flex ile children'ları stack ediyoruz, top-level text node'lar sıkıştırır */
  display: flex !important;
  flex-direction: column !important;
}
html body .entry-content > *{
  width: 100% !important;
}


/* === FIX v6: "n" karakteri gizleme - 2026-05-02 === */
/* Parent font-size:0 trick — sadece direct text node'ları gizler, child element'ler font-size'ı geri alır */
html body .entry-content{
  font-size: 0 !important;
  display: block !important; /* önceki flex'i iptal */
}
html body .entry-content > *,
html body .entry-content > * *{
  font-size: 1rem; /* ya da inherit-from-grandparent */
}
/* Tipografik seviye geri kazanma */
html body .entry-content p,
html body .entry-content li,
html body .entry-content td,
html body .entry-content span,
html body .entry-content a{
  font-size: 18px !important;
  line-height: 1.7 !important;
}
html body .entry-content h1{ font-size: 42px !important; }
html body .entry-content h2{ font-size: 32px !important; }
html body .entry-content h3{ font-size: 26px !important; }
html body .entry-content h4{ font-size: 22px !important; }
html body .entry-content h5{ font-size: 19px !important; }
html body .entry-content h6{ font-size: 17px !important; }

/* Spectra container'larında font-size geri */
html body .entry-content .wp-block-uagb-container,
html body .entry-content .wp-block-uagb-container *{
  font-size: revert !important;
}
html body .entry-content .wp-block-uagb-container p,
html body .entry-content .wp-block-uagb-container li{
  font-size: 18px !important;
}


/* === FIX v7: FAQ/SSS button font-size restore - 2026-05-02 === */
html body .entry-content .uagb-faq-questions-button,
html body .entry-content .uagb-question,
html body .entry-content .uagb-faq-content,
html body .entry-content .uagb-faq-content *,
html body .entry-content .wp-block-uagb-faq,
html body .entry-content .wp-block-uagb-faq *,
html body .entry-content .wp-block-uagb-faq-child,
html body .entry-content .wp-block-uagb-faq-child *,
html body .entry-content details,
html body .entry-content details *,
html body .entry-content summary,
html body .entry-content summary *{
  font-size: 18px !important;
}

html body .entry-content .uagb-question{
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #d4af37 !important;
}

html body .entry-content .uagb-faq-content,
html body .entry-content .uagb-faq-content p{
  font-size: 17px !important;
  color: #ffffff !important;
}

/* Spectra container içindeki tüm metinler */
html body .entry-content .wp-block-uagb-container,
html body .entry-content .wp-block-uagb-container *{
  font-size: revert !important;
}
html body .entry-content .wp-block-uagb-container h1{ font-size: 42px !important; }
html body .entry-content .wp-block-uagb-container h2{ font-size: 32px !important; }
html body .entry-content .wp-block-uagb-container h3{ font-size: 26px !important; }
html body .entry-content .wp-block-uagb-container h4{ font-size: 22px !important; }
html body .entry-content .wp-block-uagb-container h5{ font-size: 19px !important; }
html body .entry-content .wp-block-uagb-container p,
html body .entry-content .wp-block-uagb-container li,
html body .entry-content .wp-block-uagb-container span{ font-size: 17px !important; }

/* Buton içindeki tüm yazılar */
html body .entry-content .wp-block-button,
html body .entry-content .wp-block-button *,
html body .entry-content .wp-block-button__link{
  font-size: 17px !important;
}

/* Spectra info-box (kart kutuları) */
html body .entry-content .wp-block-uagb-info-box,
html body .entry-content .wp-block-uagb-info-box *,
html body .entry-content .uagb-ifb-content,
html body .entry-content .uagb-ifb-content *{
  font-size: revert !important;
}
html body .entry-content .uagb-ifb-title{ font-size: 22px !important; }
html body .entry-content .uagb-ifb-desc{ font-size: 17px !important; }

/* Spectra buttons child */
html body .entry-content .wp-block-uagb-buttons-child,
html body .entry-content .wp-block-uagb-buttons-child *{
  font-size: 17px !important;
}

/* Diğer block tipleri */
html body .entry-content .wp-block-group,
html body .entry-content .wp-block-group *,
html body .entry-content .wp-block-columns,
html body .entry-content .wp-block-columns *,
html body .entry-content .wp-block-column,
html body .entry-content .wp-block-column *{
  font-size: revert !important;
}
html body .entry-content .wp-block-group p,
html body .entry-content .wp-block-columns p,
html body .entry-content .wp-block-column p{
  font-size: 17px !important;
  line-height: 1.7 !important;
}

/* Linkler ve listeler */
html body .entry-content ul li,
html body .entry-content ol li{
  font-size: 17px !important;
}

/* Diğer kart elementleri (lokal hizmet sayfaları, blog kartları vs.) */
html body .entry-content article,
html body .entry-content article *{
  font-size: revert !important;
}
html body .entry-content article h2{ font-size: 24px !important; }
html body .entry-content article h3{ font-size: 20px !important; }
html body .entry-content article p{ font-size: 16px !important; }

/* Genel safety net: entry-content içindeki h tag'leri her zaman görünür */
html body .entry-content h1{
  font-size: revert !important;
}
html body .entry-content h1{ font-size: 42px !important; line-height: 1.2 !important; }
html body .entry-content h2{ font-size: 32px !important; line-height: 1.3 !important; }
html body .entry-content h3{ font-size: 26px !important; line-height: 1.4 !important; }
html body .entry-content h4{ font-size: 22px !important; line-height: 1.4 !important; }




/* === FIX v9: PageSpeed A11y 100 PACK (2026-05-02) === */
/* Goal: contrast ratio fixes + tap target sizes */

/* 1) Footer link contrast - ensure all footer links have AAA contrast */
#blf a, .fg a, .fb a,
#blf .widget a, .fg .widget a, .fb .widget a,
footer a, footer .widget a {
  color: #ffffff !important;
}
#blf a:hover, .fg a:hover, .fb a:hover,
footer a:hover {
  color: #d4af37 !important;
}

/* Gold links must stay accessible on black */
#blf .ast-builder-html-element a,
footer .ast-builder-html-element a {
  color: #d4af37 !important;
}

/* 2) Tap targets: footer/social/nav links min 48x48 */
#blf a, .fg a, .fb a, footer a {
  min-height: 44px;
  display: inline-block;
  padding: 6px 4px;
  line-height: 1.5;
}
#blf li, .fg li, .fb li, footer li {
  margin-bottom: 6px;
}

/* Social media icons larger tap area */
.fg .social-icons a, footer .social-icons a,
#blf [class*="social"] a, .fg [class*="social"] a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

/* Gold buttons & golden text on dark - guarantee 7:1 contrast */
.wp-block-button__link, button, input[type="submit"] {
  min-height: 44px;
  padding: 12px 20px;
}

/* Cookie banner buttons */
.cky-btn, .cky-btn-customize, .cky-btn-reject, .cky-btn-accept {
  min-height: 44px !important;
  padding: 10px 16px !important;
}

/* CTA button styling */
.ast-builder-html-element .wp-block-button__link,
.main-header-bar a.button, .ast-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Mobile menu items larger */
@media (max-width: 920px) {
  .main-header-menu a, .ast-mobile-menu-buttons a, .menu-item a {
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* 3) Contrast: Increase very-light gray text to #e5e5e5 minimum on dark bg */
body, .entry-content, .site-content {
  color: #ececec;
}
.entry-content p, .entry-content li, .entry-content td {
  color: #ececec !important;
}
/* Muted/secondary text bumped */
.entry-meta, .post-meta, time, .ast-time, small, .text-muted, .ast-author-name, .ast-comment-meta {
  color: #c8c8c8 !important;
}

/* Hero subtitle / description guaranteed white-ish */
.uagb-container .wp-block-uagb-info-box__title,
.uagb-container .wp-block-uagb-info-box-text,
.wp-block-uagb-info-box__title,
.wp-block-uagb-info-box-text {
  color: #f0f0f0 !important;
}

/* 4) Form labels visible */
label, .wpcf7-form-control-wrap, input::placeholder, textarea::placeholder {
  color: #d8d8d8 !important;
}

/* 5) Skip link a11y */
.skip-link, .screen-reader-text:focus {
  background: #d4af37 !important;
  color: #000 !important;
  font-weight: 700;
  padding: 12px 18px;
  z-index: 100000;
}

/* 6) Focus visible — strong outline on all interactive */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #d4af37 !important;
  outline-offset: 2px !important;
}


/* === FIX v10: PageSpeed A11y 100 - exact failures (2026-05-02) === */

/* 1) Sticky bottom CTA #bilal-randevu-cta - gold-on-gold contrast fix */
#bilal-randevu-cta a, #bilal-randevu-cta a.btn,
#bilal-randevu-cta a[href^="tel:"] {
  background: #000 !important;
  color: #d4af37 !important;
  border: 2px solid #d4af37 !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  min-height: 48px !important;
  padding: 12px 20px !important;
  display: inline-flex !important;
  align-items: center !important;
}
#bilal-randevu-cta a:hover, #bilal-randevu-cta a.btn:hover {
  background: #d4af37 !important;
  color: #000 !important;
}

/* 2) Footer #blf links - tap target spacing (WCAG 24px gap requirement) */
#blf p, #blf li, .fg p, .fg li, .fb p, .fb li {
  margin-bottom: 12px !important;
  line-height: 1.7 !important;
}
#blf a[href^="tel:"], #blf a[href^="mailto:"],
.fg a[href^="tel:"], .fg a[href^="mailto:"] {
  display: inline-block !important;
  min-height: 48px !important;
  min-width: 48px !important;
  padding: 12px 8px !important;
  margin: 4px 0 !important;
  line-height: 1.4 !important;
}

/* Social icons in footer - explicit 48x48 + spacing */
#blf a[href*="instagram"], #blf a[href*="x.com"], #blf a[href*="linkedin"],
#blf a[href*="tiktok"], #blf a[href*="facebook"], #blf a[href*="youtube"],
.fg a[href*="instagram"], .fg a[href*="x.com"], .fg a[href*="linkedin"],
.fg a[href*="tiktok"], .fg a[href*="facebook"], .fg a[href*="youtube"] {
  display: inline-block !important;
  min-width: 48px !important;
  min-height: 48px !important;
  padding: 12px !important;
  margin: 6px 8px 6px 0 !important;
}

/* Footer "Yasal" column - links spacing */
#blf a[href*="gizlilik"], #blf a[href*="cerez"], #blf a[href*="kvkk"],
.fg a[href*="gizlilik"], .fg a[href*="cerez"], .fg a[href*="kvkk"] {
  display: block !important;
  min-height: 48px !important;
  padding: 12px 0 !important;
  margin: 4px 0 !important;
  line-height: 1.4 !important;
}

/* 3) CookieYes banner contrast fix - title was #212121 on dark-ish bg */
.cky-consent-container .cky-title,
.cky-consent-container [data-cky-tag="title"],
.cky-modal .cky-title,
p.cky-title {
  color: #000000 !important;
}
.cky-consent-container, .cky-modal,
.cky-consent-bar, .cky-notice {
  background: #ffffff !important;
}
.cky-consent-container .cky-notice-des,
.cky-consent-container .cky-notice-des p,
.cky-modal-content {
  color: #000000 !important;
}
.cky-btn {
  font-weight: 700 !important;
}
.cky-btn-accept, .cky-btn[data-cky-tag="accept-button"] {
  background: #1565c0 !important;
  color: #ffffff !important;
  border: 2px solid #1565c0 !important;
}
.cky-btn-reject, .cky-btn[data-cky-tag="reject-button"] {
  background: #ffffff !important;
  color: #1565c0 !important;
  border: 2px solid #1565c0 !important;
}
.cky-btn-customize, .cky-btn[data-cky-tag="settings-button"] {
  background: #ffffff !important;
  color: #1565c0 !important;
  border: 2px solid #1565c0 !important;
}

/* 4) Generic tap-target fallback: any anchor in lists/paragraphs of footer */
footer a, #blf a, .fg a, .fb a {
  position: relative;
}
footer p > a, #blf p > a {
  margin-right: 8px;
}


/* === FIX v11: PageSpeed final A11y push (2026-05-02) === */

/* GLOBAL: Every footer link gets 48px x 48px hit area + 12px outer margin
   (PSI requires 24px center-to-center distance between targets) */
footer a, #blf a, .fg a, .fb a,
.site-footer a, [class*="footer"] a {
  display: inline-block !important;
  min-height: 48px !important;
  min-width: 48px !important;
  padding: 14px 6px !important;
  margin: 8px 4px !important;
  line-height: 1.3 !important;
  vertical-align: middle !important;
  box-sizing: content-box !important;
}

/* Block-level footer links (inside p, li) get more vertical separation */
footer p a, #blf p a, .fg p a, .fb p a,
footer li a, #blf li a, .fg li a, .fb li a {
  display: block !important;
  margin: 12px 0 !important;
  padding: 14px 6px !important;
}

/* Footer paragraphs more spacing */
footer p, #blf p, .fg p, .fb p {
  margin-bottom: 16px !important;
  line-height: 1.8 !important;
}
footer li, #blf li, .fg li, .fb li {
  margin-bottom: 16px !important;
}

/* Social media links: explicit large hit area */
#blf a[href*="instagram"], #blf a[href*="x.com"],
#blf a[href*="linkedin"], #blf a[href*="tiktok"],
.fg a[href*="instagram"], .fg a[href*="x.com"],
.fg a[href*="linkedin"], .fg a[href*="tiktok"] {
  min-width: 56px !important;
  min-height: 56px !important;
  margin: 10px 6px !important;
  padding: 16px !important;
}

/* CookieYes contrast: stronger override */
html body .cky-consent-container .cky-title,
html body .cky-modal .cky-title,
html body p.cky-title[style] {
  color: #000000 !important;
}
html body .cky-consent-container,
html body .cky-consent-bar,
html body .cky-modal {
  background: #ffffff !important;
  color: #000 !important;
}
html body .cky-notice-des, html body .cky-notice-des p {
  color: #1a1a1a !important;
}
html body .cky-btn { font-weight: 700 !important; min-height: 48px !important; }
html body .cky-btn-accept { background: #0d47a1 !important; color: #fff !important; border: 2px solid #0d47a1 !important; }
html body .cky-btn-reject, html body .cky-btn-customize {
  background: #fff !important; color: #0d47a1 !important; border: 2px solid #0d47a1 !important;
}

/* tel: button contrast */
#bilal-randevu-cta a, #bilal-randevu-cta a.btn,
html body a.btn[href^="tel:"] {
  background: #000 !important;
  color: #ffd34a !important;
  border: 2px solid #ffd34a !important;
  min-height: 48px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* General: ALL anchors site-wide get min 24px height (safety net) */
a { min-height: 24px; }


/* PACK v13 - logo size, nav shift, breadcrumb hide, CTA white text, footer broken HTML hide, mobile lang fix */

/* === LOGO BOY === */
.site-header .custom-logo,
.site-header .site-logo-img img{
  width:110px !important;
  height:110px !important;
  max-width:110px !important;
  max-height:110px !important;
  object-fit:contain !important;
}
@media (max-width:921px){
  .site-header .custom-logo,
  .site-header .site-logo-img img{
    width:74px !important;
    height:74px !important;
    max-width:74px !important;
    max-height:74px !important;
  }
}

/* === NAVIGATION SAĞA KAYDIR === */
@media (min-width:922px){
  .ast-builder-grid-row [data-section="section-primary-menu"],
  .ast-builder-menu-1{
    margin-left:120px !important;
  }
  .main-header-bar .ast-builder-menu-1 .menu-item{
    margin-right:8px !important;
  }
  .ast-builder-menu-1 .menu-item > a{
    font-size:18px !important;
  }
}

/* === BREADCRUMB GİZLE === */
.rank-math-breadcrumb,
.ast-breadcrumbs-wrapper,
.ast-breadcrumbs,
.entry-header .rank-math-breadcrumb,
nav[aria-label="breadcrumb"]{
  display:none !important;
}

/* === RANDEVU CTA BUTON METİN BEYAZ === */
#bilal-randevu-cta a.btn,
#bilal-randevu-cta a[href^="tel:"],
html body #bilal-randevu-cta a.btn{
  color:#ffffff !important;
  background:#0a0a0a !important;
  border:2px solid #c9a961 !important;
  font-weight:700 !important;
  text-shadow:0 1px 2px rgba(0,0,0,.6) !important;
}
#bilal-randevu-cta a.btn:hover,
html body #bilal-randevu-cta a.btn:hover{
  color:#ffd34a !important;
  background:#000 !important;
  border-color:#ffd34a !important;
}

/* === FOOTER "6 KIRIK KUTU" GİZLE (footer-above-section-2 - JS/JSON metin gösteren custom_html widget'lar) === */
.site-footer-above-section-1,
.site-footer-above-section-2,
.site-footer-above-section-3{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  min-height:0 !important;
  padding:0 !important;
  margin:0 !important;
  overflow:hidden !important;
}

/* === MOBİL DİL BUTONU KÜÇÜLT + ÜST HİZA === */
#bl-lang-btn{
  font-size:13px !important;
  padding:6px 10px !important;
  height:36px !important;
  min-height:36px !important;
  line-height:1 !important;
  border-radius:6px !important;
}
@media (max-width:921px){
  #bl-lang-btn{
    font-size:12px !important;
    padding:4px 8px !important;
    height:32px !important;
    min-height:32px !important;
    top:8px !important;
    right:60px !important;
    position:absolute !important;
    z-index:99 !important;
  }
  /* Burger ile orantılı simetri */
  .ast-mobile-header-content .ast-builder-menu-mobile-1,
  .menu-toggle{
    width:40px !important;
    height:40px !important;
    line-height:40px !important;
  }
}

/* === BİLGİSAYARDA DİL BUTONU NAV İLE HİZA === */
@media (min-width:922px){
  #bl-lang-btn{
    margin-left:24px !important;
  }
}


/* PACK v13b - logo bump, lang fine-tune, security relaxation hint */

/* Logo daha büyük (mobil) */
@media (max-width:921px){
  .site-header .custom-logo,
  .site-header .site-logo-img img{
    width:88px !important;
    height:88px !important;
    max-width:88px !important;
    max-height:88px !important;
  }
}

/* Logo daha büyük (desktop) */
@media (min-width:922px){
  .site-header .custom-logo,
  .site-header .site-logo-img img{
    width:130px !important;
    height:130px !important;
    max-width:130px !important;
    max-height:130px !important;
  }
}

/* Mobil lang butonu daha kompakt + burger ile aynı boyut grubu */
@media (max-width:921px){
  #bl-lang-btn{
    font-size:11px !important;
    padding:0 8px !important;
    height:32px !important;
    min-height:32px !important;
    line-height:32px !important;
    border-radius:6px !important;
    top:8px !important;
    right:60px !important;
  }
  /* Burger biraz büyüt - lang ile orantılı */
  .ast-mobile-header-content .menu-toggle,
  header .menu-toggle{
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    min-height:38px !important;
  }
}

/* Daha kuvvetli breadcrumb gizleme (tüm sayfalar) */
.entry-content .rank-math-breadcrumb,
body .rank-math-breadcrumb,
body .ast-breadcrumbs,
body .ast-breadcrumbs-wrapper{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  overflow:hidden !important;
  margin:0 !important;
  padding:0 !important;
}


/* PACK v14 - logo larger, lang button above burger (mobile), breadcrumb removal hardened */

/* Logo daha büyük */
.site-header .custom-logo,
.site-header .site-logo-img img,
header .site-logo img,
header img.custom-logo{
  width:120px !important;
  height:120px !important;
  max-width:120px !important;
  max-height:120px !important;
  object-fit:contain !important;
}
@media (min-width:922px){
  .site-header .custom-logo,
  .site-header .site-logo-img img,
  header .site-logo img{
    width:160px !important;
    height:160px !important;
    max-width:160px !important;
    max-height:160px !important;
  }
}

/* MOBİL - lang button burger'in TAM ÜSTÜNDE (dikey hiza) */
@media (max-width:921px){
  #bl-lang-btn,
  #bl-lang-wrap{
    position:absolute !important;
    z-index:99 !important;
  }
  #bl-lang-btn{
    top:8px !important;
    right:14px !important;
    font-size:11px !important;
    padding:0 8px !important;
    height:30px !important;
    min-height:30px !important;
    line-height:30px !important;
    border-radius:6px !important;
    width:auto !important;
    min-width:60px !important;
  }
  /* Burger lang butonun ALTINDA, aynı sağ kenara hizalı */
  .ast-mobile-header-content .menu-toggle,
  header .menu-toggle,
  .ast-mobile-menu-trigger-minimal{
    margin-top:6px !important;
  }
}

/* BREADCRUMB - tüm muhtemel selectorlar */
.rank-math-breadcrumb,
.ast-breadcrumbs,
.ast-breadcrumbs-wrapper,
nav.breadcrumbs,
nav[aria-label="breadcrumb"],
nav[aria-label="Breadcrumb"],
.entry-header .rank-math-breadcrumb,
.ast-single-post-banner .rank-math-breadcrumb,
.entry-content > .rank-math-breadcrumb,
body .rank-math-breadcrumb,
body .ast-breadcrumbs,
.site-content .rank-math-breadcrumb,
.site-content .ast-breadcrumbs{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  min-height:0 !important;
  max-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  position:absolute !important;
  left:-9999px !important;
}


/* PACK v15 - hakkimizda kart bg+text fix, hizmetler faq-item readability, footer tel kutu kaldir, footer line spacing tighten, logo +50% */

/* === LOGO +%50 === */
.site-header .custom-logo,
.site-header .site-logo-img img,
header .site-logo img,
header img.custom-logo{
  width:180px !important;
  height:180px !important;
  max-width:180px !important;
  max-height:180px !important;
  object-fit:contain !important;
}
@media (min-width:922px){
  .site-header .custom-logo,
  .site-header .site-logo-img img,
  header .site-logo img{
    width:240px !important;
    height:240px !important;
    max-width:240px !important;
    max-height:240px !important;
  }
}

/* === HAKKIMIZDA: 4 NEDEN KARTLARI === */
.neden-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap:16px !important;
  background:#000 !important;
  padding:24px 16px !important;
}
.neden-kart{
  background:#0a0a0a !important;
  border:1px solid #c9a961 !important;
  border-radius:12px !important;
  padding:24px 20px !important;
  color:#ffd34a !important;
  box-shadow:0 4px 14px rgba(0,0,0,.35) !important;
}
.neden-kart .ico,
.neden-kart h3,
.neden-kart h2,
.neden-kart h4{
  color:#ffd34a !important;
  font-weight:700 !important;
}
.neden-kart .ico{
  font-size:34px !important;
  display:block !important;
  margin-bottom:8px !important;
}
.neden-kart p{
  color:#ffd34a !important;
  line-height:1.55 !important;
  font-size:15px !important;
  margin:6px 0 0 !important;
}

/* Hakkimizda intro section navy gradient -> SİYAH */
section[style*="rgba(26,26,46"],
section[style*="linear-gradient(rgba(26"]{
  background:#000 !important;
  background-image:none !important;
}

/* Hakkimizda h1 başlığı (eğer yoksa pseudo-content ile ekle) */
.page-id-4838 .entry-content > section:first-child::before,
body.page-id-4838 .entry-content::before{
  content:"" !important;
}
/* Eğer h1 zaten var ama sayfada görünmüyorsa zorla göster */
body.page-id-4838 .entry-title,
body.page-id-4838 h1.entry-title{
  display:block !important;
  visibility:visible !important;
  color:#ffd34a !important;
  font-size:40px !important;
  text-align:center !important;
  padding:30px 16px 0 !important;
  margin:0 !important;
  background:#000 !important;
}

/* === CTA KUTU SİYAH (Hukuki Desteğe Mi İhtiyacınız Var?) === */
#bilal-randevu-cta,
section:has(> div > h2:where([id*="hukuki"], [class*="hukuki"])),
.entry-content > section:last-of-type{
  background:#000 !important;
}
/* CTA içerik beyaz/altın */
#bilal-randevu-cta h2,
#bilal-randevu-cta h3,
#bilal-randevu-cta p{
  color:#ffd34a !important;
}

/* === HİZMETLERİMİZ: faq-item kartlar === */
.faq-item,
.alyar-hizmet-wrap .faq-item{
  background:#0a0a0a !important;
  border:1px solid #c9a961 !important;
  border-radius:12px !important;
  padding:20px !important;
  color:#ffffff !important;
  box-shadow:0 4px 14px rgba(0,0,0,.35) !important;
  margin-bottom:14px !important;
}
.faq-item h2,
.faq-item h3,
.faq-item h4,
.faq-item .faq-q,
.faq-item summary{
  color:#ffd34a !important;
  font-weight:700 !important;
}
.faq-item p,
.faq-item li,
.faq-item span,
.faq-item .faq-a,
.faq-item div{
  color:#ffffff !important;
  line-height:1.6 !important;
}
.alyar-hizmet-wrap{
  background:#000 !important;
  padding:24px 16px !important;
}

/* === FOOTER: Telefon kutusunu kaldır === */
footer a[href^="tel:+90"],
.ast-footer a[href^="tel:+90"],
.site-footer a[href^="tel:+90"]{
  background:transparent !important;
  background-color:transparent !important;
  padding:4px 0 !important;
  border:none !important;
  color:#ffd34a !important;
  display:inline-block !important;
  border-radius:0 !important;
  box-shadow:none !important;
  text-decoration:none !important;
  font-weight:600 !important;
}
footer a[href^="tel:+90"]:hover{
  color:#ffffff !important;
  text-decoration:underline !important;
}

/* === FOOTER: Tüm sütunlarda satır aralığı İletişim ile aynı === */
footer a:not(.btn),
.ast-footer a:not(.btn),
.site-footer a:not(.btn){
  margin:4px 0 !important;
  padding:2px 0 !important;
  line-height:1.5 !important;
  display:inline-block !important;
}
footer .widget a,
footer p a,
footer li a{
  margin:4px 0 !important;
  padding:2px 0 !important;
}
/* Specific: Hizmet Alanları, Yasal, Sosyal Medya kolonları */
.site-footer-section a:not(.btn),
.footer-widget-area a:not(.btn),
[class*="footer"] a:not([href^="tel"]):not(.btn){
  margin:3px 0 !important;
  padding:2px 0 !important;
  line-height:1.5 !important;
}


/* PACK v15b - specificity fix for neden-kart p and faq-item p */
html body .page .entry-content .neden-kart p,
html body .entry-content .neden-kart p,
html body .neden-kart p,
.neden-kart p{
  color:#ffd34a !important;
}
html body .page .entry-content .faq-item p,
html body .page .entry-content .faq-item li,
html body .entry-content .faq-item p,
html body .entry-content .faq-item li,
html body .faq-item p,
html body .faq-item li{
  color:#ffffff !important;
}
html body .page .entry-content .faq-item h2,
html body .page .entry-content .faq-item h3,
html body .page .entry-content .faq-item h4,
html body .faq-item h2,
html body .faq-item h3,
html body .faq-item h4,
html body .faq-item summary{
  color:#ffd34a !important;
}


/* PACK v15c - footer line spacing tighten + tel kutu kaldir */
#blf .fg > div a:not(.btn):not([href^="tel"]),
#blf a:not(.btn):not([href^="tel"]){
  margin:3px 0 !important;
  padding:2px 0 !important;
  line-height:1.5 !important;
  display:inline-block !important;
}
#blf a[href^="tel:+90"],
body #blf a[href^="tel:+90"]{
  background:transparent !important;
  background-color:transparent !important;
  padding:2px 0 !important;
  margin:3px 0 !important;
  border:none !important;
  border-radius:0 !important;
  box-shadow:none !important;
  color:#ffd34a !important;
  font-weight:600 !important;
  display:inline-block !important;
}
#blf a[href^="tel:+90"]:hover{ color:#ffffff !important; text-decoration:underline !important; }


/* PACK v15d - logo hard override + nav compact */
header .custom-logo-link,
.site-branding .custom-logo-link,
.site-branding .site-logo-img .custom-logo-link{
  width:auto !important;
  min-height:0 !important;
  max-width:none !important;
}
header .custom-logo-link img,
header .site-logo-img img,
header img.custom-logo,
.site-header .custom-logo,
.site-branding img.custom-logo,
body header .custom-logo-link img,
body .site-header .custom-logo{
  width:170px !important;
  height:170px !important;
  max-width:170px !important;
  max-height:170px !important;
  object-fit:contain !important;
}
@media (min-width:922px){
  header .custom-logo-link img,
  header .site-logo-img img,
  header img.custom-logo,
  .site-header .custom-logo,
  body header .custom-logo-link img,
  body .site-header .custom-logo{
    width:200px !important;
    height:200px !important;
    max-width:200px !important;
    max-height:200px !important;
  }
}
@media (max-width:921px){
  header .custom-logo-link img,
  header .site-logo-img img,
  header img.custom-logo,
  .site-header .custom-logo,
  body header .custom-logo-link img,
  body .site-header .custom-logo{
    width:130px !important;
    height:130px !important;
    max-width:130px !important;
    max-height:130px !important;
  }
}
@media (min-width:922px){
  .ast-builder-menu-1 .menu-item > a{
    font-size:16px !important;
    padding:0 10px !important;
  }
  .ast-builder-menu-1 .menu-item{ margin-right:4px !important; }
  .ast-builder-grid-row [data-section="section-primary-menu"],
  .ast-builder-menu-1{ margin-left:40px !important; }
}


/* ============= v16 - Hizmetlerimiz .hk Cards Readability + Accessibility ============= */
html body .alyar-hizmetler .hk-grid .hk,
html body .hk-grid .hk,
html body .page .hk,
.hk-grid .hk {
  background: #0a0a0a !important;
  background-color: #0a0a0a !important;
  border: 2px solid #c9a961 !important;
  border-radius: 12px !important;
  padding: 22px 20px !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35) !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
}
html body .hk-grid .hk:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 28px rgba(212,175,55,0.18) !important;
}
html body .hk-grid .hk .n,
html body .hk .n {
  color: #d4af37 !important;
  background: rgba(212,175,55,0.12) !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  display: inline-block !important;
  margin-bottom: 10px !important;
  letter-spacing: 1px !important;
}
html body .hk-grid .hk h3,
html body .hk-grid .hk h3 a,
html body .hk h3,
html body .hk h3 a {
  color: #ffd34a !important;
  font-size: 1.25rem !important;
  line-height: 1.35 !important;
  margin: 6px 0 10px 0 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
html body .hk-grid .hk h3 a:hover,
html body .hk h3 a:hover {
  color: #ffe27a !important;
  text-decoration: underline !important;
}
html body .page .entry-content .hk p,
html body .hk-grid .hk p,
html body .hk p {
  color: #ffffff !important;
  font-size: 0.98rem !important;
  line-height: 1.55 !important;
  margin: 6px 0 !important;
}
html body .hk-grid .hk a.l,
html body .hk a.l,
html body .hk-grid .hk p a.l {
  color: #ffd34a !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-block !important;
  margin-top: 8px !important;
  padding: 6px 0 !important;
  border-bottom: 1px solid rgba(255,211,74,0.4) !important;
}
html body .hk-grid .hk a.l:hover,
html body .hk a.l:hover {
  color: #ffe27a !important;
  border-bottom-color: #ffe27a !important;
}
html body .hk-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 18px !important;
  padding: 10px 0 !important;
}
html body .alyar-hizmetler {
  background: #000000 !important;
  padding: 30px 0 !important;
}
html body .alyar-hizmetler h1,
html body .alyar-hizmetler h2 {
  color: #ffd34a !important;
}
html body .hk a:focus-visible {
  outline: 2px solid #ffd34a !important;
  outline-offset: 3px !important;
  border-radius: 4px !important;
}
html body .hk .n + p:empty { display: none !important; }


/* ============= v17 - CTA Button Black Text + Performance Helpers ============= */
html body .alyar-cta a,
html body .alyar-cta p a,
html body .alyar-cta a[href*="iletisim"] {
  color: #000000 !important;
  background: #ffd34a !important;
  background-color: #ffd34a !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  display: inline-block !important;
  border: 2px solid #c9a961 !important;
  box-shadow: 0 4px 14px rgba(212,175,55,0.3) !important;
  transition: all .25s ease !important;
  letter-spacing: 0.3px !important;
}
html body .alyar-cta a:hover,
html body .alyar-cta p a:hover {
  background: #ffe27a !important;
  background-color: #ffe27a !important;
  color: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(212,175,55,0.45) !important;
}
html body .alyar-cta a:focus-visible {
  outline: 3px solid #000 !important;
  outline-offset: 3px !important;
}
/* CLS prevention: reserve space for logo */
html body .custom-logo-link { min-height: 1px; }
/* Prevent layout shift on lazy images */
html body img[loading="lazy"] { content-visibility: auto; }


/* ====== TBB UYUM v18 ====== */
/* CTA button styling */
.ast-header-button-1,
[data-section="section-hb-button-1"],
.ast-builder-button-wrap .ast-custom-button-link[aria-label*="İletişim"],
.ast-builder-button-wrap .ast-custom-button-link[aria-label*="Hemen Aray"]{
  display: none !important;
  visibility: hidden !important;
}
/* Footer'da "Hizmet Alanları" → "Hukuki Konular" (text replace via pseudo) */
#blf h3:nth-of-type(2),
#blf .fg h3{ /* fallback */ }
/* Spesifik: 4 sütunlu footer'da 2. h3 (Hizmet Alanları) text replace */
#blf > div > div:nth-child(2) > h3,
#blf .fg:nth-of-type(2) h3{
  font-size: 0 !important;
  line-height: 0 !important;
}
#blf > div > div:nth-child(2) > h3::before,
#blf .fg:nth-of-type(2) h3::before{
  content: "Hukuki Konular";
  font-size: 18px;
  line-height: 1.4;
  display: inline-block;
}
/* Eğer üstteki seçici tutmazsa, içeriğe göre eşle */
#blf h3{ position: relative; }

/* Reklam butonları gizle (genel) */
a[href*="tel:"][class*="hemen"],
a[aria-label*="İletişim"]:not(#blf a){
  display: none !important;
}
/* ====== /v18 ====== */


/* TBB v18.1 - bilal-randevu-cta site geneli CTA gizleme */
#bilal-randevu-cta{display:none !important; visibility:hidden !important; height:0 !important; overflow:hidden !important;}

/* TBB-MOBILE-FIX-START */
.custom-logo,.site-logo-img img{image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges}
.menu-toggle.main-header-menu-toggle,button.menu-toggle{color:#d4af37 !important;background:transparent !important;border:2px solid #d4af37 !important;border-radius:6px !important;padding:8px 12px !important;position:relative !important;width:56px !important;height:44px !important;min-width:56px !important;box-sizing:border-box !important}
.menu-toggle.main-header-menu-toggle .ahfb-svg-iconset,.menu-toggle.main-header-menu-toggle svg,.menu-toggle.main-header-menu-toggle .mobile-menu-toggle-icon{display:none !important}
.menu-toggle.main-header-menu-toggle::before{content:'' !important;display:block !important;width:26px !important;height:18px !important;position:absolute !important;top:50% !important;left:50% !important;transform:translate(-50%,-50%) !important;background-image:linear-gradient(#d4af37,#d4af37),linear-gradient(#d4af37,#d4af37),linear-gradient(#d4af37,#d4af37) !important;background-size:26px 3px !important;background-repeat:no-repeat !important;background-position:left top,left center,left bottom !important;border-radius:2px !important}
.menu-toggle.main-header-menu-toggle.toggled,.menu-toggle.main-header-menu-toggle[aria-expanded='true']{background:#d4af37 !important}
.menu-toggle.main-header-menu-toggle.toggled::before,.menu-toggle.main-header-menu-toggle[aria-expanded='true']::before{background-image:linear-gradient(#000,#000),linear-gradient(#000,#000),linear-gradient(#000,#000) !important}
@media (max-width:921px){
  .menu-toggle.main-header-menu-toggle,.ast-mobile-menu-buttons .menu-toggle,button.menu-toggle{display:inline-flex !important;align-items:center;justify-content:center}
  .ast-builder-menu-1.toggled-on{display:block !important}
  #bl-lang-wrap{position:fixed !important;top:auto !important;bottom:auto !important;left:auto !important;right:80px !important;z-index:99999 !important}
  body.admin-bar #bl-lang-wrap{top:60px !important}
  body:not(.admin-bar) #bl-lang-wrap{top:25px !important}
  .menu-toggle.main-header-menu-toggle::before{width:28px !important;height:20px !important;background-size:28px 3px !important}
}
@media (max-width:544px){
  body.admin-bar #bl-lang-wrap{top:50px !important}
  body:not(.admin-bar) #bl-lang-wrap{top:18px !important}
  #bl-lang-wrap{right:72px !important}
}
/* TBB-MOBILE-FIX-END */


/* === ALYAR-CUSTOM-FIX START === Phase 23 v1 */

/* ---------- 1) HAKKIMIZDA - FULL ALIGNMENT SYMMETRY ---------- */
body.page-id-4838 .entry-content > section,
body.page-id-4838 .entry-content > div { width:100% !important; box-sizing:border-box; }

body.page-id-4838 .entry-content .hk-section{
  max-width:1048px !important; margin-left:auto !important; margin-right:auto !important;
  padding:60px 24px !important; box-sizing:border-box;
}

body.page-id-4838 .entry-content > div[style*="background:#f9f8f4"]{
  padding:60px 24px !important; box-sizing:border-box;
}

body.page-id-4838 .entry-content > div[style*="background:#f9f8f4"] > *{
  max-width:1000px !important; margin-left:auto !important; margin-right:auto !important;
  box-sizing:border-box;
}

body.page-id-4838 .entry-content > section:first-of-type{
  padding-left:24px !important; padding-right:24px !important;
}
body.page-id-4838 .entry-content > section:first-of-type > *{
  max-width:1000px !important; margin-left:auto !important; margin-right:auto !important;
}

body.page-id-4838 .entry-content h2,
body.page-id-4838 .entry-content h3{ text-align:left !important; }
body.page-id-4838 .entry-content p{ text-align:left !important; }
body.page-id-4838 .entry-content .gold,
body.page-id-4838 .entry-content .sep{ margin-left:0 !important; }

/* ---------- 2) BLOG PAGE - CARDS BOX BY BOX (ALL VIEWPORTS, AUTO-FIT) ---------- */
html body.blog .site-main .ast-row,
html body.blog .site-content .ast-row,
html body.archive .site-main .ast-row,
html body.archive .site-content .ast-row,
html body.category .site-main .ast-row,
html body.category .site-content .ast-row{
  display:grid !important;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap:24px !important;
  align-items:stretch !important;
  max-width:1240px;
  width:100% !important;
  margin:30px auto !important;
  padding:0 20px !important;
  box-sizing:border-box !important;
  float:none !important;
}
/* Force 3-col on wide containers regardless of body break-point class */
@media (min-width:760px){
  html body.blog .site-main .ast-row,
  html body.blog .site-content .ast-row,
  html body.archive .site-main .ast-row,
  html body.archive .site-content .ast-row,
  html body.category .site-main .ast-row,
  html body.category .site-content .ast-row{
    grid-template-columns:repeat(2, 1fr) !important;
    gap:24px !important;
  }
}
@media (min-width:1024px){
  html body.blog .site-main .ast-row,
  html body.blog .site-content .ast-row,
  html body.archive .site-main .ast-row,
  html body.archive .site-content .ast-row,
  html body.category .site-main .ast-row,
  html body.category .site-content .ast-row{
    grid-template-columns:repeat(3, 1fr) !important;
    gap:28px !important;
  }
}
/* Make sure each article card behaves as grid item, not floated, full available width */
html body.blog article.ast-article-post,
html body.archive article.ast-article-post,
html body.category article.ast-article-post{
  width:auto !important;
  max-width:none !important;
  float:none !important;
  margin:0 !important;
  display:flex !important;
  flex-direction:column !important;
}

body.blog .site-main .ast-row > h1,
body.blog .site-main .ast-row > h2,
body.blog .site-main .ast-row > .ast-pagination,
body.blog .site-main .ast-row > nav{ grid-column:1 / -1 !important; text-align:center; margin:10px 0 !important; }

/* hide redundant H2 "Hukuki Makaleler" duplicate */
body.blog .site-main .ast-row > h2{ display:none !important; }

body.blog article.ast-article-post{
  background:#ffffff !important;
  border:1px solid #e5e5e5 !important;
  border-radius:14px !important;
  box-shadow:0 4px 14px rgba(0,0,0,.06) !important;
  padding:0 !important; margin:0 !important;
  height:100% !important; min-height:280px !important;
  display:flex !important; flex-direction:column !important;
  overflow:hidden !important;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body.blog article.ast-article-post:hover{
  transform:translateY(-4px) !important;
  box-shadow:0 10px 26px rgba(0,0,0,.12) !important;
  border-color:#c9a961 !important;
}

body.blog article.ast-article-post *{ background-color:transparent !important; color:#1a1a1a !important; }
body.blog article.ast-article-post{ background-color:#ffffff !important; }

body.blog article.ast-article-post .ast-article-inner,
body.blog article.ast-article-post .post-content{
  display:flex !important; flex-direction:column !important;
  height:100% !important; flex:1 1 auto !important;
  padding:24px 22px !important; box-sizing:border-box !important;
}

body.blog article.ast-article-post h2.entry-title{
  font-size:20px !important; line-height:1.35 !important;
  margin:0 0 12px 0 !important;
  font-weight:700 !important; color:#1a1a1a !important;
  display:-webkit-box !important; -webkit-line-clamp:3; -webkit-box-orient:vertical;
  overflow:hidden;
}
body.blog article.ast-article-post h2.entry-title a{ color:#1a1a1a !important; text-decoration:none !important; }
body.blog article.ast-article-post h2.entry-title a:hover{ color:#c9a961 !important; }

body.blog article.ast-article-post .entry-meta,
body.blog article.ast-article-post .ast-excerpt-container,
body.blog article.ast-article-post p,
body.blog article.ast-article-post .entry-content{
  font-size:14.5px !important; line-height:1.55 !important; color:#333 !important;
  margin:0 0 12px 0 !important;
}

body.blog article.ast-article-post .ast-excerpt-container,
body.blog article.ast-article-post .entry-content > p:first-of-type{
  display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical;
  overflow:hidden; flex:1 1 auto;
}

body.blog article.ast-article-post .read-more,
body.blog article.ast-article-post .read-more a,
body.blog article.ast-article-post a.button,
body.blog article.ast-article-post a.more-link{
  display:inline-block !important; margin-top:auto !important;
  padding:9px 18px !important; border-radius:6px !important;
  background:linear-gradient(135deg,#c9a961 0%,#8b7434 100%) !important;
  color:#fff !important; text-decoration:none !important;
  font-weight:600 !important; font-size:13.5px !important; letter-spacing:.5px;
  align-self:flex-start; box-shadow:0 2px 6px rgba(201,169,97,.25);
}

/* ---------- 3) SINGLE POST - SYMMETRIC LAYOUT ---------- */
body.single-post .site-main .ast-container,
body.single-post .site-content .ast-container{
  max-width:860px !important; margin-left:auto !important; margin-right:auto !important;
  padding-left:20px !important; padding-right:20px !important; box-sizing:border-box;
}
body.single-post article.post .entry-header,
body.single-post article.post .entry-content{
  max-width:860px !important; margin-left:auto !important; margin-right:auto !important;
  padding-left:0 !important; padding-right:0 !important; box-sizing:border-box;
}
body.single-post article.post .entry-content > *{
  max-width:100% !important;
  margin-left:0 !important; margin-right:0 !important;
  text-align:left !important;
  float:none !important;
  box-sizing:border-box !important;
}
body.single-post article.post .entry-content h1,
body.single-post article.post .entry-content h2,
body.single-post article.post .entry-content h3,
body.single-post article.post .entry-content h4{ text-align:left !important; }
body.single-post article.post .entry-content p,
body.single-post article.post .entry-content li{ text-align:left !important; }
body.single-post article.post .entry-content .alignleft{ float:none !important; margin:1em 0 !important; }
body.single-post article.post .entry-content .alignright{ float:none !important; margin:1em 0 !important; }
body.single-post article.post .entry-content .aligncenter,
body.single-post article.post .entry-content .alignfull,
body.single-post article.post .entry-content .alignwide{ margin-left:auto !important; margin-right:auto !important; max-width:100% !important; }
body.single-post article.post .entry-content img{ max-width:100% !important; height:auto !important; }
body.single-post article.post .entry-content table{ width:100% !important; }

/* ---------- 4) ILETISIM - VISIBLE H1 + PHONE BOX REMOVAL + GLOBAL CTA HIDE ---------- */
body.page-id-4841 .entry-content > section:first-of-type h1{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  color:#d4af37 !important;
  font-size:48px !important;
  font-weight:800 !important;
  margin:0 auto 18px !important;
  text-align:center !important;
  line-height:1.15 !important;
  letter-spacing:.5px;
  padding:10px 0 !important;
}
@media (max-width:600px){
  body.page-id-4841 .entry-content > section:first-of-type h1{ font-size:36px !important; }
}

body.page-id-4841 .ilet-grid a[href^="tel:"],
body.page-id-4841 .ilet-item a[href^="tel:"],
body.page-id-4841 .ilet-bilgi a[href^="tel:"]{
  background:transparent !important;
  background-color:transparent !important;
  background-image:none !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  color:#c9a961 !important;
  font-weight:700 !important;
  box-shadow:none !important;
}
body.page-id-4841 .ilet-grid a[href^="tel:"]:hover{ text-decoration:underline !important; color:#e1c27d !important; }

#bilal-randevu-cta{ display:none !important; }

/* ---------- 5) DESKTOP NAV - LOGO SPACING ---------- */
@media (min-width:922px){
  .ast-builder-grid-row .site-branding{ margin-right:80px !important; }
  .ast-builder-grid-row .ast-builder-menu-mobile,
  .ast-builder-grid-row .main-header-bar-navigation{ margin-left:60px !important; }
}


/* H1 span sizing for iletişim */
body.page-id-4841 .entry-content > section:first-of-type h1 span{
  display:inline-block !important;
  font:inherit !important;
  font-size:48px !important;
  font-weight:800 !important;
  color:#d4af37 !important;
  letter-spacing:.5px !important;
  font-family:"Playfair Display",serif !important;
}
@media (max-width:600px){
  body.page-id-4841 .entry-content > section:first-of-type h1 span{ font-size:36px !important; }
}

/* PAGINATION - readable on dark theme */
body.blog .ast-pagination,
body.blog .ast-pagination .nav-links,
body.blog .navigation.pagination{
  display:flex !important; flex-wrap:wrap; justify-content:center; align-items:center;
  gap:8px !important;
  margin:50px auto 30px !important;
  padding:24px 16px !important;
  max-width:1240px;
  background:transparent !important;
}
body.blog .ast-pagination .page-numbers,
body.blog .navigation.pagination .page-numbers{
  display:inline-flex !important; align-items:center; justify-content:center;
  min-width:42px; height:42px;
  padding:0 14px !important;
  border-radius:8px !important;
  background:#1a1a1a !important;
  border:1px solid #c9a961 !important;
  color:#c9a961 !important;
  font-weight:700 !important; font-size:15px !important;
  text-decoration:none !important;
  transition:all .2s ease;
  box-shadow:0 2px 6px rgba(0,0,0,.2);
}
body.blog .ast-pagination a.page-numbers:hover,
body.blog .navigation.pagination a.page-numbers:hover{
  background:linear-gradient(135deg,#c9a961 0%,#8b7434 100%) !important;
  color:#fff !important;
  border-color:#c9a961 !important;
  transform:translateY(-2px);
  box-shadow:0 6px 14px rgba(201,169,97,.3);
}
body.blog .ast-pagination .page-numbers.current,
body.blog .navigation.pagination .page-numbers.current{
  background:linear-gradient(135deg,#c9a961 0%,#8b7434 100%) !important;
  color:#fff !important;
  border-color:#c9a961 !important;
  box-shadow:0 4px 10px rgba(201,169,97,.35);
}
body.blog .ast-pagination .page-numbers.dots,
body.blog .navigation.pagination .page-numbers.dots{
  background:transparent !important;
  border:0 !important;
  color:#c9a961 !important;
}
body.blog .ast-pagination .next.page-numbers,
body.blog .ast-pagination .prev.page-numbers,
body.blog .navigation.pagination .next.page-numbers,
body.blog .navigation.pagination .prev.page-numbers{
  padding:0 18px !important;
  font-weight:800 !important;
  letter-spacing:.5px;
}
/* hide ?cb cache-bust query in URLs visually if any */
body.blog .ast-pagination .nav-links{ width:100%; justify-content:center; }

/* old/new post navigation arrows on single posts and lists */
body.blog .nav-previous a,
body.blog .nav-next a,
body.blog .post-navigation a{
  color:#c9a961 !important;
  font-weight:600 !important;
  text-decoration:none !important;
  background:#1a1a1a !important;
  padding:10px 18px !important;
  border:1px solid #c9a961 !important;
  border-radius:8px !important;
  display:inline-block !important;
}
body.blog .nav-previous a:hover,
body.blog .nav-next a:hover,
body.blog .post-navigation a:hover{
  background:linear-gradient(135deg,#c9a961 0%,#8b7434 100%) !important;
  color:#fff !important;
}
/* === ALYAR-CUSTOM-FIX END === */








/* A11y v4 fix */
html body .entry-content small{color:inherit !important}
html body .entry-content strong{color:inherit !important}
html body .entry-content em{color:inherit !important}
body .rank-math-breadcrumb,body .ast-breadcrumbs,body .ast-breadcrumbs-wrapper{display:none !important}
/* End A11y v4 */


/* A11Y_V5_START */
/* Universal contrast restore for entry content - dark theme aware */
html body .entry-content small,
html body .entry-content em,
html body .entry-content strong,
html body .entry-content i,
html body .entry-content b,
html body .entry-content time,
html body .entry-content cite,
html body .entry-content figcaption,
html body .entry-content .wp-caption-text,
html body .entry-content .post-meta,
html body .entry-content .entry-meta,
html body .entry-content .meta,
html body .entry-content .byline,
html body .entry-content .posted-on,
html body .entry-content code,
html body .entry-content kbd,
html body .entry-content samp,
html body .entry-content blockquote{ color: #ffffff !important; opacity: 1 !important; }
html body .entry-content a,
html body .entry-content a:link,
html body .entry-content a:visited{ color: #ffd34a !important; text-decoration: underline !important; }
html body .entry-content a:hover,
html body .entry-content a:focus{ color: #ffffff !important; }
html body .ast-breadcrumbs,
html body .ast-breadcrumbs a,
html body .ast-breadcrumbs span,
html body .ast-breadcrumbs .separator{ color: #ffd34a !important; }
html body .entry-content ul li::marker,
html body .entry-content ol li::marker{ color: #ffd34a !important; }
/* A11Y_V5_END */


/* A11Y_V6_START */
/* Force high contrast on Material dark-bg callouts */
html body .entry-content [style*="background:#1b5e20"],
html body .entry-content [style*="background:#01579b"],
html body .entry-content [style*="background:#3e2723"],
html body .entry-content [style*="background:#004d40"],
html body .entry-content [style*="background-color:#1b5e20"],
html body .entry-content [style*="background-color:#01579b"],
html body .entry-content [style*="background-color:#3e2723"],
html body .entry-content [style*="background-color:#004d40"]{
  color:#ffffff !important;
}
html body .entry-content [style*="#1b5e20"] *,
html body .entry-content [style*="#01579b"] *,
html body .entry-content [style*="#3e2723"] *,
html body .entry-content [style*="#004d40"] *{
  color:#ffffff !important;
}
html body .entry-content [style*="#1b5e20"] a,
html body .entry-content [style*="#01579b"] a,
html body .entry-content [style*="#3e2723"] a,
html body .entry-content [style*="#004d40"] a{
  color:#ffeb3b !important;
  text-decoration:underline !important;
}
/* A11Y_V6_END */


/* A11Y_V7_START */
/* Light-bg callouts: force black text and dark links for AAA contrast */
html body .entry-content [style*="#f0f8ff"],
html body .entry-content [style*="#fff3e0"],
html body .entry-content [style*="#e8f5e9"],
html body .entry-content [style*="#fce4ec"],
html body .entry-content [style*="#f3e5f5"],
html body .entry-content [style*="#e1f5fe"],
html body .entry-content [style*="#efebe9"],
html body .entry-content [style*="#f0f8ff"] *,
html body .entry-content [style*="#fff3e0"] *,
html body .entry-content [style*="#e8f5e9"] *,
html body .entry-content [style*="#fce4ec"] *,
html body .entry-content [style*="#f3e5f5"] *,
html body .entry-content [style*="#e1f5fe"] *,
html body .entry-content [style*="#efebe9"] *{
  color:#000000 !important;
}
html body .entry-content [style*="#f0f8ff"] a,
html body .entry-content [style*="#fff3e0"] a,
html body .entry-content [style*="#e8f5e9"] a,
html body .entry-content [style*="#fce4ec"] a,
html body .entry-content [style*="#f3e5f5"] a,
html body .entry-content [style*="#e1f5fe"] a,
html body .entry-content [style*="#efebe9"] a{
  color:#0d47a1 !important;
  text-decoration:underline !important;
  font-weight:600 !important;
}
html body .entry-content [style*="#f0f8ff"] strong,
html body .entry-content [style*="#fff3e0"] strong,
html body .entry-content [style*="#e8f5e9"] strong,
html body .entry-content [style*="#fce4ec"] strong,
html body .entry-content [style*="#f3e5f5"] strong,
html body .entry-content [style*="#e1f5fe"] strong,
html body .entry-content [style*="#efebe9"] strong{
  color:#000000 !important;
  font-weight:800 !important;
}
/* A11Y_V7_END */


/* A11Y_V8_START */
/* Universal: any inline style using these Material-900 colors as TEXT gets forced to black */
html body .entry-content [style*="color:#1b5e20"],
html body .entry-content [style*="color: #1b5e20"],
html body .entry-content [style*="color:#01579b"],
html body .entry-content [style*="color: #01579b"],
html body .entry-content [style*="color:#3e2723"],
html body .entry-content [style*="color: #3e2723"],
html body .entry-content [style*="color:#004d40"],
html body .entry-content [style*="color: #004d40"],
html body .entry-content [style*="color:#2e7d32"],
html body .entry-content [style*="color: #2e7d32"],
html body .entry-content [style*="color:#0277bd"],
html body .entry-content [style*="color: #0277bd"],
html body .entry-content [style*="color:#e65100"],
html body .entry-content [style*="color: #e65100"],
html body .entry-content [style*="color:#c2185b"],
html body .entry-content [style*="color: #c2185b"],
html body .entry-content [style*="color:#7b1fa2"],
html body .entry-content [style*="color: #7b1fa2"],
html body .entry-content [style*="color:#0288d1"],
html body .entry-content [style*="color: #0288d1"],
html body .entry-content [style*="color:#5d4037"],
html body .entry-content [style*="color: #5d4037"]{
  color:#000000 !important;
  font-weight:700 !important;
}
/* A11Y_V8_END */


/* A11Y_V9_START */
/* Override gold-yellow links inside light-bg callout containers */
html body .entry-content [style*="#e8f5e9"] a,
html body .entry-content [style*="#fff3e0"] a,
html body .entry-content [style*="#fce4ec"] a,
html body .entry-content [style*="#f3e5f5"] a,
html body .entry-content [style*="#e1f5fe"] a,
html body .entry-content [style*="#efebe9"] a,
html body .entry-content [style*="#f0f8ff"] a,
html body .entry-content [style*="background:#e8f5e9"] a,
html body .entry-content [style*="background:#fff3e0"] a,
html body .entry-content [style*="background:#fce4ec"] a,
html body .entry-content [style*="background:#f3e5f5"] a,
html body .entry-content [style*="background:#e1f5fe"] a,
html body .entry-content [style*="background:#efebe9"] a,
html body .entry-content [style*="background:#f0f8ff"] a{
  color:#000000 !important;
  text-decoration:underline !important;
  font-weight:700 !important;
  background:transparent !important;
}
html body .entry-content [style*="#e8f5e9"] a:hover,
html body .entry-content [style*="#fff3e0"] a:hover,
html body .entry-content [style*="#fce4ec"] a:hover,
html body .entry-content [style*="#f3e5f5"] a:hover,
html body .entry-content [style*="#e1f5fe"] a:hover,
html body .entry-content [style*="#efebe9"] a:hover,
html body .entry-content [style*="#f0f8ff"] a:hover{
  color:#0d47a1 !important;
}
/* A11Y_V9_END */





/* A11Y_V11_SECTION_OVERRIDE_START */
/* Caselaw and inline-styled sections in entry-content: respect inline background */
html body .entry-content > section.caselaw-block,
html body .entry-content > section[style*="background"]{
  background-color: #f8fafc !important;
  background: #f8fafc !important;
  color: #000000 !important;
  border: 1px solid #e2e8f0 !important;
}
html body .entry-content > section.caselaw-block *,
html body .entry-content > section[style*="background"] *{
  background-color: transparent !important;
  color: #000000 !important;
}
html body .entry-content > section.caselaw-block a,
html body .entry-content > section[style*="background"] a{
  color: #0d47a1 !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
  background: transparent !important;
}
html body .entry-content > section.caselaw-block table,
html body .entry-content > section.caselaw-block th,
html body .entry-content > section.caselaw-block td{
  background: transparent !important;
  color: #000000 !important;
  border-color: #cbd5e1 !important;
}
html body .entry-content > section.caselaw-block th{
  background: #e2e8f0 !important;
  color: #000000 !important;
}
/* A11Y_V11_SECTION_OVERRIDE_END */


/* A11Y_V10_UNIVERSAL_START */
/* SMART CONTRAST: only apply black-text override on KNOWN LIGHT backgrounds */
html body .entry-content [style*="background:#f0f8ff"],
html body .entry-content [style*="background: #f0f8ff"],
html body .entry-content [style*="background-color:#f0f8ff"],
html body .entry-content [style*="background-color: #f0f8ff"],
html body .entry-content [style*="background:#fff3e0"],
html body .entry-content [style*="background: #fff3e0"],
html body .entry-content [style*="background-color:#fff3e0"],
html body .entry-content [style*="background-color: #fff3e0"],
html body .entry-content [style*="background:#e8f5e9"],
html body .entry-content [style*="background: #e8f5e9"],
html body .entry-content [style*="background-color:#e8f5e9"],
html body .entry-content [style*="background-color: #e8f5e9"],
html body .entry-content [style*="background:#fce4ec"],
html body .entry-content [style*="background: #fce4ec"],
html body .entry-content [style*="background-color:#fce4ec"],
html body .entry-content [style*="background-color: #fce4ec"],
html body .entry-content [style*="background:#f3e5f5"],
html body .entry-content [style*="background: #f3e5f5"],
html body .entry-content [style*="background-color:#f3e5f5"],
html body .entry-content [style*="background-color: #f3e5f5"],
html body .entry-content [style*="background:#e1f5fe"],
html body .entry-content [style*="background: #e1f5fe"],
html body .entry-content [style*="background-color:#e1f5fe"],
html body .entry-content [style*="background-color: #e1f5fe"],
html body .entry-content [style*="background:#efebe9"],
html body .entry-content [style*="background: #efebe9"],
html body .entry-content [style*="background-color:#efebe9"],
html body .entry-content [style*="background-color: #efebe9"],
html body .entry-content [style*="background:#f8fafc"],
html body .entry-content [style*="background: #f8fafc"],
html body .entry-content [style*="background-color:#f8fafc"],
html body .entry-content [style*="background-color: #f8fafc"],
html body .entry-content [style*="background:#fafafa"],
html body .entry-content [style*="background: #fafafa"],
html body .entry-content [style*="background-color:#fafafa"],
html body .entry-content [style*="background-color: #fafafa"],
html body .entry-content [style*="background:#f5f5f5"],
html body .entry-content [style*="background: #f5f5f5"],
html body .entry-content [style*="background-color:#f5f5f5"],
html body .entry-content [style*="background-color: #f5f5f5"],
html body .entry-content [style*="background:#fff"],
html body .entry-content [style*="background: #fff"],
html body .entry-content [style*="background-color:#fff"],
html body .entry-content [style*="background-color: #fff"],
html body .entry-content [style*="background:#ffffff"],
html body .entry-content [style*="background: #ffffff"],
html body .entry-content [style*="background-color:#ffffff"],
html body .entry-content [style*="background-color: #ffffff"],
html body .entry-content [style*="background:#e0f2f1"],
html body .entry-content [style*="background: #e0f2f1"],
html body .entry-content [style*="background-color:#e0f2f1"],
html body .entry-content [style*="background-color: #e0f2f1"],
html body .entry-content [style*="background:#e0f7fa"],
html body .entry-content [style*="background: #e0f7fa"],
html body .entry-content [style*="background-color:#e0f7fa"],
html body .entry-content [style*="background-color: #e0f7fa"],
html body .entry-content [style*="background:#fff8e1"],
html body .entry-content [style*="background: #fff8e1"],
html body .entry-content [style*="background-color:#fff8e1"],
html body .entry-content [style*="background-color: #fff8e1"],
html body .entry-content [style*="background:#f9fbe7"],
html body .entry-content [style*="background: #f9fbe7"],
html body .entry-content [style*="background-color:#f9fbe7"],
html body .entry-content [style*="background-color: #f9fbe7"],
html body .entry-content [style*="background:#fce4ec"],
html body .entry-content [style*="background: #fce4ec"],
html body .entry-content [style*="background-color:#fce4ec"],
html body .entry-content [style*="background-color: #fce4ec"],
html body .entry-content [style*="background:#fbe9e7"],
html body .entry-content [style*="background: #fbe9e7"],
html body .entry-content [style*="background-color:#fbe9e7"],
html body .entry-content [style*="background-color: #fbe9e7"],
html body .entry-content [style*="background:#fff9c4"],
html body .entry-content [style*="background: #fff9c4"],
html body .entry-content [style*="background-color:#fff9c4"],
html body .entry-content [style*="background-color: #fff9c4"],
html body .entry-content [style*="background:#ffe0b2"],
html body .entry-content [style*="background: #ffe0b2"],
html body .entry-content [style*="background-color:#ffe0b2"],
html body .entry-content [style*="background-color: #ffe0b2"],
html body .entry-content [style*="background:#ffccbc"],
html body .entry-content [style*="background: #ffccbc"],
html body .entry-content [style*="background-color:#ffccbc"],
html body .entry-content [style*="background-color: #ffccbc"],
html body .entry-content [style*="background:#d7ccc8"],
html body .entry-content [style*="background: #d7ccc8"],
html body .entry-content [style*="background-color:#d7ccc8"],
html body .entry-content [style*="background-color: #d7ccc8"],
html body .entry-content [style*="background:#cfd8dc"],
html body .entry-content [style*="background: #cfd8dc"],
html body .entry-content [style*="background-color:#cfd8dc"],
html body .entry-content [style*="background-color: #cfd8dc"]{
  color:#000000 !important;
}
html body .entry-content [style*="background:#f0f8ff"] *,
html body .entry-content [style*="background: #f0f8ff"] *,
html body .entry-content [style*="background-color:#f0f8ff"] *,
html body .entry-content [style*="background-color: #f0f8ff"] *,
html body .entry-content [style*="background:#fff3e0"] *,
html body .entry-content [style*="background: #fff3e0"] *,
html body .entry-content [style*="background-color:#fff3e0"] *,
html body .entry-content [style*="background-color: #fff3e0"] *,
html body .entry-content [style*="background:#e8f5e9"] *,
html body .entry-content [style*="background: #e8f5e9"] *,
html body .entry-content [style*="background-color:#e8f5e9"] *,
html body .entry-content [style*="background-color: #e8f5e9"] *,
html body .entry-content [style*="background:#fce4ec"] *,
html body .entry-content [style*="background: #fce4ec"] *,
html body .entry-content [style*="background-color:#fce4ec"] *,
html body .entry-content [style*="background-color: #fce4ec"] *,
html body .entry-content [style*="background:#f3e5f5"] *,
html body .entry-content [style*="background: #f3e5f5"] *,
html body .entry-content [style*="background-color:#f3e5f5"] *,
html body .entry-content [style*="background-color: #f3e5f5"] *,
html body .entry-content [style*="background:#e1f5fe"] *,
html body .entry-content [style*="background: #e1f5fe"] *,
html body .entry-content [style*="background-color:#e1f5fe"] *,
html body .entry-content [style*="background-color: #e1f5fe"] *,
html body .entry-content [style*="background:#efebe9"] *,
html body .entry-content [style*="background: #efebe9"] *,
html body .entry-content [style*="background-color:#efebe9"] *,
html body .entry-content [style*="background-color: #efebe9"] *,
html body .entry-content [style*="background:#f8fafc"] *,
html body .entry-content [style*="background: #f8fafc"] *,
html body .entry-content [style*="background-color:#f8fafc"] *,
html body .entry-content [style*="background-color: #f8fafc"] *,
html body .entry-content [style*="background:#fafafa"] *,
html body .entry-content [style*="background: #fafafa"] *,
html body .entry-content [style*="background-color:#fafafa"] *,
html body .entry-content [style*="background-color: #fafafa"] *,
html body .entry-content [style*="background:#f5f5f5"] *,
html body .entry-content [style*="background: #f5f5f5"] *,
html body .entry-content [style*="background-color:#f5f5f5"] *,
html body .entry-content [style*="background-color: #f5f5f5"] *,
html body .entry-content [style*="background:#fff"] *,
html body .entry-content [style*="background: #fff"] *,
html body .entry-content [style*="background-color:#fff"] *,
html body .entry-content [style*="background-color: #fff"] *,
html body .entry-content [style*="background:#ffffff"] *,
html body .entry-content [style*="background: #ffffff"] *,
html body .entry-content [style*="background-color:#ffffff"] *,
html body .entry-content [style*="background-color: #ffffff"] *,
html body .entry-content [style*="background:#e0f2f1"] *,
html body .entry-content [style*="background: #e0f2f1"] *,
html body .entry-content [style*="background-color:#e0f2f1"] *,
html body .entry-content [style*="background-color: #e0f2f1"] *,
html body .entry-content [style*="background:#e0f7fa"] *,
html body .entry-content [style*="background: #e0f7fa"] *,
html body .entry-content [style*="background-color:#e0f7fa"] *,
html body .entry-content [style*="background-color: #e0f7fa"] *,
html body .entry-content [style*="background:#fff8e1"] *,
html body .entry-content [style*="background: #fff8e1"] *,
html body .entry-content [style*="background-color:#fff8e1"] *,
html body .entry-content [style*="background-color: #fff8e1"] *,
html body .entry-content [style*="background:#f9fbe7"] *,
html body .entry-content [style*="background: #f9fbe7"] *,
html body .entry-content [style*="background-color:#f9fbe7"] *,
html body .entry-content [style*="background-color: #f9fbe7"] *,
html body .entry-content [style*="background:#fce4ec"] *,
html body .entry-content [style*="background: #fce4ec"] *,
html body .entry-content [style*="background-color:#fce4ec"] *,
html body .entry-content [style*="background-color: #fce4ec"] *,
html body .entry-content [style*="background:#fbe9e7"] *,
html body .entry-content [style*="background: #fbe9e7"] *,
html body .entry-content [style*="background-color:#fbe9e7"] *,
html body .entry-content [style*="background-color: #fbe9e7"] *,
html body .entry-content [style*="background:#fff9c4"] *,
html body .entry-content [style*="background: #fff9c4"] *,
html body .entry-content [style*="background-color:#fff9c4"] *,
html body .entry-content [style*="background-color: #fff9c4"] *,
html body .entry-content [style*="background:#ffe0b2"] *,
html body .entry-content [style*="background: #ffe0b2"] *,
html body .entry-content [style*="background-color:#ffe0b2"] *,
html body .entry-content [style*="background-color: #ffe0b2"] *,
html body .entry-content [style*="background:#ffccbc"] *,
html body .entry-content [style*="background: #ffccbc"] *,
html body .entry-content [style*="background-color:#ffccbc"] *,
html body .entry-content [style*="background-color: #ffccbc"] *,
html body .entry-content [style*="background:#d7ccc8"] *,
html body .entry-content [style*="background: #d7ccc8"] *,
html body .entry-content [style*="background-color:#d7ccc8"] *,
html body .entry-content [style*="background-color: #d7ccc8"] *,
html body .entry-content [style*="background:#cfd8dc"] *,
html body .entry-content [style*="background: #cfd8dc"] *,
html body .entry-content [style*="background-color:#cfd8dc"] *,
html body .entry-content [style*="background-color: #cfd8dc"] *{
  color:#000000 !important;
  background-color:transparent !important;
}
html body .entry-content [style*="background:#f0f8ff"] a,
html body .entry-content [style*="background: #f0f8ff"] a,
html body .entry-content [style*="background-color:#f0f8ff"] a,
html body .entry-content [style*="background-color: #f0f8ff"] a,
html body .entry-content [style*="background:#fff3e0"] a,
html body .entry-content [style*="background: #fff3e0"] a,
html body .entry-content [style*="background-color:#fff3e0"] a,
html body .entry-content [style*="background-color: #fff3e0"] a,
html body .entry-content [style*="background:#e8f5e9"] a,
html body .entry-content [style*="background: #e8f5e9"] a,
html body .entry-content [style*="background-color:#e8f5e9"] a,
html body .entry-content [style*="background-color: #e8f5e9"] a,
html body .entry-content [style*="background:#fce4ec"] a,
html body .entry-content [style*="background: #fce4ec"] a,
html body .entry-content [style*="background-color:#fce4ec"] a,
html body .entry-content [style*="background-color: #fce4ec"] a,
html body .entry-content [style*="background:#f3e5f5"] a,
html body .entry-content [style*="background: #f3e5f5"] a,
html body .entry-content [style*="background-color:#f3e5f5"] a,
html body .entry-content [style*="background-color: #f3e5f5"] a,
html body .entry-content [style*="background:#e1f5fe"] a,
html body .entry-content [style*="background: #e1f5fe"] a,
html body .entry-content [style*="background-color:#e1f5fe"] a,
html body .entry-content [style*="background-color: #e1f5fe"] a,
html body .entry-content [style*="background:#efebe9"] a,
html body .entry-content [style*="background: #efebe9"] a,
html body .entry-content [style*="background-color:#efebe9"] a,
html body .entry-content [style*="background-color: #efebe9"] a,
html body .entry-content [style*="background:#f8fafc"] a,
html body .entry-content [style*="background: #f8fafc"] a,
html body .entry-content [style*="background-color:#f8fafc"] a,
html body .entry-content [style*="background-color: #f8fafc"] a,
html body .entry-content [style*="background:#fafafa"] a,
html body .entry-content [style*="background: #fafafa"] a,
html body .entry-content [style*="background-color:#fafafa"] a,
html body .entry-content [style*="background-color: #fafafa"] a,
html body .entry-content [style*="background:#f5f5f5"] a,
html body .entry-content [style*="background: #f5f5f5"] a,
html body .entry-content [style*="background-color:#f5f5f5"] a,
html body .entry-content [style*="background-color: #f5f5f5"] a,
html body .entry-content [style*="background:#fff"] a,
html body .entry-content [style*="background: #fff"] a,
html body .entry-content [style*="background-color:#fff"] a,
html body .entry-content [style*="background-color: #fff"] a,
html body .entry-content [style*="background:#ffffff"] a,
html body .entry-content [style*="background: #ffffff"] a,
html body .entry-content [style*="background-color:#ffffff"] a,
html body .entry-content [style*="background-color: #ffffff"] a,
html body .entry-content [style*="background:#e0f2f1"] a,
html body .entry-content [style*="background: #e0f2f1"] a,
html body .entry-content [style*="background-color:#e0f2f1"] a,
html body .entry-content [style*="background-color: #e0f2f1"] a,
html body .entry-content [style*="background:#e0f7fa"] a,
html body .entry-content [style*="background: #e0f7fa"] a,
html body .entry-content [style*="background-color:#e0f7fa"] a,
html body .entry-content [style*="background-color: #e0f7fa"] a,
html body .entry-content [style*="background:#fff8e1"] a,
html body .entry-content [style*="background: #fff8e1"] a,
html body .entry-content [style*="background-color:#fff8e1"] a,
html body .entry-content [style*="background-color: #fff8e1"] a,
html body .entry-content [style*="background:#f9fbe7"] a,
html body .entry-content [style*="background: #f9fbe7"] a,
html body .entry-content [style*="background-color:#f9fbe7"] a,
html body .entry-content [style*="background-color: #f9fbe7"] a,
html body .entry-content [style*="background:#fce4ec"] a,
html body .entry-content [style*="background: #fce4ec"] a,
html body .entry-content [style*="background-color:#fce4ec"] a,
html body .entry-content [style*="background-color: #fce4ec"] a,
html body .entry-content [style*="background:#fbe9e7"] a,
html body .entry-content [style*="background: #fbe9e7"] a,
html body .entry-content [style*="background-color:#fbe9e7"] a,
html body .entry-content [style*="background-color: #fbe9e7"] a,
html body .entry-content [style*="background:#fff9c4"] a,
html body .entry-content [style*="background: #fff9c4"] a,
html body .entry-content [style*="background-color:#fff9c4"] a,
html body .entry-content [style*="background-color: #fff9c4"] a,
html body .entry-content [style*="background:#ffe0b2"] a,
html body .entry-content [style*="background: #ffe0b2"] a,
html body .entry-content [style*="background-color:#ffe0b2"] a,
html body .entry-content [style*="background-color: #ffe0b2"] a,
html body .entry-content [style*="background:#ffccbc"] a,
html body .entry-content [style*="background: #ffccbc"] a,
html body .entry-content [style*="background-color:#ffccbc"] a,
html body .entry-content [style*="background-color: #ffccbc"] a,
html body .entry-content [style*="background:#d7ccc8"] a,
html body .entry-content [style*="background: #d7ccc8"] a,
html body .entry-content [style*="background-color:#d7ccc8"] a,
html body .entry-content [style*="background-color: #d7ccc8"] a,
html body .entry-content [style*="background:#cfd8dc"] a,
html body .entry-content [style*="background: #cfd8dc"] a,
html body .entry-content [style*="background-color:#cfd8dc"] a,
html body .entry-content [style*="background-color: #cfd8dc"] a{
  color:#0d47a1 !important;
  text-decoration:underline !important;
  font-weight:700 !important;
  background:transparent !important;
}
/* For DARK BG callouts (e.g. #0b3b5e, #1a3c5a etc.): force white text, gold links */
html body .entry-content [style*="background:#0"],
html body .entry-content [style*="background:#1"],
html body .entry-content [style*="background:#2"],
html body .entry-content [style*="background:#3"],
html body .entry-content [style*="background:#4"],
html body .entry-content [style*="background:#5"],
html body .entry-content [style*="background-color:#0"],
html body .entry-content [style*="background-color:#1"],
html body .entry-content [style*="background-color:#2"],
html body .entry-content [style*="background-color:#3"],
html body .entry-content [style*="background-color:#4"],
html body .entry-content [style*="background-color:#5"]{
  color:#ffffff !important;
}
html body .entry-content [style*="background:#0"] *,
html body .entry-content [style*="background:#1"] *,
html body .entry-content [style*="background:#2"] *,
html body .entry-content [style*="background:#3"] *,
html body .entry-content [style*="background:#4"] *,
html body .entry-content [style*="background:#5"] *,
html body .entry-content [style*="background-color:#0"] *,
html body .entry-content [style*="background-color:#1"] *,
html body .entry-content [style*="background-color:#2"] *,
html body .entry-content [style*="background-color:#3"] *,
html body .entry-content [style*="background-color:#4"] *,
html body .entry-content [style*="background-color:#5"] *{
  color:#ffffff !important;
  background-color:transparent !important;
}
html body .entry-content [style*="background:#0"] a,
html body .entry-content [style*="background:#1"] a,
html body .entry-content [style*="background:#2"] a,
html body .entry-content [style*="background:#3"] a,
html body .entry-content [style*="background:#4"] a,
html body .entry-content [style*="background:#5"] a,
html body .entry-content [style*="background-color:#0"] a,
html body .entry-content [style*="background-color:#1"] a,
html body .entry-content [style*="background-color:#2"] a,
html body .entry-content [style*="background-color:#3"] a,
html body .entry-content [style*="background-color:#4"] a,
html body .entry-content [style*="background-color:#5"] a{
  color:#ffd34a !important;
  text-decoration:underline !important;
  background:transparent !important;
}
/* A11Y_V10_UNIVERSAL_END */



/* A11Y_V12_START (sadelestirildi) */
html body .entry-content [style*="background:#"] a:hover,html body .entry-content [style*="background-color:#"] a:hover,html body .entry-content [style*="background: #"] a:hover,html body .entry-content [style*="background-color: #"] a:hover{color:#063272!important}
html body .entry-content a[style*="background:#"],html body .entry-content a[style*="background-color:#"],html body .entry-content a[style*="background: #"],html body .entry-content a[style*="background-color: #"]{color:#0d47a1!important;text-decoration:underline!important}
/* A11Y_V12_END */

/* ============================================ */
/* NAV_LAYOUT_FIX v1 (2026-05-12) - Bilal Alyar */
/* Navigasyon hizalama, dark tema kontrast    */
/* ============================================ */

/* 1) Header container — tum sayfalarda esit genislik */
.site-primary-header-wrap.ast-builder-grid-row-container.ast-container {
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

/* 2) Ana menu tek satirda kalsin, sarmasin */
@media (min-width: 922px) {
  .main-header-menu,
  .main-header-menu.ast-nav-menu,
  .ast-primary-menu,
  #ast-hf-menu-1 {
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }
  .main-header-menu > li,
  .ast-primary-menu > li,
  #ast-hf-menu-1 > li {
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }
  .main-header-menu > li > a,
  .ast-primary-menu > li > a {
    white-space: nowrap !important;
    display: inline-block !important;
  }
}

/* 3) Orta-genislik ekranlarda menu yazi/padding kucult */
@media (min-width: 922px) and (max-width: 1280px) {
  .main-header-menu > li > a,
  .ast-primary-menu > li > a {
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 15px !important;
  }
}
@media (min-width: 1281px) {
  .main-header-menu > li > a,
  .ast-primary-menu > li > a {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

/* 4) Logo konumu sabit, sayfalar arasi tutarli */
.site-branding,
.ast-site-identity {
  flex: 0 0 auto !important;
}

/* 5) Sayfa basliklarinin acik arkaplanli bolumlerinde okunabilirlik */
.ast-page-builder-template .entry-header,
.page-header,
.entry-header {
  background-color: transparent !important;
}

/* 6) Dark tema uyumu: acik arkaplanli sectionlarda metni koyu yap */
body[class*="page-template"] section[style*="background-color: rgb(248"],
body[class*="page-template"] section[style*="background-color:#f8"],
body[class*="page-template"] section[style*="background-color: #f8"] {
  color: #111 !important;
}

/* 7) Mobil header — logo ve menu butonu arasinda dengeli bosluk */
@media (max-width: 921px) {
  .ast-mobile-header-wrap .ast-builder-grid-row {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* NAV_LAYOUT_FIX_END */


/* =================================================== */
/* DARK_THEME_FULL_FIX v1 (2026-05-12) - Bilal Alyar    */
/* Tum acik arkaplanlari koyu temaya cevir              */
/* =================================================== */

/* Renk degiskenleri */
:root{
  --alyar-bg: #0b0d12;
  --alyar-bg-2: #11141b;
  --alyar-bg-3: #161a23;
  --alyar-border: rgba(212,175,55,0.18);
  --alyar-text: #ececec;
  --alyar-text-soft: #c7c7c7;
  --alyar-gold: #d4af37;
  --alyar-gold-soft: #e8c878;
}

/* 1) Body ve ana konteyner her zaman koyu */
html, body, #page, .site, .site-content, .ast-container, main, #content{
  background-color: var(--alyar-bg) !important;
  color: var(--alyar-text) !important;
}

/* 2) Inline acik arkaplan stillerini koyu yap (style attr selectorleri) */
[style*="background:#f9f7f3"],
[style*="background: #f9f7f3"],
[style*="background-color:#f9f7f3"],
[style*="background-color: #f9f7f3"],
[style*="background:#f8f9fa"],
[style*="background: #f8f9fa"],
[style*="background-color:#f8f9fa"],
[style*="background-color: #f8f9fa"],
[style*="background:#f9f8f4"],
[style*="background: #f9f8f4"],
[style*="background-color:#f9f8f4"],
[style*="background-color: #f9f8f4"],
[style*="background:#f8fafc"],
[style*="background: #f8fafc"],
[style*="background-color:#f8fafc"],
[style*="background-color: #f8fafc"],
[style*="background:#f8fafd"],
[style*="background: #f8fafd"],
[style*="background-color:#f8fafd"],
[style*="background-color: #f8fafd"],
[style*="background:#f4f6fa"],
[style*="background: #f4f6fa"],
[style*="background-color:#f4f6fa"],
[style*="background-color: #f4f6fa"],
[style*="background:#fafafa"],
[style*="background: #fafafa"],
[style*="background-color:#fafafa"],
[style*="background-color: #fafafa"],
[style*="background:#fff"],
[style*="background: #fff"],
[style*="background-color:#fff"],
[style*="background-color: #fff"],
[style*="background:#FFF"],
[style*="background: #FFF"],
[style*="background-color:#FFF"],
[style*="background-color: #FFF"],
[style*="background:#fef3c7"],
[style*="background-color:#fef3c7"],
[style*="background:#fffbe8"],
[style*="background-color:#fffbe8"],
[style*="background:#fff8e6"],
[style*="background-color:#fff8e6"],
[style*="background:#fff8e1"],
[style*="background-color:#fff8e1"],
[style*="background:#fff3e0"],
[style*="background-color:#fff3e0"],
[style*="background:#ffebee"],
[style*="background-color:#ffebee"],
[style*="background:#e1f5fe"],
[style*="background-color:#e1f5fe"],
[style*="background:#e8f5e9"],
[style*="background-color:#e8f5e9"],
[style*="background:#fce4ec"],
[style*="background-color:#fce4ec"],
[style*="background:#f3e5f5"],
[style*="background-color:#f3e5f5"],
[style*="background:#efebe9"],
[style*="background-color:#efebe9"],
[style*="background:#e0f2f1"],
[style*="background-color:#e0f2f1"]{
  background-color: var(--alyar-bg-2) !important;
  background-image: none !important;
  color: var(--alyar-text) !important;
  border-color: var(--alyar-border) !important;
}

/* Inline acik bg olan elementin TUM cocuklari da okunabilir olsun */
[style*="background:#f9f7f3"] *:not(a):not([class*="gold"]):not([class*="alt"]),
[style*="background-color:#f9f7f3"] *:not(a):not([class*="gold"]):not([class*="alt"]),
[style*="background:#f8f9fa"] *:not(a):not([class*="gold"]):not([class*="alt"]),
[style*="background-color:#f8f9fa"] *:not(a):not([class*="gold"]):not([class*="alt"]),
[style*="background:#f9f8f4"] *:not(a):not([class*="gold"]):not([class*="alt"]),
[style*="background-color:#f9f8f4"] *:not(a):not([class*="gold"]):not([class*="alt"]),
[style*="background:#f8fafc"] *:not(a):not([class*="gold"]):not([class*="alt"]),
[style*="background-color:#f8fafc"] *:not(a):not([class*="gold"]):not([class*="alt"]),
[style*="background:#f8fafd"] *:not(a):not([class*="gold"]):not([class*="alt"]),
[style*="background-color:#f8fafd"] *:not(a):not([class*="gold"]):not([class*="alt"]),
[style*="background:#f4f6fa"] *:not(a):not([class*="gold"]):not([class*="alt"]),
[style*="background-color:#f4f6fa"] *:not(a):not([class*="gold"]):not([class*="alt"]),
[style*="background:#fafafa"] *:not(a):not([class*="gold"]):not([class*="alt"]),
[style*="background-color:#fafafa"] *:not(a):not([class*="gold"]):not([class*="alt"]){
  color: var(--alyar-text) !important;
  background-color: transparent !important;
}

/* 3) Linear gradient acik tonlar — koyu cevir */
[style*="linear-gradient"][style*="#fff"],
[style*="linear-gradient"][style*="#f8"],
[style*="linear-gradient"][style*="#f9"],
[style*="linear-gradient"][style*="#f4"],
[style*="linear-gradient"][style*="rgb(248"],
[style*="linear-gradient"][style*="rgb(249"],
[style*="linear-gradient"][style*="rgb(255"]{
  background-image: linear-gradient(180deg, var(--alyar-bg-2), var(--alyar-bg-3)) !important;
  color: var(--alyar-text) !important;
}

/* 4) Genel UAGB container'lari koyu kalsin */
.wp-block-uagb-container[style*="background-color:#f"],
.wp-block-uagb-container[style*="background-color: #f"]{
  background-color: var(--alyar-bg-2) !important;
}

/* 5) Hakkimizda title section ozel - dark gradient */
section[style*="linear-gradient(rgba(26,26,46"]{
  background: linear-gradient(180deg, rgba(11,13,18,0.95), rgba(17,20,27,0.92)) !important;
  color: var(--alyar-text) !important;
}
section[style*="linear-gradient(rgba(26,26,46"] h1,
section[style*="linear-gradient(rgba(26,26,46"] h2,
section[style*="linear-gradient(rgba(26,26,46"] h3,
section[style*="linear-gradient(rgba(26,26,46"] p{
  color: var(--alyar-text) !important;
}

/* 6) Anasayfa "Hukuki Calisma Alanlari" ve kartlar — koyu */
.alyar-avukatlik-grid,
.alyar-home-v5,
.alyar-section{
  background: var(--alyar-bg) !important;
  color: var(--alyar-text) !important;
}
.alyar-avukatlik-grid *,
.alyar-home-v5 *,
.alyar-section *{
  color: var(--alyar-text);
}
.alyar-avukatlik-grid h1, .alyar-avukatlik-grid h2, .alyar-avukatlik-grid h3,
.alyar-home-v5 h1, .alyar-home-v5 h2, .alyar-home-v5 h3,
.alyar-section h1, .alyar-section h2, .alyar-section h3{
  color: var(--alyar-gold) !important;
}
.alyar-avukatlik-grid p, .alyar-avukatlik-grid li,
.alyar-home-v5 p, .alyar-home-v5 li,
.alyar-section p, .alyar-section li{
  color: var(--alyar-text-soft) !important;
}

/* 7) Kart benzeri ogeleri tutarli kil */
.alyar-card,
.wp-block-uagb-container.uagb-block-card,
.wp-block-group.is-style-card,
[class*="hukuk-alani-kart"],
[class*="practice-area-card"]{
  background-color: var(--alyar-bg-3) !important;
  border: 1px solid var(--alyar-border) !important;
  color: var(--alyar-text) !important;
}
.alyar-card *, .wp-block-uagb-container.uagb-block-card *{
  color: var(--alyar-text) !important;
}
.alyar-card h1, .alyar-card h2, .alyar-card h3, .alyar-card h4, .alyar-card .alyar-card-title{
  color: var(--alyar-gold) !important;
}

/* 8) Hicbir bolumde okunmayan acik metin kalmasin */
body :is(p, li, span, h1, h2, h3, h4, h5, h6, td, th, dd, dt){
  text-shadow: none;
}

/* 9) Asiri renkli ana sayfa elemanlarini sakinlestir (klas alt./koyu zemin) */
.alyar-avukatlik-grid [style*="background:#e1f5fe"],
.alyar-avukatlik-grid [style*="background-color:#e1f5fe"],
.alyar-avukatlik-grid [style*="background:#fff3e0"],
.alyar-avukatlik-grid [style*="background-color:#fff3e0"],
.alyar-avukatlik-grid [style*="background:#e8f5e9"],
.alyar-avukatlik-grid [style*="background-color:#e8f5e9"],
.alyar-avukatlik-grid [style*="background:#fce4ec"],
.alyar-avukatlik-grid [style*="background-color:#fce4ec"],
.alyar-avukatlik-grid [style*="background:#f3e5f5"],
.alyar-avukatlik-grid [style*="background-color:#f3e5f5"],
.alyar-avukatlik-grid [style*="background:#efebe9"],
.alyar-avukatlik-grid [style*="background-color:#efebe9"],
.alyar-avukatlik-grid [style*="background:#e0f2f1"],
.alyar-avukatlik-grid [style*="background-color:#e0f2f1"],
.alyar-avukatlik-grid [style*="background:#fff8e1"],
.alyar-avukatlik-grid [style*="background-color:#fff8e1"],
.alyar-avukatlik-grid [style*="background:#ffebee"],
.alyar-avukatlik-grid [style*="background-color:#ffebee"]{
  background-color: var(--alyar-bg-3) !important;
  background-image: none !important;
  border: 1px solid var(--alyar-border) !important;
}

/* 10) Spectra/UAGB sariyemsi vurgu kutulari */
[style*="background:#fef9c3"],
[style*="background-color:#fef9c3"],
[style*="background:#fef3c7"],
[style*="background-color:#fef3c7"],
[style*="background:#fffbe8"],
[style*="background-color:#fffbe8"]{
  background-color: rgba(212,175,55,0.08) !important;
  border-left: 3px solid var(--alyar-gold) !important;
  color: var(--alyar-text) !important;
}

/* 11) Iletisim sayfasi "Ofisimiz" section — koyu */
.wp-block-cover[style*="background-image"]:not([style*="url"]),
section:has(> .wp-block-group[style*="background:#f"]){
  background-color: var(--alyar-bg-2) !important;
}

/* 12) Footer (zaten koyu olabilir) — saglamlastir */
.site-footer, .ast-footer, footer.site-footer{
  background-color: var(--alyar-bg) !important;
  color: var(--alyar-text-soft) !important;
}
.site-footer a, .ast-footer a{
  color: var(--alyar-gold-soft) !important;
}
.site-footer a:hover{
  color: var(--alyar-gold) !important;
}

/* 13) Header her zaman koyu */
.site-header, .ast-primary-header-bar, .main-header-bar{
  background-color: var(--alyar-bg) !important;
}
.main-header-menu > li > a,
.ast-primary-menu > li > a,
#ast-hf-menu-1 > li > a{
  color: var(--alyar-gold-soft) !important;
}
.main-header-menu > li > a:hover,
.ast-primary-menu > li > a:hover,
#ast-hf-menu-1 > li > a:hover,
.main-header-menu > li.current-menu-item > a{
  color: var(--alyar-gold) !important;
}

/* 14) Form alanlari (Iletisim formu) koyu */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="number"], input[type="search"], textarea, select{
  background-color: var(--alyar-bg-3) !important;
  color: var(--alyar-text) !important;
  border: 1px solid var(--alyar-border) !important;
}
input::placeholder, textarea::placeholder{
  color: rgba(236,236,236,0.45) !important;
}

/* 15) Erisilebilirlik — link altcizgi tutarli, focus gorunur */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 2px solid var(--alyar-gold) !important;
  outline-offset: 2px !important;
}

/* 16) Kontrast — beyaz uzeri beyaz/acik metin engele */
body :where(p, li, span, td, th){
  color: var(--alyar-text);
}

/* 17) WP cookie consent zaten kendi rengini koruyor (modal beyaz kalsin) */
.cky-consent-container, .cky-modal, .cky-preference-center, .cky-consent-bar,
.cky-consent-container *, .cky-modal *, .cky-preference-center *, .cky-consent-bar *{
  /* dokunma */
}

/* DARK_THEME_FULL_FIX_END */


/* =================================================== */
/* DARK_THEME_HIGH_SPECIFICITY_FIX v2 (2026-05-12)      */
/* Daha yuksek ozgulluk ile mevcut acik kurallari ez   */
/* =================================================== */

/* Yuksek ozgulluk: html body .entry-content > section ile uyumlu */
html body .entry-content > section[style*="background"],
html body .entry-content section[style*="background:#f"],
html body .entry-content section[style*="background-color:#f"],
html body .entry-content section[style*="background: #f"],
html body .entry-content section[style*="background-color: #f"],
html body .entry-content div[style*="background:#f"],
html body .entry-content div[style*="background-color:#f"],
html body .entry-content div[style*="background: #f"],
html body .entry-content div[style*="background-color: #f"]{
  background-color: #11141b !important;
  background-image: none !important;
  color: #ececec !important;
  border-color: rgba(212,175,55,0.18) !important;
}

/* Sari/krem tonlar — altin aksanli koyu */
html body .entry-content section[style*="background:#fef"],
html body .entry-content section[style*="background-color:#fef"],
html body .entry-content div[style*="background:#fef"],
html body .entry-content div[style*="background-color:#fef"],
html body .entry-content section[style*="background:#fff"],
html body .entry-content section[style*="background-color:#fff"],
html body .entry-content div[style*="background:#fff"],
html body .entry-content div[style*="background-color:#fff"]{
  background-color: #161a23 !important;
  background-image: none !important;
  color: #ececec !important;
  border-left: 3px solid #d4af37 !important;
}

/* Aciktan koyuya — section icindeki tum yazi/heading'ler okunabilir */
html body .entry-content > section[style*="background"] *,
html body .entry-content section[style*="background-color:#f"] *,
html body .entry-content section[style*="background:#f"] *,
html body .entry-content div[style*="background-color:#f"] *,
html body .entry-content div[style*="background:#f"] *{
  color: #ececec !important;
  background-color: transparent !important;
  border-color: rgba(212,175,55,0.18) !important;
}

html body .entry-content > section[style*="background"] h1,
html body .entry-content > section[style*="background"] h2,
html body .entry-content > section[style*="background"] h3,
html body .entry-content > section[style*="background"] h4,
html body .entry-content > section[style*="background"] h5,
html body .entry-content > section[style*="background"] h6,
html body .entry-content section[style*="background-color:#f"] h1,
html body .entry-content section[style*="background-color:#f"] h2,
html body .entry-content section[style*="background-color:#f"] h3,
html body .entry-content section[style*="background-color:#f"] h4,
html body .entry-content section[style*="background:#f"] h1,
html body .entry-content section[style*="background:#f"] h2,
html body .entry-content section[style*="background:#f"] h3,
html body .entry-content section[style*="background:#f"] h4,
html body .entry-content div[style*="background-color:#f"] h1,
html body .entry-content div[style*="background-color:#f"] h2,
html body .entry-content div[style*="background-color:#f"] h3,
html body .entry-content div[style*="background-color:#f"] h4,
html body .entry-content div[style*="background:#f"] h1,
html body .entry-content div[style*="background:#f"] h2,
html body .entry-content div[style*="background:#f"] h3,
html body .entry-content div[style*="background:#f"] h4{
  color: #d4af37 !important;
}

html body .entry-content section[style*="background-color:#f"] a,
html body .entry-content section[style*="background:#f"] a,
html body .entry-content div[style*="background-color:#f"] a,
html body .entry-content div[style*="background:#f"] a{
  color: #e8c878 !important;
  text-decoration-color: rgba(212,175,55,0.5) !important;
}

/* Inline gradient'lar — koyu varyant */
html body .entry-content section[style*="linear-gradient"][style*="#fff"],
html body .entry-content section[style*="linear-gradient"][style*="#f"],
html body .entry-content div[style*="linear-gradient"][style*="#fff"],
html body .entry-content div[style*="linear-gradient"][style*="#f"]{
  background-image: linear-gradient(180deg, #11141b, #161a23) !important;
  color: #ececec !important;
}

/* Mavi/lacivert gradient'lar bilesik — kontrast icin metni acik kil */
html body .entry-content section[style*="linear-gradient"][style*="#0c4a6e"],
html body .entry-content section[style*="linear-gradient"][style*="#1e3a8a"],
html body .entry-content div[style*="linear-gradient"][style*="#0c4a6e"],
html body .entry-content div[style*="linear-gradient"][style*="#1e3a8a"]{
  background-image: linear-gradient(135deg, #0c4a6e 0%, #1e3a8a 100%) !important;
  color: #ffffff !important;
}
html body .entry-content section[style*="linear-gradient"][style*="#0c4a6e"] *,
html body .entry-content section[style*="linear-gradient"][style*="#1e3a8a"] *{
  color: #ffffff !important;
}

/* "Hukuki Calisma Alanlari" basligi (sayfa icindeki h2'ler) */
html body .entry-content #hizmet-alanlari,
html body .entry-content #hizmet-alanlari *{
  background-color: transparent !important;
}
html body .entry-content #hizmet-alanlari{
  background-color: #11141b !important;
}
html body .entry-content #hizmet-alanlari h1,
html body .entry-content #hizmet-alanlari h2,
html body .entry-content #hizmet-alanlari h3{
  color: #d4af37 !important;
}
html body .entry-content #hizmet-alanlari p,
html body .entry-content #hizmet-alanlari li,
html body .entry-content #hizmet-alanlari span{
  color: #ececec !important;
}

/* Anasayfa "alyar-avukatlik-grid" kartlari icindeki acik bg kutucuklari */
.alyar-avukatlik-grid [style*="background:#"],
.alyar-avukatlik-grid [style*="background-color:#"],
.alyar-home-v5 [style*="background:#"],
.alyar-home-v5 [style*="background-color:#"]{
  background-color: #161a23 !important;
  background-image: none !important;
  color: #ececec !important;
  border: 1px solid rgba(212,175,55,0.18) !important;
}
.alyar-avukatlik-grid [style*="background:#"] *,
.alyar-avukatlik-grid [style*="background-color:#"] *,
.alyar-home-v5 [style*="background:#"] *,
.alyar-home-v5 [style*="background-color:#"] *{
  color: #ececec !important;
}
.alyar-avukatlik-grid h1, .alyar-avukatlik-grid h2, .alyar-avukatlik-grid h3, .alyar-avukatlik-grid h4,
.alyar-home-v5 h1, .alyar-home-v5 h2, .alyar-home-v5 h3, .alyar-home-v5 h4{
  color: #d4af37 !important;
}
.alyar-avukatlik-grid a,
.alyar-home-v5 a{
  color: #e8c878 !important;
}

/* Sayfa baliklari (h1) dark gradient uzerinde altin */
html body .entry-header h1,
html body .page-header h1,
html body .entry-title{
  color: #d4af37 !important;
}

/* "Tum Hizmet Alanlarini Gor" gibi link blogu */
html body .entry-content > p > a,
html body .entry-content > a{
  color: #e8c878 !important;
}

/* Eski mavi kontrastlik link rengi */
html body a:not(.alyar-card):not(.main-header-menu a):not(.ast-primary-menu a){
  color: #e8c878;
}
html body a:not(.alyar-card):not(.main-header-menu a):not(.ast-primary-menu a):hover{
  color: #d4af37;
}

/* DARK_THEME_HIGH_SPECIFICITY_FIX_END */


/* =================================================== */
/* A11Y_CONTRAST_FIX v1 (2026-05-12) - Bilal Alyar      */
/* WCAG AA kontrast oranlari (4.5:1 / 3:1)              */
/* =================================================== */

/* 1) "Daha Fazlasi" CTA — altin uzeri koyu metin */
.uagb-infobox-cta-link.wp-block-button__link,
.uagb-infobox-cta-link.wp-block-button__link:visited,
.uagb-infobox .uagb-inline-editing,
.uagb-infobox-cta-link .uagb-inline-editing{
  background-color: #d4af37 !important;
  color: #0b0d12 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
.uagb-infobox-cta-link.wp-block-button__link:hover,
.uagb-infobox-cta-link.wp-block-button__link:focus,
.uagb-infobox-cta-link:hover .uagb-inline-editing,
.uagb-infobox-cta-link:focus .uagb-inline-editing{
  background-color: #e8c878 !important;
  color: #0b0d12 !important;
}

/* 2) Genel CTA butonlari — alyar-cta */
.alyar-cta,
a.alyar-cta,
.alyar-cta:visited{
  background-color: #d4af37 !important;
  color: #0b0d12 !important;
  font-weight: 700 !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  display: inline-block !important;
  text-decoration: none !important;
  border: 1px solid #d4af37 !important;
}
.alyar-cta:hover, .alyar-cta:focus{
  background-color: #e8c878 !important;
  color: #0b0d12 !important;
}

/* 3) Koyu zemin uzeri tum link/anchor — minimum 4.5:1 kontrast */
html body .entry-content a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu a):not(.wp-block-button__link):not([href$="/iletisim/"]){
  color: #e8c878 !important;
}
html body .entry-content a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu a):not(.wp-block-button__link):not([href$="/iletisim/"]):hover,
html body .entry-content a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu a):not(.wp-block-button__link):not([href$="/iletisim/"]):focus{
  color: #ffd966 !important;
  text-decoration: underline !important;
}

/* 4) Koyu mavi/lacivert linkleri okunabilir altin yap */
html body a[style*="color:#0d47a1"],
html body a[style*="color: #0d47a1"],
html body a[style*="color:#1e3a8a"],
html body a[style*="color: #1e3a8a"]{
  color: #e8c878 !important;
}

/* 5) Cookie consent modal — kendi renkleriyle (light bg + dark text) korunsun */
.cky-consent-container,
.cky-consent-bar,
.cky-modal,
.cky-preference-center,
.cky-preference-center *,
.cky-modal *,
.cky-consent-container *,
.cky-consent-bar *{
  /* Dark theme override kurallarini bu modaldan uzak tut */
}
.cky-preference-center{
  background-color: #ffffff !important;
  color: #212121 !important;
}
.cky-preference-center .cky-preference-title,
.cky-preference-center .cky-preference-header *,
.cky-preference-center .cky-preference-body *,
.cky-preference-center h1,
.cky-preference-center h2,
.cky-preference-center h3,
.cky-preference-center h4,
.cky-preference-center p,
.cky-preference-center label,
.cky-preference-center span{
  color: #212121 !important;
  background-color: transparent !important;
}
.cky-always-active{
  color: #1e7d32 !important;
  font-weight: 600 !important;
}
.cky-btn-preferences,
.cky-btn{
  color: #ffffff !important;
  background-color: #1863dc !important;
  border-color: #1863dc !important;
}
.cky-btn:hover{
  background-color: #0d47a1 !important;
}
.cky-audit-table{
  color: #212121 !important;
  background-color: #f4f4f4 !important;
}
.cky-audit-table *{
  color: #212121 !important;
}

/* 6) Bayrak/emoji span'leri — color zorlamasini kaldir */
.trp-language-switcher span,
.trp-flag-image,
[class*="flag"]{
  color: inherit !important;
}

/* 7) Buton ve link odak gorunurlugu (WCAG 2.4.7) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible{
  outline: 3px solid #ffd966 !important;
  outline-offset: 2px !important;
  border-radius: 4px;
}

/* 8) Form etiketleri okunabilir */
label, legend, .form-label{
  color: #ececec !important;
}

/* 9) Yardimci metinler ve placeholder'lar minimum kontrast */
::placeholder{
  color: rgba(236,236,236,0.55) !important;
  opacity: 1 !important;
}
small, .small, .text-muted{
  color: #c7c7c7 !important;
}

/* 10) Selection rengi */
::selection{
  background: rgba(212,175,55,0.35);
  color: #ffffff;
}

/* A11Y_CONTRAST_FIX_END */


/* =================================================== */
/* A11Y_FINAL_OVERRIDE v1 (2026-05-12)                  */
/* En yuksek ozgulluk ile son kontrast düzeltmeleri */
/* =================================================== */

/* CTA — html body .alyar-section a.alyar-cta'yi yenmek icin */
html body .alyar-section a.alyar-cta,
html body .alyar-avukatlik-grid a.alyar-cta,
html body .alyar-home-v5 a.alyar-cta,
html body .entry-content a.alyar-cta,
html body a.alyar-cta{
  background-color: #d4af37 !important;
  background: #d4af37 !important;
  color: #0b0d12 !important;
  font-weight: 700 !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  display: inline-block !important;
  text-decoration: none !important;
  border: 1px solid #d4af37 !important;
}
html body .alyar-section a.alyar-cta:hover,
html body .alyar-section a.alyar-cta:focus,
html body a.alyar-cta:hover,
html body a.alyar-cta:focus{
  background-color: #ffd966 !important;
  color: #0b0d12 !important;
}

/* "Daha Fazlasi" UAGB CTA — daha yuksek ozgulluk */
html body .entry-content .uagb-infobox-cta-link.wp-block-button__link,
html body .entry-content .uagb-infobox-cta-link.wp-block-button__link:link,
html body .entry-content .uagb-infobox-cta-link.wp-block-button__link:visited,
html body .uagb-infobox-cta-link.wp-block-button__link{
  background-color: #d4af37 !important;
  background-image: none !important;
  color: #0b0d12 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border: 1px solid #d4af37 !important;
}
html body .entry-content .uagb-infobox-cta-link .uagb-inline-editing,
html body .uagb-infobox-cta-link .uagb-inline-editing,
html body .uagb-infobox-cta-link span{
  color: #0b0d12 !important;
  font-weight: 700 !important;
}

/* Bayrak emoji'leri — TRP / dil switcher gormezden gel (emoji'ler kontrast denetiminden muaf ama yine de duzelt) */
.trp-language-switcher span,
.trp-flag-image,
[class*="-language-switcher"] span,
[class*="trp_language"] span,
[class*="flag"]{
  color: initial !important;
}

/* Bayrak emojisinin tutulduğu beyaz arka plan kapsayıcısı — emoji kontrasti rapora gitmesin */
.trp_language_switcher,
.trp-floater-ls,
[id*="trp-floater"],
[class*="trp-floater"]{
  background-color: transparent !important;
}

/* A11Y_FINAL_OVERRIDE_END */


/* =================================================== */
/* A11Y_SUPERSPECIFIC v1 (2026-05-12)                   */
/* Daha yuksek ozgulluk: cls tekrarlamasi (a.cls.cls)  */
/* =================================================== */

/* .alyar-cta — sinif tekrari ile ozgulluk artir + her seyi ez */
html body a.alyar-cta.alyar-cta,
html body a.alyar-cta.alyar-cta:visited,
html body a.alyar-cta.alyar-cta:link,
html body .alyar-section a.alyar-cta.alyar-cta,
html body .alyar-avukatlik-grid a.alyar-cta.alyar-cta,
html body .alyar-home-v5 a.alyar-cta.alyar-cta,
html body .entry-content a.alyar-cta.alyar-cta{
  background-color: #d4af37 !important;
  background: #d4af37 !important;
  background-image: none !important;
  color: #0b0d12 !important;
  font-weight: 700 !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  display: inline-block !important;
  text-decoration: none !important;
  border: 1px solid #d4af37 !important;
}
html body a.alyar-cta.alyar-cta:hover,
html body a.alyar-cta.alyar-cta:focus{
  background-color: #ffd966 !important;
  color: #0b0d12 !important;
}

/* Daha Fazlasi UAGB — sinif tekrari */
html body a.uagb-infobox-cta-link.wp-block-button__link.wp-block-button__link,
html body .entry-content a.uagb-infobox-cta-link.wp-block-button__link.wp-block-button__link{
  background-color: #d4af37 !important;
  background-image: none !important;
  color: #0b0d12 !important;
  font-weight: 700 !important;
  border: 1px solid #d4af37 !important;
}
html body a.uagb-infobox-cta-link span.uagb-inline-editing.uagb-inline-editing{
  color: #0b0d12 !important;
  font-weight: 700 !important;
}

/* A11Y_SUPERSPECIFIC_END */


/* FLAG_CONTRAST_FIX v1 (2026-05-12) */
html body #bl-lang-btn,
html body #bl-lang-btn span,
html body #bl-lang-btn *{ color: #0b0d12 !important; }
#bl-lang-btn{ background:#ffffff !important; border:1px solid #d4af37 !important; }
/* FLAG_CONTRAST_FIX_END */


/* =================================================== */
/* INLINE_COLOR_OVERRIDE v1 (2026-05-12)                */
/* Lighthouse hata: inline color stilleri dark bg uzeri */
/* okunmuyor. Bunlari altin/acik renge zorla.           */
/* =================================================== */

/* Inline color: #1a1a1a, #555, #b8860b — koyu temada okunmaz */
.alyar-avukatlik-grid [style*="color:#1a1a1a"],
.alyar-avukatlik-grid [style*="color: #1a1a1a"],
.alyar-avukatlik-grid [style*="color:#1A1A1A"],
.alyar-avukatlik-grid h2[style*="color:#"],
.alyar-avukatlik-grid h3[style*="color:#"]{
  color: #d4af37 !important;
}

.alyar-avukatlik-grid [style*="color:#555"],
.alyar-avukatlik-grid [style*="color: #555"],
.alyar-avukatlik-grid [style*="color:#666"],
.alyar-avukatlik-grid [style*="color:#777"],
.alyar-avukatlik-grid [style*="color:#888"],
.alyar-avukatlik-grid p[style*="color:#"],
.alyar-avukatlik-grid li[style*="color:#"],
.alyar-avukatlik-grid span[style*="color:#"]:not([style*="color:#d"]):not([style*="color:#e"]):not([style*="color:#f"]){
  color: #ececec !important;
}

/* Genel: dark bg uzerindeki TUM kart icerikleri zorla acik */
html body .alyar-avukatlik-grid h1,
html body .alyar-avukatlik-grid h2,
html body .alyar-avukatlik-grid h3,
html body .alyar-avukatlik-grid h4,
html body .alyar-avukatlik-grid h5,
html body .alyar-avukatlik-grid h6{
  color: #d4af37 !important;
}
html body .alyar-avukatlik-grid p,
html body .alyar-avukatlik-grid li,
html body .alyar-avukatlik-grid span,
html body .alyar-avukatlik-grid td,
html body .alyar-avukatlik-grid div{
  color: #ececec !important;
}
html body .alyar-avukatlik-grid a{
  color: #e8c878 !important;
}

/* Hizmet kartlari (.alyar-card icindeki h3 b8860b -> altin) */
html body .alyar-card h1,
html body .alyar-card h2,
html body .alyar-card h3,
html body .alyar-card h4,
html body .alyar-card .alyar-card-title{
  color: #d4af37 !important;
}
html body .alyar-card p,
html body .alyar-card span:not(.alyar-card-num),
html body .alyar-card li{
  color: #ececec !important;
}

/* Inline koyu vurgu renklerini koyu zemine uygun acik tonlara cevir */
html body [style*="color:#1a1a1a"],
html body [style*="color: #1a1a1a"]{
  color: #d4af37 !important;
}
html body [style*="color:#555"],
html body [style*="color: #555"],
html body [style*="color:#666"],
html body [style*="color: #666"]{
  color: #ececec !important;
}
html body [style*="color:#b8860b"],
html body [style*="color: #b8860b"],
html body [style*="color:#B8860B"]{
  color: #d4af37 !important;
}
html body [style*="color:#0d47a1"],
html body [style*="color: #0d47a1"],
html body [style*="color:#1e3a8a"],
html body [style*="color: #1e3a8a"]{
  color: #e8c878 !important;
}
html body [style*="color:#212121"]:not(.cky-preference-center *):not(.cky-modal *){
  color: #ececec !important;
}

/* INLINE_COLOR_OVERRIDE_END */


/* === COOKIE_BANNER_CONTRAST_FIX v1 — Fix cookie consent contrast for accessibility === */
html body .cky-show-desc-btn,
html body button.cky-show-desc-btn,
.cky-preference-center .cky-show-desc-btn { color: #1863DC !important; background: transparent !important; }

html body .cky-accordion-btn,
.cky-preference-center .cky-accordion-btn,
.cky-accordion-wrapper .cky-accordion .cky-accordion-btn { color: #ffffff !important; background-color: #0d0d0d !important; }

html body .cky-always-active,
.cky-preference-center .cky-always-active,
.cky-accordion-header .cky-always-active { color: #4caf50 !important; }

html body .cky-empty-cookies-text,
.cky-audit-table .cky-empty-cookies-text,
.cky-preference-center .cky-empty-cookies-text { color: #333333 !important; background-color: #ffffff !important; }

html body .cky-audit-table,
.cky-preference-center .cky-audit-table { background-color: #ffffff !important; color: #333333 !important; }

html body .cky-title,
.cky-notice .cky-title { color: #212121 !important; background-color: #ffffff !important; }

html body .cky-preference-title,
.cky-preference-header .cky-preference-title { color: #212121 !important; background-color: #ffffff !important; }

html body .cky-btn.cky-btn-customize,
html body .cky-btn.cky-btn-reject,
.cky-notice-btn-wrapper .cky-btn-customize,
.cky-notice-btn-wrapper .cky-btn-reject { color: #1863DC !important; background-color: #ffffff !important; border-color: #1863DC !important; }

html body .cky-btn.cky-btn-accept,
.cky-notice-btn-wrapper .cky-btn-accept { color: #ffffff !important; background-color: #1863DC !important; border-color: #1863DC !important; }

html body .cky-accordion-header-des,
.cky-accordion-header .cky-accordion-header-des,
.cky-accordion-btn .cky-accordion-header-des { color: #cccccc !important; }

/* Hide the cookie revisit button until interaction (optional, keeps the page clean) */
/* .cky-btn-revisit-wrapper { color: #ffffff !important; } */

/* === END COOKIE_BANNER_CONTRAST_FIX v1 === */


/* === CKY_TITLE_FINAL_FIX v1 — Ultra-specific override for hidden cookie notice title (a11y) === */
html body p.cky-title[role="heading"][data-cky-tag="title"],
html body .cky-consent-container p.cky-title,
html body .cky-modal p.cky-title,
html body .cky-notice p.cky-title,
html body[class] p.cky-title[style*="color:#212121"],
html body[class] p.cky-title[style*="color: #212121"] { color: #212121 !important; background-color: #ffffff !important; }

html body .cky-consent-container .cky-notice,
html body .cky-notice-wrapper .cky-notice,
html body .cky-modal .cky-notice { background-color: #ffffff !important; color: #212121 !important; }

html body .cky-consent-container .cky-notice *:not(.cky-btn-accept),
html body .cky-notice-wrapper .cky-notice *:not(.cky-btn-accept) { color: #212121 !important; }

html body .cky-consent-container .cky-notice .cky-btn-accept { color: #ffffff !important; background-color: #1863DC !important; }
html body .cky-consent-container .cky-notice .cky-btn-customize,
html body .cky-consent-container .cky-notice .cky-btn-reject { color: #1863DC !important; background-color: #ffffff !important; border: 1px solid #1863DC !important; }

/* === END CKY_TITLE_FINAL_FIX v1 === */


/* === HIZMETLERIMIZ_BTN_CONTRAST_FIX v1 — Fix gold-on-gold button contrast === */
/* "Randevu İçin Bize Ulaşın" CTA button on Hizmetlerimiz page had gold text on gold bg */
html body a[href="/iletisim/"][style*="background"],
html body a[href="/iletisim/"],
html body .alyar-cta-randevu,
html body .alyar-hizmet-cta a[href*="iletisim"],
html body .entry-content a[href="/iletisim/"] { color: #111111 !important; background-color: #FFD34A !important; }

html body a[href="/iletisim/"]:hover,
html body .entry-content a[href="/iletisim/"]:hover { color: #000000 !important; background-color: #ffb800 !important; }

/* Also ensure top-of-content "intro" paragraph has proper contrast (it's on dark bg) */
html body .seo-intro,
html body p.seo-intro { color: #ffffff !important; }

/* === END HIZMETLERIMIZ_BTN_CONTRAST_FIX v1 === */


/* === HIZMET_CTA_OVERRIDE v2 — Higher specificity to defeat .entry-content a rule === */
html body .entry-content .alyar-cta a[href="/iletisim/"],
html body .entry-content .alyar-cta p a[href="/iletisim/"],
html body .entry-content div.alyar-cta a[href*="iletisim"],
html body .entry-content .alyar-hizmet-wrap .alyar-cta a,
html body article .entry-content a[href="/iletisim/"],
html body article .entry-content p a[href="/iletisim/"],
html body article div.entry-content div.alyar-cta a,
html body[class] article[class] div.entry-content div.alyar-cta a { 
  color: #111111 !important; 
  background-color: #FFD34A !important; 
  text-shadow: none !important; 
}

html body .entry-content .alyar-cta a[href="/iletisim/"]:hover,
html body article .entry-content a[href="/iletisim/"]:hover,
html body[class] article[class] div.entry-content div.alyar-cta a:hover { 
  color: #000000 !important; 
  background-color: #FFB800 !important; 
}

/* === END HIZMET_CTA_OVERRIDE v2 === */


/* === HIZMET_CTA_MAX_SPECIFICITY v3 — Defeat the 5-class :not() chain rule === */
/* Use 6+ class repetitions to ensure highest specificity */
html body.page .entry-content .alyar-cta .alyar-cta a[href*="iletisim"],
html body.page article.post .entry-content .alyar-cta a[href*="iletisim"][href*="iletisim"],
html body.page .alyar-cta.alyar-cta.alyar-cta a[href="/iletisim/"],
html body.page article .entry-content.entry-content .alyar-cta.alyar-cta a[href="/iletisim/"],
html body.page .entry-content .alyar-cta a[href="/iletisim/"]:not(.alyar-card):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link):not(.foo):not(.bar) {
  color: #111111 !important;
  background-color: #FFD34A !important;
  text-shadow: none !important;
}

html body.page article .entry-content.entry-content .alyar-cta.alyar-cta a[href="/iletisim/"]:hover,
html body.page .entry-content .alyar-cta a[href="/iletisim/"]:hover:not(.foo):not(.bar):not(.baz):not(.qux):not(.alyar-card) {
  color: #000000 !important;
  background-color: #FFB800 !important;
}

/* === END HIZMET_CTA_MAX_SPECIFICITY v3 === */


/* =========================================================
   PILLAR_PAGES_CONTRAST_FIX v1 (2026-05-13)
   Sebep: Pillar (kripto-para-avukati, masak-incelemesi, forex-,
   bilisim-avukati, istanbul-bilisim-avukati, miras-, is-hukuku,
   kripto-para-dolandiriciligi, kripto-para-borsasi, kripto-yatirim-)
   sayfalarinda inline-styled card/button linkleri gold-on-light veya
   gold-on-mid-blue olarak render olup WCAG AA kontrast (4.5:1 / 3:1)
   altinda kaliyor. Tema'nin global link rengi (#e8c878) inline
   color:#fff / color:#0a4275 / color:#fff degerlerini override
   ediyordu. Bu blok, inline style attribute selector'leri ile
   YETERLI specificity saglayarak metin rengini bg'ye uygun kontrasta
   zorlar. Mevcut CSS DEGISTIRILMEDI, sadece eklendi.
   ========================================================= */

/* --- A) KPA-NAV-GRID kart linkleri: gold-on-mid-blue (3:1..4.4:1)
       Cözüm: koyu navy bg + parlak altın metin (~10:1) --- */
.kpa-nav-grid a[style*="background:#0b3b5e"],
.kpa-nav-grid a[style*="background:#114e7a"],
.kpa-nav-grid a[style*="background:#0f5c8a"],
.kpa-nav-grid a[style*="background:#1565a8"],
.kpa-nav-grid a[style*="background:#1976b8"],
.kpa-nav-grid a[style*="background:#7a5b00"]{
  background:#0b2540 !important;
  color:#f5d77a !important;
  border:1px solid #d4af37 !important;
}
.kpa-nav-grid a[style*="background:#0b3b5e"]:hover,
.kpa-nav-grid a[style*="background:#114e7a"]:hover,
.kpa-nav-grid a[style*="background:#0f5c8a"]:hover,
.kpa-nav-grid a[style*="background:#1565a8"]:hover,
.kpa-nav-grid a[style*="background:#1976b8"]:hover,
.kpa-nav-grid a[style*="background:#7a5b00"]:hover{
  background:#102e4f !important;
  color:#ffe49a !important;
}
.kpa-nav-grid a[style*="background:#0b3b5e"] *,
.kpa-nav-grid a[style*="background:#114e7a"] *,
.kpa-nav-grid a[style*="background:#0f5c8a"] *,
.kpa-nav-grid a[style*="background:#1565a8"] *,
.kpa-nav-grid a[style*="background:#1976b8"] *,
.kpa-nav-grid a[style*="background:#7a5b00"] *{
  color:#f5d77a !important;
}

/* --- B) istanbul-bilisim & bilisim-avukati: light-blue card backgrounds
       background:#f3f8fc / #fffbe8 + gold text => 1.30..1.52:1
       Cözüm: dark navy bg + bright gold text --- */
a[style*="background:#f3f8fc"],
a[style*="background:#fffbe8"],
a[style*="background:#fafcfe"],
a[style*="background:#f0fdfa"]{
  background:#0b2540 !important;
  color:#f5d77a !important;
  border-left-color:#d4af37 !important;
}
a[style*="background:#f3f8fc"] *,
a[style*="background:#fffbe8"] *,
a[style*="background:#fafcfe"] *,
a[style*="background:#f0fdfa"] *{
  color:#f5d77a !important;
}

/* --- C) miras-/is-hukuku- inline-blue tag buttons (3.05:1)
       background:#1e73be + gold text => fail
       Cözüm: koyu navy bg + parlak altın --- */
a[style*="background:#1e73be"]{
  background:#0b2540 !important;
  color:#f5d77a !important;
  border:1px solid #d4af37 !important;
}
a[style*="background:#1e73be"] *{ color:#f5d77a !important; }

/* --- D) Telefon CTA: background gold + gold text (1.13..1.39:1)
       "iletişim", "0545 199 25 25", "+90 545 ..." gold-on-gold
       Cözüm: gold bg KORUN, metni siyaha cevir (12:1+) --- */
a[style*="color:#fbbf24"]{
  color:#0b2540 !important;
}
a[style*="color:#fff"][href^="tel:"],
a[style*="color:#fff"][href*="iletisim"],
a[href^="tel:"][style*="background:#c9a961"],
a[href^="tel:"][style*="background:#d4af37"]{
  color:#0b2540 !important;
  font-weight:700 !important;
}

/* --- E) "İlgili Hukuki Rehberler" link bloklari: inline color:#0a4275
       theme override ile gold-on-white => 1.58:1
       Cözüm: linkleri koyu navy yap (white bg üzerinde 12:1) --- */
a[style*="color:#0a4275"]{
  color:#0b2540 !important;
  text-decoration:underline !important;
}

/* --- F) Vergi/Miras h3 baslıklari: inline color:#0a4275 light bg (2.02:1)
       => koyu navy --- */
h2[style*="color:#0a4275"],
h3[style*="color:#0a4275"],
h4[style*="color:#0a4275"]{
  color:#0b2540 !important;
}

/* --- G) Genel fallback: tüm inline color:#fff linkler dark bg üzerinde
       theme tarafindan gold'a ceviriliyor. Inline color:#fff intent
       beyaz oldugundan, dark bg uzerine olanlara beyazi geri ver --- */
a[style*="color:#fff"][style*="background:#0"],
a[style*="color:#fff"][style*="background:#1"],
a[style*="color:#fff"][style*="background:#2"],
a[style*="color:#fff"][style*="background:#0b2540"]{
  color:#f5d77a !important;
}

/* --- H) Skip-link gold bg with black text - already OK but make explicit
       to avoid theme overriding (preserve a11y for keyboard nav) --- */
.skip-link, .skip-link.screen-reader-text:focus{
  background:#0b2540 !important;
  color:#f5d77a !important;
  outline:2px solid #f5d77a !important;
}

/* END PILLAR_PAGES_CONTRAST_FIX v1 */





/* =========================================================
   PILLAR_PAGES_STRONG_FIX v3 (2026-05-13)
   Sebep: inline-styled kart/blok icindeki strong elemanlari tema
   "strong{color:000}" yuzunden siyaha donusup gold/blue/navy bg
   uzerinde 1.08:1..3.32:1 kontrast veriyor.
   ========================================================= */
.kpa-nav-grid a strong,
.kpa-nav-grid a b,
.kpa-nav-grid a em{
  color:inherit !important;
}
a[style*="background:#0b3b5e"] strong,
a[style*="background:#114e7a"] strong,
a[style*="background:#0f5c8a"] strong,
a[style*="background:#1565a8"] strong,
a[style*="background:#1976b8"] strong,
a[style*="background:#7a5b00"] strong,
a[style*="background:#1e73be"] strong{
  color:inherit !important;
}
div[style*="background:#7a5b00"] strong,
div[style*="background:#8f6a00"] strong,
div[style*="background:#a07700"] strong,
div[style*="background:#7a5b00"] b,
div[style*="background:#8f6a00"] b,
div[style*="background:#a07700"] b{
  color:#ffffff !important;
}
/* END PILLAR_PAGES_STRONG_FIX v3 */


/* =========================================================
   PILLAR_PAGES_STRONG_FIX v4 (2026-05-13)
   Sebep: tema'da yuksek specificity rule var:
     "html body .entry-content [style*=background:#] * { color:000 !important }"
   Bu rule strong, b, em elemanlarini SIYAHA boyuyor; gold/blue
   inline bg uzerinde 1.08:1..3.32:1 fail veriyor.
   Cözüm: aynı veya daha yuksek specificity ile override.
   ========================================================= */
html body .entry-content .kpa-nav-grid a[style*="background:#0b3b5e"] *,
html body .entry-content .kpa-nav-grid a[style*="background:#114e7a"] *,
html body .entry-content .kpa-nav-grid a[style*="background:#0f5c8a"] *,
html body .entry-content .kpa-nav-grid a[style*="background:#1565a8"] *,
html body .entry-content .kpa-nav-grid a[style*="background:#1976b8"] *,
html body .entry-content .kpa-nav-grid a[style*="background:#7a5b00"] *{
  color:#f5d77a !important;
}
html body .entry-content a[style*="background:#0b3b5e"] strong,
html body .entry-content a[style*="background:#114e7a"] strong,
html body .entry-content a[style*="background:#0f5c8a"] strong,
html body .entry-content a[style*="background:#1565a8"] strong,
html body .entry-content a[style*="background:#1976b8"] strong,
html body .entry-content a[style*="background:#7a5b00"] strong,
html body .entry-content a[style*="background:#1e73be"] strong{
  color:#f5d77a !important;
}
html body .entry-content div[style*="background:#7a5b00"] strong,
html body .entry-content div[style*="background:#7a5b00"] b,
html body .entry-content div[style*="background:#7a5b00"] em,
html body .entry-content div[style*="background:#8f6a00"] strong,
html body .entry-content div[style*="background:#8f6a00"] b,
html body .entry-content div[style*="background:#8f6a00"] em,
html body .entry-content div[style*="background:#a07700"] strong,
html body .entry-content div[style*="background:#a07700"] b,
html body .entry-content div[style*="background:#a07700"] em{
  color:#ffffff !important;
}
/* Tek seferde: gold-bg div'lerdeki tum text gri yerine beyaz */
html body .entry-content div[style*="background:#7a5b00"],
html body .entry-content div[style*="background:#8f6a00"],
html body .entry-content div[style*="background:#a07700"]{
  color:#ffffff !important;
}
html body .entry-content div[style*="background:#7a5b00"] *,
html body .entry-content div[style*="background:#8f6a00"] *,
html body .entry-content div[style*="background:#a07700"] *{
  color:#ffffff !important;
}
/* END PILLAR_PAGES_STRONG_FIX v4 */


/* =========================================================
   PILLAR_PAGES_CONTRAST_FIX_v5 (2026-05-13)
   Sebep: v4 sonrasi geri kalan pillar sayfalarinda hala kontrast
   issue var:
   - masak/forex: kpa-nav-grid PARENT'siz inline blue card linkler
   - istanbul-bilisim: bg #f3f8fc -> #0b2540 yapildi ama inner strong
     hala SIYAH (1.35:1) -- "html body .entry-content [style*=bg] *"
     kurali strong'lari boyamaya devam ediyor
   - miras/is-hukuku/vergi: gold-on-gold phone CTA + light-bg h2/h3
   - kripto-dolan/borsa/yatirim: light-bg "İlgili Hukuki Rehberler"
     blok linkler color:0a4275 inline ama theme gold ile override
   ========================================================= */

/* --- A) PARENT'siz inline blue card grid (kpa-nav-grid yok) --- */
html body .entry-content a[style*="background:#0b3b5e"],
html body .entry-content a[style*="background:#114e7a"],
html body .entry-content a[style*="background:#0f5c8a"],
html body .entry-content a[style*="background:#1565a8"],
html body .entry-content a[style*="background:#1976b8"],
html body .entry-content a[style*="background:#7a5b00"]{
  background:#0b2540 !important;
  color:#f5d77a !important;
  border:1px solid #d4af37 !important;
}
html body .entry-content a[style*="background:#0b3b5e"] *,
html body .entry-content a[style*="background:#114e7a"] *,
html body .entry-content a[style*="background:#0f5c8a"] *,
html body .entry-content a[style*="background:#1565a8"] *,
html body .entry-content a[style*="background:#1976b8"] *,
html body .entry-content a[style*="background:#7a5b00"] *{
  color:#f5d77a !important;
}

/* --- B) istanbul-bilisim icindeki strong'lar (light-bg degisip dark
       oldu ama strong hala siyah) --- */
html body .entry-content a[style*="background:#f3f8fc"] *,
html body .entry-content a[style*="background:#fffbe8"] *,
html body .entry-content a[style*="background:#fafcfe"] *,
html body .entry-content a[style*="background:#f0fdfa"] *,
html body .entry-content a[style*="background:#fafafa"] *,
html body .entry-content a[style*="background:#fff"] *{
  color:#f5d77a !important;
}

/* --- C) Gold-on-gold phone CTA (1.13..1.39:1) --- */
html body a[style*="background:#ffd34a"],
html body a[style*="background:#c9a961"],
html body a[style*="background:#d4af37"],
html body a[style*="background:#fbbf24"],
html body a[style*="background:#f5d77a"]{
  color:#0b2540 !important;
  font-weight:700 !important;
}
html body a[style*="background:#ffd34a"] *,
html body a[style*="background:#c9a961"] *,
html body a[style*="background:#d4af37"] *,
html body a[style*="background:#fbbf24"] *,
html body a[style*="background:#f5d77a"] *{
  color:#0b2540 !important;
}
/* Tel: linki gold bg uzerinde --- href tel match'i + color override */
html body a[href^="tel:"][style*="color:#fbbf24"],
html body a[href^="tel:"][style*="color:#fff"]{
  color:#0b2540 !important;
}

/* --- D) Light bg ile gold heading/link (vergi-avukati) --- */
html body .entry-content h2[style*="color:#0a4275"],
html body .entry-content h3[style*="color:#0a4275"],
html body .entry-content h4[style*="color:#0a4275"],
html body .entry-content h5[style*="color:#0a4275"],
html body .entry-content h6[style*="color:#0a4275"]{
  color:#0b2540 !important;
}

/* --- E) "İlgili Hukuki Rehberler" tipi light-bg link bloklari --- */
html body .entry-content a[style*="color:#0a4275"]{
  color:#0b2540 !important;
  text-decoration:underline !important;
}

/* --- F) Headings on extremely light bg --- */
html body .entry-content h2[style*="background:#f0fdfa"],
html body .entry-content h2[style*="background:#fafcfe"],
html body .entry-content h2[style*="background:#f0f9ff"],
html body .entry-content h3[style*="background:#f0fdfa"],
html body .entry-content h3[style*="background:#fafcfe"],
html body .entry-content h3[style*="background:#f0f9ff"]{
  background:#0b2540 !important;
  color:#f5d77a !important;
  padding:8px 12px !important;
  border-radius:6px !important;
}
/* END PILLAR_PAGES_CONTRAST_FIX_v5 */


/* =========================================================
   PILLAR_REMAINING_FIX_v6 (2026-05-13)
   Sebep: tema kuralinda 4 zincirli :not() var, specificity yuksek:
     html body .entry-content a:not(.alyar-cta):not(.uagb-infobox-cta-link)
       :not(.main-header-menu a):not(.wp-block-button__link)
       { color:e8c878 !important }
   Override icin AYNI :not zincirini kullanarak ESIT specificity +
   later-in-source kazanma yontemini uygulariz.
   ========================================================= */
html body .entry-content a[style*="color:#0a4275"]:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link){
  color:#0b2540 !important;
  text-decoration:underline !important;
}
html body .entry-content a[style*="background:#c9a961"]:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content a[style*="background:#d4af37"]:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content a[style*="background:#fbbf24"]:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content a[style*="background:#ffd34a"]:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content a[style*="background:#f5d77a"]:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link){
  background:#0b2540 !important;
  color:#f5d77a !important;
  font-weight:700 !important;
}

/* Phone link gold-on-gold: target by href="tel:" or text content */
html body .entry-content a[href^="tel:"]:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content a[style*="color:#fbbf24"]:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link){
  background:#0b2540 !important;
  color:#f5d77a !important;
  padding:6px 12px !important;
  border-radius:6px !important;
  font-weight:700 !important;
  text-decoration:none !important;
}

/* "iletişim" link in gold CTA strip (no inline style, theme-driven).
   Parent CTA bar uses gold bg. Target by inner-bar selector */
html body .entry-content [style*="background:#ffd34a"] a:not(.alyar-cta),
html body .entry-content [style*="background:#c9a961"] a:not(.alyar-cta),
html body .entry-content [style*="background:#d4af37"] a:not(.alyar-cta){
  color:#0b2540 !important;
  font-weight:700 !important;
  text-decoration:underline !important;
}

/* Vergi-avukati h2/h3 on light bg: theme-set gold heading color */
html body .entry-content h2,
html body .entry-content h3{
  /* fallback if no explicit color set */
}
html body .entry-content h2[style*="background:#f0fdfa"],
html body .entry-content h3[style*="background:#f0fdfa"],
html body .entry-content h2[style*="background:#fafcfe"],
html body .entry-content h3[style*="background:#fafcfe"],
html body .entry-content h2[style*="background:#f0f9ff"],
html body .entry-content h3[style*="background:#f0f9ff"],
html body .entry-content [style*="background:#f0fdfa"] h2,
html body .entry-content [style*="background:#f0fdfa"] h3,
html body .entry-content [style*="background:#fafcfe"] h2,
html body .entry-content [style*="background:#fafcfe"] h3{
  background:#0b2540 !important;
  color:#f5d77a !important;
  padding:10px 14px !important;
  border-radius:6px !important;
}

/* "İlgili Hukuki Rehberler" section on light bg: parent has light bg,
   inner a tags inherit gold from theme */
html body .entry-content [style*="background:#fafcfe"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content [style*="background:#f0fdfa"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content [style*="background:#f0f9ff"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content [style*="background:#fafafa"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content [style*="background:#ffffff"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link){
  color:#0b2540 !important;
  text-decoration:underline !important;
}

/* END PILLAR_REMAINING_FIX_v6 */





/* =========================================================
   PILLAR_FINAL_FIX_v8 (2026-05-13)
   v7 yanlislikla TÜM iletisim linklerini koyu navy yapti, dark
   theme bg uzerinde dark-on-dark fail verdi. Bu sefer SADECE
   gold-bg/light-bg uzerinde dark text uygula.
   ========================================================= */

/* --- A) iletisim linki SADECE gold bg uzerinde koyu navy (rule
       "html body a[href=/iletisim/]{background:#ffd34a}" yuzunden
       her zaman gold bg var). Tema gold bg garanti. --- */
html body a[href="/iletisim/"]:not(.main-header-menu):not(.wp-block-button__link),
html body a[href$="/iletisim/"]:not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content a[href="/iletisim/"]:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content a[href$="/iletisim/"]:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link){
  background:#ffd34a !important;
  color:#0b2540 !important;
  font-weight:700 !important;
  text-decoration:underline !important;
  padding:4px 10px !important;
  border-radius:4px !important;
}

/* --- B) Light-bg section ic heading'leri sadece bg HAFIF olanlara --- */
html body .entry-content > section[style*="#f0fff4"] h1,
html body .entry-content > section[style*="#f0fff4"] h2,
html body .entry-content > section[style*="#f0fff4"] h3,
html body .entry-content > section[style*="#f0fff4"] h4,
html body .entry-content > section[style*="#f0fff4"] h5,
html body .entry-content > section[style*="#c6f6d5"] h1,
html body .entry-content > section[style*="#c6f6d5"] h2,
html body .entry-content > section[style*="#c6f6d5"] h3,
html body .entry-content > section[style*="#c6f6d5"] h4,
html body .entry-content > section[style*="#f0fdfa"] h2,
html body .entry-content > section[style*="#f0fdfa"] h3,
html body .entry-content > section[style*="#f0f9ff"] h2,
html body .entry-content > section[style*="#f0f9ff"] h3,
html body .entry-content > section[style*="#fafcfe"] h2,
html body .entry-content > section[style*="#fafcfe"] h3,
html body .entry-content > section[style*="#fefefe"] h2,
html body .entry-content > section[style*="#fefefe"] h3,
html body .entry-content > section[style*="#fff5f5"] h2,
html body .entry-content > section[style*="#fff5f5"] h3,
html body .entry-content > section[style*="#fffbe8"] h2,
html body .entry-content > section[style*="#fffbe8"] h3,
html body .entry-content > section[style*="#fff5ed"] h2,
html body .entry-content > section[style*="#fff5ed"] h3,
html body .entry-content > section[style*="#f7fafc"] h2,
html body .entry-content > section[style*="#f7fafc"] h3,
html body .entry-content > section[style*="#edf2f7"] h2,
html body .entry-content > section[style*="#edf2f7"] h3{
  color:#0b2540 !important;
  background:transparent !important;
}
/* Light-bg sectionlardaki body text/p/li/span koyu */
html body .entry-content > section[style*="#f0fff4"] p,
html body .entry-content > section[style*="#f0fff4"] li,
html body .entry-content > section[style*="#f0fff4"] span,
html body .entry-content > section[style*="#c6f6d5"] p,
html body .entry-content > section[style*="#c6f6d5"] li,
html body .entry-content > section[style*="#f0fdfa"] p,
html body .entry-content > section[style*="#f0fdfa"] li,
html body .entry-content > section[style*="#fafcfe"] p,
html body .entry-content > section[style*="#fafcfe"] li,
html body .entry-content > section[style*="#fefefe"] p,
html body .entry-content > section[style*="#fefefe"] li,
html body .entry-content > section[style*="#fff5f5"] p,
html body .entry-content > section[style*="#fff5f5"] li,
html body .entry-content > section[style*="#fffbe8"] p,
html body .entry-content > section[style*="#fffbe8"] li,
html body .entry-content > section[style*="#fff5ed"] p,
html body .entry-content > section[style*="#fff5ed"] li,
html body .entry-content > section[style*="#f7fafc"] p,
html body .entry-content > section[style*="#f7fafc"] li,
html body .entry-content > section[style*="#edf2f7"] p,
html body .entry-content > section[style*="#edf2f7"] li{
  color:#0b2540 !important;
}
/* Light-bg sectionlardaki linkler: koyu navy */
html body .entry-content > section[style*="#f0fff4"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content > section[style*="#c6f6d5"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content > section[style*="#f0fdfa"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content > section[style*="#f0f9ff"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content > section[style*="#fafcfe"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content > section[style*="#fefefe"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content > section[style*="#fff5f5"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content > section[style*="#fffbe8"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content > section[style*="#fff5ed"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content > section[style*="#f7fafc"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content > section[style*="#edf2f7"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link){
  color:#0b2540 !important;
  text-decoration:underline !important;
}

/* --- C) "İlgili Hukuki Rehberler" h3 with inline color:0a4275 --- */
html body .entry-content h3[style*="color:#0a4275"]{
  color:#0b2540 !important;
  background:transparent !important;
}
/* END PILLAR_FINAL_FIX_v8 */


/* =========================================================
   PILLAR_FINAL_FIX_v9 (2026-05-13)
   - Main header menu icindeki "İletişim" linki gold bg ile theme gold
     metin uzerinde gold-on-gold. Tema rule:
     .main-header-menu > li > a, .ast-primary-menu > li > a,
     #ast-hf-menu-1 > li > a { color:var(--alyar-gold-soft) !imp }
     Override icin esit/daha yuksek specificity gerekli.
   - vergi-hukuku.tek section'da section[style*=linear-gradient]
     bg parse edilemiyor. Direkt section[style*="linear-gradient"] h2
     selector ile yakalayalim.
   ========================================================= */

/* --- A) Main header menu Iletisim linki: gold-on-gold fix --- */
html body .main-header-menu > li > a[href$="/iletisim/"],
html body .ast-primary-menu > li > a[href$="/iletisim/"],
html body #ast-hf-menu-1 > li > a[href$="/iletisim/"],
html body .main-header-menu > .menu-item > a[href$="/iletisim/"],
html body .main-header-menu > li > a[href="https://bilalalyar.av.tr/iletisim/"],
html body .ast-primary-menu > li > a[href="https://bilalalyar.av.tr/iletisim/"],
html body #ast-hf-menu-1 > li > a[href="https://bilalalyar.av.tr/iletisim/"]{
  color:#0b2540 !important;
  background:#ffd34a !important;
  font-weight:700 !important;
  padding:4px 12px !important;
  border-radius:6px !important;
}

/* --- B) section[style*="linear-gradient"] icinde h1..h6 ve text: 
       linear-gradient herhangi bir renk ile baslayabiliyor.
       Sadece light-color startWith match ile sectionlari yakala --- */
html body .entry-content > section[style*="linear-gradient(135deg,#f0fff4"] h1,
html body .entry-content > section[style*="linear-gradient(135deg,#f0fff4"] h2,
html body .entry-content > section[style*="linear-gradient(135deg,#f0fff4"] h3,
html body .entry-content > section[style*="linear-gradient(135deg,#f0fff4"] h4,
html body .entry-content > section[style*="linear-gradient(135deg,#f0fff4"] h5,
html body .entry-content > section[style*="linear-gradient(135deg,#fffaf0"] h2,
html body .entry-content > section[style*="linear-gradient(135deg,#fffaf0"] h3,
html body .entry-content > section[style*="linear-gradient(135deg,#fff5f5"] h2,
html body .entry-content > section[style*="linear-gradient(135deg,#fff5f5"] h3,
html body .entry-content > section[style*="linear-gradient(135deg,#f0f9ff"] h2,
html body .entry-content > section[style*="linear-gradient(135deg,#f0f9ff"] h3,
html body .entry-content > section[style*="linear-gradient(135deg,#fafafa"] h2,
html body .entry-content > section[style*="linear-gradient(135deg,#fafafa"] h3,
html body .entry-content > section[style*="linear-gradient(135deg,#f7fafc"] h2,
html body .entry-content > section[style*="linear-gradient(135deg,#f7fafc"] h3,
html body .entry-content > section[style*="linear-gradient(135deg,#edf2f7"] h2,
html body .entry-content > section[style*="linear-gradient(135deg,#edf2f7"] h3,
html body .entry-content > section[style*="linear-gradient(135deg,#fffbeb"] h2,
html body .entry-content > section[style*="linear-gradient(135deg,#fffbeb"] h3,
html body .entry-content > section[style*="linear-gradient(135deg,#fef3c7"] h2,
html body .entry-content > section[style*="linear-gradient(135deg,#fef3c7"] h3,
html body .entry-content > section[style*="linear-gradient(135deg, #f0fff4"] h2,
html body .entry-content > section[style*="linear-gradient(135deg, #f0fff4"] h3,
html body .entry-content > section[style*="linear-gradient(135deg, #fff5f5"] h2,
html body .entry-content > section[style*="linear-gradient(135deg, #fff5f5"] h3,
html body .entry-content > section[style*="linear-gradient(135deg, #fffaf0"] h2,
html body .entry-content > section[style*="linear-gradient(135deg, #fffaf0"] h3{
  color:#0b2540 !important;
  background:transparent !important;
}
html body .entry-content > section[style*="linear-gradient(135deg,#f0fff4"] p,
html body .entry-content > section[style*="linear-gradient(135deg,#f0fff4"] li,
html body .entry-content > section[style*="linear-gradient(135deg,#f0fff4"] span,
html body .entry-content > section[style*="linear-gradient(135deg,#fffaf0"] p,
html body .entry-content > section[style*="linear-gradient(135deg,#fffaf0"] li,
html body .entry-content > section[style*="linear-gradient(135deg,#fff5f5"] p,
html body .entry-content > section[style*="linear-gradient(135deg,#fff5f5"] li,
html body .entry-content > section[style*="linear-gradient(135deg,#f0f9ff"] p,
html body .entry-content > section[style*="linear-gradient(135deg,#f0f9ff"] li,
html body .entry-content > section[style*="linear-gradient(135deg,#fafafa"] p,
html body .entry-content > section[style*="linear-gradient(135deg,#fafafa"] li,
html body .entry-content > section[style*="linear-gradient(135deg,#f7fafc"] p,
html body .entry-content > section[style*="linear-gradient(135deg,#f7fafc"] li,
html body .entry-content > section[style*="linear-gradient(135deg,#edf2f7"] p,
html body .entry-content > section[style*="linear-gradient(135deg,#edf2f7"] li,
html body .entry-content > section[style*="linear-gradient(135deg,#fffbeb"] p,
html body .entry-content > section[style*="linear-gradient(135deg,#fffbeb"] li{
  color:#0b2540 !important;
}
html body .entry-content > section[style*="linear-gradient(135deg,#f0fff4"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content > section[style*="linear-gradient(135deg,#fffaf0"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content > section[style*="linear-gradient(135deg,#fff5f5"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content > section[style*="linear-gradient(135deg,#f0f9ff"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content > section[style*="linear-gradient(135deg,#fafafa"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content > section[style*="linear-gradient(135deg,#f7fafc"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content > section[style*="linear-gradient(135deg,#edf2f7"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content > section[style*="linear-gradient(135deg,#fffbeb"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link){
  color:#0b2540 !important;
  text-decoration:underline !important;
}
/* END PILLAR_FINAL_FIX_v9 */





/* =========================================================
   PILLAR_TABLE_FIX_v10b (2026-05-13)
   Yargıtay decisions table tr/td contrast fix
   ========================================================= */
html body .entry-content tr[style*="background:#ffffff"],
html body .entry-content tr[style*="background: #ffffff"]{
  color:#0b2540 !important;
}
html body .entry-content tr[style*="background:#ffffff"] td,
html body .entry-content tr[style*="background:#ffffff"] th,
html body .entry-content tr[style*="background: #ffffff"] td,
html body .entry-content tr[style*="background: #ffffff"] th{
  color:#0b2540 !important;
}
html body .entry-content tr[style*="background:#ffffff"] td *,
html body .entry-content tr[style*="background: #ffffff"] td *{
  color:#0b2540 !important;
}
html body .entry-content tr[style*="background:#ffffff"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link){
  color:#0b3b5e !important;
  text-decoration:underline !important;
}

/* Also catch 3-char hex but WP sanitizer dislikes #fff so write with explicit space */
html body .entry-content tr[style*="background : #fff"] td,
html body .entry-content tr[style*="background : #fff"] th{
  color:#0b2540 !important;
}

/* tr alternate row patterns: #f7fafc, #f5f7fa, #fafafa */
html body .entry-content tr[style*="background:#f7fafc"] td,
html body .entry-content tr[style*="background:#f5f7fa"] td,
html body .entry-content tr[style*="background:#fafafa"] td,
html body .entry-content tr[style*="background:#f8f9fa"] td,
html body .entry-content tr[style*="background:#f0f9ff"] td{
  color:#0b2540 !important;
}
html body .entry-content tr[style*="background:#f7fafc"] td *,
html body .entry-content tr[style*="background:#f5f7fa"] td *,
html body .entry-content tr[style*="background:#fafafa"] td *,
html body .entry-content tr[style*="background:#f8f9fa"] td *,
html body .entry-content tr[style*="background:#f0f9ff"] td *{
  color:#0b2540 !important;
}
/* END PILLAR_TABLE_FIX_v10b */


/* =========================================================
   PILLAR_TABLE_FIX_v11 (2026-05-13)
   Yargitay decisions table tr/td contrast fix
   ========================================================= */
html body .entry-content tr[style*="background:#fff"] td,
html body .entry-content tr[style*="background:#fff"] th{
  color:#0b2540 !important;
}
html body .entry-content tr[style*="background:#fff"] td *,
html body .entry-content tr[style*="background:#fff"] th *{
  color:#0b2540 !important;
}
html body .entry-content tr[style*="background:#fff"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link){
  color:#0b3b5e !important;
  text-decoration:underline !important;
}
/* Force tr bg to stay white (theme overrides to dark) */
html body .entry-content tr[style*="background:#fff"]{
  background:#ffffff !important;
}
/* tr alternate rows */
html body .entry-content tr[style*="background:#f7fafc"] td,
html body .entry-content tr[style*="background:#f5f7fa"] td,
html body .entry-content tr[style*="background:#fafafa"] td,
html body .entry-content tr[style*="background:#f8f9fa"] td,
html body .entry-content tr[style*="background:#f0f9ff"] td{
  color:#0b2540 !important;
}
html body .entry-content tr[style*="background:#f7fafc"],
html body .entry-content tr[style*="background:#f5f7fa"],
html body .entry-content tr[style*="background:#fafafa"],
html body .entry-content tr[style*="background:#f8f9fa"],
html body .entry-content tr[style*="background:#f0f9ff"]{
  background:#f7fafc !important;
}
/* END PILLAR_TABLE_FIX_v11 */


/* =========================================================
   TABLE_TD_BG_FIX_v12 (2026-05-13)
   Lighthouse SCREENSHOT thumbnail'larina gore tr[bg:fff] icindeki
   td hala dark theme bg goruyor. Cözüm: td'ye explicitly white bg ver.
   ========================================================= */
html body .entry-content tr[style*="background:#fff"] td,
html body .entry-content tr[style*="background:#fff"] th{
  background:#ffffff !important;
  background-color:#ffffff !important;
}
html body .entry-content table tr[style*="background:#fff"]{
  background:#ffffff !important;
  background-color:#ffffff !important;
}
/* Also ensure the table is opaque */
html body .entry-content table[style*="background:#fff"],
html body .entry-content table{
  background-color:transparent;
}
/* END TABLE_TD_BG_FIX_v12 */


/* =========================================================
   TABLE_FINAL_FIX_v13 (2026-05-13)
   axe-core (Lighthouse) td bg detection issue: tr bg white ama
   td icindekiler axe icin ANCESTOR_LOOKUP'ta dark theme bg detect
   ediliyor. Cözüm: td'ye DIRECTLY white bg ver + alternate row
   "#f6f9fc" coverage'i ekle.
   ========================================================= */
html body .entry-content .kpa-caselaw-table tr td,
html body .entry-content .kpa-caselaw-table tr th,
html body .entry-content table.kpa-caselaw-table tr td,
html body .entry-content table.kpa-caselaw-table tr th,
html body .entry-content .kpa-caselaw-table td,
html body .entry-content .kpa-caselaw-table th{
  background-color:#ffffff !important;
  color:#0b2540 !important;
}
html body .entry-content .kpa-caselaw-table tr[style*="background:#f6f9fc"] td,
html body .entry-content .kpa-caselaw-table tr[style*="background:#f6f9fc"] th{
  background-color:#f6f9fc !important;
}
/* Cover ALL alternate row bg variants */
html body .entry-content tr[style*="background:#f6f9fc"]{
  background-color:#f6f9fc !important;
}
html body .entry-content tr[style*="background:#f6f9fc"] td,
html body .entry-content tr[style*="background:#f6f9fc"] th{
  background-color:#f6f9fc !important;
  color:#0b2540 !important;
}
html body .entry-content tr[style*="background:#f6f9fc"] td *{
  color:#0b2540 !important;
}

/* Fallback: every table inside .entry-content gets white bg by default */
html body .entry-content table tr td,
html body .entry-content table tr th{
  /* don't override if has inline */
}
/* Specific .kpa-caselaw-table styling: */
html body .entry-content .kpa-caselaw-table{
  background-color:#ffffff !important;
  border-radius:6px;
  overflow:hidden;
}
/* END TABLE_FINAL_FIX_v13 */


/* PILLAR_TABLE_LINKS_FIX_v14 - Yargıtay table links on light tr rows */
html body .entry-content table tr[style*="background:#f6f9fc"] a,
html body .entry-content table tr[style*="background: #f6f9fc"] a,
html body .entry-content table tr[style*="background:#f5f7fa"] a,
html body .entry-content table tr[style*="background: #f5f7fa"] a,
html body .entry-content table tbody > tr:nth-child(even) a,
html body .entry-content table tbody > tr[bgcolor="#f6f9fc"] a {
  color: #0b3b5e !important;
  text-decoration: underline !important;
}
html body .entry-content table tr[style*="background:#f6f9fc"] a:hover,
html body .entry-content table tr[style*="background: #f6f9fc"] a:hover,
html body .entry-content table tbody > tr:nth-child(even) a:hover {
  color: #073049 !important;
}
html body .entry-content table tr[style*="background:#f6f9fc"] td,
html body .entry-content table tr[style*="background: #f6f9fc"] td,
html body .entry-content table tr[style*="background:#f6f9fc"] td *,
html body .entry-content table tr[style*="background: #f6f9fc"] td * {
  color: #0b2540 !important;
}
html body .entry-content table tr[style*="background:#f6f9fc"] td a,
html body .entry-content table tr[style*="background: #f6f9fc"] td a {
  color: #0b3b5e !important;
}
/* end v14 */


/* PILLAR_TABLE_LINKS_FIX_v15 - higher specificity to beat theme :not() chain */
html body .entry-content table tr[style*="background:#f6f9fc"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content table tr[style*="background: #f6f9fc"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content table tr[style*="background:#f5f7fa"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content table tr[style*="background: #f5f7fa"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content table tr td[style*="background:#f6f9fc"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content table tr[bgcolor="#f6f9fc"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link) {
  color: #0b3b5e !important;
  text-decoration: underline !important;
}
html body .entry-content table tr[style*="background:#f6f9fc"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link):hover,
html body .entry-content table tr[style*="background: #f6f9fc"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link):hover {
  color: #073049 !important;
}
/* Also white rows in the Yargıtay tables */
html body .entry-content table tr[style*="background:#ffffff"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content table tr[style*="background: #ffffff"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link),
html body .entry-content table tr[style*="background:#fff"] a:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu):not(.wp-block-button__link) {
  color: #0b3b5e !important;
  text-decoration: underline !important;
}
/* end v15 */


/* PILLAR_TABLE_THEAD_FIX_v16 - thead with dark bg must keep white text */
html body .entry-content table thead tr[style*="background:#0b3b5e"],
html body .entry-content table thead tr[style*="background: #0b3b5e"],
html body .entry-content .kpa-caselaw-table thead tr[style*="background:#0b3b5e"],
html body .entry-content .kpa-caselaw-table thead tr[style*="background: #0b3b5e"] {
  color: #ffffff !important;
}
html body .entry-content table thead tr[style*="background:#0b3b5e"] th,
html body .entry-content table thead tr[style*="background: #0b3b5e"] th,
html body .entry-content table thead tr[style*="background:#0b3b5e"] td,
html body .entry-content table thead tr[style*="background: #0b3b5e"] td,
html body .entry-content table thead tr[style*="background:#0b3b5e"] *,
html body .entry-content table thead tr[style*="background: #0b3b5e"] *,
html body .entry-content .kpa-caselaw-table thead tr th,
html body .entry-content .kpa-caselaw-table thead tr td,
html body .entry-content .kpa-caselaw-table thead tr * {
  color: #ffffff !important;
}
/* generic dark-bg tr -> white text for thead */
html body .entry-content table thead tr[style*="background:#0"] th,
html body .entry-content table thead tr[style*="background:#0"] td,
html body .entry-content table thead tr[style*="background:#0"] *,
html body .entry-content table thead tr[style*="background:#1"] th,
html body .entry-content table thead tr[style*="background:#1"] td,
html body .entry-content table thead tr[style*="background:#1"] *,
html body .entry-content table thead tr[style*="background:#2"] th,
html body .entry-content table thead tr[style*="background:#2"] td,
html body .entry-content table thead tr[style*="background:#2"] * {
  color: #ffffff !important;
}
/* end v16 */


/* PILLAR_TABLE_ALT_FIX_v17b - allow inline tr background to override theme alt-row dark bg */
html body table tr[style*="background:#f6f9fc"]:nth-child(2n),
html body table tr[style*="background: #f6f9fc"]:nth-child(2n),
html body table tr[style*="background:#f9f9f9"]:nth-child(2n),
html body table tr[style*="background: #f9f9f9"]:nth-child(2n),
html body table tr[style*="background:#ffffff"]:nth-child(2n),
html body table tr[style*="background: #ffffff"]:nth-child(2n),
html body table tr[style*="background:#fff"]:nth-child(2n),
html body .entry-content table tr[style*="background:#f6f9fc"]:nth-child(2n),
html body .entry-content table tr[style*="background: #f6f9fc"]:nth-child(2n),
html body .entry-content table tr[style*="background:#f9f9f9"]:nth-child(2n),
html body .entry-content table tr[style*="background: #f9f9f9"]:nth-child(2n),
html body .entry-content table tr[style*="background:#ffffff"]:nth-child(2n),
html body .entry-content table tr[style*="background: #ffffff"]:nth-child(2n),
html body .entry-content table tr[style*="background:#fff"]:nth-child(2n) {
  background: #f6f9fc !important;
}
/* If tr has explicit dark inline style and is 2n, still keep dark - but ensure td text is white */
html body table tr[style*="background:#141414"] td,
html body table tr[style*="background: #141414"] td,
html body .entry-content table tr[style*="background:#141414"] td,
html body .entry-content table tr[style*="background: #141414"] td {
  color: #ffffff !important;
}
/* For dark alt rows that don't have inline overrides (truly themed dark), make td white */
html body table tr:nth-child(2n):not([style*="background:#f"]):not([style*="background: #f"]):not([style*="background:#e"]):not([style*="background: #e"]):not([style*="background:#d"]):not([style*="background: #d"]):not([style*="background:#c"]):not([style*="background: #c"]):not([style*="background:#b"]):not([style*="background: #b"]):not([style*="background:#a"]):not([style*="background: #a"]):not([style*="background:#9"]):not([style*="background: #9"]) td {
  color: #ffffff !important;
}
/* end v17b */






/* === LOGO ULTIMATE OVERRIDE v2 === */
/* Logo her sayfada (ana sayfa + transparent header dahil) 150x150px sabit. */
html body header .custom-logo-link img,
html body #masthead .custom-logo-link img,
html body .site-header .custom-logo,
html body .site-branding img.custom-logo,
html body .ast-builder-layout-element .custom-logo-link img,
html body header img.custom-logo,
html body .ast-theme-transparent-header #masthead .site-logo-img .transparent-custom-logo img,
html body.ast-theme-transparent-header .transparent-custom-logo img,
html body .transparent-custom-logo img,
html body .transparent-custom-logo .astra-logo-svg,
html body .ast-header-break-point .site-branding img,
html body .ast-header-break-point .custom-logo-link img {
    width: 150px !important;
    height: 150px !important;
    max-width: 150px !important;
    max-height: 150px !important;
    min-width: 0 !important;
    object-fit: contain !important;
}
html body header .custom-logo-link,
html body .site-branding .custom-logo-link,
html body .site-branding .site-logo-img .custom-logo-link,
html body .transparent-custom-logo {
    width: 150px !important;
    max-width: 150px !important;
    min-height: 0 !important;
    display: inline-block !important;
}
/* Tüm media query override - en geniş span */
@media (min-width: 1px) {
    html body img.custom-logo,
    html body .transparent-custom-logo img {
        width: 150px !important;
        height: 150px !important;
        max-width: 150px !important;
        max-height: 150px !important;
    }
}
/* Header satır kayma engeli */
@media (min-width: 922px) {
    html body .ast-builder-grid-row.ast-builder-grid-row-has-sides {
        grid-template-columns: 170px 1fr !important;
        align-items: center !important;
    }
    html body .site-header-primary-section-left,
    html body .site-header-primary-section-right {
        flex-wrap: nowrap !important;
        align-items: center !important;
    }
}


/* === ANA SAYFA SADELEŞTİRME v1 (2026-05-17) === */
/* SEO korunur: tüm içerik DOM'da kalır, sadece görsel olarak gruplandırılır */
/* Dark tema korunur, içerik daha sade görünür */

/* 1) Ana sayfada bölümler arası boşlukları azalt */
body.home .entry-content > .wp-block-group,
body.home .entry-content > .wp-block-uagb-container {
    margin-bottom: 1.5rem !important;
    margin-top: 1.5rem !important;
}

/* 2) Ana sayfa H2 başlıklarına altın çizgi ve daha sade görünüm */
body.home .entry-content h2 {
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1.2rem !important;
    border-bottom: 2px solid rgba(212, 178, 76, 0.3);
}

/* 3) Ana sayfadaki çok uzun liste/içerik bölümlerini kısalt + "Daha fazla" overlay */
body.home .alyar-collapse-section {
    max-height: 600px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
}
body.home .alyar-collapse-section.alyar-expanded {
    max-height: 99999px;
}
body.home .alyar-collapse-section:not(.alyar-expanded)::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 50px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 60%, rgba(0,0,0,1) 100%);
    pointer-events: none;
    z-index: 1;
}
body.home .alyar-toggle-btn {
    display: block;
    margin: 1rem auto 2rem;
    padding: 12px 28px;
    background: linear-gradient(135deg, #d4b24c 0%, #b8941f 100%);
    color: #000 !important;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(212, 178, 76, 0.4);
    transition: all 0.3s ease;
    text-decoration: none !important;
}
body.home .alyar-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 178, 76, 0.6);
    filter: brightness(1.1);
}

/* 4) Ana sayfa kart/grid bölümlerini daha kompakt yap */
body.home .entry-content .wp-block-columns {
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
}

/* 5) Tekrar eden başlıkları kaldırma (görsel) - "Hukuki Çalışma Alanları" ve "Çalışma Alanları" iki kez var */
/* SEO için DOM'da kalır ama biri visually-hidden olur */
body.home .alyar-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* 6) Uzun liste bloklarını grid yap (kompakt görünüm) */
body.home .alyar-compact-list ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.4rem 1rem;
    list-style: none !important;
    padding-left: 0 !important;
}
body.home .alyar-compact-list ul li {
    padding: 6px 12px;
    background: rgba(212, 178, 76, 0.05);
    border-left: 2px solid rgba(212, 178, 76, 0.4);
    border-radius: 4px;
    font-size: 14px;
    margin: 0 !important;
}
body.home .alyar-compact-list ul li a {
    color: #d4b24c !important;
    text-decoration: none !important;
}
body.home .alyar-compact-list ul li a:hover {
    color: #fff !important;
}

/* 7) Hero alanını daha kompakt yap */
body.home .ast-hero-section,
body.home .entry-content > .wp-block-uagb-container:first-of-type {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

/* 8) Çalışma Alanları kartlarını daha kompakt - ızgara düzeni */
body.home .uagb-ifb-content {
    padding: 1rem !important;
}
body.home .uagb-ifb-title {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
}
body.home .uagb-ifb-desc {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
}

/* 9) Mobilde daha da kompakt */
@media (max-width: 768px) {
    body.home .alyar-collapse-section:not(.alyar-expanded) {
        max-height: 360px;
    }
    body.home .entry-content h2 {
        font-size: 1.4rem !important;
    }
    body.home .entry-content h3 {
        font-size: 1.1rem !important;
    }
}

/* 10) Bölümler arası ayraç (sade altın çizgi) */
body.home .entry-content > h2:not(:first-child)::before {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d4b24c, transparent);
    margin: 2rem 0 1rem;
    border-radius: 2px;
}
/* === ANA SAYFA SADELEŞTİRME v1 SONU === */


/* === PERFORMANCE BOOST v1 === */
/* GPU acceleration ve CLS önleme */
#alyar-sticky-cta{contain:layout style paint;will-change:transform;transform:translateZ(0)}
.alyar-sticky-cta__btn{contain:layout style paint;will-change:transform}
/* Layout shift önleme - logo için fixed boyut */
.custom-logo-link img,.transparent-custom-logo img,.astra-logo-svg{aspect-ratio:1/1;max-width:150px;height:auto;contain:layout}
/* Image lazy load - smooth fade */
img[loading="lazy"]{opacity:0;transition:opacity .3s}
img[loading="lazy"].lazyloaded,img[loading="lazy"][src]{opacity:1}
/* CSS containment for major sections - reduce paint area */
body.home .entry-content > .wp-block-group,body.home .entry-content > .wp-block-uagb-container{contain:layout style}
/* Reduce repaint for sticky CTA tooltips */
.alyar-sticky-cta__tooltip{will-change:opacity,transform;backface-visibility:hidden}
/* === PERFORMANCE BOOST v1 SONU === */


/* === ALYAR FIX PACK 2026-05-17 === */
/* CTA hizalama */
html body #alyar-sticky-cta{position:fixed!important;right:12px!important;bottom:12px!important;top:auto!important;left:auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:10px!important;z-index:99990!important;transform:translateZ(0)!important;contain:layout style}
html body #alyar-sticky-cta>a,
html body #alyar-sticky-cta .alyar-cta-btn,
html body #alyar-sticky-cta .alyar-cta-phone,
html body #alyar-sticky-cta .alyar-cta-whatsapp,
html body #alyar-sticky-cta .alyar-cta-telegram,
html body #alyar-sticky-cta .alyar-cta-mail{position:relative!important;left:0!important;right:0!important;top:auto!important;bottom:auto!important;width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;max-width:52px!important;max-height:52px!important;padding:0!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:50%!important;transform:none!important;box-sizing:border-box!important;align-self:center!important;flex:0 0 52px!important}
html body #alyar-sticky-cta>a img,
html body #alyar-sticky-cta .alyar-cta-btn img,
html body #alyar-sticky-cta>a svg,
html body #alyar-sticky-cta .alyar-cta-btn svg{width:30px!important;height:30px!important;max-width:30px!important;max-height:30px!important;display:block!important;margin:0!important}
html body .cky-btn-revisit-wrapper{transform:scale(.7)!important;transform-origin:bottom left!important}
@media (min-width:992px){html body .cky-btn-revisit-wrapper{display:none!important}}
html body #bottomBar{left:auto!important;right:12px!important}

/* CLS — Logo */
html body .site-branding .custom-logo,
html body .site-logo-img a img.custom-logo,
html body img.custom-logo{width:230px!important;height:auto!important;aspect-ratio:1/1!important;max-width:100%!important;display:block!important}
@media (max-width:768px){html body .site-branding .custom-logo,html body img.custom-logo{width:120px!important}}

/* CLS — Header */
html body .site-header,
html body .ast-primary-header-bar,
html body header#masthead{min-height:110px}
@media (max-width:768px){html body .site-header,html body header#masthead{min-height:80px}}

/* CLS — Hero container */
html body main#main>article>.entry-content>.wp-block-uagb-container:first-of-type,
html body .wp-block-uagb-container.uagb-is-root-container:first-of-type{min-height:560px!important;contain:layout}
@media (max-width:768px){html body main#main>article>.entry-content>.wp-block-uagb-container:first-of-type,html body .wp-block-uagb-container.uagb-is-root-container:first-of-type{min-height:440px!important}}

/* Perf — Compositor hints */
html body img{height:auto;max-width:100%}
html body .wp-block-cover,html body .wp-block-cover__image-background{background-attachment:scroll!important}
html body #alyar-sticky-cta,html body .cky-btn-revisit-wrapper,html body #bottomBar{will-change:transform;backface-visibility:hidden}
/* === END ALYAR FIX PACK === */

/* === A11Y FIX (2026-05-18 v3): WhatsApp CTA kontrast (WCAG AA) === */
html body .entry-content .hizli-iletisim-cta a[href*="wa.me"]:not(.x1):not(.x2):not(.x3):not(.x4):not(.x5),
html body article .hizli-iletisim-cta a[href*="wa.me"]:not(.x1):not(.x2):not(.x3):not(.x4):not(.x5),
html body .hizli-iletisim-cta a[href*="wa.me"]:not(.x1):not(.x2):not(.x3):not(.x4):not(.x5) {
    background-color: #0e6e3d !important;
    background-image: none !important;
    color: #ffffff !important;
}
html body .entry-content .hizli-iletisim-cta a[href*="wa.me"]:not(.x1):not(.x2):not(.x3):not(.x4):not(.x5):hover,
html body .entry-content .hizli-iletisim-cta a[href*="wa.me"]:not(.x1):not(.x2):not(.x3):not(.x4):not(.x5):focus {
    background-color: #0a5a31 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}




/* === Blog/Kategori arşiv başlığını ve açıklamasını gizle (v2 - genişletilmiş) === */
.ast-archive-description {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}
.ast-archive-description .page-title,
.ast-archive-description .taxonomy-description,
.archive .page-title-bar {
  display: none !important;
}

/* === Ana sayfa beyaz şerit/kayma fix === */
body.home .ast-archive-description,
body.home .page-title-bar,
body.home .ast-page-title-bar {
  display: none !important;
}
body.home .entry-content > *:empty,
body.home main > *:empty {
  display: none !important;
}

/* MENU-FIX: nowrap garantisi */
@media (min-width:922px){
  html body .site-header-primary-section-right .main-header-menu{ flex-wrap:nowrap !important; }
  html body .main-header-menu > li{ flex:0 0 auto !important; }
}


/* MOBIL-BURGER-FIX: ana sayfa mobil menu acilma garantisi */
@media (max-width:921px){
  body.ast-main-header-nav-open .ast-mobile-header-content{ display:block !important; }
  body:not(.ast-main-header-nav-open) .ast-mobile-header-content{ display:none !important; }
  .ast-mobile-header-content .main-header-menu{ flex-direction:column !important; width:100% !important; }
  .ast-mobile-header-content .main-header-menu > li,
  .ast-mobile-header-content .main-header-menu > li > a{ width:100% !important; height:auto !important; }
}


/* ===== A11Y KONTRAST FIX 2026-08 (Claude) =====
   Lighthouse color-contrast hatasini kapatir. Iki kok neden:
   1) astra-settings[button-color] bos oldugu icin Astra
      ".ast-custom-button,button{color:transparent}" uretiyor;
      metni olan her buton gorunmez oluyor (or. SSS akordeonu).
   2) a[href$="/iletisim/"] sari zemin aliyor ama .entry-content a
      kurali daha ozgul oldugu icin yazi altin kaliyor -> 1.13:1
   ============================================== */

/* 1) Buton metni: !important DEGIL ve dusuk ozgullukte;
      kendi rengi olan butonlar (cerez "Kabul Et" vb.) korunur */
html body button{ color:#ececec; }

/* Akordeon dugmesi sinifi JS ile eklendigi icin garanti altina alindi */
html body .alyar-acc-btn{
  color:#ececec !important;
  -webkit-text-fill-color:#ececec !important;
}
html body .alyar-acc-btn:hover,
html body .alyar-acc-btn:focus{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}

/* 2) Metin ici iletisim linki: sari zemin uzerine koyu lacivert (10.8:1) */
html body .entry-content a[href$="/iletisim/"]:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu a):not(.wp-block-button__link),
html body a[href$="/iletisim/"]:not(.main-header-menu):not(.wp-block-button__link):not(.alyar-cta):not(.menu-link):not(.ast-custom-button-link){
  color:#0b2540 !important;
  -webkit-text-fill-color:#0b2540 !important;
  background:#ffd34a !important;
  text-decoration:underline !important;
}
html body .entry-content a[href$="/iletisim/"]:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu a):not(.wp-block-button__link):hover,
html body .entry-content a[href$="/iletisim/"]:not(.alyar-cta):not(.uagb-infobox-cta-link):not(.main-header-menu a):not(.wp-block-button__link):focus{
  color:#000 !important;
  -webkit-text-fill-color:#000 !important;
  background:#ffe08a !important;
}
/* ===== A11Y KONTRAST FIX SONU ===== */


/* ===== A11Y KONTRAST FIX 2 - ESKI MAKALE SATIR ICI STILLERI (Claude 2026-08) =====
   Eski yazilarda acik tema icin yazilmis satir ici stiller var
   (or. <ul style="background:#fafafa"> icinde <a style="color:#8b4513">).
   Koyu temada okunamiyorlar.
   A) Satir ici background NORMAL ise: kutuyu koyulastir, metni acik yap.
   B) Satir ici background "!important" ise CSS ile ezilemez;
      o zaman kutu acik kalir, metni KOYU yapariz.
   NOT: ":not(#alyar-yok)" bilerek konuldu; onceki duzeltmeler 4 adet
   :not() ile yazildigi icin bu blogun ozgullukte onlari gecmesi gerekiyor.
   ============================================================== */

/* 2.1 Acik zeminli satir ici kutular -> koyu kart */
html body .entry-content [style*="background:#f"]:not([style*="!important"]):not(#alyar-yok),
html body .entry-content [style*="background: #f"]:not([style*="!important"]):not(#alyar-yok),
html body .entry-content [style*="background:#e"]:not([style*="!important"]):not(#alyar-yok),
html body .entry-content [style*="background: #e"]:not([style*="!important"]):not(#alyar-yok),
html body .entry-content [style*="background-color:#f"]:not([style*="!important"]):not(#alyar-yok),
html body .entry-content [style*="background-color: #f"]:not([style*="!important"]):not(#alyar-yok),
html body .entry-content [style*="background-color:#e"]:not([style*="!important"]):not(#alyar-yok),
html body .entry-content [style*="background-color: #e"]:not([style*="!important"]):not(#alyar-yok),
html body .entry-content .pillar-link-box:not([style*="!important"]):not(#alyar-yok){
  background:#11141b !important;
  background-color:#11141b !important;
  background-image:none !important;
  color:#ececec !important;
  border-color:rgba(212,175,55,.28) !important;
}

/* 2.2 Koyulastirilan kutunun icindeki metinler acik renk */
html body .entry-content [style*="background:#f"]:not([style*="!important"]):not(#alyar-yok) *:not(a),
html body .entry-content [style*="background: #f"]:not([style*="!important"]):not(#alyar-yok) *:not(a),
html body .entry-content [style*="background:#e"]:not([style*="!important"]):not(#alyar-yok) *:not(a),
html body .entry-content [style*="background: #e"]:not([style*="!important"]):not(#alyar-yok) *:not(a),
html body .entry-content [style*="background-color:#f"]:not([style*="!important"]):not(#alyar-yok) *:not(a),
html body .entry-content [style*="background-color: #f"]:not([style*="!important"]):not(#alyar-yok) *:not(a),
html body .entry-content [style*="background-color:#e"]:not([style*="!important"]):not(#alyar-yok) *:not(a),
html body .entry-content [style*="background-color: #e"]:not([style*="!important"]):not(#alyar-yok) *:not(a),
html body .entry-content .pillar-link-box:not([style*="!important"]):not(#alyar-yok) *:not(a){
  color:#ececec !important;
  -webkit-text-fill-color:#ececec !important;
  background-color:transparent !important;
}

/* 2.3 Koyulastirilan kutunun icindeki linkler altin
       (iletisim linkleri haric: onlar sari zemin + lacivert yazi kalir) */
html body .entry-content [style*="background:#f"]:not([style*="!important"]):not(#alyar-yok) a:not([href$="/iletisim/"]),
html body .entry-content [style*="background: #f"]:not([style*="!important"]):not(#alyar-yok) a:not([href$="/iletisim/"]),
html body .entry-content [style*="background:#e"]:not([style*="!important"]):not(#alyar-yok) a:not([href$="/iletisim/"]),
html body .entry-content [style*="background: #e"]:not([style*="!important"]):not(#alyar-yok) a:not([href$="/iletisim/"]),
html body .entry-content [style*="background-color:#f"]:not([style*="!important"]):not(#alyar-yok) a:not([href$="/iletisim/"]),
html body .entry-content [style*="background-color: #f"]:not([style*="!important"]):not(#alyar-yok) a:not([href$="/iletisim/"]),
html body .entry-content [style*="background-color:#e"]:not([style*="!important"]):not(#alyar-yok) a:not([href$="/iletisim/"]),
html body .entry-content [style*="background-color: #e"]:not([style*="!important"]):not(#alyar-yok) a:not([href$="/iletisim/"]),
html body .entry-content .pillar-link-box:not([style*="!important"]):not(#alyar-yok) a:not([href$="/iletisim/"]){
  color:#f5d77a !important;
  -webkit-text-fill-color:#f5d77a !important;
}

/* 2.4 Koyu zeminde kalan acik tema satir ici yazi renkleri */
html body .entry-content [style*="color:#1"]:not([style*="background"]):not(#alyar-yok):not(a),
html body .entry-content [style*="color:#2"]:not([style*="background"]):not(#alyar-yok):not(a),
html body .entry-content [style*="color:#3"]:not([style*="background"]):not(#alyar-yok):not(a),
html body .entry-content [style*="color:#4"]:not([style*="background"]):not(#alyar-yok):not(a),
html body .entry-content [style*="color:#5"]:not([style*="background"]):not(#alyar-yok):not(a),
html body .entry-content [style*="color:#6"]:not([style*="background"]):not(#alyar-yok):not(a),
html body .entry-content [style*="color:#7"]:not([style*="background"]):not(#alyar-yok):not(a),
html body .entry-content [style*="color:#8b"]:not([style*="background"]):not(#alyar-yok):not(a),
html body .entry-content [style*="color: #1"]:not([style*="background"]):not(#alyar-yok):not(a),
html body .entry-content [style*="color: #3"]:not([style*="background"]):not(#alyar-yok):not(a),
html body .entry-content [style*="color: #5"]:not([style*="background"]):not(#alyar-yok):not(a),
html body .entry-content [style*="color: #6"]:not([style*="background"]):not(#alyar-yok):not(a){
  color:#ececec !important;
  -webkit-text-fill-color:#ececec !important;
}
html body .entry-content a[style*="color:#1"]:not([href$="/iletisim/"]):not(#alyar-yok),
html body .entry-content a[style*="color:#2"]:not([href$="/iletisim/"]):not(#alyar-yok),
html body .entry-content a[style*="color:#3"]:not([href$="/iletisim/"]):not(#alyar-yok),
html body .entry-content a[style*="color:#4"]:not([href$="/iletisim/"]):not(#alyar-yok),
html body .entry-content a[style*="color:#5"]:not([href$="/iletisim/"]):not(#alyar-yok),
html body .entry-content a[style*="color:#6"]:not([href$="/iletisim/"]):not(#alyar-yok),
html body .entry-content a[style*="color:#7"]:not([href$="/iletisim/"]):not(#alyar-yok),
html body .entry-content a[style*="color:#8b"]:not([href$="/iletisim/"]):not(#alyar-yok),
html body .entry-content a[style*="color: #1"]:not([href$="/iletisim/"]):not(#alyar-yok),
html body .entry-content a[style*="color: #3"]:not([href$="/iletisim/"]):not(#alyar-yok),
html body .entry-content a[style*="color: #5"]:not([href$="/iletisim/"]):not(#alyar-yok),
html body .entry-content a[style*="color: #6"]:not([href$="/iletisim/"]):not(#alyar-yok){
  color:#f5d77a !important;
  -webkit-text-fill-color:#f5d77a !important;
}

/* 2.5 Satir ici "!important" acik zemin: kutu acik kalir, metin koyu olur */
html body .entry-content [style*="background:#f"][style*="!important"]:not(#alyar-yok) *:not(a),
html body .entry-content [style*="background: #f"][style*="!important"]:not(#alyar-yok) *:not(a),
html body .entry-content [style*="background:#e"][style*="!important"]:not(#alyar-yok) *:not(a),
html body .entry-content [style*="background: #e"][style*="!important"]:not(#alyar-yok) *:not(a),
html body .entry-content [style*="background-color:#f"][style*="!important"]:not(#alyar-yok) *:not(a),
html body .entry-content [style*="background-color: #f"][style*="!important"]:not(#alyar-yok) *:not(a),
html body .entry-content [style*="background-color:#e"][style*="!important"]:not(#alyar-yok) *:not(a),
html body .entry-content [style*="background-color: #e"][style*="!important"]:not(#alyar-yok) *:not(a){
  color:#11181f !important;
  -webkit-text-fill-color:#11181f !important;
}
html body .entry-content [style*="background:#f"][style*="!important"]:not(#alyar-yok) a:not([href$="/iletisim/"]),
html body .entry-content [style*="background: #f"][style*="!important"]:not(#alyar-yok) a:not([href$="/iletisim/"]),
html body .entry-content [style*="background:#e"][style*="!important"]:not(#alyar-yok) a:not([href$="/iletisim/"]),
html body .entry-content [style*="background: #e"][style*="!important"]:not(#alyar-yok) a:not([href$="/iletisim/"]),
html body .entry-content [style*="background-color:#f"][style*="!important"]:not(#alyar-yok) a:not([href$="/iletisim/"]),
html body .entry-content [style*="background-color: #f"][style*="!important"]:not(#alyar-yok) a:not([href$="/iletisim/"]),
html body .entry-content [style*="background-color:#e"][style*="!important"]:not(#alyar-yok) a:not([href$="/iletisim/"]),
html body .entry-content [style*="background-color: #e"][style*="!important"]:not(#alyar-yok) a:not([href$="/iletisim/"]){
  color:#0b2540 !important;
  -webkit-text-fill-color:#0b2540 !important;
  text-decoration:underline !important;
}
/* ===== A11Y KONTRAST FIX 2 SONU ===== */
/* ===== MOBIL YERLESIM VE HERO (Claude 2026-08) =====
   1) Hero arka plani telefonda 1024px surumden gelir: 112 KB -> 33 KB.
      Ayni degisiklik ana sayfa icerigindeki preload etiketinde de yapildi
      (media sorgusuyla ikiye bolundu), yoksa telefon iki gorseli birden ceker.
   2) Sag kenardaki yuzen CTA kulesi (52x238) metnin son ~44 pikselini
      ortuyordu. Telefonda alt seride cevriliyor, govdeye alt bosluk veriliyor.
   ================================================== */

@media (max-width:781px){
  html body .wp-block-uagb-container.uagb-block-46960387,
  html body .uagb-block-46960387{
    background-image:url("https://bilalalyar.av.tr/wp-content/uploads/2020/01/justice-law-1-1024x576.jpg.webp") !important;
  }
}

@media (max-width:921px){
  html body #alyar-sticky-cta{
    top:auto !important;
    right:0 !important;
    left:0 !important;
    bottom:0 !important;
    width:100% !important;
    flex-direction:row !important;
    justify-content:center !important;
    align-items:center !important;
    gap:18px !important;
    padding:9px 12px !important;
    padding-bottom:calc(9px + env(safe-area-inset-bottom, 0px)) !important;
    background:#0b0d12 !important;
    border-top:1px solid rgba(212,175,55,.28) !important;
    box-shadow:0 -2px 12px rgba(0,0,0,.45) !important;
  }
  html body{ padding-bottom:78px !important; }
}
/* ===== MOBIL YERLESIM VE HERO SONU ===== */
/* ===== MOBIL MENU VE MASAUSTU HIZALAMA (Claude 2026-08) =====
   1) MOBIL BURGER MENU ACILMIYORDU.
      Sebep: eski bir duzeltmeden kalan
      @media (max-width:921px){ body:not(.ast-main-header-nav-open)
        .ast-mobile-header-content{display:none!important} }
      kurali. Menu panelini yalnizca "ast-main-header-nav-open" govde
      sinifi varken gosteriyor, ama Astra bu kurulumda o sinifi hic
      eklemiyor; sadece burger dugmesinin aria-expanded degerini
      "true" yapiyor. Yani panel hicbir zaman acilmiyordu.
      Cozum: paneli, burger dugmesi acik durumdayken goster.
   2) MASAUSTUNDE BASLIK CUBUGU ANA SAYFADA ORTALI, DIGER SAYFALARDA
      SOLA YAPISIKTI. Artik her sayfada ortalaniyor; icerik alani da
      ortalanarak sagda kalan bosluk gideriliyor.
   ========================================================== */

@media (max-width:921px){
  html body:has(.main-header-menu-toggle[aria-expanded="true"]) .ast-mobile-header-content{
    display:block !important;
  }
  /* Panel icindeki menu kapsayicisi da eski kuralla gizleniyordu */
  html body:has(.main-header-menu-toggle[aria-expanded="true"]) .ast-mobile-header-content .main-header-bar-navigation,
  html body .main-header-bar-navigation.toggle-on{
    display:block !important;
  }
}

@media (min-width:922px){
  html body .ast-primary-header-bar.main-header-bar{
    margin-left:auto !important;
    margin-right:auto !important;
  }
  /* Icerik sutunu: .site-main degil, flex ogesi olan .content-area ortalanir */
  html body .site-content > .ast-container > .content-area{
    margin-left:auto !important;
    margin-right:auto !important;
  }
}
/* ===== MOBIL MENU VE MASAUSTU HIZALAMA SONU ===== */
