/* =========================
   About Carousel (3 cards)
   ========================= */

.about-carousel { margin-top: 12px; }

.about-carousel-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.about-carousel-actions{ display:flex; gap: 10px; }

.about-btn{
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(2,6,23,0.40);
  color: rgba(255,255,255,0.92);
  width: 42px;
  height: 38px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display:none;
  place-items:center;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

@media (max-width: 1199px){
    .about-btn{ display:grid; }
}

.about-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(59,130,246,0.35);
  background: rgba(59,130,246,0.10);
}

.about-carousel-dots{
  display:none;
  gap: 8px;
  align-items:center;
}

@media (max-width: 1199px){
    .about-carousel-dots{ display:flex; }
}

.about-carousel-dots .dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  transition: width .18s ease, background .18s ease;
}
.about-carousel-dots .dot.active{
  width: 22px;
  background: rgba(59,130,246,0.75);
}

/* Outer horizontal slider */
.about-track{
  display:grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.about-track::-webkit-scrollbar{ height: 8px; }
.about-track::-webkit-scrollbar-thumb{ background: rgba(255,255,255,0.10); border-radius: 999px; }

@media (min-width: 960px){
  .about-track{ grid-auto-columns: calc((100% - 14px) / 2); } /* show 2 cards on desktop */
}
@media (min-width: 1200px){
  .about-track{ grid-auto-columns: calc((100% - 28px) / 3); } /* show 3 cards on wide screens */
}

/* Card */
.about-card{
  scroll-snap-align: start;
  border: 1px solid #1d2430;
  background: #0f131a;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
  display:flex;
  flex-direction: column;
  gap: 12px;
  min-height: 360px;
}

.about-card-top h3{ margin: 0 0 6px; font-size: 16px; }
.about-card-top .meta{ margin:0; opacity:.7; font-size: 12px; }

.about-blurb{
  margin: 0;
  opacity: .85;
  font-size: 13px;
  line-height: 1.55;
}

/* Inner image slider (per card) */
.about-media{ display:flex; flex-direction: column; gap: 10px; }

.about-media-viewport{
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(2,6,23,0.35);
  aspect-ratio: 16 / 10; /* consistent size for all images */
}

.about-media-strip{
  display:flex;
  width:100%;
  height:100%;
  transform: translateX(0%);
  transition: transform .35s ease;
}

.about-media-strip img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 0 0 100%;
  display:block;
}

.about-media-controls{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}

.about-mini-btn{
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(2,6,23,0.40);
  color: rgba(255,255,255,0.92);
  width: 38px;
  height: 32px;
  border-radius: 10px;
  cursor:pointer;
  font-size: 18px;
  display:grid;
  place-items:center;
}

.about-mini-dots{
  display:flex;
  gap: 6px;
  align-items:center;
  justify-content:center;
  flex: 1;
}
.about-mini-dots .dot{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.20);
}
.about-mini-dots .dot.active{
  background: rgba(251,191,36,0.85);
}
