.activities {
  padding: 60px 20px;
  background: #f5f5f5;
}

/* CONTENEDOR CENTRADO */
.activities-wrapper{
  max-width:1100px;
  margin:auto;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

.activities-grid {
  display: grid;
  gap: 25px;
}

/* CARD */
.activity-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.activity-video {
  position: relative;
  cursor: pointer;
}

.activity-video img {
  width: 100%;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: 40px;
  color: white;
  background: rgba(0,0,0,0.6);
  padding: 10px;
  border-radius: 50%;
}

.activity-content {
  padding: 20px;
}

.activity-content h3 {
  margin-bottom: 10px;
}

.activity-content p {
  margin-bottom: 15px;
}

/* BOTÓN HEREDA DE styles.css */

/* GRID RESPONSIVE */
@media(min-width:768px){
  .activities-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media(min-width:1024px){
  .activities-grid {
    grid-template-columns: repeat(3,1fr);
  }
}

/* MODAL (UNIFICADO CON JS) */
.video-modal {
  display: none;
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 4000;
}

.video-modal-content {
  width: 90%;
  max-width: 800px;
  position: relative;
}

.video-modal iframe {
  width: 100%;
  height: 450px;
}

.close-modal {
  position: absolute;
  top: -30px;
  right: 0;
  font-size: 30px;
  color: white;
  cursor: pointer;
}