/* Base Styles */
body {
  font-family: Arial, sans-serif;
  background-color: white;
  color: black;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Common Transitions */
.fast {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.slow {
  transition: transform 2s ease-in-out, opacity 2s ease-in-out;
}

/* Header Styles */
.fullscreen-header, .compact-header {
  position: relative;
  width: 100%;
  background: url("../img/FondoPaginaWeb CT.jpg") no-repeat center center;
  background-size: cover;
  z-index: 1050;
}

.fullscreen-header {
  min-height: auto;
  top: 0;
  left: 0;
}

@media (min-width: 1200px) {
  #fullscreen-header { min-height: 100vh; }
}

@media (max-width: 1199.98px) {
  #fullscreen-header { min-height: auto !important; padding-bottom: 1rem; }
  #fullscreen-header main { margin-bottom: 0; }
}

@media (orientation: portrait) and (min-width: 768px) and (max-width: 1024px) {
  #fullscreen-header { min-height: auto !important; }
}


.compact-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
}

.compact-header.show {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

/* Navigation Styles */
.navbar-collapse {
  z-index: 1100;
}

.navbar-nav {
  font-size: 1.3rem !important;
}

.navbar-nav .nav-link:hover {
  color: #ff0000 !important;
}

/* Solo móvil: < 992px */
@media (max-width: 991.98px) {
  .navbar.navbar-expand-lg .navbar-nav .nav-link {
    color: #ff0000 !important;         
  }
  .navbar.navbar-expand-lg .navbar-nav .nav-link:hover,
  .navbar.navbar-expand-lg .navbar-nav .nav-link:focus {
    color: #cc0000 !important;  
  }
}





/* Video Carousel */
.video-carousel {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
}

.video-carousel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Main Layout */
main {
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  max-width: 1500px;
  margin: 0 auto 5rem;
  padding: 0 20px;
}



.left-column, .right-column {
  width: 24%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.center-column {
  width: 46%;
}

.left-content, .right-content {
  width: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Colors and Common Elements */
#ColorTitulo1 {
  color: #ff0000;
}

.read-more-btn {
  background-color: #ff0000;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  cursor: pointer;
  font-size: 0.85rem;
  border-radius: 4px;
}

.logo-container {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.search-icon, .menu-icon {
  font-size: 20px;
  cursor: pointer;
}

/* Footer Styles */
.footer-custom {
  background-color: #E60012; 
  padding: 20px 0;
  text-align: center;
}

.footer-logo img {
  height: 50px;
  max-width: 100px;
}

.copyright {
  color: white;
  font-size: 18px;
}

footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* Live Radio Section */
.live-radio {
  text-align: left;
  margin-bottom: 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.live-radio h2 {
  color: #ff0000;
  margin: 0 0 5px 0;
  font-size: 22px;
}

.live-indicator {
  display: block;
  width: 100%;
  max-width: 170px;
  background-color: #ff0000;
  color: white;
  padding: 5px 0;
  text-align: center;
  border-radius: 30px;
  font-weight: bold;
  margin-bottom: 10px;
  box-sizing: border-box;
  font-size: 2.5em;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.5);
  animation: pulse 2s infinite;
}

.audio-bars {
  display: flex;
  align-items: flex-end;
  height: 100px;
  gap: 12px;
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

.bar {
  background: linear-gradient(to top, #ff0000, #f7f7f7);
  width: 16px;
  height: 100%;
  animation: sound 1.5s infinite alternate;
  border-radius: 2px 2px 0 0;
}

.bar:nth-child(1) { animation-delay: 0.2s; height: 40%; }
.bar:nth-child(2) { animation-delay: 0.8s; height: 80%; }
.bar:nth-child(3) { animation-delay: 0.5s; height: 100%; }
.bar:nth-child(4) { animation-delay: 1.0s; height: 60%; }
.bar:nth-child(5) { animation-delay: 0.3s; height: 90%; }
.bar:nth-child(6) { animation-delay: 0.6s; height: 50%; }

/* Controles para audio radio */

.controls {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

.play-button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #ff0000;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-right: 10px;
}

.play-button:hover {
  background-color: rgba(255, 0, 0, 0.692);
  transform: scale(1.05);
}

.play-button:active {
  transform: scale(0.95);
}

.volume-control {
  display: flex;
  align-items: center;
  border-radius: 30px;
}

.volume-icon {
  color: #ff0000;
  margin-right: 15px;
  font-size: 20px;
  width: 20px;
  cursor: pointer;
  transition: color 0.2s;
}

.volume-icon:hover {
  color: white;
}

.volume-slider {
  flex-grow: 1;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: #ddd;
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff0000;
  cursor: pointer;
  transition: background 0.2s;
}

.volume-slider::-webkit-slider-thumb:hover {
  background: white;
}

.volume-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  transition: background 0.2s;
}

.volume-slider::-moz-range-thumb:hover {
  background: white;
}

/* Magazine Section */
.revista, .magazine-cover {
  width: 100%;
  max-width: 250px;
  position: relative;
  perspective: 1000px;
  text-align: center;
}

.revista img, .magazine-cover img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  display: block;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  transform-style: preserve-3d;
}

.magazine-cover img {
  max-width: 180px;
  margin-bottom: 0.5rem;
}

.magazine-cover h6, .magazine-section h4 {
  font-size: 1.5rem;
  text-align: center;
  color: #ff0000;
}

.magazine-section h4 {
  margin-bottom: 1rem;
  color: #ff0000;
}

.revista::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,0,0,0) 0%, rgba(255,0,0,0) 50%, rgba(255,0,0,0) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
  border-radius: 5px;
}

.revista::after {
  content: 'Ver revista';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background-color: rgba(255, 0, 0, 0.8);
  color: white;
  padding: 10px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  z-index: 2;
  pointer-events: none;
}

.revista:hover img {
  transform: rotateY(10deg) rotateX(5deg) translateZ(10px);
  box-shadow: -15px 20px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 0, 0, 0.3);
}

.revista:hover::before {
  opacity: 1;
  animation: shineEffect 1.5s infinite alternate;
}

.revista:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Video Container Styles */
.video-container {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 0;
  /* padding-bottom: 75%; 4:3 aspect ratio */
}

.video-container {
  padding-bottom: 64.65%; /* Para pantallas amplias */
}

.video-container img {
  width: 100%;
  display: block;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.main-video {
  margin-bottom: 40px;
}

h4 {
  color: #ff0000 !important;
}

/* Social Section */
.social-section {
  text-align: center;
}

.social-section h3 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ff0000;
  position: relative;
  background: linear-gradient(
      to right,
      #ff0000,
      #ff0000 40%,
      #ffcccc 50%,
      #ff0000 60%,
      #ff0000
  );
  background-size: 200% 100%;
  background-position: 0 0;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: correctShine 10s linear infinite;
}

.social-media-icons {
  display: flex;
  justify-content: space-around;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease-in-out;
}

.social-icon img {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.social-icon:hover img {
  transform: scale(1.3);
  filter: drop-shadow(0 0 8px rgba(27, 26, 26, 0.6));
}

/* Podcast Styles */
.podcast {
  background-color: rgba(50, 50, 80, 0.3);
  border-radius: 10px;
  overflow: hidden;
  padding: 10px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  max-width: 270px;
}

.podcast h3 {
  text-align: center;
  padding: 5px;
  margin: 0;
  font-size: 14px;
  font-weight: bold;
}

.podcast p {
  margin: 0;
  font-size: 14px;
}

.podcast img {
  width: 70%;
  display: block;
  margin: 5px;
  border-radius: 5px;
}

.podcast-info {
  text-align: center;
  margin: 5px 0;
}

.podcast-controls {
  display: flex;
  justify-content: center;
  padding: 5px 0;
}

.podcast-controls button {
  background: none;
  border: none;
  color: white;
  font-size: 14px;
  margin: 0 3px;
  cursor: pointer;
  transition: transform 0.2s;
}

.podcast-controls button:hover {
  transform: scale(1.2);
}

.podcast-time {
  display: flex;
  align-items: center;
  padding: 0 5px;
  font-size: 10px;
  width: 100%;
  box-sizing: border-box;
}

/* Podcast2 Section Styles */
.podcast2-section {
  background-color: #fff;
  color: #000;
  padding: 2rem 0;
}

.podcast2-logo {
  max-width: 300px;
}

.badge-new {
  display: inline-block;
  background-color: #e20c1a;
  color: #fff;
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.main-podcast2-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.podcast2-mic {
  max-width: 150px;
}

.audio-player {
  width: 300px;
  max-width: 100%;
}

.podcast-description {
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
  font-size: 1rem;
}

.podcast2-carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto; 
  gap: 1.5rem;
  padding-bottom: 1rem;
  justify-content: center;
  margin: 0 auto;
}

.podcast2-item {
  flex: 0 0 auto;
  width: 120px;
  text-align: center;
  cursor: pointer;
}

.podcast2-item img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.podcast2-item p {
  font-size: 0.9rem;
  margin: 0;
}

.podcast2-item:hover img {
  box-shadow: 0 0 8px rgba(226, 12, 26, 0.5);
  transform: scale(1.03);
  transition: all 0.3s ease;
}

/* Weather Widget */
.weather {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.weatherwidget-io {
  display: block;
  width: 100%;
  height: 200px;
  border-radius: 10px;
}

.weather-default {
    display: block;
}

.weather-medium {
    display: none;
}

/* News Carousel */
#noticiasCarousel .card {
  height: 400px;
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s ease;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.notice {
  font-size: 1rem !important;
}

#noticiasCarousel .card-img-top {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center top; /* Prioriza mostrar la parte superior de la imagen */
  transform: scale(1); /* Ligero zoom para evitar posibles bordes blancos */
  transition: transform 0.3s ease; /* Suaviza cualquier animación */
  overflow: hidden;
  max-width: 100%; /* Evita que se desborde */
  box-sizing: border-box; /* Incluye padding y border en el ancho/alto */
}


#noticiasCarousel .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 15px;
  overflow: hidden;
}

#noticiasCarousel .card-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: auto;
}

