/*
 * Şarkışla Belediyesi — tema bileşenleri (header, ana sayfa bölümleri, footer, pencereler).
 * Bu kurallar eskiden blade dosyalarındaki <style> bloklarındaydı; sıraları korunmuştur.
 */

/* =========================================================
   Yükleyici  (parts/loading_modal.blade.php)
   ========================================================= */
/* Eski loader stillerini ez */
.loading {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  background:
    url(/assets/img/header.svg) no-repeat right -160px bottom -40px / 1100px
      auto,
    #0b2540 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition:
    transform 0.7s cubic-bezier(0.7, 0, 0.2, 1) 0.15s,
    visibility 0s linear 0.9s;
}

/* Kapanış: perde yukarı kayar */
.loading.hidden {
  transform: translateY(-100%);
  visibility: hidden !important;
  pointer-events: none;
}

.loading.hidden .ld {
  opacity: 0;
  transform: translateY(-20px);
}

.ld {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  transition:
    opacity 0.35s,
    transform 0.35s;
}

.ld-mark {
  position: relative;
  width: 132px;
  height: 132px;
}

.ld-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ld-ring rect {
  fill: none;
  stroke: #0080c7;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: ldDraw 1.6s cubic-bezier(0.6, 0, 0.3, 1) infinite;
}

@keyframes ldDraw {
  0% {
    stroke-dashoffset: 100;
  }

  55% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: -100;
  }
}

/* Header'daki logo çerçevesiyle aynı kırpma */
.ld-medal {
  position: absolute;
  inset: 14px;
  border-radius: 34%;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ldPop 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.3) both;
}

.ld-medal img {
  width: 200%;
  max-width: none;
  height: auto;
  flex-shrink: 0;
  transform: translateY(-3.5%);
}

@keyframes ldPop {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
}

.ld-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  animation: ldUp 0.6s 0.15s ease both;
}

.ld-name small {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: #6cc3f5;
}

.ld-name b {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes ldUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.ld-bar {
  position: relative;
  width: 160px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.ld-bar i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  background: #6cc3f5;
  animation: ldSlide 1.1s ease-in-out infinite;
}

@keyframes ldSlide {
  from {
    left: -40%;
  }

  to {
    left: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ld-ring rect,
  .ld-bar i {
    animation: none;
  }
}

/* =========================================================
   Header + mega menü + mobil çekmece  (parts/anasayfa/header.blade.php)
   ========================================================= */
.bx {
  --bx-navy: #0b2540;
  --bx-navy-2: #12355a;
  --bx-blue: #0080c7;
  --bx-red: #e30a17;
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Sağda logo filigranı; aşağıdaki banner bandında (slider.blade.php) kesintisiz devam eder */
  background:
    url(/assets/img/header.svg) no-repeat right -120px top 0 / 1000px auto,
    var(--bx-navy);
  font-family: "Quicksand", sans-serif;
  transition: box-shadow 0.3s ease;
}

.bx.is-scrolled {
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.55);
}

/* En üstte Şarkışla mavisi ince çizgi */
.bx__ribbon {
  display: block;
  height: 4px;
  background: var(--bx-blue);
}

/* Banner ile aynı hizada: hero kenar boşluğu (1.25rem) + yan ray (48px) + ray aralığı (.8rem) */
.bx__inner {
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 calc(1.25rem + 48px + 0.8rem);
  position: relative;
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: height 0.3s ease;
}

.bx.is-scrolled .bx__inner {
  height: 72px;
}

/* Logo mührü + ayraç + Atatürk görseli; lacivert zeminde, dikeyde ortalı */
.bx-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.bx-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Mühür yuvarlatılmış kare biçiminde; çerçeve de aynı biçimde */
.bx-brand__medal {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 34%;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.6);
  transition:
    width 0.3s ease,
    height 0.3s ease;
}

.bx-left__sep {
  width: 1px;
  height: 52px;
  background: rgba(255, 255, 255, 0.2);
}

/* Logonun yanındaki kurum adı: dikey çizgi + T.C. / ŞARKIŞLA BELEDİYESİ (beyaz) */
.bx-title__sep {
  width: 2px;
  height: 52px;
  border-radius: 2px;
  background: #fff;
}

.bx-title {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: #fff !important;
  text-decoration: none;
  white-space: nowrap;
}

.bx-title small {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.85;
}

.bx-title b {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.02em;
}

/* "Şarkışla Birlikte Güzel" logosunun yanındaki bayrak görseli: aradaki boşluk daha dar */
.bx-ata--bayrak {
  margin-left: -0.5rem;
}

/*
 * Logo SVG'si 311.5x181.36; mühür genişliğin %48.1'ini kaplıyor, dikey merkezi %53.5'te,
 * köşe yuvarlaklığı mühür genişliğinin ~%35'i.
 * 200% genişlik → mühür çerçevenin ~%96'sı (ince beyaz kenar); -3.5% kaydırma → tam ortada.
 */
.bx-brand__medal img {
  width: 200%;
  max-width: none;
  height: auto;
  flex-shrink: 0;
  transform: translateY(-3.5%);
}

.bx.is-scrolled .bx-brand__medal {
  width: 54px;
  height: 54px;
}

/* Cam kapsül menü */
/* Menü sayfanın tam ortasında (logo/buton genişliğinden bağımsız) */
.bx-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
}

.bx-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bx-nav__capsule {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.bx-nav__item {
  position: relative;
}

.bx-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 42px;
  padding: 0 1rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}

.bx-nav__link i {
  font-size: 0.7rem;
  opacity: 0.6;
  transition: transform 0.2s;
}

.bx-nav__item:hover > .bx-nav__link {
  background: #fff;
  color: var(--bx-navy);
}

.bx-nav__item:hover > .bx-nav__link i {
  transform: rotate(180deg);
  opacity: 1;
}

/* Açılır alt menü */
.bx-sub {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 290px;
  padding: 1rem 0.7rem 0.7rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(11, 37, 64, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0s linear 0.2s;
}

/* Hover sırasında boşluktan düşmemek için köprü */
.bx-sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.bx-sub::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 3px;
  transform: translateX(-50%) rotate(45deg);
}

