/* ============================================
   Mobil kayma düzeltmesi - yatay taşmayı önle
   ============================================ */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}
body {
  position: relative;
}

/* Mobil: sağdan soldan taşmayı düzelt */
@media (max-width: 991px) {
  .grid {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .grid .grid-item {
    padding: 15px !important;
  }
  .container, .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
  }
  .gutter-90,
  .gutter-80,
  .gutter-70,
  .gutter-60,
  .gutter-50 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .gutter-90 .grid-item,
  .gutter-80 .grid-item,
  .gutter-70 .grid-item,
  .gutter-60 .grid-item,
  .gutter-50 .grid-item {
    padding: 15px !important;
  }
  .partner_flex,
  .section-desc,
  .section-header {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .theme_slider {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  main.wrapper {
    max-width: 100%;
    overflow-x: hidden;
  }
}
@media (max-width: 575px) {
  .container, .container-fluid {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* ============================================
   Gece Modu - Etraflar tamamen siyah
   ============================================ */
body.bg-dark:not(.bg-white),
body:not(.bg-white) {
  background-color: #000000 !important;
}
body:not(.bg-white) .grid_lines .grid_line,
body.bg-dark:not(.bg-white) .grid_lines .grid_line {
  background-color: #1a1a1a !important;
}
body:not(.bg-white) .theme_slider,
body.bg-dark:not(.bg-white) .theme_slider {
  background-color: #000000 !important;
}

/* ============================================
   Beyaz Tema (Gündüz Modu) - Profesyonel Stiller
   Varsayılan: Beyaz arka plan, siyah yazı
   ============================================ */
body.bg-dark.bg-white,
body.bg-white {
  background-color: #ffffff !important;
}

body.bg-dark.bg-white .bg-dark,
body.bg-dark.bg-white .theme_slider.bg-black,
body.bg-white .bg-dark,
body.bg-white .theme_slider.bg-black,
body.bg-dark.bg-white .bg-dark-100,
body.bg-dark.bg-white .bg-dark-200,
body.bg-dark.bg-white .bg-dark-300,
body.bg-dark.bg-white .bg-dark-400,
body.bg-dark.bg-white .bg-dark-500,
body.bg-white .bg-dark-100,
body.bg-white .bg-dark-200,
body.bg-white .bg-dark-300,
body.bg-white .bg-dark-400,
body.bg-white .bg-dark-500,
body.bg-dark.bg-white .about.bg-dark-100,
body.bg-dark.bg-white .services.bg-dark-100,
body.bg-dark.bg-white .process.bg-dark-100,
body.bg-dark.bg-white .project-details.bg-dark-200,
body.bg-dark.bg-white .contact_us.bg-dark-200,
body.bg-dark.bg-white .blog.bg-dark-100,
body.bg-white .about.bg-dark-100,
body.bg-white .services.bg-dark-100,
body.bg-white .process.bg-dark-100,
body.bg-white .project-details.bg-dark-200,
body.bg-white .contact_us.bg-dark-200,
body.bg-white .blog.bg-dark-100 {
  background-color: #ffffff !important;
}

/* Hizmetlerimiz sayfası - arka plan beyaz */
body.bg-dark.bg-white .services.in-service,
body.bg-white .services.in-service {
  background-color: #ffffff !important;
}
body.bg-dark.bg-white .header-layer-bg,
body.bg-white .header-layer-bg {
  background: #ffffff !important;
  background-image: none !important;
}

body.bg-dark.bg-white a,
body.bg-white a {
  color: #000000 !important;
}

/* Varsayılan link rengi - siyah iyi */
body.bg-dark.bg-white a:hover,
body.bg-white a:hover {
  color: #333333 !important;
}

body.bg-dark.bg-white h1, body.bg-dark.bg-white h2, body.bg-dark.bg-white h3,
body.bg-dark.bg-white h4, body.bg-dark.bg-white h5, body.bg-dark.bg-white h6,
body.bg-white h1, body.bg-white h2, body.bg-white h3,
body.bg-white h4, body.bg-white h5, body.bg-white h6 {
  color: #000000 !important;
}

body.bg-dark.bg-white p,
body.bg-white p {
  color: #000000 !important;
}

body.bg-dark.bg-white .section-header h2,
body.bg-dark.bg-white .section-header .h2,
body.bg-white .section-header h2,
body.bg-white .section-header .h2 {
  color: #000000 !important;
}

body.bg-dark.bg-white .icon_box h4,
body.bg-dark.bg-white .icon_box h5,
body.bg-dark.bg-white .icon_box h6,
body.bg-white .icon_box h4,
body.bg-white .icon_box h5,
body.bg-white .icon_box h6 {
  color: #000000 !important;
}

body.bg-dark.bg-white .card-title,
body.bg-dark.bg-white .card-text,
body.bg-white .card-title,
body.bg-white .card-text {
  color: #000000 !important;
}

body.bg-dark.bg-white .footer,
body.bg-dark.bg-white .footer.bg-dark-200,
body.bg-dark.bg-white .footer .footer_inner,
body.bg-dark.bg-white .footer .footer_inner.bg-black,
body.bg-white .footer,
body.bg-white .footer.bg-dark-200,
body.bg-white .footer .footer_inner,
body.bg-white .footer .footer_inner.bg-black {
  background-color: #ffffff !important;
  color: #000000 !important;
}

body.bg-dark.bg-white .footer *,
body.bg-white .footer * {
  color: #000000 !important;
}

body.bg-dark.bg-white .grid_lines .grid_line,
body.bg-white .grid_lines .grid_line {
  background-color: #e0e0e0 !important;
}

/* Slider içeriği - beyaz temada siyah yazı (slider arka planı görsel olduğu için ayrı) */
body.bg-dark.bg-white .slide_content_inner,
body.bg-white .slide_content_inner {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #000000 !important;
}

body.bg-dark.bg-white .slide_content_inner *,
body.bg-white .slide_content_inner * {
  color: #000000 !important;
}

/* Tema değiştirici - beyaz temada görünür */
body.bg-dark.bg-white #mode_switcher span,
body.bg-white #mode_switcher span {
  border-color: #000000 !important;
  background-color: #000000 !important;
  color: #ffffff !important;
}

/* Form elemanları */
body.bg-dark.bg-white input,
body.bg-dark.bg-white textarea,
body.bg-dark.bg-white select,
body.bg-white input,
body.bg-white textarea,
body.bg-white select {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-color: #000000 !important;
}

/* Header - beyaz temada her zaman beyaz */
body.bg-dark.bg-white .header,
body.bg-dark.bg-white header.bg-dark,
body.bg-dark.bg-white header.bg-dark.sticky,
body.bg-white .header,
body.bg-white header.bg-dark,
body.bg-white header.bg-dark.sticky {
  background-color: #ffffff !important;
}

body.bg-dark.bg-white .header .mainnav a,
body.bg-dark.bg-white .header .mr_menu_toggle,
body.bg-white .header .mainnav a,
body.bg-white .header .mr_menu_toggle {
  color: #000000 !important;
}

body.bg-dark.bg-white .header .mainnav a:hover,
body.bg-white .header .mainnav a:hover {
  color: #333333 !important;
}

/* Mobil menü overlay - siyah zemini kaldır, hafif gri */
body.mr_menu_active .mr_menu .mr_menu_overlay {
  background-color: rgba(0,0,0,0.15) !important;
  opacity: 1 !important;
}

/* Mobil sol menü - beyaz arka plan, siyah yazı, şık görünüm */
body.mr_menu_active .mr_menu {
  background: #ffffff !important;
  box-shadow: 4px 0 24px rgba(0,0,0,0.12);
  overflow-y: auto;
}
body.mr_menu_active .mr_menu .mr_menu_close {
  color: #111827 !important;
}
body.mr_menu_active .mr_menu .mr_menu_close:hover {
  color: #374151 !important;
}
body.mr_menu_active .mr_menu ul.main_menu {
  border-top-color: rgba(0,0,0,0.08) !important;
}
body.mr_menu_active .mr_menu ul.main_menu li a {
  color: #111827 !important;
  border-bottom-color: rgba(0,0,0,0.06) !important;
  border-left-color: transparent !important;
  transition: all 0.2s ease;
}
body.mr_menu_active .mr_menu ul.main_menu li a:hover,
body.mr_menu_active .mr_menu ul.main_menu li.current > a,
body.mr_menu_active .mr_menu ul.main_menu li.active > a {
  color: #000000 !important;
  border-left-color: #111827 !important;
  background: rgba(0,0,0,0.03);
}
body.mr_menu_active .mr_menu ul.main_menu li .submenu_opener {
  color: #374151 !important;
  background: rgba(0,0,0,0.04) !important;
}
body.mr_menu_active .mr_menu ul.main_menu li ul {
  background: #f9fafb !important;
}
body.mr_menu_active .mr_menu ul.main_menu li ul li a {
  color: #4b5563 !important;
  border-bottom-color: rgba(0,0,0,0.04) !important;
}
body.mr_menu_active .mr_menu ul.main_menu li ul li a:hover {
  color: #111827 !important;
  background: rgba(0,0,0,0.02);
}
/* Mobil menü açıkken logo - koyu versiyon göster (beyaz zemin için) */
body.mr_menu_active .mr_menu .logo a.light_logo,
body.mr_menu_active .mr_menu .logo_left_menu a.light_logo {
  opacity: 0 !important;
  visibility: hidden !important;
}
body.mr_menu_active .mr_menu .logo a.dark_logo,
body.mr_menu_active .mr_menu .logo_left_menu a.dark_logo {
  opacity: 1 !important;
  visibility: visible !important;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-wrapper .post_content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.video-wrapper .video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-wrapper .ytplay_btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(220, 38, 38, 0.9);
    color: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    z-index: 10;
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-wrapper .ytplay_btn:hover {
    background: rgba(0,0,0,0.9);
}

.video-wrapper .ytplay_btn i {
    font-size: 30px;
    margin-left: 5px;
}

/* Yüklenen video (upload) - görünür ve tam genişlik */
.video-upload-wrapper {
    padding-top: 0;
    min-height: 400px;
}
.video-upload-wrapper .uploaded-video-player {
    position: relative;
    width: 100%;
    max-height: 500px;
    display: block;
    opacity: 1 !important;
    background: #000;
}

/* ============================================
   Tüm sitede: Çizgileri tamamen kaldır
   ============================================ */
.grid_lines {
  display: none !important;
}

/* Section header çizgilerini kaldır */
.has_line::before,
.has_line_lg::before {
  display: none !important;
}

/* Tüm border ve ayırıcı çizgileri kaldır */
body.bg-white hr,
body.bg-dark.bg-white hr,
body.bg-white .partner_content,
body.bg-dark.bg-white .partner_content,
body.bg-white .partner_content img,
body.bg-dark.bg-white .partner_content img,
body.bg-white .service-card,
body.bg-dark.bg-white .service-card,
body.bg-white .funfacts_inner .fun_img.fun_icon,
body.bg-dark.bg-white .funfacts_inner .fun_img.fun_icon,
body.bg-white .totop,
body.bg-dark.bg-white .totop,
body.bg-white .section-header,
body.bg-dark.bg-white .section-header,
body.bg-white .footer,
body.bg-dark.bg-white .footer,
body.bg-white .footer .footer_inner,
body.bg-dark.bg-white .footer .footer_inner,
body.bg-white .footer .footer_inner > *,
body.bg-dark.bg-white .footer .footer_inner > *,
body.bg-white .box_padding,
body.bg-dark.bg-white .box_padding,
body.bg-white .slide_phone,
body.bg-dark.bg-white .slide_phone,
body.bg-white .slide_right_panel,
body.bg-dark.bg-white .slide_right_panel,
body.bg-white .info_body,
body.bg-dark.bg-white .info_body {
  border: none !important;
  box-shadow: none !important;
}
body.bg-white .totop::before,
body.bg-dark.bg-white .totop::before {
  display: none !important;
}

/* HAKKINDA ve SON HABER yazılarını kaldır */
.large_font {
  display: none !important;
}

/* SON BLOG PAYLAŞIMLARI başlığını kaldır (blog bölümü) */
section.blog .section-header:first-of-type {
  display: none !important;
}

/* Siyah alanları beyaz yap - Hizmet kartları, hover: siyah zemin beyaz yazı */
body.bg-white .service-card,
body.bg-dark.bg-white .service-card {
  background-color: #ffffff !important;
  border: none !important;
  transition: all 0.3s ease;
}
body.bg-white .service-card:hover,
body.bg-dark.bg-white .service-card:hover {
  background-color: #000000 !important;
}
body.bg-white .service-card:hover .card-title,
body.bg-white .service-card:hover .card-text,
body.bg-dark.bg-white .service-card:hover .card-title,
body.bg-dark.bg-white .service-card:hover .card-text {
  color: #ffffff !important;
}
body.bg-white .service-card .card-title,
body.bg-dark.bg-white .service-card .card-title {
  color: #111827 !important;
}
body.bg-white .service-card .card-text,
body.bg-dark.bg-white .service-card .card-text {
  color: #4b5563 !important;
}
body.bg-white .service-card .card-icon,
body.bg-dark.bg-white .service-card .card-icon {
  background-color: #f3f4f6 !important;
}
body.bg-white .service-card:hover .card-icon,
body.bg-dark.bg-white .service-card:hover .card-icon {
  background-color: #333333 !important;
}

/* Hakkımızda sayfası - custom-service-card beyaz tema */
body.bg-white .custom-service-card,
body.bg-dark.bg-white .custom-service-card {
  background-color: #ffffff !important;
  border: none !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
body.bg-white .custom-service-card:hover,
body.bg-dark.bg-white .custom-service-card:hover {
  background-color: #000000 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
body.bg-white .custom-service-card .card-title,
body.bg-dark.bg-white .custom-service-card .card-title {
  color: #111827 !important;
}
body.bg-white .custom-service-card .card-text,
body.bg-dark.bg-white .custom-service-card .card-text {
  color: #4b5563 !important;
}
body.bg-white .custom-service-card:hover .card-title,
body.bg-white .custom-service-card:hover .card-text,
body.bg-dark.bg-white .custom-service-card:hover .card-title,
body.bg-dark.bg-white .custom-service-card:hover .card-text {
  color: #ffffff !important;
}
body.bg-white .custom-service-card .card-icon,
body.bg-dark.bg-white .custom-service-card .card-icon {
  background-color: #f3f4f6 !important;
  border: none !important;
}
body.bg-white .custom-service-card:hover .card-icon,
body.bg-dark.bg-white .custom-service-card:hover .card-icon {
  background-color: #333333 !important;
}

/* Süreç adımları - step-circle beyaz, çizgi yok */
body.bg-white .step-circle,
body.bg-dark.bg-white .step-circle {
  background-color: #ffffff !important;
  border: none !important;
}
body.bg-white .step-circle .bi,
body.bg-dark.bg-white .step-circle .bi {
  color: #374151 !important;
}
body.bg-white .process-step h4,
body.bg-dark.bg-white .process-step h4 {
  color: #111827 !important;
}
body.bg-white .process-step p,
body.bg-dark.bg-white .process-step p {
  color: #6b7280 !important;
}

/* Daha Fazla Oku, Tümünü Göster butonları - beyaz, hover: siyah zemin beyaz yazı */
body.bg-white .btn.gray,
body.bg-white .btn.btn-dark,
body.bg-dark.bg-white .btn.gray,
body.bg-dark.bg-white .btn.btn-dark {
  background-color: #ffffff !important;
  color: #111827 !important;
  border: none !important;
  padding: 0.5rem 1.25rem;
  transition: all 0.3s ease;
}
body.bg-white .btn.gray:hover,
body.bg-white .btn.btn-dark:hover,
body.bg-dark.bg-white .btn.gray:hover,
body.bg-dark.bg-white .btn.btn-dark:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
}

/* Details link - çizgili deseni kaldır */
body.bg-white .details_link .link_icon .line,
body.bg-white .details_link .link_icon .circle,
body.bg-white .details_link .link_icon .dot,
body.bg-dark.bg-white .details_link .link_icon .line,
body.bg-dark.bg-white .details_link .link_icon .circle,
body.bg-dark.bg-white .details_link .link_icon .dot {
  display: none !important;
}

/* Funfacts (proje sayacı) - beyaz arka plan */
body.bg-white .funfacts.bg_1,
body.bg-dark.bg-white .funfacts.bg_1 {
  background: #ffffff !important;
}
body.bg-white .funfacts_inner .funfact2 .funfact_content h2,
body.bg-white .funfacts_inner .funfact2 .funfact_content p,
body.bg-white .funfacts_inner .funfact2 .funfact_content span,
body.bg-white .funfacts_inner .funfact2 .fun_img,
body.bg-dark.bg-white .funfacts_inner .funfact2 .funfact_content h2,
body.bg-dark.bg-white .funfacts_inner .funfact2 .funfact_content p,
body.bg-dark.bg-white .funfacts_inner .funfact2 .funfact_content span,
body.bg-dark.bg-white .funfacts_inner .funfact2 .fun_img {
  color: #111827 !important;
  border-color: #d1d5db !important;
}

/* Funfacts ikonları - Bootstrap Icons (çizgi yok) */
.funfacts_inner .fun_img.fun_icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: none !important;
}
.funfacts_inner .fun_img.fun_icon i {
  font-size: 1.5rem;
  color: #374151;
}
body.bg-white .funfacts_inner .fun_img.fun_icon i,
body.bg-dark.bg-white .funfacts_inner .fun_img.fun_icon i {
  color: #374151 !important;
}

/* Blog Detayları Gör - ikon + hover: siyah zemin beyaz yazı */
.blog .details_link a {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  transition: all 0.3s ease;
}
.blog .details_link a i {
  font-size: 1rem;
  transition: transform 0.2s ease;
}
.blog .details_link a:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
}
.blog .details_link a:hover i {
  transform: translateX(4px);
  color: #ffffff !important;
}

/* Referans/Partner logoları - şık hover efekti */
body.bg-white .partner_content,
body.bg-dark.bg-white .partner_content {
  padding: 20px 24px;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: transparent;
}
body.bg-white .partner_content:hover,
body.bg-dark.bg-white .partner_content:hover {
  background-color: #f5f5f5 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
body.bg-white .partner_content:hover img,
body.bg-dark.bg-white .partner_content:hover img {
  transform: scale(1.05);
  filter: none;
}

/* Header menü - hover: siyah zemin beyaz yazı */
body.bg-white .header .mainnav a,
body.bg-dark.bg-white .header .mainnav a {
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}
body.bg-white .header .mainnav a:hover,
body.bg-dark.bg-white .header .mainnav a:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
}

/* Footer sosyal medya - tutarlı stil, şık hover */
body.bg-white .footer_social .social_list li a,
body.bg-dark.bg-white .footer_social .social_list li a {
  background-color: #f3f4f6 !important;
  color: #374151 !important;
  transition: all 0.3s ease;
  border: none !important;
}
body.bg-white .footer_social .social_list li a:hover,
body.bg-dark.bg-white .footer_social .social_list li a:hover {
  background-color: #e5e7eb !important;
  color: #111827 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Projelerimiz bölümü - üst/alt boşlukları azalt */
.projects.packery {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}
.projects.packery .section-header {
  margin-bottom: 1.5rem !important;
}

/* Projelerimiz - yazıyı resmin altına taşı (yandan/sağdan overlay kaldır) */
.projects.packery .grid-item .thumb {
  display: flex !important;
  flex-direction: column !important;
  overflow: visible !important;
}
.projects.packery .grid-item .works-info {
  position: static !important;
  transform: none !important;
  max-width: 100% !important;
  right: auto !important;
  bottom: auto !important;
  padding: 1rem 0 0 !important;
  background-color: transparent !important;
  margin-top: 0.5rem !important;
}
.projects.packery .grid-item:hover .works-info {
  transform: none !important;
}
.projects.packery .grid-item .label-text h5,
.projects.packery .grid-item .label-text .h5 {
  margin-top: 0 !important;
  color: inherit !important;
}
.projects.packery .grid-item .label-text h6 a,
.projects.packery .grid-item .label-text h6,
.projects.packery .grid-item .label-text .h6 {
  color: #6b7280 !important;
}

/* Projelerimiz - resimleri büyüt, boşlukları azalt */
.projects.packery .gutter-90 .grid-item {
  padding: 1rem !important;
}
.projects.packery .grid-item .item_image {
  width: 100% !important;
  height: 720px !important;
  object-fit: cover;
  object-position: center;
}

/* Projeler mobil: tek sütun, resimler tam sığsın */
@media (max-width: 767px) {
  .projects .grid-2 .grid-item,
  .projects .grid-2 .grid-sizer,
  .projects.masonry .grid-2 .grid-item,
  .projects.masonry .grid-2 .grid-sizer {
    width: 100% !important;
  }
  .projects .grid-item .item_image,
  .projects.packery .grid-item .item_image {
    height: auto !important;
    min-height: 260px;
    max-height: 70vh;
    object-fit: contain !important;
    object-position: center;
  }
  .projects .gutter-90,
  .projects.masonry .gutter-90 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .projects .grid .grid-item,
  .projects.masonry .grid .grid-item {
    padding: 0.75rem !important;
  }
}

/* Proje detay galerisi - mobilde resimler tam sığsın */
@media (max-width: 767px) {
  .project-details .gallery_slider .gallery-image img {
    width: 100% !important;
    height: auto !important;
    min-height: 260px;
    max-height: 70vh;
    object-fit: contain !important;
    object-position: center;
  }
}

/* Referanslarımız - tek yazı, mobil uyumlu, taşma önle */
.partner_flex .section-desc {
  margin-top: 1rem;
}
.partner_flex .section-desc .col-12,
.partner_flex .section-desc p {
  padding-left: 1rem;
  padding-right: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}
@media (max-width: 991px) {
  .partner_flex .section-desc .col-12,
  .partner_flex .section-desc p {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    box-sizing: border-box;
  }
}

/* Referans logoları mobilde her zaman 2 sütun */
@media (max-width: 991px) {
  .partner_flex {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
  }
  .partner_flex .section-header {
    flex: 0 0 100%;
    width: 100%;
  }
  .partner_flex .partner_content {
    flex: 0 0 calc(50% - 6px) !important;
    width: calc(50% - 6px) !important;
    max-width: calc(50% - 6px) !important;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 12px 8px !important;
    justify-content: center;
  }
  .partner_flex .partner_content .partner-logo,
  .partner_flex .partner_content img {
    max-width: 120px !important;
    margin: 0 auto;
  }
}

/* Blog kartı - hover: tüm yazılar beyaz (siyah zemin üzerinde okunabilir) */
body.bg-white .blog_post:hover .blog_content,
body.bg-dark.bg-white .blog_post:hover .blog_content {
  color: #ffffff !important;
}
body.bg-white .blog_post:hover .blog_content p,
body.bg-white .blog_post:hover .blog_content h5,
body.bg-white .blog_post:hover .blog_content h5 a,
body.bg-white .blog_post:hover .blog_content .meta,
body.bg-white .blog_post:hover .blog_content .meta time,
body.bg-white .blog_post:hover .blog_content .post-count,
body.bg-white .blog_post:hover .blog_content .details_link a,
body.bg-white .blog_post:hover .blog_content .details_link a span,
body.bg-white .blog_post:hover .blog_content .details_link a i,
body.bg-white .blog_post:hover .blog_content h2,
body.bg-white .blog_post:hover .blog_content strong,
body.bg-dark.bg-white .blog_post:hover .blog_content p,
body.bg-dark.bg-white .blog_post:hover .blog_content h5,
body.bg-dark.bg-white .blog_post:hover .blog_content h5 a,
body.bg-dark.bg-white .blog_post:hover .blog_content .meta,
body.bg-dark.bg-white .blog_post:hover .blog_content .meta time,
body.bg-dark.bg-white .blog_post:hover .blog_content .post-count,
body.bg-dark.bg-white .blog_post:hover .blog_content .details_link a,
body.bg-dark.bg-white .blog_post:hover .blog_content .details_link a span,
body.bg-dark.bg-white .blog_post:hover .blog_content .details_link a i,
body.bg-dark.bg-white .blog_post:hover .blog_content h2,
body.bg-dark.bg-white .blog_post:hover .blog_content strong {
  color: #ffffff !important;
}
