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

/* ================= BODY ================= */
body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background: #f5f6f8;
  color: #1f2937;
  line-height: 1.6;
}

/* ================= HEADER ================= */
header {
  background: linear-gradient(90deg, #9f0d0d, #c31414);
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.logo {
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  margin-left: 18px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
  transition: 0.2s ease;
}

.navbar a:hover {
  opacity: 1;
  border-bottom: 2px solid #fff;
}

/* ================= MENU MOBILE ================= */
#menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  display: none;
}

#menu-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 999;
}

.modal-content {
  background: #ffffff;
  width: 260px;
  height: 100%;
  padding: 20px;
  box-shadow: 4px 0 20px rgba(0,0,0,0.2);
}

.modal-nav a {
  display: block;
  padding: 12px 0;
  color: #c31414;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid #eee;
}

/* ================= MAIN ================= */
main {
  max-width: 1200px;
  margin: auto;
  padding: 30px 20px;
}

/* ================= TITULOS ================= */
h1 {
  color: #9f0d0d;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
}

.channels-title {
  color: #9f0d0d;
  font-size: 22px;
  margin: 40px 0 20px;
  font-weight: 700;
}

/* ================= DESCRIPCIÓN ================= */
.description {
  background: #ffffff;
  border-radius: 8px;
  padding: 18px;
  font-size: 14px;
  margin-bottom: 25px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* ================= AGENDA ================= */
#wraper {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 35px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

/* ================= TARJETAS ================= */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
}

.card {
  background: #ffffff;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 5px 18px rgba(0,0,0,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

.card-image img {
  max-width: 100%;
  height: 60px;
  object-fit: contain;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 700;
  color: #111;
}

.card p {
  font-size: 13px;
  margin-bottom: 14px;
  color: #555;
}

/* ================= BOTÓN ================= */
.btn-watch {
  display: inline-block;
  background: linear-gradient(90deg, #b31212, #e52d27);
  color: #fff;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn-watch:hover {
  transform: scale(1.05);
}

/* ================= SEO CONTENT ================= */
.seo-content {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  margin-top: 50px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.06);
}

.seo-content h2,
.seo-content h3 {
  color: #9f0d0d;
  margin: 25px 0 15px;
  font-weight: 700;
}

.seo-content p {
  font-size: 14px;
  margin-bottom: 18px;
  color: #333;
}

.seo-content ul {
  padding-left: 22px;
  margin-bottom: 20px;
}

.seo-content li {
  margin-bottom: 8px;
}

/* ================= FOOTER ================= */
footer {
  background: #9f0d0d;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 12px;
  font-weight: 500;
  opacity: 0.9;
}

footer a:hover {
  opacity: 1;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

  .navbar {
    display: none;
  }

  #menu-toggle {
    display: block;
  }

  h1 {
    font-size: 22px;
  }

  .channels-title {
    font-size: 18px;
  }

  .cards-container {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .seo-content {
    padding: 20px;
  }
}
/* Agenda section */
#wraper {
  width: 100%;
  margin: 0 auto;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  height: 50%;
  display: flex;
  flex-direction: column;
}

.agenda-header {
  background: linear-gradient(to right, #16a34a, #15803d);
  color: white;
  text-align: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  flex-grow: 1;
  padding: 0.5rem;
}

#title-agenda {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
}