#noticiasCarousel .card-text {
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
  line-height: 1.5;
}

/* Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(100%);
  width: 2rem;
  height: 2rem;
}

#noticiasCarousel .carousel-control-prev,
#noticiasCarousel .carousel-control-next,
#podcastCarousel .carousel-control-prev,
#podcastCarousel .carousel-control-next {
  width: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  padding: 0 20px;
  border-radius: 0;
}

#noticiasCarousel .carousel-control-prev {
  left: -47px;
}

#noticiasCarousel .carousel-control-next {
  right: -47px;
}

.carousel-control-prev {
  left: -47px;
}

.carousel-control-next {
  right: -47px;
}

/* Slug-noticias*/


/* Ad Bar Section */
.ad-bar {
  background-color: white;
  min-height: 100vh;
  text-align: center;
  padding-top: unset;
}

.ad-bar img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.ad-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #ff0000;
  font-weight: bold;
}

/* Articles and News Cards */
.main-article,
.news-card {
  border: 1px solid #d9d2d2;
  border-radius: 5px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.main-article img,
.news-card img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.main-article h3 {
  margin-top: 1rem;
  font-size: 1.3rem;
  color: #1f1f1f;
  font-weight: bold;
}

.main-article p,
.news-card p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-top: 0.5rem;
}

