/* Ahmetli.bel.tr ana sayfa kahraman alanı (_LayoutSiteHome + SiteLanding) */

.yh-site-home {
  margin: 0;
  /* site.css body alt boşluğu hero ile çakışmasın */
  margin-bottom: 0 !important;
  min-height: 100vh;
  background: #0a0f14;
  color: #fff;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Kahraman-altı düzen için kaydırma hedefleri */
html:has(body.yh-site-home) {
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
  min-height: 100%;
  /* Sayfa değişince dikey kaydırma çubuğu çıkıp kaybolunca ortalanmış header/menü kaymasın */
  scrollbar-gutter: stable;
}

/* —— Üst başlık: yunusemre.bel.tr — hafif gradient, arka plan görünsün —— */
.yh-site-header {
  z-index: 50;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.48) 0%,
    rgba(0, 0, 0, 0.22) 42%,
    rgba(0, 0, 0, 0.08) 72%,
    transparent 100%
  );
}

.yh-site-header.is-scrolled {
  background: rgba(15, 46, 87, 0.94);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

/* Ara kaydırmada sabit başlık: üst şeffaf, sonra daha opak görünüm */
.yh-site-home .yh-site-header.is-scrolled {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.48) 0%,
    rgba(0, 0, 0, 0.22) 42%,
    rgba(0, 0, 0, 0.08) 72%,
    transparent 100%
  );
  box-shadow: none;
}

.yh-header-inner {
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .yh-header-inner {
    padding-top: clamp(0.32rem, 1vw, 0.72rem);
  }
}

/* E-Belediye satırı — menü satırıyla daha dengeli boşluk */
.yh-site-header .yh-top-util {
  padding-top: clamp(0.65rem, 1.6vw, 1rem) !important;
  padding-bottom: clamp(0.35rem, 1vw, 0.65rem) !important;
}

@media (min-width: 992px) {
  .yh-site-header .yh-top-util {
    padding-top: clamp(0.42rem, 1.15vw, 0.68rem) !important;
    padding-bottom: clamp(0.18rem, 0.65vw, 0.42rem) !important;
  }
}

/* Üst sol: E-Belediye / Kolay Menü / Arama arası — referansa yakın ferahlık */
.yh-site-header .yh-top-util__left {
  gap: 0.7rem !important;
}

@media (min-width: 576px) {
  .yh-site-header .yh-top-util__left {
    gap: 0.95rem !important;
  }
}

/* Ghost pill: E-Belediye / Kolay Menü / Arama — biraz daha büyük */
.yh-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.95rem;
  padding: 0.58rem 1.38rem;
  font-size: clamp(0.9rem, 1.5vw, 1.08rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff !important;
  text-decoration: none !important;
  text-transform: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.2s, border-color 0.2s;
}

.yh-pill i {
  font-size: 1.2em;
  line-height: 1;
  opacity: 0.98;
}

.yh-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff !important;
}

@media (min-width: 992px) {
  .yh-site-header .yh-top-util .yh-pill {
    min-height: 2.45rem;
    padding: 0.42rem 1.05rem;
    gap: 0.42rem;
    font-size: clamp(0.8rem, 1.15vw, 0.92rem);
  }

  .yh-site-header .yh-top-util .yh-pill i {
    font-size: 1.05em;
  }
}

.yh-pill--sm {
  min-height: 2.55rem;
  padding: 0.48rem 0.95rem;
  font-size: 0.9rem;
  gap: 0.45rem;
}

/* İki satır çağrı merkezi */
.yh-call-line {
  gap: 0.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.yh-call-line__ico {
  font-size: 1.15rem;
  flex-shrink: 0;
  opacity: 0.95;
}

.yh-call-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: start;
}