.bx-nav__item:hover .bx-sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.bx-sub__title {
  display: block;
  padding: 0 0.8rem 0.6rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid #edf1f5;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bx-navy);
}

.bx-sub ul {
  max-height: 60vh;
  overflow-y: auto;
}

.bx-sub a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  color: #2a3744;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
}

.bx-sub a i {
  font-size: 0.7rem;
  color: var(--bx-red);
  opacity: 0;
  margin-left: -1.1rem;
  transition:
    opacity 0.15s,
    margin 0.15s;
}

.bx-sub a:hover {
  background: #eef6fc;
  color: var(--bx-blue);
}

.bx-sub a:hover i {
  opacity: 1;
  margin-left: 0;
}

.bx-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

/* Arama: kutu görünümlü hap; tıklayınca arama paneli açılır */
.bx-find {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: 210px;
  height: 50px;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.bx-find i {
  font-size: 0.95rem;
  color: #6cc3f5;
}

.bx-find__text {
  color: rgba(255, 255, 255, 0.55);
}

.bx-find:hover,
.bx-find.is-active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Online İşlemler: beyaz hap + sağda mavi daire içinde ok; hover'da renkler yer değiştirir */
.bx-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  height: 50px;
  padding: 0 0.4rem 0 1.4rem;
  border-radius: 999px;
  background: #fff;
  color: var(--bx-navy) !important;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s;
}

.bx-cta__text {
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.bx-cta__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bx-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}

.bx-cta:hover {
  background: var(--bx-blue);
  color: #fff !important;
}

.bx-cta:hover .bx-cta__icon {
  background: #fff;
  color: var(--bx-blue);
  transform: rotate(-45deg);
}

/* Ekran daraldıkça önce arama ikona, sonra buton tek satıra iner */
@media (max-width: 1700px) {
  .bx-find {
    width: 50px;
    padding: 0;
    justify-content: center;
  }

  .bx-find__text {
    display: none;
  }
}

@media (max-width: 1450px) {
  .bx-nav__link {
    padding: 0 0.55rem;
  }
}

/* Görsel 127x70; bulanıklaşmaması için doğal boyuta yakın */
.bx-ata {
  height: 64px;
  width: auto;
  transition: height 0.3s ease;
}

.bx.is-scrolled .bx-ata {
  height: 44px;
}

/* Açılır arama */
.bx-search {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 1rem 2rem 1.4rem;
  background: var(--bx-navy);
  display: none;
}

.bx-search.is-open {
  display: block;
}

.bx-search__box {
  max-width: 760px;
  margin: 0 auto;
  height: 58px;
  padding: 0 0.5rem 0 1.4rem;
  border-radius: 999px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #8a97a5;
}

.bx-search input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 1rem;
  color: #1b2733;
  background: transparent;
}

.bx-search button {
  height: 44px;
  padding: 0 1.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--bx-red);
  color: #fff;
  font-weight: 700;
}

/* Logo yanındaki görseller (Birlikte Güzel + bayrak) sabit genişlikte gizlenmez;
   header.blade.php'deki betik yer ölçer: sığmazsa önce küçültür (.bx--sikisik), yine sığmazsa gizler (.bx--atasiz). */
.bx--sikisik .bx-left {
  gap: 0.8rem;
}

.bx--sikisik .bx-ata {
  height: 40px;
}

.bx--sikisik .bx-ata--bayrak {
  margin-left: -0.3rem;
}

.bx--atasiz .bx-ata,
.bx--atasiz .bx-left__sep {
  display: none;
}

@media (max-width: 1550px) {
  .bx-nav__link {
    padding: 0 0.75rem;
    font-size: 0.85rem;
  }
}

/* Dar ekranda logo/butonlarla çakışmasın: normal akışa dön */
@media (max-width: 1250px) {
  .bx-nav {
    position: static;
    transform: none;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    justify-content: flex-start;
  }
}

/* =========================================================
   MEGA MENÜ — alt menü header genişliğinde büyük panel olarak açılır
   (nav transform'suz ortalanır ki panel tüm header'a yayılabilsin)
   ========================================================= */
.bx-nav {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transform: none;
  align-items: center;
  pointer-events: none;
}

.bx-nav__capsule {
  pointer-events: auto;
}

.bx-nav__item {
  position: static;
}

.bx-sub {
  top: 100%;
  left: 50%;
  width: 100vw;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  /* Silik şehir fotoğrafı: lacivert katman + renksizleştirme (luminosity) ile doku gibi */
  background-color: var(--bx-navy);
  background-image:
    linear-gradient(
      90deg,
      rgba(11, 37, 64, 0.94) 0%,
      rgba(11, 37, 64, 0.84) 45%,
      rgba(11, 37, 64, 0.9) 100%
    ),
    url(/assets/img/footerbg.jpg);
  background-repeat: no-repeat;
  background-size: cover, cover;
  background-position:
    center,
    center 62%;
  background-blend-mode: normal, luminosity;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.55);
  transform: translate(-50%, -8px);
  pointer-events: auto;
}

.bx-nav__item:hover .bx-sub {
  transform: translate(-50%, 0);
}

/* Menü yazısından panele geçerken hover düşmesin */
.bx-sub::before {
  top: -60px;
  height: 60px;
}

.bx-sub::after {
  display: none;
}

.bx-sub__inner {
  max-width: 1900px;
  margin: 0 auto;
  padding: 2.2rem calc(1.25rem + 48px + 0.8rem) 2.6rem;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 2.4rem;
  align-items: start;
}

.bx-sub__intro {
  position: relative;
  min-height: 170px;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.bx-sub__intro small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fc6ea;
}

.bx-sub .bx-sub__title {
  display: block;
  margin: 0.4rem 0 0;
  padding: 0 0 0.9rem;
  border: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  color: #fff;
}

.bx-sub .bx-sub__title::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin-top: 0.9rem;
  background: var(--bx-blue);
}

.bx-sub__intro em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

.bx-sub ul.bx-sub__links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.7rem;
  max-height: none;
  overflow: visible;
}

