* {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
}


@font-face {
        font-family: 'Galano';
        src: url('../font/galano.otf') format('opentype');
    }

header h1 a{
        font-family: 'Galano', sans-serif;
    }


.subitem {
                background: #323232;
    margin: 8px 0;
    height: 2.8em;
    line-height: 2.8em;
    text-indent: 3.75em;
    display: block;
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    font-weight: 500;
    color: #fff;
    border-radius: 10px;
    margin: 10px 5px 10px 0;
}

#accordion li {
                list-style-type: none;
}

#wraper {
    width: 100%;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}



@keyframes gradientBorder {
    0% {
        border-image-source: linear-gradient(to right, red, black);
    }
    50% {
        border-image-source: linear-gradient(to bottom, red, black);
    }
    100% {
        border-image-source: linear-gradient(to left, red, black);
    }
}


.main-container {
    width: 100%;
    padding: 20px;
    align-items: center;
}

.video-container {
    width: 100%;
    height: auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (min-width: 576px) {
    .main-container {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .main-container {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .main-container {
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .main-container {
        width: 80%;
    }
}

.hover\:shadow-red-glow:hover {
    box-shadow: 0 0 10px 2px rgba(255, 0, 0, 0.5);
    animation: gradientBorder 2s infinite;
    & img {
        filter: grayscale(100%);
        transform: scale(1.1);
    }
}
/* =====================================================
   AGENDA UNIVERSAL – ESTILOS PROFESIONALES
   (NO interfiere con estilos existentes)
   ===================================================== */

.agenda-item {
  background: #ffffff;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  transition: box-shadow .2s ease, transform .2s ease;
}

.agenda-item:hover {
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
  transform: translateY(-1px);
}

.agenda-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.agenda-time {
  min-width: 42px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #15803d;
}

.agenda-flag {
  width: 26px;
  height: 26px;
  border-radius: 9999px;
  object-fit: cover;
}

.agenda-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.25;
}

/* ===== Submenú ===== */

.agenda-submenu {
  display: none;
  margin-top: 0.6rem;
  padding-left: 0.75rem;
  border-left: 3px solid #d1fae5;
}

.agenda-option {
  list-style: none;
  margin: 0.35rem 0;
}

.agenda-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 0.5rem;
  background: #f9fafb;
  text-decoration: none;
  color: #1f2937;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}

.agenda-link:hover {
  background: #dcfce7;
  color: #15803d;
  transform: translateX(4px);
}

.play-icon {
  font-size: 0.7rem;
  color: #16a34a;
}

/* Estados */
.agenda-empty,
.agenda-error {
  list-style: none;
  padding: 0.75rem;
  margin-top: 0.5rem;
  background: #f9fafb;
  border-radius: 0.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Mobile ajuste fino */
@media (max-width: 480px) {
  .agenda-title {
    font-size: 0.85rem;
  }

  .agenda-time {
    font-size: 0.8rem;
  }

  .agenda-link {
    font-size: 0.8rem;
  }
}