.yh-call-line__label {
  font-size: clamp(0.68rem, 0.95vw, 0.76rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

.yh-call-line__num {
  font-size: clamp(0.88rem, 1.25vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
}

/* Sosyal: kutu yok, sade beyaz ikon — çağrı merkezi hizasında okunaklı */
.yh-pill-socials {
  gap: 0.62rem !important;
}

.yh-pill-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 1.82rem;
  height: auto;
  padding: 0.22rem;
  border: none;
  border-radius: 0.2rem;
  background: transparent !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 1.42rem;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55));
  transition: opacity 0.2s, transform 0.15s;
}

.yh-pill-socials a:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  background: transparent !important;
}

/* yunusemre: menü satırı üst/alt ince beyaz çizgi (logo altta, çizgi arkada) */
.yh-mid-wrap {
  z-index: 2;
}

@media (min-width: 992px) {
  /* Sadece orta satır (sol menü · logo · sağ menü): üst satırdan kopmadan biraz yukarı */
  .yh-site-header .yh-mid-wrap {
    margin-top: clamp(-22px, -1.65vw, -12px);
  }
}

.yh-mid__hr {
  height: 1px;
  /* 100vw + overflow kaydırma çubuğu ile yatay taşma/kayma yapmasın */
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: 0;
  /* Yunusemre: çok ince, hafif; logonun arkasında kaybolmayacak kadar görünür */
  background: rgba(255, 255, 255, 0.32);
  box-shadow: none;
  position: relative;
  left: auto;
  transform: none;
  z-index: 1;
  pointer-events: none;
}

.yh-mid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  /* Sol menü | logo | sağ menü — dikeyde ortalı */
  align-items: center;
  column-gap: clamp(1rem, 2.8vw, 2.35rem);
  row-gap: 0.35rem;
  min-height: clamp(6rem, 11vw, 7.25rem);
  padding: 0.65rem 0 0.85rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .yh-mid {
    padding: 0.48rem 0 0.68rem;
    min-height: clamp(5.5rem, 10vw, 6.85rem);
  }
}

@media (min-width: 992px) and (max-width: 1299.98px) {
  .yh-mid {
    column-gap: clamp(0.55rem, 1.4vw, 1.1rem);
  }

  .yh-mid__links {
    gap: 0.25rem 0.55rem !important;
  }

  .yh-mid__link {
    padding: 0.38rem 0.48rem !important;
    font-size: clamp(0.74rem, 1.05vw, 0.88rem) !important;
    letter-spacing: 0.05em !important;
  }

  .yh-header-logo__disc {
    width: clamp(6rem, 11vw, 8.25rem);
    height: clamp(6rem, 11vw, 8.25rem);
  }
}

/* Ana menü: maddeler arası belirgin yatay boşluk (yunusemre ferah) */
.yh-mid__links {
  gap: 0.35rem 1.05rem;
  min-width: 0;
  align-items: center;
  align-content: center;
}

@media (min-width: 1200px) {
  .yh-mid__links {
    gap: 0.35rem 1.28rem;
  }
}

/* Sol: logoya doğru hizala | Sağ: logoya doğru — tek satırda denge */
.yh-mid__links--left {
  justify-content: flex-end !important;
  padding-left: 0.15rem;
  padding-right: 0.35rem;
}

.yh-mid__links--right {
  justify-content: flex-start !important;
}

.yh-mid__link {
  display: block;
  padding: 0.48rem 0.7rem;
  font-size: clamp(0.82rem, 1.2vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff !important;
  text-decoration: none !important;
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.85),
    0 1px 5px rgba(0, 0, 0, 0.65);
  border-radius: 0.2rem;
  transition: background 0.2s;
  white-space: nowrap;
}

.yh-mid__link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
}

.yh-header-logo {
  justify-self: center;
  align-self: center;
  text-decoration: none !important;
  z-index: 4;
  margin-top: 0;
  transform: none;
}

.yh-header-logo__disc {
  display: flex;
  width: clamp(7rem, 12.5vw, 9.5rem);
  height: clamp(7rem, 12.5vw, 9.5rem);
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.38);
  align-items: center;
  justify-content: center;
}

