/*
Theme Name: XAN Office Hybrid Theme
Patch: v1.4.61.290
Scope: Ana sayfa araç, süreç ve kurumsal kanıt kartları
*/

/* Koyu fotoğraf üzerinde kalan araç kartlarında kesin kontrast. */
html body.mxh-theme.xan-v268-official-home .xan-v268-tools__grid a {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(135deg, rgba(53,101,119,.68), rgba(24,59,72,.76)) !important;
  border-color: rgba(255,255,255,.28) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 28px rgba(5,28,37,.12) !important;
  -webkit-backdrop-filter: blur(12px) saturate(120%) !important;
  backdrop-filter: blur(12px) saturate(120%) !important;
}

html body.mxh-theme.xan-v268-official-home .xan-v268-tools__grid a > span {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: rgba(255,255,255,.13) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
}

html body.mxh-theme.xan-v268-official-home .xan-v268-tools__grid a > strong {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-weight: 620 !important;
}

html body.mxh-theme.xan-v268-official-home .xan-v268-tools__grid a > small {
  color: rgba(255,255,255,.82) !important;
  -webkit-text-fill-color: rgba(255,255,255,.82) !important;
}

html body.mxh-theme.xan-v268-official-home .xan-v268-tools__grid a:hover,
html body.mxh-theme.xan-v268-official-home .xan-v268-tools__grid a:focus-visible {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(135deg, rgba(68,124,144,.78), rgba(27,66,81,.86)) !important;
  border-color: rgba(255,255,255,.46) !important;
}

/* Dört adım: numarasız, daha kısa ve dengeli kurumsal kartlar. */
html body.mxh-theme.xan-v268-official-home .xan-v268-process-grid li {
  min-height: 148px !important;
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 8px !important;
}

html body.mxh-theme.xan-v268-official-home .xan-v268-process-grid li > b {
  display: none !important;
}

html body.mxh-theme.xan-v268-official-home .xan-v268-process-grid li > strong,
html body.mxh-theme.xan-v268-official-home .xan-v268-process-grid li > span {
  margin: 0 !important;
}

/* Kurumsal değerler: ayrı, kompakt kartlar; gereksiz beyaz yükseklik yok. */
html body.mxh-theme.xan-v268-official-home .xan-v268-proof {
  padding: 18px 0 !important;
  background: #eef5f6 !important;
}

html body.mxh-theme.xan-v268-official-home .xan-v268-proof__grid {
  padding: 0 !important;
  gap: 14px !important;
  align-items: stretch !important;
}

html body.mxh-theme.xan-v268-official-home .xan-v268-proof__grid > div {
  min-height: 84px !important;
  height: auto !important;
  padding: 15px 16px !important;
  background: rgba(255,255,255,.88) !important;
  border: 1px solid rgba(39,86,103,.15) !important;
  border-radius: 15px !important;
  box-shadow: 0 9px 24px rgba(22,58,72,.07) !important;
}

html body.mxh-theme.xan-v268-official-home .xan-v268-proof__grid > div strong {
  color: #173846 !important;
  -webkit-text-fill-color: #173846 !important;
  font-size: clamp(17px,1.25vw,21px) !important;
  font-weight: 620 !important;
}

html body.mxh-theme.xan-v268-official-home .xan-v268-proof__grid > div span {
  margin-top: 5px !important;
  color: #5d7078 !important;
  -webkit-text-fill-color: #5d7078 !important;
  font-size: 12.5px !important;
  font-weight: 430 !important;
  line-height: 1.35 !important;
}

/* Kaynak Merkezi: fotoğrafı ve petrol katmanı geç gelen açık footer kurallarına karşı sabitle. */
html body .xan-footer-v113 .xan-footer-v265__resources {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  color: #fff !important;
  background:
    linear-gradient(112deg,rgba(15,47,59,.94) 0%,rgba(30,73,88,.84) 52%,rgba(53,105,121,.72) 100%),
    url('../images/home-v280/story-office-lobby-v282.webp') center 52% / cover no-repeat !important;
  border-color: rgba(255,255,255,.24) !important;
}

html body .xan-footer-v113 .xan-footer-v265__resources > summary {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(90deg,rgba(8,34,44,.30),rgba(51,103,120,.10)) !important;
}

html body .xan-footer-v113 .xan-footer-v265__resources > summary strong {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html body .xan-footer-v113 .xan-footer-v265__resources > summary small {
  color: rgba(255,255,255,.86) !important;
  -webkit-text-fill-color: rgba(255,255,255,.86) !important;
}

html body .xan-footer-v113 .xan-footer-v265__resources .xan-footer-v113__seo-grid {
  background: rgba(7,29,38,.44) !important;
  border-top: 1px solid rgba(255,255,255,.18) !important;
}

html body .xan-footer-v113 .xan-footer-v265__resources .xan-footer-v113__mini-block:nth-child(n) {
  color: #fff !important;
  background: linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,255,255,.08)) !important;
  border-color: rgba(255,255,255,.22) !important;
  -webkit-backdrop-filter: blur(14px) saturate(120%) !important;
  backdrop-filter: blur(14px) saturate(120%) !important;
}

html body .xan-footer-v113 .xan-footer-v265__resources .xan-footer-v113__mini-block h4 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html body .xan-footer-v113 .xan-footer-v265__resources .xan-footer-v113__mini-block a {
  color: rgba(255,255,255,.86) !important;
  -webkit-text-fill-color: rgba(255,255,255,.86) !important;
}

html body .xan-footer-v113 .xan-footer-v265__resources:not([open]) > .xan-footer-v113__seo-grid {
  display: none !important;
}

@media (max-width: 1024px) {
  html body.mxh-theme.xan-v268-official-home .xan-v268-process-grid li {
    min-height: 132px !important;
    padding: 21px !important;
  }
}

@media (max-width: 767px) {
  html body.mxh-theme.xan-v268-official-home .xan-v268-tools__grid a {
    min-height: 94px !important;
    padding: 15px !important;
  }

  html body.mxh-theme.xan-v268-official-home .xan-v268-process-grid li {
    min-height: 0 !important;
    padding: 18px !important;
    gap: 6px !important;
  }

  html body.mxh-theme.xan-v268-official-home .xan-v268-process-grid li > strong {
    font-size: 18px !important;
    line-height: 1.25 !important;
  }

  html body.mxh-theme.xan-v268-official-home .xan-v268-process-grid li > span {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  html body.mxh-theme.xan-v268-official-home .xan-v268-proof {
    padding: 12px 0 !important;
  }

  html body.mxh-theme.xan-v268-official-home .xan-v268-proof__grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 8px !important;
  }

  html body.mxh-theme.xan-v268-official-home .xan-v268-proof__grid > div {
    min-height: 82px !important;
    padding: 12px 9px !important;
    border-radius: 13px !important;
  }

  html body.mxh-theme.xan-v268-official-home .xan-v268-proof__grid > div strong {
    font-size: 16px !important;
  }

  html body.mxh-theme.xan-v268-official-home .xan-v268-proof__grid > div span {
    font-size: 11px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.mxh-theme.xan-v268-official-home .xan-v268-tools__grid a {
    transition: none !important;
  }
}
