/* Base styles */
html {
  margin-top: 0 !important;
}

* {
  font-family: arial, Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.logo {
  color: #16a34a;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
}

.navbar {
  display: flex;
  gap: 1rem;
}

.navbar > a {
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.3s;
}

.navbar > a:hover {
  color: #16a34a;
}

/* Menu toggle */
#menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #4b5563;
}

.menu-icon {
  height: 1.5rem;
  width: 1.5rem;
}

/* Modal styles */
#menu-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(31, 41, 55, 0.75);
  z-index: 50;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  width: 83.333333%;
  max-width: 50%;
  position: relative;
}

#menu-close {
  color: #4b5563;
  outline: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
}

.close-icon {
  height: 1.5rem;
  width: 1.5rem;
}

.modal-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  margin-top: 1rem;
}

.modal-nav a {
  font-size: 1.125rem;
  font-weight: 600;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.3s;
}

.modal-nav a:hover {
  color: #16a34a;
}

/* Main content */
main {
  margin: 0.6rem auto;
  width: 91.666667%;
  max-width: 66.666667%;
}

h1 {
  text-align: center;
  font-size: 2.25rem;
  font-weight: bold;
  margin-top: 0.6rem;
  margin-bottom: 1.25rem;
  color: #065f46;
}

.description {
  text-align: left;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  color: #4b5563;
}

.description a {
  color: #16a34a;
  text-decoration: underline;
}

/* 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;
}

/* Menu styles */
#menu {
  margin: 0;
  padding: 0;
  background-color: #fff;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,.1);
}

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

#menu > li:hover {
  background-color: #f9fbfc;
}

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

.menu-item a {
  display: block;
  padding: 5px 10px;
  color: #010101;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: all 0.3s ease-in-out;
}

.menu-item a:hover {
  background-color: #05b548;
  color: #fff;
}

/* Channel cards */
.channels-title {
  text-align: center;
  font-size: 1.875rem;
  margin-bottom: 1.75rem;
  margin-top: 2.5rem;
  font-weight: 600;
  color: #065f46;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background-color: white;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-image {
  height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f3f4f6;
}

.card-image img {
  height: 6rem;
  width: 6rem;
  object-fit: contain;
}

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

.card-content h3 {
  color: #1f2937;
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-content p {
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.btn-watch {
  background-color: #15803d;
  color: white;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-block;
}

/* Footer styles */
footer {
  height: 2.5rem;
  background-color: #1f2937;
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.footer-title {
  text-align: center;
  font-size: 0.875rem;
}

.redes {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.redes > li {
  list-style-type: none;
}

.red-item {
  color: inherit;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

.red-item:hover {
  color: #16a34a;
}

/* Responsive styles */
@media (max-width: 800px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  main {
    max-width: 90%;
    width: 100%;
  }

  #title-agenda {
    font-size: 18px;
  }

  .navbar {
    display: none;
  }

  #menu-toggle {
    display: flex;
  }

  #iframeVideo {
    width: 100% !important;
    height: 100% !important;
  }

  /* Modal adjustments for mobile */
  .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 300px;
    padding: 1.25rem;
  }

  .modal-nav {
    align-items: center;
  }

  .modal-nav a {
    width: 100%;
    padding: 0.75rem 0;
  }
}

@media (max-width: 480px) {
  .cards-container {
    grid-template-columns: 1fr;
  }
}

/* iPhone specific styles */
@media only screen and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 2) {
  #menu {
    padding: 0 5px;
  }

  .menu-item a {
    padding: 10px 15px;
    font-size: 1rem;
  }

  #navbar {
    flex-direction: column;
  }

  button#menu-toggle {
    font-size: 1.2rem;
  }

  #iframeVideo,
  #embedIframe {
    width: 100% !important;
    height: auto !important;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }

  /* Modal adjustments for iPhone */
  .modal-content {
    width: 85%;
    padding: 1.25rem;
  }
}

/* Utility classes */
.transition-all {
  transition: all .3s ease-in-out;
}

.submenu > a > li:hover {
  color: #05b548;
}

.submenu:not(:first-child) {
  border-top-width: 1px;
  border-bottom-width: 0px;
  border-color: #e5e7eb;
}