.yh-header-logo__disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  transform: scale(1.06);
}

/* Mobil: üst pill satırı */
.yh-site-header .yh-mob-top {
  padding-top: clamp(0.35rem, 1.6vw, 0.72rem) !important;
}

.yh-site-header .yh-mob-logo {
  padding-top: 0.15rem !important;
  padding-bottom: 0.15rem !important;
}

/* Mobil */
.yh-mob-burger {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  background: rgba(0, 0, 0, 0.35) !important;
  border-radius: 0.3rem !important;
}

.yh-kolay-collapse {
  margin-top: 0.25rem;
}

.yh-kolay-panel {
  background: rgba(8, 12, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.65rem 0.85rem;
}

.yh-kolay-link {
  display: block;
  padding: 0.45rem 0.25rem;
  color: rgba(255, 255, 255, 0.92) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.yh-kolay-link:hover {
  color: #fff !important;
}

.yh-mob-logo__disc {
  display: inline-flex;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  align-items: center;
  justify-content: center;
}

.yh-mob-logo__disc img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  border-radius: 50%;
  transform: none;
}

/* —— Tam ekran video (üst üste, yumuşak geçiş) + alt şerit —— */
.yh-hero-viewport {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  /* Ana içerik beyaz olsa bile hero arkası koyu kalsın */
  background: #0a0f14;
}

.yh-hero-video-stack {
  --yh-hero-fade: 1.15s;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  /* Tekerlek / dokunuş sayfa kaydırmasına gitsin (video katmanı yakalamasın) */
  pointer-events: none;
}

.yh-hero-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity var(--yh-hero-fade) ease-in-out;
}

.yh-hero-layer--video {
  object-fit: cover;
  object-position: center;
}

.yh-hero-layer--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.yh-hero-layer.yh-hero-layer--active {
  opacity: 1;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .yh-hero-layer {
    transition-duration: 0.05s;
  }
}

/* Alt şerit + başkan: masaüstü tek satır — sol sıkı pill’ler, sağda dikey başkan (ad → ünvan → sosyal → foto) */
.yh-hero-bottom-stack {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 22;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  pointer-events: none;
  padding-bottom: max(0.6rem, env(safe-area-inset-bottom, 0px));
}

.yh-hero-bottom-stack .yh-hero-bottom-row {
  width: 100%;
  max-width: 1400px;
  padding-left: clamp(0.65rem, 2vw, 1.25rem);
  padding-right: clamp(0.65rem, 2vw, 1.25rem);
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .yh-hero-bottom-row {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(1rem, 3vw, 2.25rem);
  }

  .yh-hero-bottom-row .yh-bottom-strip {
    flex: 0 1 auto;
    min-width: 0;
    align-self: flex-end;
  }

  .yh-hero-bottom-row .yh-mayor-on-slider {
    flex: 0 0 auto;
    max-width: none;
    align-self: flex-end;
    margin-left: auto;
  }
}

@media (max-width: 991.98px) {
  .yh-hero-bottom-row {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
  }

  .yh-hero-bottom-row .yh-bottom-strip {
    width: 100%;
  }

  .yh-hero-bottom-row .yh-mayor-on-slider {
    max-width: 100%;
  }
}

.yh-mayor-on-slider {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding-bottom: 0.35rem;
  pointer-events: none;
}

.yh-mayor-on-slider .yh-mayor-card {
  pointer-events: auto;
}

.yh-mayor-card--on-slider {
  margin-bottom: 0;
  padding-bottom: 0.05rem;
}

.yh-mayor-card__visual {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.22rem;
  flex-shrink: 0;
  line-height: 0;
}

.yh-mayor-card__ribbon-img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(11rem, 72vw);
  max-height: 2rem;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
}

