/* Görsellerin Bootstrap ratio içinde taşma yapmaması için */
.object-fit-cover { object-fit: cover; width: 100%; height: 100%; }

/* Kart başlık linkleri underline olmasın */
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { text-decoration: underline; }

.object-fit-cover { object-fit: cover; width: 100%; height: 100%; }


/* === Carousel altındaki 4 küçük kartlar (sabit yükseklik) === */
:root{
  --ms-under-card-thumb-h: 90px; /* gerekirse 80-100 arası oynat */
}

/* Kart içeriğinin tamamı dikeyde esnesin */
.item-card-global > * {
  flex: 1 1 auto;
}

/* item-card-global boyutu kısaltma */
.item-card-global {
 display: flex;
 flex-direction: column;
 height: 100%;            /* kolonun yüksekliğini kaplasın */
 max-height: 420px;       /* ← burayı isteğine göre ayarla (ör. 280–320px) */
 overflow: hidden;        /* taşan içerik görünmesin */
}

.main-store-card{
 display: flex;
 flex-direction: column;
 height: 100%;            /* kolonun yüksekliğini kaplasın */
 max-height: 420px;       /* ← burayı isteğine göre ayarla (ör. 280–320px) */
 overflow: hidden;        /* taşan içerik görünmesin */
 padding: 0px;
}

.item-card-global .card-body {
 flex: 1 1 auto;
 overflow: hidden;
}



/* === Koyu mini kartlar (carousel altı) === */
:root{
  --ms-mini-radius: 16px;
  --ms-mini-border: rgba(255,255,255,0.08);
  --ms-mini-bg: #1f2230;            /* kart arkaplan */
  --ms-mini-footer-bg: #26293a;     /* alt şerit */
  --ms-mini-thumb-h: 160px;         /* görsel yüksekliği (kısaltmak/uzatmak için) */
  --ms-mini-text: #e6e8ee;          /* yazı rengi */
  --ms-mini-muted: #9aa3b2;         /* sönük */
  --ms-mini-badge-bg: #F74A66;      /* pembe rozet bg */
  --ms-mini-badge-fg: #DDE2E6;      /* pembe rozet yazı */
  --blog-rect-radius: 16px;
  --blog-rect-bg: #1f2230;
  --blog-rect-border: rgba(255,255,255,0.08);
  --blog-rect-footer-bg: #232638;
  --blog-rect-text: #e8ebf5;
  --blog-rect-muted: #b9c0d0;
  --blog-rect-img-h: 105px;    /* üst görsel yüksekliği */
}