/* Side Column */
.side-column, .extra-section {
  background-color: #1f1f1f;
  border: 1px solid #333;
  border-radius: 5px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.side-column h4, .podcast-section h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #ffcccc;
}

.side-news-item {
  margin-bottom: 1rem;
}

.side-news-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.side-news-item h5 {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.side-news-item p {
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

/* Podcast Section */
.podcast-section {
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.podcast-section img {
  max-width: 100%;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

/* Big Banner */
.big-banner {
  margin-bottom: 1.5rem;
  text-align: center;
}

.big-banner img {
  max-width: 100%;
  border-radius: 5px;
}

/* Team Section */
.team-section {
  margin-bottom: 1.5rem;
}

.team-section h4 {
  text-align: center;
  margin-bottom: 1rem;
  color: #1f1f1f;
}

.team-member {
  text-align: center;
  margin-bottom: 1rem;
}

.team-member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
  border: 2px solid #ff0000;
}

.team-member h6 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.team-member p {
  font-size: 0.75rem;
}

.magazine-fade {
  justify-content: center !important;
}

/* Podcast Index Styles */
#index-podcast .podcast-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

#index-podcast h4 {
  color: #ff0000;
  font-size: 1.5rem;
}

/* Programs Styles */
.nav-pills .nav-link {
  background-color: #c00;
  color: white;
  font-weight: bold;
  margin: 0 5px;
}

.nav-pills .nav-link.active {
  background-color: #900;
}

.program-card {
  background: white;
  border: 2px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
}

.program-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 2px solid #ddd;
}

.program-info {
  text-align: center;
}

.program-box {
  border-width: 3px;
  border-color: red;
  border-radius: 8px;
}

/* Quienes Somos */
.content-box {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.content-box:hover {
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
}

.content-box p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
}

.hr-custom {
  width: 50px;
  height: 4px;
  background: #ff0000;
  border: none;
}

/* Utility Classes */
.search-group {
  max-width: 300px;
}

.bi-star-fill, .bi-star-half, .bi-star {
  font-size: 1.2rem;
}

.table-hover tbody tr:hover {
  background-color: #333;
}

.always-show {
  display: block !important;
}

.py-2 {
  padding-bottom: 0rem !important;
}

.my-4 {
  margin-top: 0.5rem !important;
  margin-bottom: 1.5rem !important;
}

/* PROGRAMAS INDEX */

.title-radio {
  margin-bottom: 0.5rem !important;
}

#index-programs {
  color: #ff0000;
}

