/**
 * Doping Hafıza tarzı — mobil header + hero slider + birim grid
 */

/* ========== Mobil / Masaüstü görünürlük ========== */
body.md-site .md-desktop-only {
  display: block;
}

body.md-site .md-mobile-only {
  display: none !important;
}

@media (max-width: 991px) {
  body.md-site .md-desktop-only {
    display: none !important;
  }

  body.md-site .md-mobile-only {
    display: flex !important;
  }
}

/* ========== Header — Doping mobil (kompakt, slider üstü) ========== */
@media (max-width: 991px) {
  body.md-site .md-site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.md-site .md-site-header .header-top,
  body.md-site .md-site-header .header-middle {
    display: none !important;
  }

  body.md-site .md-site-header .header-nav {
    background: transparent !important;
  }

  body.md-site .md-site-header .header-nav-wrapper {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.99) 100%) !important;
    background-image: none !important;
    padding: 8px 0 !important;
    position: relative !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
  }

  body.md-site.md-home .md-site-header .header-nav-wrapper.scroll-to-fixed-fixed {
    background: transparent !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }

  body.md-site .md-site-header .header-nav .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  body.md-site .md-mobile-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    gap: 8px;
  }

  body.md-site .md-mobile-logo {
    flex: 1;
    text-align: center;
    padding: 0 8px;
  }

  body.md-site .md-mobile-logo img {
    max-height: 40px;
    width: auto;
    margin: 0 auto;
    filter: brightness(0) invert(1);
  }

  body.md-site .md-mobile-menu-btn,
  body.md-site .md-mobile-call {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    padding: 0;
    cursor: pointer;
    text-decoration: none !important;
    position: relative;
    z-index: 1205;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.md-site .md-mobile-menu-btn:hover,
  body.md-site .md-mobile-call:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff !important;
    transform: scale(1.04);
  }

  body.md-site .md-site-header .menuzord .showhide {
    display: none !important;
  }

  body.md-site .md-site-header .menuzord {
    width: 100%;
    background: transparent !important;
  }

  /* Menü kapalı başlasın — sayfa açılışında flash yok */
  body.md-site .md-site-header.md-header-mobile:not(.md-nav-open) .menuzord-menu {
    display: none !important;
    visibility: hidden !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.md-site .md-site-header.md-header-mobile.md-nav-open .menuzord-menu,
  body.md-site .md-site-header.md-nav-open .menuzord-menu {
    display: block !important;
    visibility: visible !important;
    max-height: min(78vh, 520px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  body.md-site.md-menu-open {
    overflow: hidden;
  }

  body.md-site .menuzord-menu > li.md-mobile-menu-actions {
    background: #fff !important;
    margin: 0 !important;
    border-top: 1px solid #e2e8f0;
  }

  body.md-site .md-mobile-menu-actions {
    display: block !important;
    border-top: none;
    margin-top: 0;
    padding: 14px 16px 16px !important;
    background: #fff !important;
  }

  body.md-site .md-mobile-menu-actions > a.md-mobile-menu-cta,
  body.md-site .md-mobile-menu-actions > a.md-mobile-menu-cta--outline {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    padding: 13px 18px;
    border-radius: 999px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    background: transparent !important;
    color: #64748b !important;
    border: 2px solid #64748b;
    box-shadow: none;
  }

  body.md-site .md-mobile-menu-actions > a.md-mobile-menu-cta--ghost {
    background: transparent !important;
    color: #64748b !important;
    border: none;
    box-shadow: none;
    margin-bottom: 0;
    font-weight: 600;
  }

  body.md-site .md-mobile-menu-actions > a.md-mobile-menu-cta--ghost i {
    color: #64748b !important;
  }

  /* Renkli şerit + kaydırınca beyaz şerit — mobilde gizle */
  body.md-site.md-home #header:after {
    display: none !important;
  }

  body.md-site.md-home .header-nav-wrapper,
  body.md-site.md-home .header-nav-wrapper.scroll-to-fixed-fixed {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.97) 100%) !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12) !important;
    border: none !important;
  }

  body.md-site.md-home .header-nav-wrapper.scroll-to-fixed-fixed::before,
  body.md-site.md-home .header-nav-wrapper.scroll-to-fixed-fixed::after {
    display: none !important;
  }

  body.md-site.md-home .header-nav .header-nav-wrapper.scroll-to-fixed-fixed {
    border-bottom: none !important;
  }

  body.md-site.md-home .header-nav {
    background: transparent !important;
  }

  body.md-site.md-home .menuzord.bg-theme-colored {
    background: transparent !important;
    padding: 0 !important;
    min-height: 0 !important;
  }

  body.md-site.md-home .header-nav .container {
    padding-top: 0;
    padding-bottom: 0;
  }

  body.md-site .md-site-header .menuzord-responsive .menuzord-menu {
    background: #0a1638 !important;
    margin-top: 8px;
    border-radius: 16px;
    overflow: hidden;
  }

  body.md-site .md-site-header .menuzord-menu > li > a {
    color: #fff !important;
    padding: 14px 16px !important;
  }

  body.md-site .md-site-header .menuzord-menu > li:hover > a {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
  }

  /* Menü açılınca header sabit kalsın */
  body.md-site .md-site-header.md-nav-open .header-nav-wrapper {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.99) 100%) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  }

  /* Kaydırınca header footer tonunda */
  body.md-site .md-site-header.md-header-scrolled .header-nav-wrapper {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transition: background 0.25s ease, box-shadow 0.25s ease;
  }

  body.md-site .md-site-header.md-header-scrolled {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    width: 100%;
  }

  body.md-site .md-site-header.md-header-scrolled .header-nav-wrapper {
    position: relative !important;
  }

  body.md-site:not(.md-home).md-header-pinned {
    padding-top: var(--md-header-pinned, 56px);
  }

  /* Ana sayfada slider en üstte — header üstünde şeffaf */
  body.md-site.md-home .main-content {
    padding-top: 0;
    margin-top: 0;
  }

  body.md-site.md-home #wrapper {
    padding-top: 0;
  }

  body.md-site.md-home .md-hero-section {
    margin-top: 0;
    padding-top: 0;
  }

  /* scrollToFixed boş spacer div — beyaz boşluk oluşturmasın */
  body.md-site.md-home .scrolltofixed + div:empty,
  body.md-site.md-home .navbar-scrolltofixed + div:empty,
  body.md-site.md-home .header-nav-wrapper + div:empty,
  body.md-site.md-home #header + div:empty {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
  }

}