.socialicon {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

@media (max-width: 640px) {
  .hide-on-mobile {
    display: none !important;
  }
}
.fl_1,.fl_10,.fl_100,.fl_101,.fl_102,.fl_103,.fl_104,.fl_105,.fl_106,.fl_107,.fl_108,.fl_109,.fl_11,.fl_110,.fl_111,.fl_12,.fl_13,.fl_14,.fl_15,.fl_16,.fl_17,.fl_18,.fl_19,.fl_2,.fl_20,.fl_21,.fl_22,.fl_23,.fl_24,.fl_25,.fl_26,.fl_27,.fl_28,.fl_29,.fl_3,.fl_30,.fl_31,.fl_32,.fl_33,.fl_34,.fl_35,.fl_36,.fl_37,.fl_38,.fl_39,.fl_4,.fl_40,.fl_41,.fl_42,.fl_43,.fl_44,.fl_45,.fl_46,.fl_47,.fl_48,.fl_49,.fl_5,.fl_50,.fl_51,.fl_52,.fl_53,.fl_54,.fl_55,.fl_56,.fl_57,.fl_58,.fl_59,.fl_6,.fl_60,.fl_61,.fl_62,.fl_63,.fl_64,.fl_65,.fl_66,.fl_67,.fl_68,.fl_69,.fl_7,.fl_70,.fl_71,.fl_72,.fl_73,.fl_74,.fl_75,.fl_76,.fl_77,.fl_78,.fl_79,.fl_8,.fl_80,.fl_81,.fl_82,.fl_83,.fl_84,.fl_85,.fl_86,.fl_87,.fl_88,.fl_89,.fl_9,.fl_90,.fl_91,.fl_92,.fl_93,.fl_94,.fl_95,.fl_96,.fl_97,.fl_98,.fl_99{width:24px;height:24px}.flag{background-image:url(https://adm.server-uk.es/img/newspritest.webp);background-repeat:no-repeat;display:block}.fl_1{background-position:-27px -1px}.fl_2{background-position:-53px -1px}.fl_3{background-position:-79px -1px}.fl_4{background-position:-105px -1px}.fl_5{background-position:-131px -1px}.fl_6{background-position:-157px -1px}.fl_7{background-position:-183px -1px}.fl_8{background-position:-209px -1px}.fl_9{background-position:-235px -1px}.fl_10{background-position:-1px -27px}.fl_11{background-position:-27px -27px}.fl_12{background-position:-53px -27px}.fl_13{background-position:-79px -27px}.fl_14{background-position:-105px -27px}.fl_104{background-position:-131px -27px}.fl_15{background-position:-157px -27px}.fl_16{background-position:-183px -27px}.fl_17{background-position:-209px -27px}.fl_18{background-position:-235px -27px}.fl_19{background-position:-1px -53px}.fl_20{background-position:-27px -53px}.fl_21{background-position:-53px -53px}.fl_22{background-position:-79px -53px}.fl_23{background-position:-105px -53px}.fl_24{background-position:-131px -53px}.fl_109{background-position:-157px -53px}.fl_25{background-position:-183px -53px}.fl_110{background-position:-209px -53px}.fl_26{background-position:-235px -53px}.fl_27{background-position:-1px -79px}.fl_28{background-position:-27px -79px}.fl_29{background-position:-53px -79px}.fl_30{background-position:-79px -79px}.fl_31{background-position:-105px -79px}.fl_32{background-position:-131px -79px}.fl_33{background-position:-157px -79px}.fl_34{background-position:-183px -79px}.fl_35{background-position:-209px -79px}.fl_36{background-position:-235px -79px}.fl_37{background-position:-1px -105px}.fl_38{background-position:-27px -105px}.fl_39{background-position:-53px -105px}.fl_103{background-position:-79px -105px}.fl_40{background-position:-105px -105px}.fl_41{background-position:-131px -105px}.fl_42{background-position:-157px -105px}.fl_43{background-position:-183px -105px}.fl_44{background-position:-209px -105px}.fl_46{background-position:-235px -105px}.fl_47{background-position:-1px -131px}.fl_48{background-position:-27px -131px}.fl_49{background-position:-53px -131px}.fl_108{background-position:-79px -131px}.fl_50{background-position:-105px -131px}.fl_51{background-position:-131px -131px}.fl_52{background-position:-157px -131px}.fl_53{background-position:-183px -131px}.fl_54{background-position:-209px -131px}.fl_55{background-position:-235px -131px}.fl_56{background-position:-1px -157px}.fl_57{background-position:-27px -157px}.fl_58{background-position:-53px -157px}.fl_59{background-position:-79px -157px}.fl_60{background-position:-105px -157px}.fl_61{background-position:-131px -157px}.fl_62{background-position:-157px -157px}.fl_63{background-position:-183px -157px}.fl_64{background-position:-209px -157px}.fl_65{background-position:-235px -157px}.fl_66{background-position:-1px -183px}.fl_105{background-position:-27px -183px}.fl_106{background-position:-53px -183px}.fl_67{background-position:-79px -183px}.fl_68{background-position:-105px -183px}.fl_69{background-position:-131px -183px}.fl_70{background-position:-157px -183px}.fl_71{background-position:-183px -183px}.fl_72{background-position:-209px -183px}.fl_73{background-position:-235px -183px}.fl_74{background-position:-1px -209px}.fl_75{background-position:-27px -209px}.fl_76{background-position:-53px -209px}.fl_77{background-position:-79px -209px}.fl_78{background-position:-105px -209px}.fl_79{background-position:-131px -209px}.fl_80{background-position:-157px -209px}.fl_81{background-position:-183px -209px}.fl_82{background-position:-209px -209px}.fl_83{background-position:-235px -209px}.fl_84{background-position:-1px -235px}.fl_85{background-position:-27px -235px}.fl_86{background-position:-53px -235px}.fl_87{background-position:-79px -235px}.fl_88{background-position:-105px -235px}.fl_89{background-position:-131px -235px}.fl_90{background-position:-157px -235px}.fl_91{background-position:-183px -235px}.fl_92{background-position:-209px -235px}.fl_93{background-position:-235px -235px}.fl_107{background-position:-261px -1px}.fl_111{background-position:-261px -27px}.fl_94{background-position:-261px -53px}.fl_95{background-position:-261px -79px}.fl_96{background-position:-261px -105px}.fl_97{background-position:-261px -131px}.fl_98{background-position:-261px -157px}.fl_99{background-position:-261px -183px}.fl_100{background-position:-261px -209px}.fl_101{background-position:-261px -235px}.fl_102{background-position:-1px -261px}