.bx-sub .bx-sub__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.bx-sub .bx-sub__links a i {
  flex-shrink: 0;
  margin: 0;
  opacity: 0.45;
  font-size: 0.75rem;
  color: #fff;
  transition:
    opacity 0.2s,
    transform 0.2s,
    color 0.2s;
}

.bx-sub .bx-sub__links a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--bx-blue);
  color: #fff;
}

.bx-sub .bx-sub__links a:hover i {
  opacity: 1;
  color: #8fc6ea;
  transform: translateX(3px);
}

/* Açık menünün yazısı beyaz hap olarak kalsın */
.bx-nav__item.has-sub:hover > .bx-nav__link {
  background: #fff;
  color: var(--bx-navy);
}

@media (max-width: 1450px) {
  .bx-sub__inner {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .bx-sub ul.bx-sub__links {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

/* Açık mega menü header'la bütünleşir: panel header'ın en üstünden başlar,
   logo/menü/butonlar fotoğrafın üzerinde kalır (z-index:-1 → header zemininin üstünde, içeriğin altında) */
.bx {
  --bx-h: 116px;
}

.bx.is-scrolled {
  --bx-h: 72px;
}

.bx-sub {
  top: 0;
  z-index: -1;
  border-top: 0;
}

.bx-sub::before {
  display: none;
}

.bx-sub__inner {
  padding-top: calc(var(--bx-h) + 2rem);
  transition: padding-top 0.3s ease;
}

/* Başlık kutusunun altında Şarkışla silüeti (sarkisla-siluet.png: 1600x326, şeffaf zemin).
   Görsel maske olarak kullanılır; rengi background-color'dan gelir. */
.bx-sub__intro::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  aspect-ratio: 1600 / 326;
  background-color: #8fc6ea;
  -webkit-mask: url(/assets/img/sarkisla-siluet.png) no-repeat center bottom /
    100% auto;
  mask: url(/assets/img/sarkisla-siluet.png) no-repeat center bottom / 100% auto;
  opacity: 0.28;
  pointer-events: none;
}

/* =========================================================
   Online İşlemler penceresi  (parts/onlineislemler.blade.php)
   ========================================================= */
.oi-modal {
  --oi-navy: #0b2540;
  --oi-ink: #14202c;
  --oi-muted: #7a8794;
  --oi-line: #e3e8ee;
  --oi-blue: #0080c7;
}

.oi-modal .modal-dialog {
  max-width: 1120px;
}

.oi-modal .modal-content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.55);
}

.oi-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  height: min(640px, calc(100vh - 3.5rem));
}

/* ---------- Sol panel ---------- */
.oi-side {
  display: flex;
  flex-direction: column;
  padding: 2.2rem 1.8rem 1.6rem;
  border-top: 4px solid var(--oi-blue);
  background:
    url(/assets/img/header.svg) no-repeat -60px 108% / 380px auto,
    var(--oi-navy);
  color: #fff;
}

.oi-side__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fc6ea;
}

.oi-title {
  margin: 0.5rem 0 1.6rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 0.92;
  text-transform: uppercase;
  color: #fff;
}

.oi-filter {
  position: relative;
  display: block;
  margin-bottom: 1.6rem;
}

.oi-filter input {
  width: 100%;
  height: 46px;
  padding: 0 2rem 0 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  background: transparent;
  font-size: 1rem;
  color: #fff;
  outline: 0;
  transition: border-color 0.2s;
}

.oi-filter input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.oi-filter input:focus {
  border-bottom-color: #fff;
}

.oi-filter i {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
}

.oi-cats {
  display: flex;
  flex-direction: column;
}

.oi-cat {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0 0.7rem 0.9rem;
  border: 0;
  background: none;
  text-align: left;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.oi-cat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.2s;
}

.oi-cat span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.oi-cat em {
  font-style: normal;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
}

.oi-cat:hover {
  color: #fff;
}

.oi-cat.is-active {
  color: #fff;
}

.oi-cat.is-active::before {
  background: var(--oi-blue);
  width: 3px;
}

.oi-cat.is-active em {
  color: #8fc6ea;
}

.oi-help {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff !important;
  text-decoration: none;
}

.oi-help small {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

.oi-help span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
}

/* ---------- Sağ: dizin ---------- */
.oi-main {
  position: relative;
  min-width: 0;
  background: #fff;
}

.oi-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--oi-line);
  border-radius: 50%;
  background: #fff;
  color: var(--oi-ink);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.oi-close:hover {
  background: var(--oi-navy);
  border-color: var(--oi-navy);
  color: #fff;
}

.oi-scroll {
  height: 100%;
  overflow-y: auto;
  padding: 2rem 2.4rem 2.4rem;
  scrollbar-width: thin;
  scrollbar-color: #d5dde5 transparent;
}

.oi-group + .oi-group {
  margin-top: 2rem;
}

.oi-group:first-of-type .oi-group__title {
  margin-right: 3.6rem;
}

.oi-group__title {
  margin: 0 0 0.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--oi-ink);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--oi-ink);
}

.oi-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.oi-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--oi-line);
  color: var(--oi-ink) !important;
  text-decoration: none;
  transition: padding 0.25s;
}

.oi-row__no {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #b6c0ca;
}

.oi-row__name {
  min-width: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.oi-row__to {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--oi-muted);
  white-space: nowrap;
}

.oi-row__to i {
  font-size: 0.75rem;
  color: var(--oi-ink);
  transition:
    transform 0.25s,
    color 0.2s;
}

a.oi-row:hover {
  padding-left: 0.4rem;
}

a.oi-row:hover .oi-row__no,
a.oi-row:hover .oi-row__name,
a.oi-row:hover .oi-row__to i {
  color: var(--oi-blue);
}

a.oi-row:hover .oi-row__to i.fa-arrow-right {
  transform: translateX(3px);
}

a.oi-row:hover .oi-row__to i.fa-arrow-up-right-from-square {
  transform: translate(2px, -2px);
}

.oi-row.is-soon {
  cursor: default;
}

.oi-row.is-soon .oi-row__name {
  color: #9aa6b2;
}

.oi-row.is-soon .oi-row__to {
  padding: 0.15rem 0.55rem;
  border: 1px dashed #c9d3dd;
  border-radius: 999px;
}

