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

/* ================= BODY ================= */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background: #111827;
  color: #ffffff;
  line-height: 1.6;
}

/* ================= LINKS ================= */
a {
  text-decoration: none;
}

/* ================= HEADER ROJADIRECTA ================= */
.header {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px 8px 24px;
  background: linear-gradient(180deg, #dc2626 0%, #111827 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
}

.header-title {
  margin: 0;
  padding: 8px;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.header-title a {
  color: #ffffff;
  text-decoration: none;
}

.header-img {
  padding-right: 16px;
  display: flex;
  align-items: center;
}

.header-img img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

/* ================= MAIN ================= */
.container,
main {
  width: 91.666667%;
  max-width: 1200px;
  margin: 2rem auto 1.5rem;
  flex: 1;
}

/* ================= TITULOS ================= */
.title-main,
h1 {
  color: #ffffff;
  text-align: center;
  font-size: 2.45rem;
  font-weight: 900;
  margin: 0.8rem 0 1.1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.channels-title {
  color: #ffffff;
  text-align: center;
  font-size: 1.85rem;
  margin: 2.6rem 0 1.5rem;
  font-weight: 800;
}

/* ================= DESCRIPCIÓN ================= */
.description {
  max-width: 980px;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #ffffff;
}

.description a,
.description strong {
  color: #ffffff;
  font-weight: 800;
}

/* ================= AGENDA ================= */
#wraper {
  width: 100%;
  margin: 0 auto 2rem;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
}

.agenda-header {
  background: linear-gradient(90deg, #dc2626 0%, #7f1d1d 55%, #111827 100%);
  color: #ffffff;
  text-align: center;
  border-radius: 0.55rem 0.55rem 0 0;
  padding: 0.8rem;
  box-shadow: 0 6px 15px rgba(220, 38, 38, 0.25);
}

#title-agenda {
  font-size: 1rem;
  font-weight: 900;
  margin: 0;
  color: #ffffff;
}

/* ================= MENU AGENDA ================= */
#menu {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #061126;
  border-radius: 0 0 0.55rem 0.55rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

#menu > li {
  border-bottom: 1px solid #e5e7eb;
  list-style: none;
}

#menu > li:hover {
  background: #fff1f2;
}

.menu-item {
  list-style: none;
  background: none;
}

.menu-item a {
  display: block;
  padding: 7px 14px;
  color: #061126;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.menu-item a:hover {
  background: #dc2626;
  color: #ffffff;
}

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

.card {
  background: #ffffff;
  color: #111827;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(220, 38, 38, 0.35);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 24px rgba(220, 38, 38, 0.25);
}

.card-image {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
}

.card-image img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.card-content {
  padding: 1.2rem;
  text-align: center;
}

.card-content h3 {
  color: #111827;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.card-content p {
  color: #4b5563;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

/* ================= BOTÓN ================= */
.btn-watch {
  display: inline-block;
  background: #dc2626;
  color: #ffffff;
  padding: 8px 17px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-watch:hover {
  background: #ef4444;
  transform: translateY(-1px);
}

/* ================= SEO CONTENT OSCURO ================= */
.seo-content {
  background: transparent;
  color: #ffffff;
  border-radius: 0;
  padding: 35px 0 20px;
  margin-top: 50px;
  box-shadow: none;
}

.seo-content h2,
.seo-content h3 {
  color: #ffffff;
  margin: 28px 0 14px;
  font-weight: 900;
  line-height: 1.25;
}

.seo-content h2 {
  font-size: 1.75rem;
}

.seo-content h3 {
  font-size: 1.35rem;
}

.seo-content p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.seo-content strong {
  color: #ffffff;
  font-weight: 800;
}

.seo-content a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.seo-content a:hover {
  color: #fecaca;
  text-decoration: underline;
}

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

.seo-content li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

/* ================= FOOTER ================= */
.footer {
  background: linear-gradient(180deg, #111827 0%, #9f0d0d 100%);
  color: #ffffff;
  text-align: center;
  padding: 28px 16px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-title {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-disclaimer {
  max-width: 950px;
  margin: 0 auto 14px auto;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  opacity: 0.92;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .header {
    min-height: 54px;
    padding: 10px 14px 8px 16px;
  }

  .header-title {
    font-size: 22px;
    padding: 6px 0;
  }

  .header-img {
    padding-right: 4px;
  }

  .header-img img {
    width: 32px;
    height: 32px;
  }

  .container,
  main {
    width: 94%;
    max-width: 100%;
    margin-top: 1.5rem;
  }

  .title-main,
  h1 {
    font-size: 2rem;
  }

  .description {
    font-size: 1rem;
    margin-bottom: 1.8rem;
  }

  .channels-title {
    font-size: 1.45rem;
  }

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

  .card-image {
    height: 110px;
  }

  .card-image img {
    width: 70px;
    height: 70px;
  }

  .card-content {
    padding: 1rem;
  }

  .seo-content {
    padding: 20px;
  }

  .footer {
    padding: 24px 14px;
  }

  .footer-disclaimer {
    font-size: 12.5px;
  }

  .footer-links {
    gap: 16px;
  }
}