/* Hero başkan: alt pill halkaları ile aynı — yarı saydam koyu daire, beyaz çerçeve, beyaz ikon */
.yh-mayor-card.yh-mayor-card--on-slider .yh-mayor-card__socials {
  justify-content: center;
  margin: clamp(0.72rem, 2vw, 1.05rem) 0 0;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  padding: 0;
  min-height: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  gap: clamp(0.58rem, 1.75vw, 1.08rem);
}

.yh-mayor-card.yh-mayor-card--on-slider .yh-mayor-card__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.08rem, 3.15vw, 2.52rem);
  height: clamp(2.08rem, 3.15vw, 2.52rem);
  min-width: clamp(2.08rem, 3.15vw, 2.52rem);
  font-size: clamp(0.9rem, 1.32vw, 1.06rem);
  line-height: 1;
  border-radius: 50%;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
  opacity: 0.98;
  -webkit-font-smoothing: antialiased;
}

.yh-mayor-card.yh-mayor-card--on-slider .yh-mayor-card__socials a:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.95);
  color: #fff !important;
  opacity: 1;
  transform: translateY(-1px);
}

.yh-mayor-card.yh-mayor-card--on-slider .yh-mayor-card__socials a .bi {
  color: inherit !important;
}

@media (min-width: 992px) {
  .yh-mayor-on-slider {
    padding-bottom: 0;
    justify-content: flex-end;
    margin-right: calc(-1 * clamp(0.35rem, 1.2vw, 0.85rem));
  }

  .yh-mayor-card.yh-mayor-card--on-slider {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0.55rem 1.2rem;
    width: auto;
    max-width: none;
    padding-bottom: 0;
  }

  .yh-mayor-card.yh-mayor-card--on-slider .yh-mayor-card__meta {
    align-items: center;
    text-align: center;
    max-width: min(26rem, 92vw);
    padding-bottom: 0;
    margin-right: 0.15rem;
  }

  .yh-mayor-card.yh-mayor-card--on-slider .yh-mayor-card__name {
    margin: 0 0 0.1rem;
    font-size: clamp(1.12rem, 2.5vw, 1.52rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }

  .yh-mayor-card.yh-mayor-card--on-slider .yh-mayor-card__title {
    margin: 0 0 0.28rem;
    font-size: clamp(0.64rem, 0.92vw, 0.78rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.25;
  }

  .yh-mayor-card.yh-mayor-card--on-slider .yh-mayor-card__visual {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.22rem;
    flex-shrink: 0;
    margin-bottom: calc(-1 * max(0.5rem, env(safe-area-inset-bottom, 0px)));
    align-self: flex-end;
  }

  .yh-mayor-card.yh-mayor-card--on-slider .yh-mayor-card__ribbon-img {
    display: block;
    width: auto;
    max-width: min(10.5rem, 38vw);
    max-height: clamp(1.65rem, 3.2vh, 2.4rem);
    height: auto;
    object-fit: contain;
    object-position: right center;
    margin: 0;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.38));
  }

  .yh-mayor-card.yh-mayor-card--on-slider .yh-mayor-card__photo:has(img) {
    max-width: min(50vw, 19rem);
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .yh-mayor-card.yh-mayor-card--on-slider .yh-mayor-card__photo img {
    max-height: min(42vh, 21rem);
    display: block;
    transform: translate(8px, 12px);
    margin-bottom: -12px;
    object-position: right bottom;
  }
}

@media (max-width: 991.98px) {
  .yh-mayor-on-slider {
    justify-content: center;
    padding-bottom: 0.25rem;
  }

  .yh-mayor-card--on-slider {
    justify-content: center;
  }

  .yh-mayor-card.yh-mayor-card--on-slider {
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    max-width: none;
    padding-left: 0;
    gap: 0.25rem;
  }

  .yh-mayor-card.yh-mayor-card--on-slider .yh-mayor-card__meta {
    align-items: center;
    text-align: center;
    max-width: none;
    padding-bottom: 0;
  }

  .yh-mayor-card.yh-mayor-card--on-slider .yh-mayor-card__socials {
    justify-content: center;
    align-self: stretch;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .yh-mayor-card.yh-mayor-card--on-slider .yh-mayor-card__name {
    font-size: clamp(0.98rem, 3.6vw, 1.32rem);
    white-space: nowrap;
  }

  .yh-mayor-card.yh-mayor-card--on-slider .yh-mayor-card__title {
    font-size: clamp(0.58rem, 2.5vw, 0.74rem);
    font-weight: 700;
    letter-spacing: 0.13em;
  }

  .yh-mayor-card.yh-mayor-card--on-slider .yh-mayor-card__visual {
    align-items: center;
    width: 100%;
  }

  .yh-mayor-card.yh-mayor-card--on-slider .yh-mayor-card__ribbon-img {
    max-height: 1.9rem;
  }

  .yh-mayor-card.yh-mayor-card--on-slider .yh-mayor-card__photo:has(img) {
    max-width: min(82vw, 19.5rem);
  }

  .yh-mayor-card.yh-mayor-card--on-slider .yh-mayor-card__photo img {
    max-height: min(42vh, 22rem);
  }
}

.yh-hero-dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.32) 0%,
    rgba(0, 0, 0, 0.14) 40%,
    rgba(0, 0, 0, 0.26) 70%,
    rgba(0, 0, 0, 0.4) 100%
  );
  pointer-events: none;
}