.oi-row-wrap.is-hidden,
.oi-group.is-hidden {
  display: none;
}

.oi-empty {
  display: none;
  margin: 2rem 0 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--oi-muted);
}

.oi-empty.is-visible {
  display: block;
}

@media (max-width: 991px) {
  .oi-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Mobil: tam ekran, kategoriler yatay sekme */
@media (max-width: 767px) {
  .oi-modal .modal-dialog {
    margin: 0;
    max-width: none;
    min-height: 100%;
  }

  .oi-modal .modal-content {
    min-height: 100vh;
    border-radius: 0;
  }

  .oi-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    height: 100vh;
    height: 100dvh;
  }

  .oi-side {
    padding: 1.4rem 16px 0.2rem;
    background: var(--oi-navy);
  }

  .oi-title {
    margin: 0.3rem 0 1rem;
    font-size: 2.2rem;
  }

  .oi-title br {
    display: none;
  }

  .oi-filter {
    margin-bottom: 0.6rem;
  }

  .oi-cats {
    flex-direction: row;
    gap: 1.2rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .oi-cat {
    flex-shrink: 0;
    gap: 0.4rem;
    padding: 0.8rem 0;
  }

  .oi-cat::before {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto !important;
    height: 3px;
    background: transparent;
  }

  .oi-cat span {
    font-size: 1.1rem;
  }

  .oi-help {
    display: none;
  }

  .oi-close {
    position: fixed;
    top: 1rem;
    right: 16px;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
  }

  .oi-scroll {
    padding: 1.2rem 16px 2rem;
  }

  .oi-group__title {
    margin-right: 0;
    font-size: 1.45rem;
  }

  .oi-row__name {
    font-size: 1.15rem;
  }

  .oi-row__to {
    font-size: 0;
    gap: 0;
  }

  .oi-row.is-soon .oi-row__to {
    font-size: 0.68rem;
  }

  .oi-row__to i {
    font-size: 0.8rem;
  }
}

/* =========================================================
   Ana sayfa: slider  (parts/anasayfa/slider.blade.php)
   ========================================================= */
.bh-hero {
  --bh-navy: #0b2540;
  --bh-blue: #0080c7;
  --bh-red: #e30a17;
  --hero-delay: 7s;
  position: relative;
  padding: 1.25rem 0 1rem;
  background:
    radial-gradient(
        circle at 1px 1px,
        rgba(11, 37, 64, 0.07) 1px,
        transparent 0
      )
      0 0 / 22px 22px,
    linear-gradient(180deg, #eef3f8 0%, #f7f9fb 60%, #fff 100%);
}

/* Header'ın lacivert bandı banner'ın arkasında devam eder; banner banda yarı biner */
.bh-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 46%;
  /* Header'daki filigranın devamı: aynı boyut, header yüksekliği (120px) kadar yukarı kaydırılmış */
  background:
    url(/assets/img/header.svg) no-repeat right -120px top -120px / 1000px auto,
    #0b2540;
  border-radius: 0 0 3rem 3rem;
  opacity: 1;
}

.bh-hero > .bh-wrap {
  position: relative;
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Raylar mutlak konumlu; banner yüksekliğini yalnızca kendi oranı belirler */
.bh-frame {
  position: relative;
  padding: 0 calc(48px + 0.8rem);
}

/* Dikey raylar */
.bh-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* İkonlar tek bir beyaz dikey kapsülde, ferah aralıklı */
.bh-rail__icons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 0;
  width: 48px;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 16px 32px -14px rgba(11, 37, 64, 0.45);
}

.bh-rail__icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bh-navy);
  font-size: 0.95rem;
  transition:
    background 0.2s,
    color 0.2s;
}

.bh-rail__icons a:hover {
  background: var(--bh-blue);
  color: #fff;
}

.bh-rail__icons a.is-wa {
  background: #25d366;
  color: #fff;
}

.bh-rail--left {
  left: 0;
}

.bh-rail--right {
  right: 0;
}

/* Banner: görseller 1734x800; masaüstünde biraz daha basık (1734x700), görsel üstten/alttan hafif kırpılır,
   (kenarlarda boşluk kalmaz; arkadaki bulanık kopya yalnızca yükleme sırasında görünür) */
.bh-stage {
  position: relative;
  aspect-ratio: 1734 / 700;
  border-radius: 28px;
  overflow: hidden;
  background: #dfe7ef;
  box-shadow: 0 30px 60px -30px rgba(11, 37, 64, 0.45);
}

.bh-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.9s ease,
    visibility 0s linear 0.9s;
}

.bh-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s ease;
}

.bh-slide__link {
  display: block;
  width: 100%;
  height: 100%;
}

.bh-slide::before {
  content: "";
  position: absolute;
  inset: -40px;
  background-image: var(--bh-bg);
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.85);
}

.bh-slide__link {
  position: relative;
}

.bh-slide img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 8s ease-out;
}

.bh-slide.is-active img {
  transform: scale(1);
}

.bh-slide--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bh-navy), #14406b);
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Banner'ın alt kenarına binen satır */
.bh-under {
  position: relative;
  z-index: 2;
  margin-top: -46px;
  /* Raylar hizasında başlasın */
  padding: 0 calc(48px + 0.8rem + 2.25rem);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 1.5rem;
}

/* Slayt kontrolü */
.bh-ctrl {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.55rem 0.55rem 0.55rem 1.3rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 20px 40px -18px rgba(11, 37, 64, 0.35);
  border: 1px solid #eef2f6;
  margin-bottom: 0.6rem;
}

.bh-ctrl__count {
  font-family: "Barlow Condensed", sans-serif;
  color: var(--bh-navy);
  font-size: 1rem;
  white-space: nowrap;
}

.bh-ctrl__count b {
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: 0.2rem;
}

.bh-ctrl__count span {
  opacity: 0.5;
}

.bh-ctrl__bars {
  display: flex;
  gap: 0.35rem;
}

.bh-ctrl__bars i {
  position: relative;
  display: block;
  width: 16px;
  height: 4px;
  border-radius: 4px;
  overflow: hidden;
  background: #dbe3ea;
  cursor: pointer;
  transition: width 0.3s;
}

