/* Uniform news card images (home swiper + /news grid) — 16:9 crop */
.section-blog .blog-article-item.style1 .images.news-card-thumb,
.flat-blog-grid .box.hover-img .images.news-card-thumb {
  height: auto !important;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.section-blog .blog-article-item .images.news-card-thumb > a,
.flat-blog-grid .box .images.news-card-thumb > a {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.section-blog .blog-article-item .images.news-card-thumb > a > img,
.flat-blog-grid .box .images.news-card-thumb > a > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.section-blog .blog-article-item .images.news-card-thumb .news-card-category,
.flat-blog-grid .box .images.news-card-thumb .news-card-category {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  max-width: calc(100% - 24px);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #405ff2;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(36, 39, 44, 0.12);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*
 * main-header.style2 is position:absolute — first page block must clear the header
 * (home uses full-height slider; inner pages like Haberler need extra top padding).
 */
#pagee > header.main-header + section.flat-title.style1 {
  padding-top: 180px;
  padding-bottom: 79px;
}

#pagee > header.main-header + section.flat-title.style2 {
  padding-top: 150px;
}

/* Logo köprüsü: ekstra tam satır yok, iç sayfa bandı biraz daha sıkı */
#pagee > header.header-main--wide-logo + section.flat-title.style1 {
  padding-top: 188px;
}

#pagee > header.header-main--wide-logo + section.flat-title.style2 {
  padding-top: 158px;
}

/* Inner pages: üst bar koyu (ana sayfa hariç); menü bandı aşağıda ayrı kurallı */
.main-header.inner-page-header .tf-top-bar {
  background: #141518;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header.inner-page-header .tf-top-bar .tf-top-bar-left ul li .icon {
  color: #e4e7ec !important;
}

.main-header.inner-page-header .tf-top-bar .tf-top-bar-left ul li p,
.main-header.inner-page-header .tf-top-bar .tf-top-bar-left ul li p > a,
.main-header.inner-page-header .tf-top-bar .tf-top-bar-left ul li a,
.main-header.inner-page-header .tf-top-bar .tf-top-bar-right p,
.main-header.inner-page-header .tf-top-bar .tf-top-bar-right ul li a {
  color: #e4e7ec !important;
}

.main-header.inner-page-header .tf-top-bar .tf-top-bar-left ul li a:hover,
.main-header.inner-page-header .tf-top-bar .tf-top-bar-right ul li a:hover {
  color: #8fb0ff !important;
}

.main-header.inner-page-header .language-selector-select {
  background: #2a2d32 !important;
  border-color: #4a5058 !important;
  color: #f2f4f7 !important;
}

.main-header.inner-page-header .main-menu .navigation > li > a,
.main-header.inner-page-header .header-account .header-search-icon,
.main-header.inner-page-header .header-account ul li,
.main-header.inner-page-header .header-account ul li a {
  color: #24272c;
}

.main-header.inner-page-header .header-account .header-search-icon::after {
  background-color: #d7dce6;
}

@media (max-width: 991px) {
  #pagee > header.main-header + section.flat-title.style1 {
    padding-top: 200px;
  }

  #pagee > header.main-header + section.flat-title.style2 {
    padding-top: 170px;
  }

  #pagee > header.header-main--wide-logo + section.flat-title.style1 {
    padding-top: 208px;
  }

  #pagee > header.header-main--wide-logo + section.flat-title.style2 {
    padding-top: 178px;
  }
}

/* Ana sayfa — Why Choose Us: dış halkalarda footer partner logoları */
.partners-orbit .orbit-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.partners-orbit .orbit-item:not(.dot) img {
  object-fit: contain;
  max-width: 85%;
  max-height: 85%;
}

/* Mobilde orbit üzerindeki partner logoları biraz daha büyük */
@media (max-width: 991px) {
  .partners-orbit .orbit-item:not(.dot) img {
    max-width: 94%;
    max-height: 94%;
  }
}

@media (max-width: 576px) {
  .partners-orbit .orbit-item:not(.dot) img {
    max-width: 98%;
    max-height: 98%;
  }

  .partners-orbit .orbit-item.orbit-item--outer-logo {
    width: 142px;
    height: 142px;
    margin: -71px;
  }
}

