/* Contenedor principal */
.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--color-page);
    font-family: var(--font-family-base);
    color: var(--color-text);
    overflow-x: hidden;
}

/* Logo */
.logo {
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
}

/* Encabezados */
h1, h2, h4 {
    color: var(--color-primary);
    font-family: var(--font-family-base);
}


.text-justify {
    text-align: justify;
}

/* Grid de canales */
.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Cada card */
.channel-box {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 20px;
    word-wrap: break-word;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    align-content: space-around;
    flex-direction: column;
    justify-content: space-evenly;
}


.channel-box:hover {
    transform: translateY(-4px);
}

/* Botones */
.btn {
    background-color: var(--color-primary);
    color: #fff;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: var(--font-size-base);
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--color-primary-dark);
}

.btn i {
    margin-right: 6px;
}

/* Modal */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.modal-content {
  box-sizing: border-box; 
  margin: 0 auto;          
  padding: 30px;
  border-radius: 12px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background-color: var(--color-card);
  color: var(--color-text);
  font-family: var(--font-family-base);
}


.modal-hidden {
    display: none !important;
}

.modal-title {
    font-size: var(--font-size-heading);
    margin-bottom: 15px;
    text-align: center;
    color: var(--color-primary);
}

.modal-body {
    font-size: var(--font-size-base);
    line-height: 1.6;
    text-align: justify;
}

.modal-footer {
    text-align: center;
    margin-top: 20px;
}


.logo-banner {
    width: 100%;
    height: 200px;
    background-color:var(--color-accent);
    border: none;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); 
}

.logo {
    max-height: 100%;
    max-width: 90%;
    object-fit: contain;
}


.logo {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


@media (max-width: 768px) {
  .modal-content {
    padding: 20px 20px;
  }


  .modal-title {
    font-size: 18px;
    text-align: center;
    line-height: 1.4;
  }

  .modal-body {
    font-size: 14px;
    text-align: left;
  }

  .modal-body ul {
    padding-left: 18px;
    margin: 10px 0;
  }

  .modal-body li {
    margin-bottom: 6px;
  }

  /* Botón dentro del modal */
  .modal-body .btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 90%;
    font-size: 14px;
    padding: 12px 10px;
    margin-top: 15px;
    text-align: center;
  }

  .modal-body .btn span.material-icons {
    font-size: 18px;
    margin: 0;
  }

  .modal-footer {
    margin-top: 15px;
  }

  .modal-footer button {
    width: 90%;
    padding: 10px;
    font-size: 14px;
  }
}

.icon-inline-shield {
    vertical-align: middle;
}
.no-canales {
    text-align: center;
    color: #dc3545; /* texto rojo */
    margin-top: 2rem;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}
.btn-whatsapp img {
    width: 20px;
    height: 20px;
}