.bh-ctrl__bars i.is-active {
  width: 48px;
}

.bh-ctrl__bars i b {
  position: absolute;
  inset: 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--bh-red), var(--bh-blue));
}

.bh-ctrl__bars i.is-active b {
  animation: heroFill var(--hero-delay) linear forwards;
}

.bh-hero.is-paused .bh-ctrl__bars i.is-active b {
  animation-play-state: paused;
}

@keyframes heroFill {
  to {
    width: 100%;
  }
}

.bh-ctrl__btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #f0f4f8;
  color: var(--bh-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition:
    background 0.2s,
    color 0.2s;
}

.bh-ctrl__btn:hover {
  background: var(--bh-navy);
  color: #fff;
}

/* Haberler bölümü eskiden slider'ın üstüne bindiriliyordu */
.bh-hero ~ section#haberler {
  bottom: 0;
  margin-top: 1rem;
}

/* =========================================================
   Ana sayfa: haberler  (parts/anasayfa/haberler.blade.php)
   ========================================================= */
.gx {
  --gx-ink: #14202c;
  --gx-muted: #7a8794;
  --gx-line: #e7ecf1;
  --gx-soft: #f5f7f9;
  --gx-blue: #0080c7;
  position: relative;
  padding: 3rem 0 1.5rem;
  background: #fff;
}

/* Üstteki banner ile aynı genişlik ve kenar hizası */
.gx__wrap {
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 calc(1.25rem + 48px + 0.8rem);
}

/* Başlık satırı: başlık — çizgi — butonlar */
.gx-head {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.gx-head__title {
  flex-shrink: 0;
}

.gx-head__title h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--gx-ink);
}

.gx-head__title p {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--gx-muted);
}

.gx-head__line {
  flex: 1;
  height: 1px;
  background: var(--gx-line);
}

.gx-head__side {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.gx-social {
  display: flex;
  gap: 0.35rem;
}

.gx-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gx-line);
  color: var(--gx-ink);
  transition:
    border-color 0.2s,
    color 0.2s;
}

.gx-social a:hover {
  border-color: var(--gx-blue);
  color: var(--gx-blue);
}

.gx-all {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 40px;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--gx-ink);
  color: var(--gx-ink) !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.gx-all:hover {
  background: var(--gx-ink);
  color: #fff !important;
}

/* Izgara: manşet | son haberler | başkan — üçü aynı yükseklikte */
.gx-grid {
  display: grid;
  grid-template-columns: 6fr 4fr 2.6fr;
  grid-auto-rows: clamp(420px, 27vw, 520px);
  gap: 1.25rem;
}

.gx-feature,
.gx-feature .haber-carousel,
.gx-feature .owl-stage-outer,
.gx-feature .owl-stage,
.gx-feature .owl-item,
.gx-feature .item {
  /* Eski owl/tema kuralları yüksekliği eziyor */
  height: 100% !important;
}

.gx-feature .haber-carousel {
  display: block !important;
}

/* Manşet: rengi fotoğraf verir */
.gx-feature {
  min-width: 0;
}

.gx-feature .owl-stage-outer {
  border-radius: 22px;
}

.gx-card {
  position: relative;
  display: block;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: var(--gx-soft);
  text-decoration: none;
}

.gx-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gx-card:hover .gx-card__img {
  transform: scale(1.04);
}

.gx-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0) 65%
  );
}

.gx-card__count {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.gx-card__count b {
  font-size: 1.5rem;
  color: #fff;
}

.gx-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #fff;
}

.gx-card__date {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.gx-card__title {
  max-width: 92%;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.08;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gx-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.gx-card__more i {
  transition: transform 0.2s;
}

.gx-card:hover .gx-card__more i {
  transform: translateX(4px);
}

/* Son haberler: beyaz kart, numaralı liste */
.gx-bulletin {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  border: 1px solid var(--gx-line);
  background: #fff;
  overflow: hidden;
}

.gx-bulletin__head {
  padding: 1.15rem 1.4rem 0.9rem;
  border-bottom: 1px solid var(--gx-line);
  color: var(--gx-ink);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.gx-bulletin__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0.3rem 0.6rem 0.6rem;
  scrollbar-width: thin;
  scrollbar-color: #d5dde5 transparent;
}

.gx-item a {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0.8rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s;
}

.gx-item + .gx-item a::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  top: 0;
  height: 1px;
  background: var(--gx-line);
}

.gx-item__no {
  flex-shrink: 0;
  width: 2.2rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 0.9;
  color: #cdd5dd;
  transition: color 0.2s;
}

.gx-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.gx-item__title {
  color: var(--gx-ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gx-item__date {
  font-size: 0.72rem;
  color: var(--gx-muted);
}

/* Aktif / üzerine gelinen haber: hafif gri zemin + ince mavi çizgi */
.gx-item.active a,
.gx-item a:hover {
  background: var(--gx-soft);
}

.gx-item.active a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  bottom: 0.9rem;
  width: 3px;
  border-radius: 3px;
  background: var(--gx-blue);
}

.gx-item.active .gx-item__no,
.gx-item a:hover .gx-item__no {
  color: var(--gx-blue);
}

/* Başkan kartı: açık gri zemin */
.gx-mayor {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: var(--gx-soft);
}

.gx-mayor__label {
  position: absolute;
  top: 1.15rem;
  left: 1.3rem;
  z-index: 1;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gx-ink);
}

.gx-mayor__img {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: contain;
  object-position: center bottom;
  padding: 3.2rem 0.6rem 0;
}

.gx-mayor__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--gx-line);
  background: #fff;
}

.gx-mayor__social {
  display: flex;
  gap: 0.2rem;
}

.gx-mayor__social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gx-ink);
  transition: color 0.2s;
}

.gx-mayor__social a:hover {
  color: var(--gx-blue);
}

.gx-mayor__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gx-ink) !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.gx-mayor__btn:hover {
  color: var(--gx-blue) !important;
}

/* Fotoğraf alanı: imza fotoğrafın altına bindirilir, arkasında zemine doğru yumuşak geçiş */
.gx-mayor__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
}