@media (min-width: 992px) {
  body.md-site .md-site-header.md-sticky {
    position: sticky;
    top: 0;
  }
}

/* ========== Doping Hero Slider ========== */
body.md-site .md-hero-section {
  padding: 0 !important;
  margin: 0 !important;
  background: #0c1220;
  overflow: hidden;
}

body.md-site .md-hero-wrap {
  padding: 0 !important;
  margin: 0 !important;
}

body.md-site .md-doping-slider {
  width: 100%;
  min-height: clamp(480px, 78vh, 760px);
  height: auto;
  background: radial-gradient(ellipse 92% 72% at 50% 38%, #1a2744 0%, #151d32 32%, #101828 58%, #0c1220 78%, #080d18 100%);
  position: relative;
  isolation: isolate;
}

body.md-site .md-doping-slider .swiper-slide {
  height: auto;
  min-height: clamp(480px, 78vh, 760px);
  pointer-events: auto;
}

body.md-site .md-doping-slide {
  position: relative;
  min-height: clamp(480px, 78vh, 760px);
  padding: 72px 0 56px;
  display: flex;
  align-items: center;
}

@media (max-width: 991px) {
  body.md-site.md-home .md-hero-section {
    margin-top: 0;
    padding-top: 0;
  }

  body.md-site .md-doping-slider,
  body.md-site .md-doping-slider .swiper-slide,
  body.md-site .md-doping-slide {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    height: 100vh !important;
    height: 100dvh !important;
  }

  body.md-site .md-hero-slide--full,
  body.md-site .md-hero-slide--full img {
    min-height: 72vh;
    min-height: 72dvh;
  }

  body.md-site .md-doping-slide {
    padding: 54px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
  }

  body.md-site .md-doping-slide__row {
    flex-direction: column;
    text-align: center;
    margin: 0;
  }

  body.md-site .md-doping-slide__content {
    order: 1;
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  body.md-site .md-doping-slide__media {
    order: 2;
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  body.md-site .md-doping-slide__title {
    font-size: clamp(1.85rem, 7.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    padding: 0 8px;
  }

  body.md-site .md-doping-slide__badges {
    width: min(100%, 560px) !important;
    max-width: 560px !important;
    max-height: none !important;
    height: auto !important;
    margin: 0 auto 14px;
    display: block;
    object-fit: contain;
  }

  body.md-site .md-doping-slide__subtitle {
    font-size: clamp(1.05rem, 4.2vw, 1.25rem);
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0 12px;
  }

  body.md-site .md-doping-slide__cta {
    display: block !important;
    width: min(92%, 520px) !important;
    max-width: 520px !important;
    margin: 0 auto 14px !important;
    padding: 15px 22px !important;
    font-size: clamp(15px, 4vw, 18px) !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    background: #fff !important;
    color: #1a3a6b !important;
    border: none !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18) !important;
    text-decoration: none !important;
    text-align: center;
    position: relative;
    z-index: 20;
    pointer-events: auto;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  body.md-site .md-doping-slide__hero-img {
    max-height: min(38vh, 280px);
    width: auto;
    max-width: 92%;
  }

  body.md-site .md-doping-slide__desc {
    display: none;
  }
}

@media (min-width: 992px) {
  body.md-site .md-doping-slide__content {
    text-align: center;
  }

  body.md-site .md-doping-slide__title {
    text-align: center;
    font-size: clamp(2rem, 3.2vw, 3rem);
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  body.md-site .md-doping-slide__subtitle {
    text-align: center;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  body.md-site .md-doping-slide__cta {
    margin-left: auto;
    margin-right: auto;
    padding: 16px 32px;
    font-size: 15px;
    min-width: 220px;
    z-index: 20;
    pointer-events: auto;
  }

  body.md-site .md-doping-slide__badges {
    margin-left: auto;
    margin-right: auto;
    max-height: 88px;
  }

  body.md-site .md-doping-slide {
    padding: 88px 0 72px;
    min-height: clamp(520px, 82vh, 820px);
  }

  body.md-site .md-doping-slider,
  body.md-site .md-doping-slider .swiper-slide {
    min-height: clamp(520px, 82vh, 820px);
  }

  body.md-site .md-doping-slide__hero-img {
    max-height: min(52vh, 480px);
  }
}

body.md-site .md-doping-slide__inner {
  position: relative;
  z-index: 2;
}

body.md-site .md-doping-slide__title {
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  text-align: center;
}

body.md-site .md-doping-slide__badges {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 16px;
  max-height: 72px;
  object-fit: contain;
}

body.md-site .md-doping-slide__subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  text-align: center;
  margin: 0 0 20px;
  font-weight: 500;
}

body.md-site .md-doping-slide__cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 20px;
  padding: 14px 28px;
  background: #fff !important;
  color: #1e2747 !important;
  font-weight: 700;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  line-height: 1.3;
  border-radius: 999px;
  text-align: center;
  text-decoration: none !important;
  border: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 25;
  pointer-events: auto;
  cursor: pointer;
}

body.md-site .md-doping-slide__cta:hover {
  transform: translateY(-2px);
  color: #1e3a8a !important;
}

body.md-site .md-doping-slide__hero-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  max-height: min(42vh, 380px);
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

body.md-site .md-doping-slide__desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  text-align: center;
  margin: 12px auto 0;
  max-width: 520px;
  line-height: 1.5;
}

/* Tam ekran görsel şablonu */
body.md-site .md-hero-slide--full {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 0;
  display: block;
  overflow: hidden;
}

body.md-site .md-hero-slide--full .md-hero-slide__link {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

body.md-site .md-hero-slide--full img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center center;
  display: block;
}

body.md-site .swiper-slide:has(.md-hero-slide--full) {
  height: auto;
}

/* Swiper kontroller — Doping tarzı */
body.md-site .md-doping-pagination {
  bottom: 20px !important;
}

body.md-site .md-doping-pagination .swiper-pagination-bullet {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  margin: 0 4px !important;
}

body.md-site .md-doping-pagination .swiper-pagination-bullet-active {
  background: #fff;
  width: 36px;
}

body.md-site .md-doping-nav {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.md-site .md-doping-nav::after {
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 767px) {
  body.md-site .md-doping-nav {
    display: none;
  }
}

/* Swiper yüklenmezse ilk slayt görünsün */
body.md-site .md-doping-slider:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none;
}

body.md-site .md-doping-slider:not(.swiper-initialized) .swiper-wrapper {
  display: block;
}

/* ========== Eğitim birimleri grid — ortalı, boşluk yok ========== */
body.md-site .md-birim-section {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

body.md-site .md-birim-grid {
  display: grid !important;
  gap: 24px;
  margin: 0 auto !important;
  width: 100%;
  max-width: 1140px;
  justify-content: center;
}

body.md-site .md-birim-grid[data-count="1"] {
  grid-template-columns: minmax(280px, 400px);
}

body.md-site .md-birim-grid[data-count="2"] {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  max-width: 880px;
}

body.md-site .md-birim-grid[data-count="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.md-site .md-birim-grid[data-count="4"] {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  max-width: 880px;
}

@media (min-width: 992px) {
  body.md-site .md-birim-grid[data-count="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1140px;
  }
}

body.md-site .md-birim-grid > .birim {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
  padding: 0 !important;
}

body.md-site .md-birim-grid .birim .img-fullwidth {
  height: 200px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  width: 100%;
}

body.md-site .md-birim-grid .birim .bg-lighter {
  border-radius: 0 0 16px 16px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

@media (max-width: 767px) {
  body.md-site .md-birim-grid,
  body.md-site .md-birim-grid[data-count="2"],
  body.md-site .md-birim-grid[data-count="3"],
  body.md-site .md-birim-grid[data-count="4"] {
    grid-template-columns: 1fr !important;
    max-width: 100%;
  }
}

/* Bölüm boşlukları sıkı */
body.md-site section.md-tight-section {
  padding-top: 36px !important;
  padding-bottom: 36px !important;
}

body.md-site #home + section {
  padding-top: 36px !important;
}

/* Yukarı çık butonu — site rengi */
body.md-site .scrollToTop {
  background: #202c45 !important;
}

body.md-site .scrollToTop:hover {
  background: #162335 !important;
}

/* Kurumumuzdan kareler — mobilde max 4 görsel */
@media (max-width: 991px) {
  body.md-site .md-home-gallery.foto-ana-widget {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  body.md-site .md-home-gallery .gallery-item {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.md-site .md-home-gallery .gallery-item:nth-child(n+5) {
    display: none !important;
  }

  body.md-site .md-home-gallery .post-thumb img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
  }
}

/* Haberler — sonraki bölüme yapışık */
body.md-site #blog,
body.md-site .md-home-blog {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body.md-site #blog + #pricing,
body.md-site .md-home-blog + #pricing {
  margin-top: 0 !important;
  padding-top: 24px !important;
}

body.md-site #pricing + section.md-home-clients,
body.md-site #blog + section.md-home-clients,
body.md-site .md-home-blog + section.md-home-clients {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.md-site #blog .container,
body.md-site .md-home-blog .container {
  padding-bottom: 0 !important;
}

body.md-site #pricing.md-home-pricing {
  margin-top: 0 !important;
  padding-top: 20px !important;
}

body.md-site #blog + #pricing.md-home-pricing {
  padding-top: 16px !important;
}

body.md-site .md-home-blog .post,
body.md-site .md-home-blog .item article {
  margin-bottom: 0 !important;
}

body.md-site #blog .owl-carousel-3col,
body.md-site #blog .owl-stage-outer,
body.md-site #blog .owl-stage,
body.md-site #blog .owl-item,
body.md-site #blog .item,
body.md-site .md-home-blog .owl-carousel,
body.md-site .md-home-blog .owl-carousel .owl-stage-outer,
body.md-site .md-home-blog .owl-carousel .owl-stage,
body.md-site .md-home-blog .owl-carousel .owl-item {
  min-height: 0 !important;
  height: auto !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.md-site #blog .section-content,
body.md-site .md-home-blog .section-content,
body.md-site #blog .row,
body.md-site .md-home-blog .row {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.md-site #blog + section,
body.md-site .md-home-blog + section,
body.md-site #blog + #pricing,
body.md-site .md-home-blog + #pricing {
  margin-top: 0 !important;
  padding-top: 8px !important;
}

body.md-site #blog::after,
body.md-site .md-home-blog::after {
  content: none !important;
  display: none !important;
  height: 0 !important;
}

body.md-site .md-home-blog + section.md-home-clients,
body.md-site .md-home-blog + #pricing + section.md-home-clients {
  margin-top: 0 !important;
}

body.md-site section.md-home-clients {
  padding-top: 0 !important;
}

/* Inner-header kaldırıldı — iç sayfalarda üst boşluk */
body.md-site:not(.md-home) .main-content > section:first-child {
  padding-top: 28px !important;
}

@media (max-width: 991px) {
  body.md-site:not(.md-home) .md-site-header {
    position: sticky;
    top: 0;
    z-index: 1100;
  }

  body.md-site:not(.md-home) .md-site-header .header-nav-wrapper {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
  }

  body.md-site:not(.md-home) .md-site-header .header-top,
  body.md-site:not(.md-home) .md-site-header .header-middle {
    display: none !important;
  }
}

body.md-site .inner-header {
  display: none !important;
}

body.md-site #blog + section.clients,
body.md-site #pricing + section.clients {
  padding-top: 20px !important;
  margin-top: 0 !important;
}

body.md-site section.clients.bg-white {
  padding-bottom: 32px !important;
}

body.md-site section.clients .container.pt-10 {
  padding-top: 0 !important;
}

/* Sol sabit butonlar */
body.md-site .whatsapp a {
  background: #202c45 !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45) !important;
}

body.md-site .telefon a {
  background: #202c45 !important;
  box-shadow: 0 4px 16px rgba(32, 44, 69, 0.45) !important;
}

body.md-site .whatsapp,
body.md-site .telefon {
  left: 14px;
  z-index: 998;
}

body.md-site .telefon {
  bottom: 78px;
}

body.md-site .whatsapp {
  bottom: 14px;
}

/* WATI üst WhatsApp (script kaldırıldı; yedek gizleme) */
body.md-site #whatsapp-chat-widget,
body.md-site #wa-widget-container,
body.md-site [id*="Wati"],
body.md-site [class*="wati"],
body.md-site iframe[src*="wati"],
body.md-site iframe[src*="clare.ai"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

@media (max-width: 575px) {
  body.md-site .scrollToTop {
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
    line-height: 44px;
  }

  body.md-site .whatsapp,
  body.md-site .telefon {
    transform: scale(0.92);
    transform-origin: left bottom;
  }
}

/* Swiper tıklama katmanı */
body.md-site .md-doping-slide__inner {
  position: relative;
  z-index: 5;
}

body.md-site .md-doping-slide__cta {
  position: relative;
  z-index: 25;
  pointer-events: auto !important;
  cursor: pointer;
}

body.md-site .md-doping-pagination {
  z-index: 15;
  pointer-events: auto;
}

@media (max-width: 991px) {
  body.md-site .md-doping-slide__content {
    order: 1;
  }

  body.md-site .md-doping-slide__media {
    order: 3;
    margin-top: 0 !important;
    padding-top: 0;
  }

  body.md-site .md-doping-slide__hero-img {
    max-height: min(42vh, 320px);
    width: 100%;
    max-width: 100%;
    border-radius: 0 0 12px 12px;
    object-fit: cover;
  }

  body.md-site .md-doping-slide__title {
    font-size: clamp(1.5rem, 6.8vw, 2rem) !important;
    margin-bottom: 10px !important;
  }

  body.md-site .md-doping-slide__subtitle {
    font-size: clamp(1rem, 4.2vw, 1.2rem) !important;
    margin-bottom: 14px !important;
  }
}

@media (min-width: 992px) {
  body.md-site .md-doping-slide__cta {
    display: inline-block !important;
    width: auto !important;
    min-width: 280px;
    padding: 16px 36px !important;
    border-radius: 14px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
  }

  body.md-site .md-doping-slide__badges {
    max-height: 110px !important;
    width: auto !important;
    max-width: 620px !important;
  }
}

/* İç sayfalar — header ile içerik arası boşluk yok */
body.md-site .inner-header {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: none !important;
}

body.md-site:not(.md-home) .main-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.md-site:not(.md-home) .main-content > section:first-of-type {
  padding-top: 12px !important;
  margin-top: 0 !important;
}

body.md-site:not(.md-home) .main-content > section:first-of-type .container.pt-50,
body.md-site:not(.md-home) .main-content > section:first-of-type .container.pt-10 {
  padding-top: 18px !important;
}

body.md-site:not(.md-home) .main-content > section:first-of-type h2,
body.md-site:not(.md-home) .main-content > section:first-of-type h3 {
  margin-top: 0 !important;
}

/* Haberler — alt bölüme sıfır mesafe */
body.md-site #blog .owl-carousel,
body.md-site #blog .owl-stage-outer,
body.md-site #blog .owl-stage,
body.md-site #blog .owl-item,
body.md-site .md-home-blog .owl-carousel {
  height: auto !important;
  min-height: 0 !important;
}

body.md-site #blog + #pricing,
body.md-site #blog + section,
body.md-site .md-home-blog + #pricing,
body.md-site .md-home-blog + section {
  margin-top: 0 !important;
  padding-top: 6px !important;
}

body.md-site #blog,
body.md-site .md-home-blog {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* WhatsApp katmanı — WATI + sabit butonlar aynı seviye */
body.md-site .whatsapp,
body.md-site .telefon {
  z-index: 997 !important;
}

@media (max-width: 991px) {
  body.md-site #whatsapp-widget,
  body.md-site [id*="whatsapp"],
  body.md-site [class*="WidgetContainer"],
  body.md-site iframe[src*="wati"] {
    z-index: 997 !important;
  }
}

/* Mobil — kurumsal sayfa başlığı (Hakkımızda, Misyon-Vizyon, Branş Derslerimiz) */
@media (max-width: 991px) {
  body.md-site.md-mobile-page-hero:not(.md-home) .main-content > section:first-of-type {
    padding-top: 4px !important;
    margin-top: 0 !important;
  }

  body.md-site.md-mobile-page-hero .main-content .container.pt-50 {
    padding-top: 10px !important;
    padding-bottom: 36px !important;
  }

  body.md-site.md-mobile-page-hero .main-content .container.pt-50 > .section-content > .row > div > h2.line-bottom:first-child,
  body.md-site.md-mobile-page-hero .main-content .container.pt-50 > .section-content > .row > .col-md-12 > h2.line-bottom:first-child,
  body.md-site.md-mobile-page-hero .main-content .container.pt-50 > .section-content > .row > .col-md-6 > h2.line-bottom:first-child {
    display: block;
    width: 100%;
    text-align: center !important;
    font-size: clamp(1.7rem, 6.8vw, 2.15rem) !important;
    font-weight: 800 !important;
    color: #181f32 !important;
    margin: 0 0 18px !important;
    padding: 6px 10px 14px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em;
  }

  body.md-site.md-mobile-page-hero .main-content .container.pt-50 h2.line-bottom:first-child:after {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    width: 48px !important;
    background: #181f32 !important;
  }
}
