
@import url('https://fonts.googleapis.com/css2?family=Jaro:opsz@6..72&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

header {
    width: 100%;
}

header .logo-container {
    width: 100%;
    background-color: #000;
    position: relative;
    display: flex;
    padding: 10px 40px 10px 40px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 85%, 0 100%);
    justify-content: space-between; 
    align-items: center;
}

header .logo-container .logo {
    width: 10%;
}

header .logo-container .icones {
    display: flex;
    align-items: center;
    justify-content: center;
}

header .logo-container .icones img {
    width: 75%;
}

header .logo-container .icones a {
    margin-left: 10px;
}

nav {
    width: 100%;
}

nav ul {
    width: 100%;
    list-style: none;
    text-decoration: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 20px;
}

nav ul li a {
    text-decoration: none;
    font-size: 18px;
    color: #000;
    font-weight: 800;
}

nav ul li a:hover {
    color: #0093dd;
}

main.content {
    padding: 80px 80px 120px 80px;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #DFDFDF;
  color: white;
  text-align: center;
  padding: 15px 40px 10px 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: #000;
  clip-path: polygon(0 0, 50% 20%, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

footer p {
    font-size: 14px;
}

footer a {
    color: #000;
    text-decoration: none;
}

footer a:nth-child(2) {
    border-left: 4px solid #000;
    border-right: 4px solid #000;
    padding-left: 40px;
    padding-right: 40px;
}

footer .icones {
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .icones a {
    text-decoration: none;
    margin-left: 0px;
    border: 0px;
    padding: 0;
    padding-left: 5px;
    padding-right: 5px;
}

footer .icones a img {
    width: 70%;
}

.welcome {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.welcome-container {
    width: 600px;
}

.welcome-container h1 {
    margin-bottom: 50px;
    font-family: 'Roboto', sans-serif;
    font-size: 50px;
    letter-spacing: -0.25px;
    line-height: 64px;
}

.welcome-text {
    font-size: 24px;
}

.welcome-text p {
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
}

.programs-banner {
    position: relative;
    color: white;
    text-align: center;
    height: 400px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.programs-banner .overlay {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 12px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.facultades-buttons {
  margin-top: 1rem;
}
.facultad-btn {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: #ffffff;
  color: #000;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.facultad-btn:hover {
  background: #f5f5f5;
}

.programs-container {
    width: 100%;
    padding: 20px;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
}

.programs-container .card__programs:nth-child(1) {
  margin-right: 10px;
  margin-left: 0;
}

.programs-container .card__programs:nth-child(4n) {
  margin-right: 10px;
  margin-left: 0;
}

.card__programs {
    display: flex;
    width: 450px;
    height: 150px;
    text-decoration: unset;
    max-width: 455px;
    margin-bottom: 10px;
    margin-right: 10px;
}

.card__programs-image {
    width: auto;
    height: 150px;
}

.card__programs-image img {
    width: 150px;
    height: 100%;
    max-width: 150px;
    max-height: 150px;
    object-fit: cover;
}

.card__programs-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.card__programs-title {
    color: #FFF;
    text-decoration: unset;
    border-bottom: 2px solid #FFF;
    /* width: 85%; */
    /* margin-bottom: 15px; */
    /* text-align: center; */
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    white-space: nowrap;
    /* overflow: hidden; */
    text-overflow: ellipsis;
    text-align: center;
}

.card__programs-waves {
    width: 25%;
    /* margin-bottom: 15px; */
}

.card__programs-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #FFF;
}

.card__programs-info small {
    font-family: 'Poppins', sans-serif;
    font-size: 8px;
    font-weight: 500;
}

.program-detail {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
}

.program-detail--title {
    width: 100%;
    background-color: #000;
    text-align: center;
    color: #FFF;
    padding: 10px;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    margin-top: 20px;
}

.program-detail .program-detail--data {
    width: 340px;
    padding: 20px;
    box-shadow: 1px 7px 39px -13px rgba(0,0,0,0.59);
    -webkit-box-shadow: 1px 7px 39px -13px rgba(0,0,0,0.59);
    -moz-box-shadow: 1px 7px 39px -13px rgba(0,0,0,0.59);
    font-family: 'Poppins', sans-serif;
    position: relative;
    max-width: 340px;
    max-height: 500px;
}

.program-detail--data img {
    width: 300px;
    height: 300px;
    object-fit: fill;
}

.program-detail .program-detail--data p {
    font-family: 'Poppins', sans-serif;
    margin-top: 10px;
    height: 150px;
    overflow-y: scroll;
    transition: height 0.3s ease;
}

.program-detail .program-detail--data strong {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
}


.program-detail .program-detail--list {
    width: 100%;
    padding: 20px;
    box-shadow: 1px 7px 39px -13px rgba(0,0,0,0.59);
    -webkit-box-shadow: 1px 7px 39px -13px rgba(0,0,0,0.59);
    -moz-box-shadow: 1px 7px 39px -13px rgba(0,0,0,0.59);
    margin-left: 10px;
}

.program-detail .episodes--title {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
    font-weight: 800;
}

.program-detail .episodes--list li {
    list-style: none;
    font-family: 'Poppins', sans-serif;
}

.program-detail .episodes--list li strong {
    font-family: 'Poppins', sans-serif;
}

.program-detail .episodes--list li video {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #000;
    border-radius: 5px;
}

#calendar {
    max-width: 100%;
    margin: auto;
    font-size: 0.9rem; 
}

.contact_info {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    font-family: 'Poppins', sans-serif;
    align-items: center;
}

.contact_info .contact_info--data {
    max-width: 450px;
}

.contact_info p,
.contact_info h3 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
    font-size: 25px;
}

.contact_info h3 {
    margin-bottom: 30px;
}

.contact_info h3 {
    font-weight: 800;
}

.contact_info .contact_info--form {
    padding: 20px;
    border: 1px solid #d6d4d4;
    border-radius: 8px;
}

.contact_info .contact_info--form input,
.contact_info .contact_info--form textarea,
.contact_info .contact_info--form button {
    width: 100%;
    border: 1px solid #d6d4d4;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.contact_info .contact_info--form button {
    background-color: #000;
    color: #FFF;
}

.contact_info .contact_info--form label {
    font-family: 'Poppins', sans-serif;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
}

.modal-overlay h2,
.modal-overlay p,
button {
    font-family: 'Poppins', sans-serif;
}

.modal-overlay .modal-box {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-overlay .close-btn {
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    border: none;
    background-color: #28a745;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.modal-overlay .close-btn:hover {
    background-color: #218838;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.videos {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
}

.video-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}
.video-section .video-item {
  display: flex;
  align-items: start;
  gap: 1rem;
}
.video-section .video-thumb {
  width: 300px;
  height: auto;
  border-radius: 12px;
}
.video-section .video-info h3 {
  margin: 0;
  font-size: 30px;
  font-family: 'Poppins', sans-serif;
}

.video-section .video-info p {
    text-align: justify;
    font-family: 'Poppins', sans-serif;
    margin-top: 15px;
    margin-bottom: 10px;
}

.video-section .video-info a strong {
    font-family: 'Poppins', sans-serif;
}

.video-section .video-link {
  color: #007bff;
  text-decoration: underline;
}

.banners-carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  background: #000; /* opcional para fondo oscuro */
  border-radius: 12px;
}

.banners-carousel .carousel-wrapper {
  position: relative;
  width: 100%;
  max-height: 500px;
}

.banners-carousel .carousel-container {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.banners-carousel .banner-item {
  min-width: 100%;
}

.banners-carousel .banner-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.banners-carousel .carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.banners-carousel .carousel-controls button {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    font-size: 1.5rem;
    margin-left: 10px;
    margin-right: 10px;
}

.articles-container {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
}

.article-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    width: 250px;
    margin-left: 20px;
    margin-top: 20px;
    height: 470px;
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-card img {
  width: 100%;
  height: 250px;
}

.article-card a {
    text-decoration: none;
    text-decoration-line: none;
}

.article-card h2 {
  padding: .5rem;
  font-size: 1.25rem;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  text-decoration-line: none;
  font-weight: 900;
  color: #000;
}

.article-card .article-card__text-container {
    padding: 0 .5rem .5rem;
}

.article-card p {
  font-size: 0.95rem;
  color: #333;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  white-space: normal;
}

.article-card img {
    width: 100%;
    object-fit: cover;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.pagination a {
  padding: 0.5rem 1rem;
  background: #000;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.pagination span {
  display: flex;
  align-items: center;
}

.article-detail{ 
    margin-top: 20px;
}

.article-detail .article-with-image {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.article-detail .image-side img {
  max-width: 300px;
  border-radius: 8px;
}

.article-detail .text-side {
  flex: 1;
}

.article-detail .article-centered {
  /* text-align: center; */
  max-width: 1000px;
  margin: auto;
}

.article-detail .article-centered h1 {
    text-align: center;
}

.article-detail .meta {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-align: center;
}

.article-detail .recommended-articles {
  margin-top: 3rem;
}

.article-detail .recommended-articles h2 {
  margin-bottom: 1rem;
}

.article-detail .articles-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.article-detail .article-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  width: 250px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.article-detail .article-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.article-detail .article-card h3 {
  padding: 0.5rem;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}

.article-detail .article-card p {
  padding: 0 0.5rem 0.5rem;
  font-size: 0.9rem;
  color: #555;
  font-family: 'Poppins', sans-serif;
}

.article-detail .content {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    /* text-align: left; */
}

.article-detail .article-centered h1,
.article-detail .article-centered p.meta {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
}

.article-detail .content p {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.premios {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
}

.premios .premios__texto {
    max-width: 700px;
    margin-right: 20px;
}

.premios .premios__texto h1 {
    margin-bottom: 20px;
    text-align: center;
}

.premios .premios__texto p {
    text-align: justify;
}

.premios .premios__texto h1,
.premios .premios__texto p {
    font-family: 'Poppins', sans-serif;
}

.premios .galerias {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.premios .galeria {
    flex: 0 0 250px;
    text-align: center;
}

.premios .galeria .periodo {
    margin-top: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}

.premios .galeria h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}
.premios .portada-img {
    width: 100%;
    height: 250px;
    cursor: pointer;
    border-radius: 8px;
    object-fit: cover;
}

/* Lightbox */
.premios .lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 9999;
}
.premios .lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.premios .lightbox-img {
    max-width: 100%;
    max-height: 70vh;
}
.premios .descripcion {
    color: white;
    margin-top: 0.5rem;
    font-family: 'Poppins', sans-serif;
}
.premios .close {
    position: absolute;
    top: 20px; right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    font-family: 'Poppins',sans-serif;
    background-color: #00000036;
    border-radius:  50%;
    padding: 5px 15px;
}

.premios .close:hover {
    background-color: rgba(255,255,255,0.5);
    color: #000;
}

/* Navigation buttons */
.premios .prev, .premios .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 5px 15px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    transform: translateY(-50%);
    font-family: 'Poppins', sans-serif;
}
.premios .prev { left: 10px; }
.premios .next { right: 10px; }

.premios .prev:hover,.premios .next:hover {
    background-color: rgba(255,255,255,0.5);
    color: #000;
}

/* Thumbnails */
.premios .thumbnail-row {
    display: flex;
    margin-top: 10px;
    overflow-x: auto;
    gap: 10px;
}
.premios .thumbnail-img {
    height: 60px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
}
.premios .thumbnail-img:hover {
    border: 2px solid #fff;
}

.return {
  text-decoration: none;
  color: #717171;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: color 0.3s ease;
}

.return span {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.return:hover {
  color: #007BFF;
}

.return span::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #007BFF;
  transition: width 0.3s ease;
}

.return:hover span::after {
  width: 100%;
}

.return svg {
  transition: transform 0.3s ease;
}

.return:hover svg {
  transform: translateX(-5px);
}

.return p {
  margin-left: 10px;
  margin-bottom: 0;
}
  /* Más compactos en el mes */
  #calendar .fc-daygrid-event {
    padding: 2px 4px !important;   /* menos padding */
    border-radius: 4px;
    margin: 1px 0;                 /* reduce separación vertical */
  }
  #calendar .fc-daygrid-event .fc-event-title,
  #calendar .fc-daygrid-event .fc-event-time {
    font-size: 11px;               /* baja el tamaño de letra */
    line-height: 1.1;
    white-space: normal;           /* permite varias líneas */
  }

  /* También achica el “+n more” y el popover */
  #calendar .fc-daygrid-more-link { font-size: 11px; }
  #calendar .fc-popover { font-size: 12px; }
  #calendar .fc-popover .fc-daygrid-event { padding: 2px 4px; }

  .youtube-container {
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#player-container {
    width: 600px;
}

#player-container .content-primary {
    background-color: #000;
    margin-top: -4px;
    padding: 10px;
    color: #FFF;
    font-weight: 700;
}

#player-container .in-live {
    background-color: #ff0033;
    margin-top: -4px;
    padding: 10px;
    color: #FFF;
    font-weight: 700;
}