.gx-mayor__sign {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.3rem 1rem 0.7rem;
  background: linear-gradient(
    0deg,
    #f5f7f9 0%,
    #f5f7f9 30%,
    rgba(245, 247, 249, 0) 100%
  );
  pointer-events: none;
}

.gx-mayor__sign img {
  display: block;
  width: 78%;
  height: auto;
  margin: 0 auto;
}

/* Mobil hızlı bağlantılar: masaüstünde gizli, mobil.css açar */
.gx-mayor__links {
  display: none;
}

/* Mobil üst bölüm (başkan + kutu hızlı menü): masaüstünde gizli, mobil.css açar */
.mx-top {
  display: none;
}

/* Mobil haber sayfalaması: masaüstünde gizli, mobil.css açar */
.gx-pager {
  display: none;
}

/* =========================================================
   Ana sayfa: hızlı menü  (parts/anasayfa/hizlimenu.blade.php)
   ========================================================= */
.hm {
  margin: 3rem 0 2rem;
}

.hm__wrap {
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 calc(1.25rem + 48px + 0.8rem);
}

/* Header ile aynı lacivert ve filigran */
.hm__wrap > * {
  position: relative;
}

.hm-head,
.hm-table {
  background: #0b2540;
}

.hm-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.4rem 2.6rem 1.8rem;
  border-radius: 28px 28px 0 0;
  background:
    url(/assets/img/header.svg) no-repeat right -120px top -40px / 900px auto,
    #0b2540;
}

.hm-head h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}

.hm-head p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Tablo: 4 sütun, hücreler arasında ince çizgiler */
.hm-table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0 2.6rem 2.6rem;
  border-radius: 0 0 28px 28px;
  /* gap'ler çizgi gibi görünsün diye ızgara zemini açık */
  background:
    linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12))
      content-box,
    #0b2540;
}

.hm-cell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 92px;
  padding: 0 1.6rem;
  background: #0b2540;
  color: #fff !important;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s;
}

.hm-cell__no {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.25s;
}

.hm-cell__name {
  flex: 1;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.hm-cell__go {
  font-size: 0.9rem;
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.25s,
    transform 0.25s;
}

.hm-cell:hover {
  background: #0080c7;
}

.hm-cell:hover .hm-cell__no {
  color: rgba(255, 255, 255, 0.75);
}

.hm-cell:hover .hm-cell__go {
  opacity: 1;
  transform: none;
}

/* Etkinlikler bölümü eskiden bottom:10% ile yukarı çekiliyordu */
.hm ~ section.events-home-section {
  bottom: 0;
}

@media (max-width: 1200px) {
  .hm-table {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================================================
   Ana sayfa: etkinlikler + duyuru panosu  (parts/anasayfa/etkinlikler.blade.php)
   ========================================================= */
.ex {
  --ex-ink: #14202c;
  --ex-muted: #7a8794;
  --ex-line: #e3e8ee;
  --ex-blue: #0080c7;
  padding: 2.5rem 0 3.5rem;
  background: #fff;
}

.ex__wrap {
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 calc(1.25rem + 48px + 0.8rem);
}

.ex-grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 3.5rem;
}

.ex-events,
.ex-board {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Başlık satırı: başlık solda, kontroller sağda, altta tek çizgi */
.ex-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding-bottom: 1rem;
  margin-bottom: 1.6rem;
  border-bottom: 2px solid var(--ex-ink);
}

.ex-head h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ex-ink);
}

.ex-head__side {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ex-link {
  margin-right: 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ex-ink) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ex-link:hover {
  color: var(--ex-blue) !important;
}

.ex-arrow {
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--ex-ink);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.ex-arrow:hover {
  color: var(--ex-blue);
}

.ex-arrow.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* Etkinlik: yalnızca afiş + metin */
.ex-swiper {
  overflow: hidden;
}

.ex-event {
  display: flex;
  flex-direction: column;
  color: var(--ex-ink) !important;
  text-decoration: none;
}

.ex-event__img {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #f2f4f6;
}

.ex-event__img img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ex-event:hover .ex-event__img img {
  transform: scale(1.03);
}

.ex-event__date {
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ex-blue);
}

.ex-event__title {
  margin-top: 0.35rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
}

.ex-event:hover .ex-event__title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ex-event__place {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: var(--ex-muted);
}

/* Duyurular / İhaleler */
.ex-tabs {
  display: flex;
  gap: 1.6rem;
}

.ex-tab {
  padding: 0;
  border: 0;
  background: none;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: #c5ced7;
  transition: color 0.2s;
}

.ex-tab:hover,
.ex-tab.is-active {
  color: var(--ex-ink);
}

.ex-board .ex-link {
  margin: 0;
}

.ex-board__body {
  flex: 1;
  min-height: 420px;
  position: relative;
}

.ex-board__body .tab-pane {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d5dde5 transparent;
}

.ex-board__body .tab-pane:not(.active) {
  pointer-events: none;
}

.ex-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ex-list li + li {
  border-top: 1px solid var(--ex-line);
}

.ex-list a {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1rem 0;
  color: var(--ex-ink) !important;
  text-decoration: none;
}