.bg-danger {
  background-color: #ff0000 !important;
}

.btn-outline-danger {
  border-color: #ff0000 !important;
  color: #ff0000 !important;
}
.btn-outline-danger:hover,
.btn-outline-danger:focus {
  background-color: #ff0000 !important;
  color: #fff !important;
}

.badge.bg-danger {
  background-color: #ff0000 !important;
}

#index-programs .list-group-item {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: none;
  border-radius: 4px;
  margin-bottom: 10px;
  transition: transform 0.2s ease;
}

#index-programs .list-group-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#index-programs .list-group-item h5 {
  color: #ff0000;
}

/* Animations */
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

@keyframes sound {
  0% { height: 30%; }
  100% { height: 100%; }
}

@keyframes shineEffect {
  from { background-position: -100% 0; }
  to { background-position: 200% 0; }
}

@keyframes correctShine {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Media Queries */
@media (max-width: 1200px) {
  .left-column, .right-column {
    width: 25%;
  }
  
  .center-column {
    width: 44%;
  }
}

@media screen and (max-width: 1279px), (max-height: 649px) {
  .video-container {
    padding-bottom: 75%; /* Cambia a una relación más cuadrada */
  }
}

/* Para asegurar que el contenido embebido se ajuste correctamente */
.video-container iframe,
.video-container video,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 992px) {
  main {
    flex-direction: column;
  }
  
  .left-column, .center-column, .right-column {
    width: 100%;
    margin-bottom: 30px;
  }
  
  .left-content, .right-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .live-radio, .revista, .podcast, .weather {
    width: 48%;
  }

  .ad-bar {
    display: none;
  }

  .video-carousel {
    display: none;
  }
}

