.event-container {
  max-width: 1300px;
  margin: 40px auto;
  padding: 20px;
  background: #fefefe;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', sans-serif;
  color: #222;
  margin-top: -1px;
}

.event-container .header {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.event-container .header .logo {
  height: 60px;
  border-radius: 8px;
}

.event-container .header .company-info h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #b40000;
  font-weight: bold;
}

.event-container .header .company-info h2 {
  margin: 0;
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

.event-container .main-content {
  display: flex;
  margin-top: 25px;
  background: linear-gradient(to right, #b40000, #800000);
  color: white;
  border-radius: 10px;
  overflow: hidden;
  align-items: center;
}

.event-container .main-content .photo img {
  height: 180px;
  object-fit: cover;
  border-right: 2px solid rgba(255, 255, 255, 0.2);
}

.event-container .main-content .info-box {
  padding: 20px;
}

.event-container .main-content .info-box h3 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.event-container .main-content .info-box .speaker {
  margin-top: 10px;
  font-size: 1rem;
}

.event-container .main-content .info-box .speaker span {
  font-size: 0.95rem;
  font-weight: 400;
}

.event-container .event-details {
  margin-top: 30px;
}

.event-container .event-details h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #b40000;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 5px;
}

.event-container .event-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-container .event-details ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.event-container .event-details ul li i {
  font-size: 1.2rem;
  color: #b40000;
}

.event-container .event-details ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.event-container .event-details ul li a:hover {
  color: #b40000;
}

/* ===========================
   Redes Sociales
=========================== */
.socials-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: nowrap;
  margin-top: 10px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 180px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  padding: 20px 10px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  margin-top: 10px;
}

/* .social-card:hover,
.social-card:focus {
  transform: scale(1.15);
} */

.social-card:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  outline: none;
}

.social-card:focus {
  outline: 2px solid #b40000; /* solo un borde para foco accesible */
  transform: none;
  box-shadow: none;
}


.icon-container {
  width: 60px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: white;
  font-size: 1.8rem;
}

.social-content h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #222;
}

.social-content p {
  margin: 5px 0 0;
  font-size: 0.90rem;
  font-weight: 500;
  color: #555;
  user-select: text;
  white-space: normal; /* permitir salto de línea */
  word-break: break-word; /* romper palabra si es muy larga */
  max-width: 140px;
  overflow-wrap: break-word;
}


.social-card {
  background: #fff; /* fondo blanco puro */
  width: 200px;
}

.icon-container {
  background: transparent !important; /* elimina fondo de icon-container */
  color: #b40000; /* rojo KW */
}

.social-card:hover {
  box-shadow: 0 8px 25px rgba(180, 0, 0, 0.3);
  transform: scale(1.1);
}


/* Tu CSS base (igual) ... */

/* Ajustes responsivos */

@media (max-width: 1024px) {
  .event-container {
    max-width: 95%;
    margin: 20px auto;
    padding: 15px;
  }

  .event-container .header {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .event-container .header .company-info h1,
  .event-container .header .company-info h2 {
    font-size: 1.5rem;
  }

  .event-container .main-content {
    flex-direction: column;
    align-items: center;
  }

  .event-container .main-content .photo img {
    height: 150px;
    border-right: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
    width: 100%;
    max-width: 180px;
  }

  .event-container .main-content .info-box {
    padding: 10px 20px;
    text-align: center;
  }

  .event-container .main-content .info-box h3 {
    font-size: 1.4rem;
  }

  .event-container .main-content .info-box .speaker {
    font-size: 0.9rem;
  }

  .socials-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .social-card {
    width: 140px;
    padding: 15px 8px;
  }

  .social-content p {
    font-size: 0.75rem;
    max-width: 120px;
  }

  .icon-container {
    width: 50px;
    height: 40px;
    font-size: 1.5rem;
    margin-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .event-container {
    padding: 10px;
    margin: 10px auto;
  }

  .event-container .header .company-info h1 {
    font-size: 1.3rem;
  }

  .event-container .header .company-info h2 {
    font-size: 0.85rem;
  }

  .event-container .main-content .photo img {
    height: 120px;
    max-width: 140px;
  }

  .event-container .main-content .info-box h3 {
    font-size: 1.1rem;
  }

  .social-card {
    width: 120px;
    padding: 12px 6px;
  }

  .social-content h4 {
    font-size: 0.9rem;
  }

  .social-content p {
    font-size: 0.7rem;
    max-width: 100px;
  }

  .icon-container {
    width: 40px;
    height: 35px;
    font-size: 1.3rem;
  }
}