.ex-list__date {
  flex-shrink: 0;
  width: 58px;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.ex-list__date b {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.ex-list__date small {
  margin-top: 0.2rem;
  font-size: 0.68rem;
  color: var(--ex-muted);
  white-space: nowrap;
}

.ex-list__title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ex-list a:hover .ex-list__title {
  color: var(--ex-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1600px) {
  .ex-tab {
    font-size: 2.3rem;
  }

  .ex-tabs {
    gap: 1.1rem;
  }
}

@media (max-width: 1300px) {
  .ex-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Ana sayfa: önemli şahsiyetler  (parts/anasayfa/projeler.blade.php)
   ========================================================= */
.sahsiyet {
  --sh-ink: #14202c;
  --sh-muted: #7a8794;
  --sh-line: #e7ecf1;
  padding: 1rem 0 4rem;
}

/* Diğer bölümlerle aynı genişlik ve kenar hizası */
.sahsiyet__wrap {
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 calc(1.25rem + 48px + 0.8rem);
}

/* Diğer bölümlerle aynı başlık satırı: başlık — ince çizgi */
.sahsiyet__head {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.sahsiyet__heading {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--sh-ink);
}

.sahsiyet__sub {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--sh-muted);
}

.sahsiyet__line {
  flex: 1;
  height: 1px;
  background: var(--sh-line);
}

.sh-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Kart: sakin açık gri zemin; renk kemerde */
.sh-card {
  --accent: #0b2540;
  --accent-2: #1d3d63;
  position: relative;
  display: grid;
  grid-template-columns: 38% 1fr;
  align-items: end;
  min-height: 360px;
  padding: 0 2.2rem 0 1.6rem;
  border-radius: 28px;
  background: #f5f7f9;
  color: var(--sh-ink) !important;
  text-decoration: none;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}

.sh-card--blue {
  --accent: #0080c7;
  --accent-2: #0a9be6;
}

.sh-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 46px -30px rgba(11, 37, 64, 0.45);
}

/* Kemer: üstü yuvarlak çerçeve; baş kemerin üstünden taşar */
/* Yanlar ve alt kemer genişliğinde kırpılır; üstten (baş) taşmaya izin verilir */
.sh-arch {
  position: relative;
  align-self: stretch;
  display: block;
  clip-path: inset(-40% 0 0 0);
}

.sh-arch__shape {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 86%;
  border-radius: 999px 999px 0 0;
  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(255, 255, 255, 0.22),
      transparent 60%
    ),
    linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 100%);
}

/* Kemerin içinde ince halka */
.sh-arch__shape::after {
  content: "";
  position: absolute;
  inset: 10px 10px 0;
  border-radius: 999px 999px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 0;
}

.sh-arch__img {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 114%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  transform-origin: center bottom;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.3));
  transition: transform 0.5s ease;
}

.sh-card:hover .sh-arch__img {
  transform: translateX(-50%) scale(1.04);
}

/* İçerik */
.sh-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 2.4rem 0 2.2rem 2rem;
}

.sh-chip {
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px var(--sh-line);
}

.sh-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--sh-ink);
}

/* 1894 ●────● 1973 */
.sh-life {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  max-width: 280px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  color: var(--accent);
}

.sh-life__line {
  position: relative;
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(0, 0, 0, 0.12));
}

.sh-life__line::before,
.sh-life__line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translateY(-50%);
}

.sh-life__line::before {
  left: -2px;
  background: var(--accent);
}

.sh-life__line::after {
  right: -2px;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--accent);
}

.sh-quote {
  padding-left: 0.9rem;
  border-left: 3px solid var(--accent);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 600;
  color: var(--sh-ink);
}

.sh-text {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--sh-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sh-more {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 42px;
  margin-top: 0.4rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--sh-ink);
  font-size: 0.85rem;
  font-weight: 700;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.sh-more i {
  transition: transform 0.2s;
}

.sh-card:hover .sh-more {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.sh-card:hover .sh-more i {
  transform: translateX(3px);
}

@media (max-width: 1300px) {
  .sh-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Footer  (parts/footer.blade.php)
   ========================================================= */
.fx {
  --fx-navy: #0b2540;
  --fx-blue: #0080c7;
  --fx-sky: #6cc3f5;
  --fx-text: rgba(255, 255, 255, 0.62);
  --fx-line: rgba(255, 255, 255, 0.1);
  position: relative;
  margin-top: 3rem;
  border-radius: 3rem 3rem 0 0;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(
      180deg,
      rgba(11, 37, 64, 0.94) 0%,
      rgba(8, 28, 50, 0.98) 100%
    ),
    url(/assets/img/footerbg.jpg) center / cover no-repeat,
    var(--fx-navy);
}

/* Footer'ın en altında Şarkışla silüeti (menü kutusundakiyle aynı görsel, maske olarak) */
.fx::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(70px, 11vw, 200px);
    background-color: #8fc6ea;
    -webkit-mask: url(/assets/img/sarkisla-siluet.png) no-repeat center bottom / auto 100%;
    mask: url(/assets/img/sarkisla-siluet.png) no-repeat center bottom / auto 100%;
    opacity: .12;
    pointer-events: none;
}

/* İçerik silüetin üstünde kalsın */
.fx__wrap {
    position: relative;
    z-index: 1;
}

/* Header ile aynı kenar hizası */
.fx__wrap {
  max-width: 1900px;
  margin: 0 auto;
  padding: 3rem calc(1.25rem + 48px + 0.8rem) 0;
}

/* Üst satır */
.fx-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--fx-line);
}

.fx-brand {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  min-width: 0;
}

/* Header'daki logo madalyonuyla aynı kırpma (mühür SVG'nin ortasında) */
.fx-brand__medal {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 34%;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.6);
}

.fx-brand__medal img {
  width: 200%;
  max-width: none;
  height: auto;
  flex-shrink: 0;
  transform: translateY(-3.5%);
}

.fx-brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: #fff;
}

.fx-brand__text small {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--fx-sky);
}

.fx-brand__text b {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.fx-brand__text em {
  margin-top: 0.2rem;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--fx-text);
  max-width: 420px;
}

/* SMS bülten */
.fx-news {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  flex-shrink: 0;
}

.fx-news__text {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.fx-news__text b {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.fx-news__text b i {
  color: var(--fx-sky);
  margin-right: 0.3rem;
}

.fx-news__text span {
  font-size: 0.8rem;
  color: var(--fx-text);
}

.fx-news__form {
  display: flex;
  align-items: center;
  height: 54px;
  padding: 0 0.35rem 0 1.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition:
    border-color 0.2s,
    background 0.2s;
}

.fx-news__form:focus-within {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.fx-news__form input {
  width: 210px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 0.95rem;
}

.fx-news__form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.fx-news__form button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 1.3rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--fx-navy);
  font-size: 0.88rem;
  font-weight: 700;
  transition:
    background 0.2s,
    color 0.2s;
}

.fx-news__form button:hover {
  background: var(--fx-blue);
  color: #fff;
}

/* Orta: menüler + iletişim */
.fx-mid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.4fr;
  gap: 2rem;
  padding: 2.1rem 0;
  border-bottom: 1px solid var(--fx-line);
}

