/*****************/
/************************************/
:root{
  --brand-green: rgb(30, 104, 54);
  --brand-menu: rgba(6, 12, 34, 0.98);
  --ink-soft: #5f6b85;
  --card-border: rgba(6, 12, 34, 0.10);
  --card-shadow: 0 10px 28px rgba(6, 12, 34, 0.08);
}

.expo-gallery{
  padding: 72px 0 !important;
  background:
    radial-gradient(circle at top, rgba(31,110,56,.16), transparent 28%),
    linear-gradient(180deg, #07111d 0%, #03070d 100%);
}

.expo-gallery .section-header h2{
  color: #f5f7fb;
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 8px;
}

.expo-gallery .section-header p{
  color: rgba(226,232,240,.72);
  font-size: .95rem;
  margin-bottom: 24px;
}

/* Grupo por año */
.year-group{
  position: relative;
  margin: 34px auto;
  padding: 20px 16px 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
  overflow: hidden;
}

.year-group::before{
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-menu));
}

/* Etiqueta formal integrada */
.year-tag-formal{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 18px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #f5f7fb;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}

.year-tag-formal::before{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(30,104,54,.20);
}

/* Slider */
.year-group .gallery-slider{
  overflow: visible;
  padding: 6px 52px 34px;
}

.year-group .swiper-slide{
  height: auto;
  opacity: .24;
  transform: scale(.8);
  transition: transform .45s ease, opacity .45s ease, filter .45s ease;
  filter: saturate(.5) brightness(.7);
}

.year-group .swiper-slide-active,
.year-group .swiper-slide-duplicate-active{
  opacity: 1;
  transform: scale(1);
  filter: saturate(1) brightness(1);
}

.year-group .gallery-lightbox{
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: #10151d;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 28px 60px rgba(0,0,0,.34);
  position: relative;
}

.year-group .gallery-lightbox::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.05), transparent 24%, rgba(0,0,0,.18));
  z-index: 1;
  pointer-events: none;
}

.year-group .swiper-slide img{
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 22px;
  transition: transform .45s ease;
  display: block;
}

.year-group .swiper-slide-active .gallery-lightbox img,
.year-group .swiper-slide-duplicate-active .gallery-lightbox img{
  transform: scale(1.06);
}

.year-group .gallery-nav-prev,
.year-group .gallery-nav-next{
  width: 48px;
  height: 48px;
  margin-top: -42px;
  border-radius: 999px;
  background: rgba(16,21,29,.76);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 28px rgba(0,0,0,.28);
  color: #f5f7fb;
  backdrop-filter: blur(10px);
}

.year-group .gallery-nav-prev::after,
.year-group .gallery-nav-next::after{
  font-size: 14px;
  font-weight: 900;
}

.year-group .gallery-nav-prev:hover,
.year-group .gallery-nav-next:hover{
  color: var(--brand-green);
  background: rgba(16,21,29,.96);
}

.year-group .gallery-nav-prev{
  left: 4px;
}

.year-group .gallery-nav-next{
  right: 4px;
}

/* Dots */
.year-group .swiper-pagination-bullet{
  width: 9px;
  height: 9px;
  background: rgba(255,255,255,.28);
  opacity: 1;
}

.year-group .swiper-pagination-bullet-active{
  background: var(--brand-green);
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px){
  .year-group{
    padding: 14px 10px 16px;
    border-radius: 22px;
  }

  .year-tag-formal{
    font-size: .75rem;
    letter-spacing: .06em;
    padding: 7px 12px;
  }

  .year-group .gallery-slider{
    padding: 2px 0 28px;
  }

  .year-group .gallery-nav-prev,
  .year-group .gallery-nav-next{
    display: none;
  }

  .year-group .swiper-slide{
    opacity: .42;
    transform: scale(.84);
    filter: saturate(.72) brightness(.82);
  }

  .year-group .swiper-slide-active,
  .year-group .swiper-slide-duplicate-active{
    opacity: 1;
    filter: saturate(1) brightness(1);
    transform: scale(1);
  }
}


/* Small (sm) → ≥576px */
@media (min-width: 576px) {
  /* estilos sm */
}

/* Medium (md) → 768px – 991.98px */
@media (min-width: 768px) and (max-width: 991.98px) {
  #speakers > .container > .row > .col-sm-6 {
      margin-top:20px;
  }
}

/* Large (lg) → 992px – 1199.98px */
@media (min-width: 992px) and (max-width: 1199.98px) {
  #speakers > .container > .row > .col-sm-6 {
      margin-top:20px;
  }
}

/* Extra large (xl) → 1200px – 1399.98px */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  /* estilos xl */
}

/* Extra extra large (xxl) → ≥1400px */
@media (min-width: 1400px) {
  /* estilos xxl */
}
