/**
 * XAN Office v1.4.61.310
 * Mobil menü, tek rehber kartı, aranabilir şehir seçimi, ofis tooltip,
 * yeni kurumsal CTA bölümleri ve iki sütunlu mobil footer.
 */

html body.mxh-theme .xan-v304-map-visual-card,
html body.mxh-theme .xan-home-network-stage__corporate-note,
html body.mxh-theme .xan-v310-map-extra-hidden {
  display: none !important;
}

/* Üst menü: masaüstü korunur, mobilde sağ üst hamburger görünür. */
html body.mxh-theme .xan-v310-mobile-menu-toggle {
  display: none !important;
}

@media (max-width: 760px) {
  html body.mxh-theme.home .mxh-header,
  html body.mxh-theme.front-page .mxh-header,
  html body.mxh-theme.mxh-front .mxh-header {
    position: relative !important;
    inset: auto !important;
    z-index: 99990 !important;
    background: linear-gradient(180deg, rgba(32,80,88,.96) 0%, rgba(42,101,112,.76) 70%, rgba(42,101,112,.12) 100%) !important;
    border: 0 !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  html body.mxh-theme.home .mxh-header-inner,
  html body.mxh-theme.front-page .mxh-header-inner,
  html body.mxh-theme.mxh-front .mxh-header-inner {
    min-height: 106px !important;
    padding: 16px 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
  }

  html body.mxh-theme.home .mxh-header .mxh-brand,
  html body.mxh-theme.front-page .mxh-header .mxh-brand,
  html body.mxh-theme.mxh-front .mxh-header .mxh-brand {
    display: flex !important;
    width: 190px !important;
    min-width: 0 !important;
    max-width: calc(100vw - 92px) !important;
    height: auto !important;
    margin: 0 !important;
  }

  html body.mxh-theme.home .mxh-header .mxh-brand-logo-img,
  html body.mxh-theme.front-page .mxh-header .mxh-brand-logo-img,
  html body.mxh-theme.mxh-front .mxh-header .mxh-brand-logo-img {
    display: block !important;
    width: 190px !important;
    max-width: 100% !important;
    height: auto !important;
    filter: none !important;
    opacity: 1 !important;
  }

  html body.mxh-theme .xan-v310-mobile-menu-toggle,
  html body.mxh-theme.home .mxh-menu-toggle.xan-v310-mobile-menu-toggle,
  html body.mxh-theme.front-page .mxh-menu-toggle.xan-v310-mobile-menu-toggle,
  html body.mxh-theme.mxh-front .mxh-menu-toggle.xan-v310-mobile-menu-toggle {
    display: inline-flex !important;
    flex: 0 0 48px !important;
    width: 48px !important;
    height: 48px !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.12) !important;
    color: #fff !important;
    box-shadow: 0 10px 26px rgba(15,48,55,.16) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    cursor: pointer !important;
  }

  html body.mxh-theme .xan-v310-mobile-menu-toggle > span,
  html body.mxh-theme .xan-v310-mobile-menu-toggle > span::before,
  html body.mxh-theme .xan-v310-mobile-menu-toggle > span::after {
    content: "" !important;
    display: block !important;
    width: 23px !important;
    height: 2px !important;
    border-radius: 99px !important;
    background: #fff !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    transition: transform .18s ease, top .18s ease, opacity .18s ease !important;
  }
  html body.mxh-theme .xan-v310-mobile-menu-toggle > span { top: 23px !important; }
  html body.mxh-theme .xan-v310-mobile-menu-toggle > span::before { top: -7px !important; left: 0 !important; transform: none !important; }
  html body.mxh-theme .xan-v310-mobile-menu-toggle > span::after { top: 7px !important; left: 0 !important; transform: none !important; }
  html body.mxh-theme .xan-v310-mobile-menu-toggle[aria-expanded="true"] > span { background: transparent !important; }
  html body.mxh-theme .xan-v310-mobile-menu-toggle[aria-expanded="true"] > span::before { top: 0 !important; transform: rotate(45deg) !important; }
  html body.mxh-theme .xan-v310-mobile-menu-toggle[aria-expanded="true"] > span::after { top: 0 !important; transform: rotate(-45deg) !important; }

  html body.mxh-theme.home .mxh-nav,
  html body.mxh-theme.front-page .mxh-nav,
  html body.mxh-theme.mxh-front .mxh-nav {
    top: calc(var(--wp-admin--admin-bar--height, 0px) + 108px) !important;
  }
}