/* Alt: hızlı erişim pill’leri — .yh-hero-bottom-stack içinde */
.yh-bottom-strip {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0.5rem 0 0;
  margin: 0;
  box-sizing: border-box;
  pointer-events: none;
  overflow: visible;
}

.yh-bottom-strip > * {
  pointer-events: auto;
}

/* Alt şerit: yalnız yuvarlak pill’ler (kutu yok) */
.yh-bottom-tiles {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  justify-self: stretch;
  align-self: end;
  padding-bottom: 0.45rem;
}

/* 8 öğe: eşit sütun aralığı, tek tip gap */
.yh-bottom-pills-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: end;
  justify-items: center;
  gap: clamp(0.7rem, 2.1vw, 1.1rem);
  min-width: 0;
  width: 100%;
}

/* Hero alt satır: pill’ler sola sıkı küme (yan yana), geniş ekranda flex */
.yh-bottom-pills-row.yh-bottom-pills-row--tight {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-end;
  gap: clamp(0.82rem, 2.2vw, 1.45rem);
  min-width: 0;
  width: 100%;
}

@media (min-width: 992px) {
  .yh-hero-bottom-row .yh-bottom-pills-row--tight {
    width: auto;
    max-width: min(100%, 68rem);
  }

  .yh-hero-bottom-row .yh-bottom-strip {
    padding-top: 0.2rem;
  }

  .yh-hero-bottom-row .yh-ebelediye-pill {
    gap: 0.42rem;
  }

  /* Referans: ~50–60px çaplı halkalar, okunaklı etiket */
  .yh-hero-bottom-row .yh-ebelediye-pill__ring {
    width: clamp(2.9rem, 4.6vw, 3.65rem);
    height: clamp(2.9rem, 4.6vw, 3.65rem);
    padding: 0.42rem;
  }

  .yh-hero-bottom-row .yh-ebelediye-pill__bi {
    font-size: clamp(1.12rem, 1.85vw, 1.42rem);
  }

  .yh-hero-bottom-row .yh-ebelediye-pill__label {
    font-size: clamp(0.58rem, 0.88vw, 0.76rem);
    max-width: 6rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 991.98px) {
  .yh-bottom-pills-row.yh-bottom-pills-row--tight {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.65rem, 2.6vw, 1rem);
    justify-items: center;
  }

  .yh-hero-bottom-row .yh-ebelediye-pill {
    gap: 0.38rem;
  }

  .yh-hero-bottom-row .yh-ebelediye-pill__ring {
    width: clamp(2.75rem, 9.2vw, 3.4rem);
    height: clamp(2.75rem, 9.2vw, 3.4rem);
    padding: 0.38rem;
  }

  .yh-hero-bottom-row .yh-ebelediye-pill__bi {
    font-size: clamp(1.05rem, 3.4vw, 1.35rem);
  }

  .yh-hero-bottom-row .yh-ebelediye-pill__label {
    font-size: clamp(0.52rem, 2.4vw, 0.7rem);
    max-width: 6rem;
  }
}

