.anunciate-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 2rem;
}

/* Columna izquierda */
.anunciate-left {
  flex: 1 1 65%;
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
}

.anunciate-title {
  background-color: #007bff;
  color: white;
  padding: 0.5rem 1rem;
  font-weight: bold;
  margin-bottom: 0;
}

/* Scroll automático tipo carrusel infinito */
.anuncio-scroll {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.anuncio-track {
  display: inline-flex;
  white-space: nowrap;
  animation: scroll-marquee 50s linear infinite;
}

@keyframes scroll-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Tarjetas */
.anuncio-card {
  flex: 0 0 auto;
  width: 220px;
  margin-right: 1rem;
  border: 1px solid #ddd;
  background: #fff;
  transition: transform 0.3s;
}

.anuncio-card:hover {
  transform: scale(1.03);
}

.anuncio-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

/* Responsive ajustes para desktop */
@media (min-width: 992px) {
  .anuncio-card {
    width: 19%;
    min-width: 180px;
    max-width: 240px;
  }
}

/* Columna derecha */
.anunciate-right {
  flex: 1 1 30%;
  min-width: 250px;
}

.anunciate-widget-header {
  background-color: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  font-weight: bold;
}
.card {
  border: 1px solid #ddd;
  transition: transform 0.2s;
}

.card:hover {
  transform: scale(1.02);
}

.card-img-top {
  height: 160px;
  object-fit: cover;
}
/* Ajuste de altura de imágenes en tarjetas */
.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Ajuste para las secciones en mobile */
@media (max-width: 991px) {
  .sticky-top {
    position: static !important;
    top: auto !important;
  }
}
.noticias-destacadas .card {
  border: 1px solid #ddd;
}

.noticias-destacadas .card-title {
  color: #007bff;
  font-weight: 600;
}

.noticias-destacadas .img-thumbnail {
  border-radius: 4px;
}
.anuncio-card .card-title {
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.anuncio-card .card-body {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 140px;
}

.anuncio-card .card-title {
  font-size: 0.95rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
  white-space: normal;
  text-align: center;
}

.anuncio-card .card-text {
  font-size: 0.85rem;
  text-align: center;
  color: #555;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anuncio-card .btn {
  align-self: center;
  margin-top: 0.5rem;
}
.site-footer {
  background: linear-gradient(to bottom, #0b2545 0%, #001529 100%);
  color: #ccc;
  font-size: 0.95rem;
}

.site-footer a.footer-link {
  color: #ccc;
  text-decoration: none;
}

.site-footer a.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer .footer-social {
  color: #ccc;
  font-size: 1.5rem;
  margin-right: 10px;
  transition: color 0.3s;
}

.site-footer .footer-social:hover {
  color: #ffffff;
}

.site-footer h5,
.site-footer h6 {
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.site-footer p,
.site-footer ul {
  color: #ddd;
}

.site-footer .copyright {
  color: #bbb;
  border-top: 1px solid #2a4668;
  padding-top: 10px;
  margin-top: 15px;
  font-size: 0.9rem;
  text-align: center;
}
section, footer {
  width: 100%;
  max-width: 100%;
}
footer {
  background: linear-gradient(45deg, #003366, #004080);
  color: #f1f1f1;
  padding: 40px 20px;
}

footer h5 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #00aaff;
  display: inline-block;
  padding-bottom: 5px;
}

footer p {
  font-size: 0.95rem;
  color: #dddddd;
}

footer a {
  color: #00aaff;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

footer .social-icons a {
  font-size: 1.5rem;
  color: #00aaff;
  margin-right: 15px;
  transition: color 0.3s;
}

footer .social-icons a:hover {
  color: #ffffff;
}

.footer-bottom {
  background-color: #002244;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.85rem;
  color: #cccccc;
  border-top: 1px solid #004d80;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}
.banner-anuncio {
  max-width: 100%;
  width: 970px;
  margin: 30px auto;
  text-align: center;
  background: linear-gradient(135deg, #e6f0ff, #ffffff);
  border: 3px solid #007bff;
  border-radius: 10px;
  padding: 25px 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  box-sizing: border-box;
}

.banner-anuncio h2 {
  color: #007bff;
  font-size: 32px;
  margin-bottom: 10px;
}

.banner-anuncio p {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
}

.banner-anuncio .btn-banner {
  display: inline-block;
  background-color: #25D366;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.banner-anuncio .btn-banner:hover {
  background-color: #1ebe57;
}

/* Responsive para móvil */
@media (max-width: 768px) {
  .banner-anuncio {
    width: 95%;
    padding: 20px 10px;
  }

  .banner-anuncio h2 {
    font-size: 24px;
  }

  .banner-anuncio p {
    font-size: 16px;
  }
}
.news-ticker {
  display: flex;
  align-items: center;
  background-color: #222;
  color: #fff;
  padding: 8px 16px;
  overflow: hidden;
}

.news-ticker-label {
  background-color: #000;
  padding: 6px 12px;
  margin-right: 12px;
  font-weight: bold;
  border-radius: 4px;
}

.news-ticker-content {
  overflow: hidden;
  flex-grow: 1;
}

.news-ticker-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 25s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  margin-right: 40px;
}

.ticker-item img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  margin-right: 8px;
  border-radius: 3px;
  background: #444;
}

.ticker-item span {
  color: #ddd;
  font-size: 14px;
}

@keyframes scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
.news-ticker {
  display: flex;
  align-items: center;
  background-color: #0d6efd;
  height: 42px;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.news-ticker-label {
  background-color: #dc3545;
  color: #fff;
  font-weight: bold;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  white-space: nowrap;
}

.news-ticker-content {
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.news-ticker-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: tickerScroll 120s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  margin-right: 30px;
  color: #fff;
  font-size: 15px;
  white-space: nowrap;
}

.ticker-item img {
  height: 26px;
  width: auto;
  margin-right: 8px;
  border-radius: 3px;
  vertical-align: middle;
}
@keyframes tickerScroll {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
