/* AST Modern V23 - panel modüllerini orijinal ana sayfa tasarımına yaklaştırır */
.ast-module-category-cards,
.ast-module-smart-banner {
  box-sizing: border-box;
}

/* Kategori kartları: eski sabit bölümle aynı görünüm */
.ast-category-cards.ast-module-category-cards {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 28px 0 34px !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

.ast-category-cards.ast-module-category-cards > a {
  min-height: 146px !important;
  border: 1px solid #e4ebf4 !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: #06142b !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  box-shadow: 0 16px 35px rgba(15, 23, 42, .055) !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  overflow: hidden !important;
}

.ast-category-cards.ast-module-category-cards > a:hover {
  color: #e91b2f !important;
  border-color: rgba(233, 27, 47, .25) !important;
  transform: translateY(-2px);
}

.ast-category-cards.ast-module-category-cards > a img {
  width: auto !important;
  height: 62px !important;
  max-width: 78px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

.ast-category-cards.ast-module-category-cards > a i {
  font-size: 52px !important;
  line-height: 1 !important;
  color: #d6e0ec !important;
}

.ast-category-cards.ast-module-category-cards > a.ast-campaign {
  color: #e91b2f !important;
  border-color: rgba(233, 27, 47, .32) !important;
}

.ast-category-cards.ast-module-category-cards > a.ast-campaign i {
  color: #e91b2f !important;
}

/* Akıllı banner: eski sabit bölümle aynı görünüm */
.ast-smart-banner.ast-module-smart-banner {
  width: 100% !important;
  min-height: 340px !important;
  margin: 34px 0 36px !important;
  padding: 58px 70px !important;
  border-radius: 20px !important;
  display: grid !important;
  grid-template-columns: 1.15fr .85fr !important;
  align-items: center !important;
  overflow: hidden !important;
  position: relative !important;
  box-shadow: none !important;
}

.ast-smart-banner.ast-module-smart-banner h2 {
  margin: 0 0 16px !important;
  max-width: 620px !important;
  color: inherit !important;
  font-size: 42px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  letter-spacing: -.03em !important;
}

.ast-smart-banner.ast-module-smart-banner p {
  max-width: 760px !important;
  margin: 0 0 42px !important;
  color: inherit !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
  opacity: .96 !important;
}

.ast-smart-banner.ast-module-smart-banner .ast-btn,
.ast-smart-banner.ast-module-smart-banner .ast-btn-red {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 132px !important;
  height: 62px !important;
  padding: 0 34px !important;
  border-radius: 32px !important;
  background: #ef1b31 !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  box-shadow: 0 15px 30px rgba(239, 27, 49, .25) !important;
}

.ast-smart-banner.ast-module-smart-banner > img {
  max-width: 100% !important;
  max-height: 260px !important;
  object-fit: contain !important;
  justify-self: center !important;
  display: block !important;
}

/* V22'den kalan farklı class'lar kullanılırsa etkisizleştir */
.ast-editable-category-cards,
.ast-editable-smart-banner {
  max-width: none !important;
}

@media (max-width: 1200px) {
  .ast-category-cards.ast-module-category-cards { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 768px) {
  .ast-category-cards.ast-module-category-cards { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .ast-category-cards.ast-module-category-cards > a { min-height: 126px !important; font-size: 16px !important; }
  .ast-smart-banner.ast-module-smart-banner { grid-template-columns: 1fr !important; padding: 34px 24px !important; text-align: center !important; }
  .ast-smart-banner.ast-module-smart-banner h2 { font-size: 30px !important; }
  .ast-smart-banner.ast-module-smart-banner p { font-size: 15px !important; margin-bottom: 24px !important; }
}
