/* =================================
   eventoCIONES
================================= */

.evento-section {
  width: 100%;

  max-width: 1000px;
  max-height: 820px;


  margin: 10px auto;
  padding: 0 20px;

  display: grid;

  grid-template-columns:
    3fr
    1fr;

  grid-template-areas:
    "main side"
    "dots side";

  gap: 10px;
}

/* =================================
   CARRUSEL
================================= */

.evento-main {
  grid-area: main;

  position: relative;

  height: 400px;

  overflow: hidden;

  border-radius: 10px;

  background: #f3f3f3;
}

.evento-slides {
  width: 100%;
  height: 100%;

  position: relative;
  cursor: pointer;
}

.evento-slide {
  position: absolute;

  inset: 0;

  opacity: 0;

  transition: opacity .8s ease;

  display: block;
}

.evento-slide.active {
  opacity: 1;
}

.evento-slide img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}

/* =================================
   FLECHAS
================================= */

.evento-arrow {
  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  width: 20px;
  height: 20px;

  border: none;

  border-radius: 50%;

  background: rgba(255,255,255,.95);

  cursor: pointer;

  font-size: 10px;

  z-index: 10;

  transition: .25s;

  display: flex;
  align-items: center;
  justify-content: center;
}

.evento-arrow:hover {
  transform:
    translateY(-50%)
    scale(1.08);
}

.evento-prev {
  left: 20px;
}

.evento-next {
  right: 20px;
}

/* =================================
   DOTS
================================= */

.evento-dots {
  grid-area: dots;

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 5px;

  min-height: 10px;
}

.evento-dot {
  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: #d7d7d7;

  cursor: pointer;

  transition: .25s;
}

.evento-dot:hover {
  transform: scale(1.15);
}

.evento-dot.active {
  background: #4a4eb8;
}

/* =================================
   LATERALES
================================= */

.evento-side {
  grid-area: side;

  display: grid;

  grid-template-rows: 1fr 1fr;

  max-height: 400px;

  gap: 10px;
}

.evento-box {

  border-radius: 10px;

  overflow: hidden;

  background: #f3f3f3;

  text-decoration: none;
}

.evento-box img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}

/* =================================
   BLOQUE DE TEXTO
================================= */

.evento-text {
  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  text-align: center;

  gap: 10px;

  padding: 10px;

  background: rgb(218, 218, 218);
}

.evento-text h2 {

  font-family: "MontserratBold";
}

.evento-text p {

  font-family: "Montserrat";

  line-height: 1.5;
}

/* =================================
   RESPONSIVE
================================= */

@media (max-width: 900px) {

  .evento-section {

    grid-template-columns: 1fr;

    grid-template-areas:
      "main"
      "dots"
      "side";

    gap: 20px;
  }

  .evento-main {
    height: 300px;
  }

  .evento-side {
    flex-direction: row;
  }

  .evento-box {
    height: 180px;
  }
}