.ms-under-cards .ms-mini-card{
  background: var(--ms-mini-bg);
  border: 1px solid var(--ms-mini-border);
  border-radius: var(--ms-mini-radius);
  overflow: hidden;
  color: var(--ms-mini-text);
  display: flex;
  flex-direction: column;
  max-height: 320px;            /* “biraz kısa” görünüm */
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ms-under-cards .ms-mini-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

/* Üst görsel */
.ms-under-cards .ms-mini-media{
  position: relative;
  height: var(--ms-mini-thumb-h);
  overflow: hidden;
}
.ms-under-cards .ms-mini-img{
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.ms-under-cards .ms-mini-ph{
  background: #3a3f54; color: var(--ms-mini-muted);
  display:flex; align-items:center; justify-content:center;
}

/* Pembe rozet (sağ üst) */
.ms-under-cards .ms-mini-badge{
  position: absolute;
  top: 10px; right: 10px;
  background: var(--ms-mini-badge-bg);
  color: var(--ms-mini-badge-fg);
  font-weight: 600; font-size: 12px;
  padding: 7px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

/* Alt şerit (başlık + chevron) */
.ms-under-cards .ms-mini-footer{
  background: var(--ms-mini-footer-bg);
  padding: 14px 16px;
  border-top: 1px solid var(--ms-mini-border);
}
.ms-under-cards .ms-mini-title{
  font-size: 18px; font-weight: 600; color: var(--ms-mini-text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ms-under-cards .ms-mini-chevron{
  display:inline-flex; align-items:center; justify-content:center;
  width: 28px; height: 28px; border-radius: 999px;
  color: var(--ms-mini-text);
  background: transparent;
  border: 1px solid var(--ms-mini-border);
}
.ms-under-cards .ms-mini-card:hover .ms-mini-chevron{
  border-color: rgba(255,255,255,0.22);
}

/* Responsive ufak iyileştirme */
@media (max-width: 575.98px){
  :root{ --ms-mini-thumb-h: 140px; }
}


/* --- RESET: Bootstrap'ın çizgi göstergelerini kapat --- */
.ms-indicators [data-bs-target],
.ms-indicators .ms-indicator {
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;   /* çizgi rengini sıfırla */
  border: 0 !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

/* Konum ve aralıklar */
.ms-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: -20px;                 /* altta biraz boşluk */
}

/* --- CUSTOM DOT TASARIMI --- */
.ms-indicator {                        /* buton */
  position: relative;
  cursor: pointer;
  --dot-size: 12px;                    /* dış halka çapı */
  --dot-inner: 6px;                    /* iç nokta çapı */
  --dot-inactive: rgba(255,255,255,.28);
  --dot-active:   #ff5a7a;             /* pembe */
}

/* dış halka */
.ms-indicator::before {
  content: "";
  display: block;
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--dot-inactive) inset;
  transition: box-shadow .18s ease, transform .18s ease;
}

/* iç küçük nokta */
.ms-indicator::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: var(--dot-inner);
  height: var(--dot-inner);
  border-radius: 50%;
  background: var(--dot-inactive);
  transition: background-color .18s ease;
}

/* aktif durum */
.ms-indicator.active::before {
  box-shadow:
    0 0 0 2px var(--dot-active) inset,
    0 0 0 4px rgba(255,90,122,.25);
  transform: scale(1.05);
}
.ms-indicator.active::after {
  background: var(--dot-active);
}

/* (İsteğe bağlı) ok düğmelerini görseldeki gibi koyu yuvarlak yapalım */
.carousel-control-prev, .carousel-control-next {
  width: auto;
}
.carousel-control-prev .carousel-control-prev-icon,
.carousel-control-next .carousel-control-next-icon{
  background-color: rgba(0,0,0,.65);
  border-radius: 999px;
  background-size: 50% 50%;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.1);
}

.ms-blog-rects .ms-blog-rect{
  background: var(--blog-rect-bg);
  border: 1px solid var(--blog-rect-border);
  border-radius: var(--blog-rect-radius);
  overflow: hidden;
  color: var(--blog-rect-text);
  display: flex;
  flex-direction: column;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.ms-blog-rects .ms-blog-rect:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}

/* Üst görsel */
.ms-blog-rects .ms-blog-rect-media{
  height: var(--blog-rect-img-h);
  overflow: hidden;
}
.ms-blog-rects .ms-blog-rect-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ms-blog-rects .ms-blog-rect-ph{
  background:#3c435a; color:#94a0b8;
  display:flex; align-items:center; justify-content:center;
}

.ms-blog-rects .ms-blog-rect-body{
  padding: 18px 20px 14px;
}
.ms-blog-rects .ms-blog-rect-title{
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 10px 0;
}
.ms-blog-rects .ms-blog-rect-excerpt{
  color: var(--blog-rect-muted);
  font-size: 16px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;       /* metni 3 satırda kırp */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Ayraç + alt satır (Devamını Oku + chevron) */
.ms-blog-rects .ms-blog-rect-divider{
  height: 1px;
  background: var(--blog-rect-border);
  margin: 0;
}
.ms-blog-rects .ms-blog-rect-footer{
  background: var(--blog-rect-footer-bg);
  padding: 16px 20px;
}
.ms-blog-rects .ms-blog-rect-read{
  font-size: 18px;
  font-weight: 500;
  color: var(--blog-rect-text);
}
.ms-blog-rects .ms-blog-rect-chevron{
  color: var(--blog-rect-text);
  width: 32px; height: 32px; border-radius: 999px;
  display:inline-flex; align-items:center; justify-content:center;
  border: 1px solid var(--blog-rect-border);
}
.ms-blog-rects .ms-blog-rect:hover .ms-blog-rect-chevron{
  border-color: rgba(255,255,255,0.22);
}

/* Responsive küçük ayar */
@media (max-width: 575.98px){
  :root{ --blog-rect-img-h: 90px; }
  .ms-blog-rects .ms-blog-rect-title{ font-size: 22px; }
}