/* Harita ve tek rehber alanı. */
html body.mxh-theme .xan-home-network-stage .xan-footer-v113__city-block {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

html body.mxh-theme .xan-v310-map-legend {
  width: min(100%, 1120px) !important;
  margin: 0 auto !important;
  padding: 4px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px 20px !important;
  color: #435f65 !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

html body.mxh-theme .xan-v310-map-legend span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  white-space: nowrap !important;
}

html body.mxh-theme .xan-v310-guide-card {
  width: min(100%, 1120px) !important;
  margin: 0 auto !important;
  padding: clamp(18px, 2.2vw, 28px) !important;
  display: grid !important;
  grid-template-columns: minmax(270px, .85fr) minmax(360px, 1.15fr) !important;
  align-items: center !important;
  gap: 22px 34px !important;
  border: 1px solid rgba(32,80,88,.15) !important;
  border-radius: 22px !important;
  background: rgba(247,251,252,.86) !important;
  box-shadow: 0 14px 34px rgba(25,65,73,.07) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html body.mxh-theme .xan-v310-guide-card__copy p {
  margin: 0 !important;
  color: #244a52 !important;
  font-family: "Poppins", sans-serif !important;
  font-size: clamp(13px, 1.05vw, 15px) !important;
  font-weight: 400 !important;
  line-height: 1.62 !important;
  text-align: left !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

html body.mxh-theme .xan-v310-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

html body.mxh-theme .xan-v310-city-combobox {
  position: relative !important;
  min-width: 0 !important;
}

html body.mxh-theme .xan-v310-city-search-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 48px !important;
  align-items: stretch !important;
}

html body.mxh-theme #xan-v310-city-search {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 54px !important;
  padding: 10px 16px !important;
  border: 1px solid rgba(32,80,88,.25) !important;
  border-right: 0 !important;
  border-radius: 14px 0 0 14px !important;
  background: rgba(255,255,255,.96) !important;
  color: #173f47 !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

html body.mxh-theme #xan-v310-city-search:focus {
  border-color: #2a6570 !important;
  box-shadow: 0 0 0 3px rgba(42,101,112,.12) !important;
  position: relative !important;
  z-index: 2 !important;
}

html body.mxh-theme .xan-v310-city-search-toggle {
  min-height: 54px !important;
  border: 1px solid rgba(32,80,88,.25) !important;
  border-radius: 0 14px 14px 0 !important;
  background: rgba(255,255,255,.96) !important;
  color: #205058 !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

html body.mxh-theme .xan-v310-city-search-toggle[aria-expanded="true"] span {
  display: inline-block !important;
  transform: rotate(180deg) !important;
}

html body.mxh-theme .xan-v310-city-results {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  max-height: 378px !important; /* Yaklaşık 9 şehir görünür; kalanlar kaydırılır. */
  overflow-y: auto !important;
  padding: 7px !important;
  border: 1px solid rgba(32,80,88,.18) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 18px 42px rgba(18,61,69,.18) !important;
  overscroll-behavior: contain !important;
}

html body.mxh-theme .xan-v310-city-results[hidden] { display: none !important; }

html body.mxh-theme .xan-v310-city-option,
html body.mxh-theme .xan-v310-city-empty {
  width: 100% !important;
  min-height: 40px !important;
  padding: 9px 11px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #244a52 !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 13px !important;
  text-align: left !important;
}

html body.mxh-theme .xan-v310-city-option { cursor: pointer !important; }
html body.mxh-theme .xan-v310-city-option:hover,
html body.mxh-theme .xan-v310-city-option[aria-selected="true"] {
  background: #eaf3f4 !important;
  color: #173f47 !important;
}
html body.mxh-theme .xan-v310-city-option b {
  width: 28px !important;
  flex: 0 0 28px !important;
  color: #205058 !important;
  font-weight: 600 !important;
}
html body.mxh-theme .xan-v310-city-empty { color: #6c7f83 !important; }

/* Ofis bulunan koyu illerin bilgi kutusu. */
html body.mxh-theme .xan-footer-v113__map-tooltip.xan-map-tooltip--office {
  min-width: 142px !important;
  padding: 11px 42px 11px 13px !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  border-radius: 13px !important;
  background: #173f47 !important;
  color: #fff !important;
  white-space: normal !important;
}
html body.mxh-theme .xan-v310-office-tooltip { position: relative !important; }
html body.mxh-theme .xan-v310-office-tooltip strong,
html body.mxh-theme .xan-v310-office-tooltip span,
html body.mxh-theme .xan-v310-office-tooltip b {
  display: block !important;
  color: #fff !important;
  font-family: "Poppins", sans-serif !important;
  text-shadow: none !important;
}
html body.mxh-theme .xan-v310-office-tooltip strong {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}
html body.mxh-theme .xan-v310-office-tooltip span {
  margin-top: 3px !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  opacity: .9 !important;
}
html body.mxh-theme .xan-v310-office-tooltip b {
  position: absolute !important;
  top: 0 !important;
  right: -30px !important;
  min-width: 27px !important;
  height: 27px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,.16) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

/* Tüm içerik kartlarında ortak, net ve saydam dil. */
html body.mxh-theme .xan-v310-glass-card {
  background: rgba(255,255,255,.72) !important;
  border: 1px solid rgba(255,255,255,.72) !important;
  box-shadow: 0 18px 46px rgba(23,59,66,.10) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html body.mxh-theme .xan-v310-glass-card--dark {
  background: rgba(16,57,65,.72) !important;
  border-color: rgba(255,255,255,.24) !important;
}
html body.mxh-theme .xan-v310-card-kicker {
  margin-bottom: 10px !important;
  display: block !important;
  color: #2a6570 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}
html body.mxh-theme .xan-v297-projects__copy.xan-v310-glass-card {
  padding: clamp(28px, 3.4vw, 48px) !important;
  border-radius: 24px !important;
}
html body.mxh-theme .xan-v297-tool__content.xan-v310-glass-card {
  width: calc(100% - 20px) !important;
  margin: 0 10px 10px !important;
  padding: 17px 18px !important;
  border-radius: 15px !important;
  background: rgba(20,61,69,.76) !important;
  border-color: rgba(255,255,255,.18) !important;
}

/* Madde 7: iki profesyonel başvuru kartı. */
html body.mxh-theme .xan-v310-entry-cards {
  padding: clamp(44px, 5vw, 76px) 0 !important;
  background: #f5f9fa !important;
}
html body.mxh-theme .xan-v310-entry-cards__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
}
html body.mxh-theme .xan-v310-entry-card {
  position: relative !important;
  min-height: 270px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  border-radius: 22px !important;
  isolation: isolate !important;
  box-shadow: 0 18px 44px rgba(23,59,66,.12) !important;
}
html body.mxh-theme .xan-v310-entry-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -2 !important;
}
html body.mxh-theme .xan-v310-entry-card--advisor::before {
  background: linear-gradient(120deg, #0c5667 0%, #14738b 56%, #1c8295 100%) !important;
}
html body.mxh-theme .xan-v310-entry-card--demand::before {
  background: linear-gradient(120deg, #4b6268 0%, #78898e 58%, #9ba6a9 100%) !important;
}
html body.mxh-theme .xan-v310-entry-card__copy {
  position: relative !important;
  z-index: 2 !important;
  width: 66% !important;
  padding: clamp(24px, 3vw, 42px) !important;
  color: #fff !important;
}
html body.mxh-theme .xan-v310-entry-card h2,
html body.mxh-theme .xan-v310-entry-card p {
  color: #fff !important;
  text-shadow: none !important;
}
html body.mxh-theme .xan-v310-entry-card h2 {
  margin: 0 0 9px !important;
  font-size: clamp(21px, 2vw, 30px) !important;
  font-weight: 600 !important;
  line-height: 1.24 !important;
}
html body.mxh-theme .xan-v310-entry-card p {
  margin: 0 0 20px !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  opacity: .94 !important;
}
html body.mxh-theme .xan-v310-entry-card img {
  position: absolute !important;
  z-index: 1 !important;
  right: -4px !important;
  bottom: 0 !important;
  width: auto !important;
  height: 96% !important;
  max-width: 48% !important;
  object-fit: contain !important;
  object-position: right bottom !important;
  filter: none !important;
  opacity: 1 !important;
}

/* Madde 8: ofis ağı büyüme bölümü. */
html body.mxh-theme .xan-v310-office-expansion {
  position: relative !important;
  min-height: clamp(430px, 43vw, 620px) !important;
  display: flex !important;
  align-items: center !important;
  background-image: var(--xan-v310-office-bg) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
html body.mxh-theme .xan-v310-office-expansion__inner {
  width: min(1460px, calc(100% - 40px)) !important;
  display: flex !important;
  justify-content: flex-end !important;
}
html body.mxh-theme .xan-v310-office-expansion__card {
  width: min(530px, 48%) !important;
  padding: clamp(28px, 3.4vw, 48px) !important;
  border-radius: 24px !important;
}
html body.mxh-theme .xan-v310-office-expansion__card h2 {
  margin: 0 0 14px !important;
  color: #173f47 !important;
  font-size: clamp(27px, 2.5vw, 40px) !important;
  font-weight: 600 !important;
  line-height: 1.18 !important;
}
html body.mxh-theme .xan-v310-office-expansion__card p {
  margin: 0 0 24px !important;
  color: #4f686d !important;
  font-size: 14px !important;
  line-height: 1.62 !important;
}

/* Görseller her cihazda canlı ve net. */
html body.mxh-theme .xan-v310-home :where(img, .xan-v297-split__image, .xan-v297-tool, .xan-v297-hero, .xan-v297-projects, .xan-v310-office-expansion) {
  filter: none !important;
  opacity: 1 !important;
  image-rendering: auto !important;
}

/* Mobil footer: marka üstte, bağlantılar iki sütun. */
@media (max-width: 760px) {
  html body.mxh-theme .xan-footer-v113 .xan-footer-v113__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 14px !important;
    padding: 20px 14px !important;
  }
  html body.mxh-theme .xan-footer-v113 .xan-footer-v113__brand {
    grid-column: 1 / -1 !important;
    justify-content: center !important;
    align-items: center !important;
  }
  html body.mxh-theme .xan-footer-v113 .xan-footer-v113__links {
    min-width: 0 !important;
    padding: 0 4px !important;
  }
  html body.mxh-theme .xan-footer-v113 .xan-footer-v113__links h4 {
    font-size: 14px !important;
    line-height: 1.25 !important;
  }
  html body.mxh-theme .xan-footer-v113 .xan-footer-v113__links a {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }
  html body.mxh-theme .xan-footer-v113 .xan-footer-v113__links--contact a {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 980px) {
  html body.mxh-theme .xan-v310-guide-card {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  html body.mxh-theme .xan-v310-guide-card__copy p { text-align: center !important; }
  html body.mxh-theme .xan-v310-entry-cards__grid { grid-template-columns: 1fr !important; }
  html body.mxh-theme .xan-v310-entry-card { min-height: 245px !important; }
  html body.mxh-theme .xan-v310-office-expansion__card { width: min(590px, 72%) !important; }
}

@media (max-width: 680px) {
  html body.mxh-theme.home .xan-home-network-stage,
  html body.mxh-theme.front-page .xan-home-network-stage,
  html body.mxh-theme.mxh-front .xan-home-network-stage {
    padding-top: 10px !important;
  }
  html body.mxh-theme .xan-home-network-stage .xan-tr-map-card {
    min-height: clamp(310px, 76vw, 390px) !important;
  }
  html body.mxh-theme .xan-home-network-stage .xan-footer-v113__svg-map--interactive,
  html body.mxh-theme .xan-home-network-stage .xan-footer-v113__svg-map--interactive > svg {
    width: 100% !important;
    min-height: clamp(300px, 74vw, 380px) !important;
    height: auto !important;
  }
  html body.mxh-theme .xan-v310-map-legend {
    gap: 7px 12px !important;
    padding-inline: 4px !important;
    font-size: 10px !important;
  }
  html body.mxh-theme .xan-v310-guide-card {
    padding: 18px 15px !important;
    border-radius: 18px !important;
  }
  html body.mxh-theme .xan-v310-city-results { max-height: 342px !important; }
  html body.mxh-theme .xan-v310-entry-card {
    min-height: 340px !important;
    align-items: flex-start !important;
  }
  html body.mxh-theme .xan-v310-entry-card__copy {
    width: 100% !important;
    padding: 24px 20px !important;
  }
  html body.mxh-theme .xan-v310-entry-card img {
    right: -8px !important;
    height: 69% !important;
    max-width: 64% !important;
  }
  html body.mxh-theme .xan-v310-office-expansion {
    min-height: 560px !important;
    align-items: flex-end !important;
    background-position: 42% center !important;
  }
  html body.mxh-theme .xan-v310-office-expansion__inner {
    width: calc(100% - 20px) !important;
    padding-bottom: 18px !important;
  }
  html body.mxh-theme .xan-v310-office-expansion__card {
    width: 100% !important;
    padding: 24px 20px !important;
    text-align: center !important;
  }
  html body.mxh-theme .xan-v310-office-expansion__card .xan-v297-actions { justify-content: center !important; }
  html body.mxh-theme .xan-v297-hero__card.xan-v310-glass-card,
  html body.mxh-theme .xan-v297-split__copy.xan-v310-glass-card,
  html body.mxh-theme .xan-v297-projects__copy.xan-v310-glass-card {
    background: rgba(255,255,255,.78) !important;
  }
  html body.mxh-theme .xan-v297-projects__copy.xan-v310-glass-card--dark {
    background: rgba(16,57,65,.75) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.mxh-theme .xan-v310-mobile-menu-toggle > span,
  html body.mxh-theme .xan-v310-mobile-menu-toggle > span::before,
  html body.mxh-theme .xan-v310-mobile-menu-toggle > span::after {
    transition: none !important;
  }
}

/* Başvuru kartlarının metin alanı da ortak saydam kart dilini kullanır. */
html body.mxh-theme .xan-v310-entry-card__copy {
  margin-left: 18px !important;
  padding: clamp(22px, 2.8vw, 36px) !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  border-radius: 18px !important;
  background: rgba(13,57,67,.58) !important;
  box-shadow: 0 14px 34px rgba(6,36,44,.14) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
@media (max-width: 680px) {
  html body.mxh-theme .xan-v310-entry-card__copy {
    margin: 16px !important;
    padding: 21px 18px !important;
  }
}

/* Mevcut resmî mobil başlığın sağ üst menü düğmesi kesin görünür. */
@media (max-width: 1024px) {
  html body.mxh-theme .xan-v263-mobile-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: linear-gradient(180deg, rgba(32,80,88,.94), rgba(42,101,112,.72) 74%, rgba(42,101,112,.10)) !important;
    border: 0 !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  html body.mxh-theme .xan-v263-mobile-header__brand {
    display: flex !important;
    min-width: 0 !important;
  }
  html body.mxh-theme .xan-v263-mobile-header__logo {
    display: block !important;
    opacity: 1 !important;
    filter: none !important;
  }
  html body.mxh-theme .xan-v263-mobile-header__menu {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    flex: 0 0 48px !important;
    width: 48px !important;
    height: 48px !important;
    margin-left: auto !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.12) !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  html body.mxh-theme .xan-v263-mobile-header__menu span {
    display: block !important;
    width: 24px !important;
    height: 2px !important;
    margin: 3px 0 !important;
    border-radius: 99px !important;
    background: #fff !important;
  }
}