@media (max-width: 768px) {
  main {
    padding: 20px;
  }

  nav ul {
    display: none;
  }
  
  .left-content, .right-content {
    flex-direction: column;
  }
  
  .live-radio, .revista, .podcast, .weather {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .live-indicator {
    max-width: 140px;
    font-size: 2em;
    line-height: 50px;
  }

  .main-podcast2-container {
    margin-bottom: 1rem;
  }

  .podcast2-mic {
    max-width: 100px;
  }

  .audio-player {
    width: 90%;
  }

  .podcast-description {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  main {
    padding: 15px;
    font-size: 14px;
  }
}


/* BOTON FLOTANTE */
.floating-logo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
  width: 90px;
  height: 90px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.floating-logo:hover {
  transform: scale(1.2);
}

.floating-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes bounceRainbow {
    0% { 
        transform: translateY(0) rotate(0deg); 
        background: linear-gradient(45deg, #ffffff, #ffffff);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    15% { 
        transform: translateY(-25px) rotate(3deg); 
        background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
        box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
    }
    45% { 
        transform: translateY(-40px) rotate(4deg); 
        background: linear-gradient(45deg, #45b7d1, #f7dc6f);
        box-shadow: 0 15px 30px rgba(69, 183, 209, 0.4);
    }
    100% { 
        transform: translateY(0) rotate(0deg); 
        background: #ffffff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
}

.bounce-rainbow {
    animation: bounceRainbow 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.weatherwidget-io {
    pointer-events: none !important;
}
.weatherwidget-io * {
    pointer-events: none !important;
}


/* FIN BTN FLOTANTE */


/* Logo */
.logo {
  width: 100%;
  max-width: 400px; 
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto; 
}

@media (min-width: 992px) {
  .logo {
    max-width: 1000px; 
  }
}


/* ANUNCIO HORIZONTAL */
.anuncio-horizontal {
  max-width: 700px; /* máximo normal para pantallas grandes */
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Solo en el rango 1024px - 1430px cambiar al widget compacto */
@media (min-width: 990px) and (max-width: 1430px) {
    .weather-default {
        display: none !important;
    }
    
    .weather-medium {
        display: block !important;
    }
}

/* Ajustar en tablets */
@media (max-width: 768px) {
  .anuncio-horizontal {
    max-width: 500px; /* más pequeño en tablets */
  }

  main {
        display: flex;
        flex-direction: column;
    }

    .mobile-order-1 { order: 1; } /* Video */
    .mobile-order-2 { order: 2; } /* Radio */
    .mobile-order-3 { order: 3; } /* Revista */
    .mobile-order-4 { order: 4; } /* Podcast */
    .mobile-order-5 { order: 5; } /* Weather */
}

/* Ajustar en móviles */
@media (max-width: 576px) {
  .anuncio-horizontal {
    max-width: 300px; /* mucho más pequeño en celulares */
  }
}

/* Media queries para dispositivos móviles pequeños y medianos */
@media screen and (max-width: 375px) {
  /* Para mobile S (320px) y mobile M (375px) */
  .social-icon img {
    width: 40px;
    height: 40px;
  }

  main {
    margin: 0 auto 0;
  }
}
/* FIN  */

/* ARTICULO DETALLE */
.article-content img {
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}


.article-content .text-muted.small {
  font-size: 0.85rem;
}


.article-content img.reveal {
  opacity: 1;
  transform: translateY(0);
}
/* FIN */






/* RESPONSIVE INDEX */

@media (max-width: 767.98px) {
  .ad-bar {
    display: none !important;
  }

  .banner-row,
  .row.my-4 > .col-12 > *[href^="http"], 
  .row.my-4 > .col-12 > *[class*="banner"] {
    display: none !important;
  }

}
/* FIN */


/* DETALLE NOTICIA */

.news-content {
  text-align: justify;
}

/* FIN */


/* RESPONSIVE PODCAST */
  /* En móvil desactiva la altura fija de la lista de audios */

  @media (max-width: 767.98px) {
    .audio-list { max-height: none !important; overflow: visible !important; }
  }
  /* Ajuste de flechas en carousel móvil */
  #podcastCarouselMobile .carousel-control-prev { left: -1.5rem; }
  #podcastCarouselMobile .carousel-control-next { right: -1.5rem; }