/* Why Choose Us — orta logo: beyaz zemin, mavi yuvarlak çerçeve */
.partners-orbit .center .center-logo {
  background: #ffffff !important;
  border: 3px solid #405ff2;
  box-sizing: border-box;
  padding: 16px;
}

/* Footer alt şerit: tema float:right ile Bootstrap sütunları çakışmasın */
#footer .footer-bottom .back-top-bottom {
  float: none;
}

/* Tema: .footer-main çok sütunlu grid; bu blok tüm satırı kaplasın */
#footer .footer-main-inner {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: center;
  gap: 24px 32px;
  width: 100%;
}

#footer .footer-main-menu {
  min-width: 0;
}

#footer .footer-partner-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 8px;
  scrollbar-width: thin;
}

#footer .footer-partner-logo-slot {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#footer .footer-partner-logo-link,
#footer .footer-partner-logo-nolink {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

#footer .footer-partner-logo-img {
  display: block;
  height: var(--footer-partner-logo-h, 32px) !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain;
  vertical-align: middle;
}

@media (max-width: 991px) {
  #footer .footer-main-inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
  }

  /* Mobil / dar ekran: 4 logo tek satırda sıkışıp yatay scroll üretmesin — 2 üst, 2 alt */
  #footer .footer-partner-logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
    align-items: center;
    justify-items: center;
    overflow-x: visible;
    overflow-y: visible;
    padding: 8px 0 10px;
  }

  #footer .footer-partner-logo-slot {
    flex: initial;
    width: 100%;
    max-width: 100%;
  }

  #footer .footer-partner-logo-img {
    max-width: 100% !important;
  }
}

/* Mobil drawer: üstte site logosu + Partner login (tema avatar 48px kuralını geçersiz kılar) */
.mobile-menu .header-account-menu.mobile-menu-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding-top: 28px;
  padding-bottom: 24px;
}

.mobile-menu .mobile-menu-branding-logo {
  display: block;
  line-height: 0;
}

.mobile-menu .mobile-menu-branding-logo img {
  width: auto !important;
  height: auto !important;
  max-height: 56px !important;
  max-width: min(260px, 100%) !important;
  object-fit: contain;
}

.mobile-menu a.mobile-menu-partner-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  padding: 10px 18px;
  border-radius: 8px;
  background: #405ff2;
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.mobile-menu a.mobile-menu-partner-login:hover {
  background: #3548d4;
  color: #fff !important;
}

/* Drawer iletişim / başlıklar: .mobile-menu .navigation li > a ile aynı (15px, 24px satır, 600) */
.mobile-menu .conatct-us .title,
.mobile-menu .social .title {
  font-size: 15px !important;
  line-height: 24px !important;
  font-weight: 600 !important;
}

.mobile-menu .conatct-us .icon-box-footer p,
.mobile-menu .conatct-us .icon-box-footer .sub,
.mobile-menu .conatct-us .icon-box-footer .sub a,
.mobile-menu .conatct-us .icon-box-footer span {
  font-size: 15px !important;
  line-height: 24px !important;
}

.mobile-menu .conatct-us .icon-box-footer p {
  font-weight: 500;
}

.mobile-menu .conatct-us .icon-box-footer .sub,
.mobile-menu .conatct-us .icon-box-footer .sub a {
  font-weight: 600;
}

.mobile-menu .conatct-us .icon-box-footer .icon i {
  font-size: 18px;
  line-height: 1;
  color: #405ff2;
}

/* Haber detay — yazar satırı (görsel yerine ikon) */
.flat-blog-detail .news-author-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: #f4f6f8;
  color: #405ff2;
  border: 1px solid #ededed;
  line-height: 0;
}

/*
 * Tema: .flat-blog-detail .icon-boxs i { margin-right: 9px; } — yazar dairesindeki ikonu kaydırıyor.
 */
.flat-blog-detail .icon-boxs .news-author-icon i {
  margin: 0 !important;
  margin-right: 0 !important;
  color: #405ff2 !important;
  font-size: 22px;
  font-style: normal;
  line-height: 1;
  display: block;
  text-align: center;
  width: 1em;
  height: 1em;
}

/* Why choose us — Bootstrap Icons (replaces inline SVGs) */
.tf-parner-ani .wrap-icon-box .tf-icon-box.style-1 .icon .bi {
  font-size: 80px;
  line-height: 1;
  color: #24272c;
  display: block;
}