@media (max-width: 575.98px) {
  .yh-bottom-pills-row.yh-bottom-pills-row--tight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* E-Belediye: kutu yok — çift hatlı yuvarlak halka, içinde ikon, altta yazı */
.yh-ebelediye-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.42rem;
  min-width: 0;
  padding: 0 clamp(0.12rem, 0.65vw, 0.42rem) 0.12rem;
  text-decoration: none !important;
  color: #fff !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.yh-ebelediye-pill:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  box-shadow: none !important;
}

.yh-ebelediye-pill__ring {
  /* vw ile bazı çözünürüklerde abartılı büyüme — üst sınırı düşük tut */
  width: clamp(2.45rem, 3.8vw, 2.95rem);
  height: clamp(2.45rem, 3.8vw, 2.95rem);
  flex-shrink: 0;
  border-radius: 50%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  transform: translateY(-0.2rem);
}

.yh-ebelediye-pill__bi {
  font-size: clamp(1rem, 1.85vw, 1.22rem);
  line-height: 1;
  color: #fff;
  opacity: 0.96;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.yh-ebelediye-pill__label {
  font-size: clamp(0.54rem, 0.95vw, 0.7rem);
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
  max-width: 8.5rem;
}

/* Başkan: metin solda, arka plansız kesim sağda — alt kenar çizgisi şerit=viewport altı */
.yh-mayor-card {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.55rem 1rem;
  min-width: 0;
  width: auto;
  max-width: min(100%, 52rem);
  padding: 0 0 0 0.35rem;
  margin-bottom: 0;
  align-self: end;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.yh-mayor-card__meta {
  min-width: 0;
  flex: 0 0 auto;
  max-width: min(22rem, 90vw);
  text-align: center;
  padding-bottom: 0.2rem;
  align-self: flex-end;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

/* Kesim PNG: alta yapışık, img altında ekstra boşluk yok */
.yh-mayor-card__photo {
  position: relative;
  flex-shrink: 0;
  width: auto;
  align-self: flex-end;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  line-height: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.yh-mayor-card__photo--placeholder {
  width: clamp(6rem, 8vw, 7.5rem);
  min-height: 7.5rem;
  max-height: 26vh;
  margin-bottom: 0.45rem;
  background: linear-gradient(180deg, rgba(30, 58, 98, 0.5), rgba(15, 46, 87, 0.65));
}

.yh-mayor-card__photo:has(img) {
  background: transparent;
  min-height: 0;
  margin-bottom: 0;
  padding-bottom: 0;
  display: block;
  max-width: min(36vw, 17rem);
  flex-shrink: 1;
  /* Satır yüksekliği / alt piksel yuvarlaması boşluğu */
  font-size: 0;
}

.yh-mayor-card__photo img {
  display: block;
  width: auto;
  height: auto;
  max-height: min(40vh, 20rem);
  max-width: 100%;
  object-fit: contain;
  object-position: right bottom;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: bottom;
  /* Layout kutusu alta yapışık kalsın; pikseller viewport altına ~5px taşsın (ince boşluk kapanır) */
  transform: translateY(3px);
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
}

.yh-mayor-card__name {
  margin: 0 0 0.15rem;
  /* Şerit görseliyle uyum: kurumsal düz sans-serif (el yazısı / display font yok) */
  font-family: "Inter", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.05rem, 2.35vw, 1.45rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.03em;
  text-transform: none;
  white-space: nowrap;
}

.yh-mayor-card__name-given {
  font-family: inherit;
  font-weight: 700;
}

.yh-mayor-card__name-family {
  font-family: inherit;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  border-bottom: none;
  padding-bottom: 0;
}

.yh-mayor-card__title {
  margin: 0 0 0.5rem;
  font-size: clamp(0.62rem, 0.9vw, 0.74rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.yh-mayor-card__socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.42rem;
  justify-content: center;
  padding: 0.5rem 0.75rem 0.45rem;
  margin: 0.15rem auto 0;
  min-height: 2.5rem;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.yh-mayor-card__socials a {
  display: inline-flex;
  width: 2.15rem;
  height: 2.15rem;
  min-width: 2.15rem;
  padding: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
  font-size: 1.05rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.yh-mayor-card__socials a:hover {
  opacity: 1;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.26) !important;
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}

.yh-scroll-spacer {
  min-height: 25vh;
  pointer-events: none;
  background: #fff;
}

/* Hero sonrası: haberler ve içerik Laravel tarzı beyaz zemin (gövde koyu renk sızmaz) */
body.yh-site-home main#main-content {
  background: #fff;
  color: #1d2327;
}

/* Hero sonrası: kaydırma alanı (scroll-header tetiklenir) */
.yh-site-home-below {
  position: relative;
  z-index: 1;
  min-height: 110vh;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.5rem) 4rem;
  background: linear-gradient(180deg, #0a0f14 0%, #111a24 38%, #152030 100%);
  color: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.yh-site-home-below__title {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.yh-site-home-below__lead {
  max-width: 42rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 991.98px) {
  .yh-bottom-tiles {
    max-width: none;
  }

  .yh-bottom-pills-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.62rem, 2.4vw, 0.92rem);
  }

  .yh-mayor-card {
    flex-wrap: wrap;
    min-width: 0;
    justify-content: center;
    width: 100%;
    max-width: none;
    padding-left: 0;
  }

  .yh-mayor-card__photo:has(img) {
    max-width: min(85vw, 20rem);
  }

  .yh-mayor-card__meta {
    max-width: none;
    text-align: center;
    align-items: center;
  }

  .yh-mayor-card__socials {
    justify-content: center;
    margin-left: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
}

@media (max-width: 575.98px) {
  .yh-bottom-pills-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.55rem, 3.2vw, 0.9rem);
  }
}

/* Slayt önizlemesi (isteğe bağlı #yhHeroBgs) */
.yh-hero-fade-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.yh-hero-fade-slide.is-active {
  opacity: 1;
  z-index: 0;
}

.yh-hero-ctrl--prev,
.yh-hero-ctrl--next {
  display: none;
}

/* —— Kaydırınca: hero üstü yumuşakça kaybolur, sabit beyaz menü çubuğu iner (yunusemre / ahmetli ana sayfa) —— */
body.yh-site-home .yh-site-header {
  will-change: opacity, transform;
  transition:
    opacity 0.34s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.34s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

body.yh-site-home-scroll-nav .yh-site-header {
  opacity: 0;
  transform: translateY(-18px);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.34s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.34s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.34s,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

body.yh-site-home:not(.yh-site-home-scroll-nav) .yh-site-header {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0s,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.yh-scroll-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: #fff;
  color: #0f172a;
  border-bottom: 1px solid rgba(15, 46, 87, 0.1);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.28s ease,
    visibility 0s linear 0.32s;
  box-shadow: 0 4px 24px rgba(15, 46, 87, 0.08);
}

.yh-scroll-header.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.28s ease,
    visibility 0s linear 0s;
}

.yh-scroll-header-inner {
  max-width: min(1680px, 100%);
  margin: 0 auto;
  padding: 12px clamp(16px, 3.5vw, 32px);
  min-height: 64px;
}

/* yunusemre.bel.tr — kaydırınca: sol | Kolay Menü | sağ */
.yh-scroll-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem 1.1rem;
}

.yh-scroll-nav__links {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.85rem;
}

@media (min-width: 992px) {
  .yh-scroll-nav__links {
    display: flex;
  }
}

.yh-scroll-nav__links--left {
  justify-content: flex-end;
  padding-right: 0.5rem;
}

.yh-scroll-nav__links--right {
  justify-content: flex-start;
  padding-left: 0.5rem;
}

.yh-scroll-nav__a {
  display: inline-block;
  padding: 0.5rem 0.62rem;
  font-size: clamp(0.84rem, 1.25vw, 1.02rem);
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-decoration: none !important;
  color: #111827 !important;
  border-radius: 0.28rem;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.yh-scroll-nav__a:hover {
  background: rgba(15, 46, 87, 0.06);
  color: #0f2e57 !important;
}

.yh-scroll-nav__center {
  display: flex;
  justify-content: center;
  align-items: center;
  grid-column: 1 / -1;
}

.yh-scroll-nav__center--brand {
  gap: 0.45rem;
}

@media (min-width: 992px) {
  .yh-scroll-nav__center {
    grid-column: auto;
  }
}

.yh-scroll-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  flex-shrink: 0;
}

.yh-scroll-brand__disc {
  display: flex;
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  padding: 3px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 46, 87, 0.14);
  box-shadow: 0 1px 4px rgba(15, 46, 87, 0.08);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

@media (min-width: 1200px) {
  .yh-scroll-brand__disc {
    width: 54px;
    height: 54px;
    padding: 4px;
  }
}

.yh-scroll-brand__disc img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  vertical-align: middle;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  /* Hafif kontrast: küçük ölçekte soluk kalan logoları toparlar */
  filter: contrast(1.05);
}

/* Mobil: yan menü yokken çekmeceyi açmak için */
.yh-scroll-drawer-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(17, 24, 39, 0.35);
  border-radius: 12px;
  background: #f8fafc;
  color: #111827;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.yh-scroll-drawer-toggle:hover {
  background: #f1f5f9;
  border-color: #111827;
}

.yh-scroll-drawer-toggle__ico {
  position: relative;
  width: 20px;
  height: 14px;
  display: block;
}

.yh-scroll-drawer-toggle__ico span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #111827;
  border-radius: 2px;
}

.yh-scroll-drawer-toggle__ico span:nth-child(1) {
  top: 0;
}

.yh-scroll-drawer-toggle__ico span:nth-child(2) {
  top: 6px;
}

.yh-scroll-drawer-toggle__ico span:nth-child(3) {
  top: 12px;
}

@media (max-width: 991.98px) {
  .yh-scroll-nav {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .yh-scroll-nav__center {
    grid-column: 1;
  }
}

.yh-hamburger-drawer-overlay[hidden] {
  display: none !important;
}

.yh-hamburger-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 600;
  display: flex;
  justify-content: flex-end;
}

.yh-hamburger-drawer {
  width: min(420px, 92vw);
  height: 100%;
  background: #fff;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.yh-hamburger-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid #e5e7eb;
  font-weight: 700;
  color: #0f172a;
}

.yh-hamburger-close {
  border: none;
  background: #f1f5f9;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #0f172a;
}

.yh-hamburger-drawer-list {
  list-style: none;
  margin: 0;
  padding: 12px 16px;
  flex: 1;
}

.yh-hamburger-drawer-list > li {
  margin-bottom: 8px;
}

.yh-hamburger-drawer-list a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
}

.yh-hamburger-drawer-list a:hover {
  background: rgba(0, 61, 122, 0.06);
}

.yh-drawer-extras {
  padding: 16px;
  border-top: 1px solid #e5e7eb;
}

.yh-drawer-section-title {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.yh-drawer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.yh-drawer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.15rem;
}

.yh-drawer-social .facebook {
  background: #1877f2;
}

.yh-drawer-social .instagram {
  background: linear-gradient(45deg, #f09433, #bc1888);
}

.yh-drawer-social .whatsapp {
  background: #25d366;
}