.fx-col__title {
  margin: 0 0 .85rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.fx-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.fx-col ul a {
  display: inline-flex;
  align-items: center;
  color: var(--fx-text);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

/* Bağlantı oku hover'da belirir */
.fx-col ul a i {
  width: 0;
  overflow: hidden;
  font-size: 0.7rem;
  color: var(--fx-sky);
  opacity: 0;
  transition:
    width 0.2s,
    opacity 0.2s,
    margin 0.2s;
}

.fx-col ul a:hover {
  color: #fff;
}

.fx-col ul a:hover i {
  width: 14px;
  margin-right: 0.35rem;
  opacity: 1;
}

/* Bize ulaşın sütunu */
.fx-call {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .85rem;
  margin-bottom: .7rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--fx-line);
  color: #fff !important;
  text-decoration: none;
  transition: background 0.2s;
}

.fx-call:hover {
  background: rgba(255, 255, 255, 0.1);
}

.fx-call__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fx-blue);
  font-size: .95rem;
  flex-shrink: 0;
}

.fx-call small {
  display: block;
  font-size: .66rem;
  font-weight: 600;
  color: var(--fx-text);
}

.fx-call b {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

/* WhatsApp / e-posta / KEP: çağrı merkezi kartının küçük hâli */
.fx-call--sm {
  margin-bottom: .6rem;
  padding: .55rem .85rem;
}

.fx-call--sm .fx-call__icon {
  width: 34px;
  height: 34px;
  font-size: .9rem;
}

.fx-call--sm b {
  display: block;
  font-family: "Quicksand", sans-serif;
  font-size: .85rem;
  line-height: 1.25;
  white-space: normal;
  word-break: break-all;
}

.fx-call__icon--wa {
  background: #25d366;
}

.fx-call__icon--mail {
  background: rgba(108, 195, 245, 0.18);
  color: var(--fx-sky);
}

/* Alt satır */
.fx-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--fx-line);
}

.fx-apps {
  display: flex;
  gap: 0.8rem;
}

.fx-apps img {
  height: 32px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.fx-apps a:hover img {
  opacity: 1;
}

.fx-gov {
  list-style: none;
  margin: 0;
  padding: 0.55rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--fx-line);
}

.fx-gov img {
  max-height: 28px;
  width: auto;
  opacity: 0.75;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.fx-gov a:hover img {
  opacity: 1;
  transform: translateY(-2px);
}

.fx-social {
  display: flex;
  gap: 0.45rem;
}

.fx-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.fx-social a:hover {
  background: #fff;
  border-color: #fff;
  color: var(--fx-navy);
}

.fx-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 1.4rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.fx-sign img {
  height: 15px !important;
  width: auto !important;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.fx-sign:hover img {
  opacity: 1;
}

@media (max-width: 1400px) {
  .fx-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .fx-news__text {
    text-align: left;
  }

  .fx-mid {
    grid-template-columns: repeat(3, 1fr);
  }

  .fx-bottom {
    flex-wrap: wrap;
  }
}

/* =========================================================
   Ana sayfa: giriş animasyonları  (parts/anasayfa/reveal.blade.php)
   ========================================================= */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease var(--d, 0s),
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s),
    clip-path 1s cubic-bezier(0.7, 0, 0.2, 1) var(--d, 0s);
}

.rv--left {
  transform: translateX(-36px);
}

.rv--right {
  transform: translateX(36px);
}

.rv--down {
  transform: translateY(-18px);
}

.rv--zoom {
  transform: translateY(24px) scale(0.97);
}

/* Fotoğraflar alttan yukarı açılan perdeyle gelir */
.rv--curtain {
  opacity: 1;
  transform: none;
  clip-path: inset(100% 0 0 0);
}

.rv.in {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}

/* =========================================================
   Ana sayfa: Hızlı Menü (web) — ikonlu kutular  (parts/anasayfa/hizlimenu.blade.php)
   Mobildeki kutu menüyle aynı dil; sağda iki satır boyunca WhatsApp kartı.
   ========================================================= */
.hq-head {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.hq-head h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: #14202c;
}

.hq-head p {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: #7a8794;
}

.hq-head__line {
  flex: 1;
  height: 1px;
  background: #e7ecf1;
}

.hq-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.hq-grid--wa {
  grid-template-columns: repeat(6, minmax(0, 1fr)) minmax(0, 1.25fr);
}

.hq-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 132px;
  padding: 1.2rem 0.8rem;
  border-radius: 18px;
  border: 1.5px solid #e3e8ed;
  background: #fff;
  color: #0b2540 !important;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s, color 0.2s;
}

.hq-box:hover {
  transform: translateY(-3px);
  border-color: #0080c7;
  box-shadow: 0 18px 30px -22px rgba(11, 37, 64, 0.45);
  color: #0080c7 !important;
}

.hq-box__icon {
  font-size: 1.9rem;
  line-height: 1;
}

.hq-box__name {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hq-box--mavi {
  border-color: transparent;
  background: linear-gradient(135deg, #0080c7 0%, #0b2540 100%);
  color: #fff !important;
}

.hq-box--mavi:hover {
  border-color: transparent;
  color: #fff !important;
}

.hq-wa {
  grid-column: 7;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.4rem 1rem;
  border-radius: 18px;
  background: #1a8f3c;
  color: #fff !important;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.hq-wa:hover {
  background: #157a33;
  transform: translateY(-3px);
}

.hq-wa__icon {
  font-size: 3.4rem;
  line-height: 1;
}

.hq-wa__text {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.hq-wa__text b {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}

.hq-wa__no {
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.85;
}

/* Dar masaüstü / tablet: 4'lü kutular, WhatsApp altta tam genişlik */
@media (max-width: 1400px) {
  .hq-grid,
  .hq-grid--wa {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hq-wa {
    grid-column: 1 / -1;
    grid-row: auto;
    flex-direction: row;
    min-height: 0;
  }

  .hq-wa__icon {
    font-size: 2.4rem;
  }
}

@media (max-width: 1100px) {
  .hq-head h2 {
    font-size: 2.3rem;
  }
}
