:root {
  --primary-color: #c3cf2d;
  --secondary-color: #000000;
}

body {
  font-family: "Monserrat", sans-serif;
  margin: 0;
  padding: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  position: sticky;
  top: 0;
  background: white;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

header.scrolled {
  padding: 5px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

/* --- Menú móvil --- */
.mobile-nav {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 25px;
  justify-content: space-between;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

.mobile-nav span {
  display: block;
  width: 100%;
  height: 3px;
  background: #000;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --- Logo y banner --- */
.banner-header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 10px 20px;
  width: 100%;
}

.banner-header svg {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  fill: #000000;
  transition: all 0.3s ease-in-out;
}

.banner-header svg:hover {
  fill: var(--primary-color);
  cursor: pointer;
}

.logos-header {
  top: 35%;
  left: 75%;
  position: absolute;
  display: flex;
  gap: 20px;
}

@media (max-width: 1450px) {
  .banner-header {
    display: flex;
    flex-flow: column nowrap;
  }

  .logos-header {
    display: flex;
    position: static;
  }
}

.header-img {
  width: 650px;
  height: auto;
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
}

.header-img2 {
  display: none;

}

/* --- Responsive banner --- */
@media (max-width: 860px) {
  .header-img {
    display: none;
  }
  .header-img2 {
    width: 500px;
    display: block;
  }
  .social-media {
    width: 40px;
    height: auto;
  }
  .logos-header {
    display: none;
  }
}

@media (max-width: 680px) {
  .banner-header img {
    width: 400px;
  }
}

@media (max-width: 560px) {
  .banner-header img {
    width: 300px;
  }

  .mobile-nav {
    width: 24px;
    height: 20px;
  }

  .banner-header svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 450px) {
  .banner-header .mobile-nav {
    top: 50% !important;
  }
  .banner-header {
    justify-content: flex-end;
  }

  .banner-header svg,
  .search-box {
    display: none;
  }

  .banner-header img {
    margin-left: auto;
  }
}

@media (max-width: 390px) {
  .banner-header img {
    width: 250px;
  }

  .mobile-nav {
    width: 22px;
    height: 18px;
    left: 15px;
  }

  .banner-header svg {
    width: 22px;
    height: 22px;
  }
}

/* --- Buscador --- */
.search-box {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  background: white;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.search-box.active {
  display: flex;
  align-items: center;
}

.search-box input {
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
  width: 200px;
}

.close-search {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 0 5px;
  margin-left: 5px;
}

.close-search:hover {
  color: var(--primary-color);
}

/* --- NAV PRINCIPAL --- */
nav {
  border-top: 5px solid var(--primary-color);
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  padding: 0 20px;
  text-transform: uppercase;
}

nav ul li {
  white-space: nowrap;
}

/* --- ANIMACIÓN ENLACES DEL NAV --- */
nav ul li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  padding: 15px 20px;
  display: block;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

nav ul li a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: var(--primary-color);
  transition: width 0.3s, height 0.3s, left 0.3s, top 0.3s;
  z-index: -1;
}

nav ul li a:hover {
  color: #ffffff;
}

nav ul li a:hover::after {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

/* --- Menú móvil desplegable --- */
@media (max-width: 860px) {
  .mobile-nav {
    display: flex;
    width: 28px;
    height: 23px;
  }

  .banner-header svg {
    width: 28px;
    height: 28px;
  }

  nav ul {
    flex-direction: column !important;
    width: 100%;
    text-align: center;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.5s cubic-bezier(0.2, 0, 0, 1);
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
  }

  nav ul.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding: 20px 0;
    max-height: 500px;
    pointer-events: all;
    gap: 10px;
  }

  nav ul li {
    width: 100%;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.5s cubic-bezier(0.2, 0, 0, 1);
  }

  nav ul.active li {
    opacity: 1;
    transform: translateY(0);
  }

  nav ul li a {
    display: block;
    padding: 10px 20px;
  }
}

/* SECION PRINCIPAL */

.news-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  background-color: #ffff;
}

.news-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 30px;
  padding: 20px 0;
}

/* Columna Izquierda */
.left-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.main-article {
  padding-bottom: 25px;
  border-bottom: 1px solid #ddd;
}

.article-title {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #000;
}

.article-meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
  font-family: Arial, sans-serif;
}

.article-excerpt {
  font-size: 16px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 15px;
}

.related-link {
  margin-top: 15px;
  padding: 12px;
  border-left: 3px solid var(--primary-color);
}

.related-title {
  font-size: 15px;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.4;
}

.secondary-article {
  padding-top: 10px;
}

.secondary-title {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #000;
}

/* Columna Central */
.center-column {
  display: flex;
  flex-direction: column;
}

.featured-image {
  margin-bottom: 20px;
}

.featured-image img {
  width: 500px;
  height: auto;
  display: block;
}

figcaption {
  font-size: 13px;
  color: #666;
  margin-top: 8px;
  font-family: Arial, sans-serif;
}

figcaption strong {
  font-weight: bold;
  color: #000;
}

.featured-article {
  padding-top: 10px;
}

.featured-title {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #000;
}

.featured-excerpt {
  font-size: 17px;
  color: #444;
  line-height: 1.6;
  margin-top: 15px;
}

/* Columna Derecha */
.right-column {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.side-article {
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.side-title {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #000;
}

.side-excerpt {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

/* Artículos con Imagen */
.side-article-with-image {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.side-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.side-image-wrapper img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.side-image-wrapper img:hover {
  transform: scale(1.05);
}

.side-content {
  display: flex;
  flex-direction: column;
}

.side-title-small {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #000;
}

.side-excerpt-small {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .news-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .featured-title {
    font-size: 28px;
  }

  .article-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .news-section {
    padding: 10px;
  }

  .featured-title {
    font-size: 24px;
  }

  .article-title {
    font-size: 20px;
  }

  .side-title-small {
    font-size: 16px;
  }
}

/* SEccion 2 */

.news-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Header de sección */
.section-header {
  border-top: 3px solid var(--primary-color);
  padding-top: 12px;
  margin-bottom: 30px;
}

.section-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #666;
  text-transform: uppercase;
}

/* Grid principal */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}

/* Columna izquierda - Grid de 4 noticias */
.news-grid-left {
  display: grid;
  height: auto;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.news-card:hover {
  transform: translateY(-2px);
}

.news-image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 2px;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  transition: color 0.2s ease;
}

.news-card:hover .news-title {
  color: var(--primary-color);
}

.news-author {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: Arial, sans-serif;
}

/* Artículo destacado */
.news-featured {
  position: relative;
}

.featured-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.featured-image {
  width: 100%;
  height: 70%;
  overflow: hidden;
  border-radius: 2px;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-card:hover .featured-image img {
  transform: scale(1.03);
}

.featured-content {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.featured-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
  transition: color 0.2s ease;
}

.featured-card:hover .featured-title {
  color: #0066cc;
}

.featured-author {
  font-size: 13px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: Arial, sans-serif;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-grid-left {
    order: 2;
  }

  .news-featured {
    order: 1;
    margin-bottom: 20px;
  }

  .featured-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .news-grid-left {
    grid-template-columns: 1fr;
  }

  .featured-title {
    font-size: 24px;
  }

  .news-title {
    font-size: 16px;
  }

  .section-title {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .news-section {
    padding: 20px 15px;
  }

  .news-grid {
    gap: 20px;
  }

  .news-grid-left {
    gap: 20px;
  }

  .featured-title {
    font-size: 20px;
  }

  .news-title {
    font-size: 15px;
  }
}

.container {
  width: 100%;
}

.news-grid-2 {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}

/* Featured Article */
.featured-article {
  position: relative;
  border-radius: 4px;
}

.article-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.article-image:hover img {
  transform: scale(1.05);
}

.article-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.4) 70%,
    transparent 100%
  );
  padding: 40px 30px 25px;
  color: white;
}

.featured-article .article-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.article-author {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ddd;
}

/* Side Articles */
.side-articles {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-article {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  flex: 1;
}

.side-article .article-image {
  height: 100%;
  min-height: 250px;
}

.side-article .article-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .featured-article .article-title {
    font-size: 26px;
  }

  .side-article .article-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .featured-article .article-title {
    font-size: 24px;
  }

  .side-article .article-title {
    font-size: 18px;
  }

  .side-article .article-image {
    min-height: 200px;
  }

  .article-overlay {
    padding: 30px 20px 20px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 14px;
  }

  .featured-article .article-title {
    font-size: 20px;
  }

  .side-article .article-title {
    font-size: 16px;
  }

  .article-overlay {
    padding: 25px 15px 15px;
  }
}

/* Label ultimas noticias */

.news-ticker-container {
  display: flex;
  align-items: center;
  background-color: #fff;
  overflow: hidden;
  max-width: 100%;
}

.ticker-label {
  background-color: var(--primary-color);
  color: #fff;
  padding: 12px 30px;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  flex-shrink: 0;
}

.ticker-label::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 0;
  width: 0;
  height: 0;
  border-left: 20px solid #a4c639;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
}

.ticker-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  background-color: #fff;
  padding: 12px 0;
}

.ticker-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: scroll-left var(--ticker-duration, 30s) linear infinite;
}

.ticker-content:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.news-item {
  display: inline-flex;
  align-items: center;
  padding: 0 40px;
  color: var(--primary-color);
  font-size: 15px;
  font-weight: 500;
}

.bullet {
  color: #a4c639;
  margin-right: 12px;
  font-size: 12px;
}

.news-text {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .ticker-label {
    padding: 10px 20px;
    font-size: 14px;
  }

  .news-item {
    font-size: 14px;
    padding: 0 30px;
  }
}

/* WhatsApp Button */

.textoWhatsapp {
	color:white;
	margin:0;
	padding:0;
	max-height:30px;
	overflow:hidden;
	transition: width 450ms ease, opacity 450ms ease;
	width:var(--width);
}

.whatsapp-container {
   	--gap:0.6em;
	display:block;
	position:fixed;
	bottom:1em;
	right:1em;
	background-color:#4ED35D;
	min-width:20px;
	min-height:20px;
	box-sizing:border-box;
	padding:0.5em 0.8em;
	border-radius:6px;
	display:flex;
	justify-content:center;
	align-items:center;
	gap:var(--gap);
	transition:gap 250ms ease;
	width:fit-content;
	z-index:9999999999;
	&:focus {
		outline:none;
		text-decoration:none;
	}
}

body[data-scroll-direction="up"] .textoWhatsapp {
  width: var(--width);
  opacity: 1;
}
body[data-scroll-direction="down"] .textoWhatsapp {
  width: 0;
  opacity: 0;
}
body[data-scroll-direction="up"] .whatsapp-container {
  gap: var(--gap);
}
body[data-scroll-direction="down"] .whatsapp-container {
  gap: 0;
}
body[data-resize="yes"] .textoWhatsapp {
  width: unset !important;
}

/* Carousel Styles */

.magazine-carousel-section {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 20px;
  padding-top: 40px;
}

.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.carousel-controls {
  display: flex;
  gap: 15px;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-color);
  background-color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.carousel-btn:hover:not(:disabled) {
  background-color: var(--primary-color);
  color: #fff;
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-container {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
  width: 100%;
}

.carousel-item {
  flex: 0 0 calc(25% - 15px);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.carousel-item:hover {
  transform: translateY(-5px);
}

.carousel-image-wrapper {
  position: relative;
  margin-bottom: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  background-color: #f0f0f0;
}

.carousel-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: #000;
  text-align: center;
}

/* Responsive design */
@media (max-width: 1200px) {
  .carousel-item {
    flex: 0 0 calc(33.333% - 15px);
  }
}

@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 calc(50% - 10px);
  }

  .carousel-track {
    gap: 15px;
  }

  .carousel-header h2 {
    font-size: 16px;
  }

  .carousel-title {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .carousel-item {
    flex: 0 0 calc(100% - 10px);
  }

  .carousel-controls {
    gap: 10px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }
}

/* Magazine section */

.magazines-featured-section {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

.magazines-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.magazines-main-wrapper {
  margin-bottom: 40px;
}

.magazine-featured-main {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.magazine-featured-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.magazine-featured-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.magazine-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.magazine-featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #ffffff;
  padding: 30px;
  width: 45%;
  display: flex;
  flex-direction: column;
}

.magazine-featured-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
  color: #000;
}

.magazine-featured-description {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* Two smaller magazines grid */
.magazines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.magazine-featured-secondary {
  display: flex;
  flex-direction: column;
}

.magazine-secondary-image {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 4 / 3;
}

.magazine-secondary-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.magazine-secondary-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #000;
}

.magazine-secondary-description {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

@media (max-width: 1024px) {
  .magazine-featured-main {
    height: 400px;
  }

  .magazine-featured-content {
    width: 50%;
    padding: 25px;
  }

  .magazine-featured-title {
    font-size: 20px;
  }

  .magazine-featured-description {
    font-size: 13px;
  }

  .magazines-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .magazine-secondary-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .magazines-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .magazine-featured-main {
    height: 300px;
  }

  .magazine-featured-content {
    width: 100%;
    padding: 20px;
  }

  .magazine-featured-title {
    font-size: 18px;
  }

  .magazine-featured-description {
    font-size: 12px;
  }

  .magazine-secondary-title {
    font-size: 16px;
  }

  .magazine-secondary-description {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .magazine-featured-main {
    height: 250px;
  }

  .magazine-featured-content {
    padding: 15px;
  }

  .magazine-featured-title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .magazine-featured-description {
    font-size: 11px;
  }
}

/* Sectores Page */

.news-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.news-main {
  grid-column: 1;
  display: flex;
  flex-direction: column;
}

.news-image-wrapper {
  margin-top: 15px;
  position: relative;
  margin-bottom: 15px;
  overflow: hidden;
}

.news-image-wrapper img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.play-btn:hover {
  background-color: rgba(255, 255, 255, 1);
}

.play-btn svg {
  width: 24px;
  height: 24px;
}

.play-btn-small {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.play-btn-small:hover {
  background-color: rgba(255, 255, 255, 1);
}

.play-btn-small svg {
  width: 18px;
  height: 18px;
}

.news-content {
  display: flex;
  flex-direction: column;
}

.news-meta {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  margin-bottom: 12px;
  font-family: Arial, sans-serif;
}

.news-description {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 20px;
}

.news-editorial {
  padding-top: 15px;
  border-top: 1px solid #ddd;
  font-size: 13px;
}

.editorial-label {
  font-weight: bold;
  margin-right: 8px;
}

.editorial-text {
  color: #333;
}

/* MIDDLE SECTION - CENTER COLUMN */
.news-middle {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.news-medium {
  display: flex;
  flex-direction: column;
}

.news-medium .news-image-wrapper {
  margin-bottom: 15px;
}

.news-medium .news-image-wrapper img {
  height: 220px;
}

.news-title-medium {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #000;
}

.news-description-small {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* RIGHT SIDEBAR - RIGHT COLUMN */
.news-right {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.news-small {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.news-small:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-small .news-image-wrapper {
  margin-bottom: 12px;
}

.news-small .news-image-wrapper img {
  height: 140px;
}

.news-title-small {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #000;
}

/* Header */
.news-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 2px solid #000;
  margin-bottom: 30px;
}

.news-header h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.chevron {
  font-size: 18px;
  font-weight: bold;
}

/* Responsive design for tablets and mobile */
@media (max-width: 1200px) {
  .news-container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .news-main {
    grid-column: 1 / 3;
    flex-direction: row;
  }

  .news-main .news-image-wrapper {
    flex: 0 0 45%;
    margin-bottom: 0;
    margin-right: 20px;
  }

  .news-content {
    flex: 1;
  }

  .news-middle {
    grid-column: 1 / 3;
    flex-direction: row;
    gap: 20px;
  }

  .news-medium {
    flex: 1;
  }

  .news-right {
    grid-column: 1 / 3;
    flex-direction: row;
    gap: 20px;
  }

  .news-small {
    flex: 1;
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media (max-width: 1024px) {
  .news-grid-main {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .main-image {
    grid-column: 1;
  }

  .sidebar-news {
    grid-column: 1;
    flex-direction: row;
    gap: 15px;
  }

  .news-card-small {
    flex: 1;
  }

  .news-grid-bottom {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

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

  .news-main {
    grid-column: 1;
    flex-direction: column;
  }

  .news-main .news-image-wrapper {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .news-middle {
    grid-column: 1;
    flex-direction: column;
  }

  .news-right {
    grid-column: 1;
    flex-direction: column;
  }

  .news-title {
    font-size: 22px;
  }

  .news-title-medium {
    font-size: 16px;
  }

  .news-title-small {
    font-size: 14px;
  }

  .news-grid-main {
    grid-template-columns: 1fr;
  }

  .sidebar-news {
    flex-direction: column;
    gap: 25px;
  }

  .main-story h3 {
    font-size: 24px;
  }

  .news-grid-bottom {
    grid-template-columns: 1fr;
  }

  .news-card-medium img {
    height: 250px;
  }
}

/* Seccion comun post en tres columnas */

.favorites-section {
  max-width: 1400px;
  margin: 100px auto;
  padding: 0 20px;
}

.favorites-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 40px;
  padding-bottom: 15px;
  border-bottom: 1px solid #333;
  display: inline-block;
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.favorite-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

.favorite-image-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;
  aspect-ratio: 1;
  background-color: #f0f0f0;
}

.favorite-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.favorite-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
}

/* Responsive design for favorites section */
@media (max-width: 1200px) {
  .favorites-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .favorites-section {
    margin: 60px auto;
  }

  .favorites-title {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .favorites-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .favorite-card-title {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .favorites-title {
    font-size: 12px;
    margin-bottom: 20px;
  }

  .favorite-card-title {
    font-size: 13px;
  }

  .favorites-grid {
    gap: 15px;
  }
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 60px;
  }
  .news-grid-left,
  .news-featured,
  .news-right,
  .news-middle {
    grid-column: 1;
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .news-grid {
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 10px;
  }
  .news-grid-left,
  .news-featured,
  .news-right,
  .news-middle {
    margin-bottom: 15px;
  }
}

@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* Sección de sectores principales */
.sectores-principales-section {
  max-width: 1400px;
  margin: 100px auto;
  padding: 0 20px;
}

.sectores-principales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.sector-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  cursor: pointer;
}

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

.sector-image-wrapper {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 12px;
}

.sector-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sector-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sector-title {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  line-height: 1.3;
}

.sector-author {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.sector-description {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1200px) {
  .sectores-principales-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .sectores-principales-section {
    margin: 60px auto;
  }

  .sectores-principales-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sector-title {
    font-size: 16px;
  }

  .sector-description {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .sector-title {
    font-size: 15px;
  }
  .sector-description {
    font-size: 13px;
  }
}

.container-single {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Header Section */
.article-header {
  margin-bottom: 40px;
}

.single-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Encabezado del artículo */
.single-header {
  margin-bottom: 40px;
}

.single-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 15px;
  padding: 5px 12px;
  border: 1px solid #e5e7eb;
  background-color: var(--primary-color);
  border-radius: 3px;
}

.single-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #111;
}

/* Imagen destacada */
.single-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  margin-bottom: 30px;
  display: block;
}

/* Meta */
.single-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  color: #6b7280;
}

.single-author,
.single-date {
  display: flex;
  align-items: center;
  gap: 8px;
}

.single-separator {
  width: 4px;
  height: 4px;
  background-color: #d1d5db;
  border-radius: 50%;
}

/* Contenido */
.single-content {
  font-size: 18px;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 50px;
  padding: 30px;
  background-color: #f3f4f6;
  border-left: 4px solid var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
  .single-container {
    padding: 40px 15px;
  }

  .single-title {
    font-size: 2rem;
  }

  .single-image {
    height: 300px;
  }

  .single-content {
    font-size: 16px;
    padding: 20px;
  }

  .single-meta {
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .single-title {
    font-size: 1.5rem;
  }

  .single-image {
    height: 220px;
  }

  .single-meta {
    font-size: 12px;
  }
}

.container-search {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header de búsqueda */
.search-header {
  margin-bottom: 30px;
  background-color: white;
  padding: 30px;
  border-bottom: 1px solid #e0e0e0;
}

.search-header h1 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
}

.search-header p {
  color: #b8860b;
  font-size: 14px;
  font-weight: 500;
}

/* Layout principal */
.search-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
}

/* Posts Section */
.posts-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-item {
  background-color: white;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.post-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Post con imagen */
.post-with-image {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
}

.post-image {
  width: 250px;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #b8d917;
  color: white;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.post-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.post-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
  line-height: 1.4;
}

.post-meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 12px;
  display: flex;
  gap: 15px;
}

.post-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Post sin imagen (legal) */
.post-legal-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.post-legal-intro {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-legal-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Search Box */
.search-box2 {
  background-color: white;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.search-box2 h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 2px solid #b8d917;
  display: inline-block;
  color: #222;
}

.search-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.search-form input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ddd;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.search-form input:focus {
  outline: none;
  border-color: #b8d917;
}

.search-form button {
  padding: 10px 20px;
  background-color: #b8d917;
  color: white;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-form button:hover {
  background-color: #a3b813;
}

/* Calendar */
.calendar {
  background-color: white;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.calendar h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #222;
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.calendar-table th {
  background-color: #f9f9f9;
  padding: 10px 5px;
  text-align: center;
  font-weight: 600;
  color: #666;
  border-bottom: 1px solid #e0e0e0;
}

.calendar-table td {
  padding: 10px 5px;
  text-align: center;
  border: 1px solid #e0e0e0;
  color: #666;
}

.calendar-table td:hover {
  background-color: #f9f9f9;
  cursor: pointer;
}

.calendar-table td.today {
  background-color: #b8d917;
  color: white;
  font-weight: 600;
}

.calendar-month {
  text-align: center;
  font-weight: 600;
  margin-bottom: 15px;
  color: #222;
}

.calendar-nav {
  text-align: center;
  margin-top: 15px;
  font-size: 12px;
  color: #b8d917;
  cursor: pointer;
}

@media (max-width: 768px) {
  .search-content {
    grid-template-columns: 1fr;
  }

  .post-with-image {
    grid-template-columns: 1fr;
  }

  .post-image {
    width: 100%;
  }
}

.wp-block-file * + .wp-block-file__button {
  margin-left: 0.75em;
  padding: 4px !important;
  border-radius: 0 !important;
  background-color: var(--primary-color) !important;
  color: white !important;
}
.wp-block-file * + .wp-block-file__button:hover {
  background-color: #333 !important;
}

a:-webkit-any-link {
  cursor: pointer;
  text-decoration: none !important;
}
.article-title a,
.secondary-title a,
.featured-title a,
.side-title-small a {
  color: #1a1a1a;

  text-decoration: none;
}

.article-title a:hover,
.secondary-title a:hover,
.featured-title a:hover,
.side-title-small a:hover {
  color: var(--primary-color);
}

/* PAGINACION */

.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;

  padding: 16px 20px;
  border-radius: 6px;
  margin: 40px auto;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #d0d0d0;
  background-color: white;
  color: #666;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.pagination a:hover:not(.active):not(.next) {
  background-color: #f0f0f0;
  border-color: #b0b0b0;
}

.pagination .active {
  background-color: var(--primary-color, #b4d844);
  color: white;
  border-color: var(--primary-color, #b4d844);
  font-weight: 600;
  cursor: default;
}

.pagination span {
  border: none;
  cursor: default;
  background: none;
  color: #999;
}

.pagination a.next,
.pagination a.prev {
  background-color: white;
  color: #666;
  border: 1px solid #d0d0d0;
}

.pagination a.next:hover,
.pagination a.prev:hover {
  background-color: #f5f5f5;
}

/* COMETNARIOS */

/* === FORMULARIO DE COMENTARIOS LIMPIO === */
.clean-comment-form {
  max-width: 700px;
  margin: auto;
  padding: 30px 40px;
}

.comment-form-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 25px;
  color: #222;
  font-weight: 600;
}

.clean-comment-form .form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.clean-comment-form label {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #333;
  font-weight: 500;
}

.clean-comment-form .form-control {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.clean-comment-form .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(195, 207, 45, 0.2);
  background-color: #fff;
}

.clean-comment-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.comment-submit-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.comment-submit-btn:hover {
  background-color: #a5b822;
  transform: translateY(-2px);
}

.comment-submit-btn:active {
  transform: translateY(0);
}

.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #555;
}

.comment-form-cookies-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

/* === Ajuste responsive === */
@media (max-width: 600px) {
  .clean-comment-form {
    padding: 20px;
  }

  .comment-submit-btn {
    width: 100%;
  }
}

/* LISTA DE COMENTARIO */

/* === LISTA DE COMENTARIOS === */
.comments-wrapper {
  margin: -10px auto;
  max-width: 700px;
  padding: 30px 40px;
}

.comments-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #222;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.single-comment {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.comment-avatar img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.comment-author {
  font-weight: 600;
  color: #333;
}

.comment-date {
  font-size: 0.85rem;
  color: #777;
}

.comment-text {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
  margin-bottom: 10px;
}

.comment-reply a {
  font-size: 0.9rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.comment-reply a:hover {
  color: #a5b822;
}

/* Subcomentarios (respuestas) */
.comment-list .children {
  list-style: none;
  margin-left: 60px;
  margin-top: 15px;
  border-left: 2px solid var(--primary-color);
  padding-left: 20px;
}

/* === Paginación de comentarios === */
.comment-navigation {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.comment-navigation .page-numbers {
  display: inline-block;
  padding: 8px 12px;
  background: #eee;
  color: #555;
  text-decoration: none;
}

.comment-navigation .current {
  background: var(--primary-color);
  color: #fff;
  font-weight: bold;
}

.comment-navigation a:hover {
  background: #dfe68c;
}

/* Calendar Styles */

.widget_calendar {
  list-style: none;
  text-decoration: none;
}

.widget_calendar nav {
  border-top: none !important;
}

.wp-calendar-nav-prev a {
  text-decoration: none !important;
  color: #222222 !important;
  margin-top: 20px !important;
}
.wp-calendar-nav-prev {
  margin-top: 20px !important;
}

.wp-calendar-table {
  margin-top: 20px !important;
}

.wp-calendar-table caption {
  margin-bottom: 10px !important;
}

.cat-item {
  list-style: none !important;
  text-decoration: none !important;
}

.cat-item a {
  text-decoration: none !important;
  color: #222222 !important;
}

.cat-item a:hover {
  color: var(--primary-color) !important;
}

.calendar li {
  padding: 10px;
}

.news-container h2.article-title a:hover,
.news-container h3.secondary-title a:hover,
.news-container h3.news-title-small a:hover {
  color: var(--primary-color) !important;
  transition: color 0.3s ease;
}

.news-text a {
  list-style: none;
  text-decoration: none;
  color: var(--primary-color);
}

.wp-calendar-table tbody tr td a {
  color: var(--primary-color);
}

/* Layout seccion con imagen destacada */

.seccion-noticias {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px;
}

.section-destacada {
  display: flex;
  flex-direction: column;
}

.imagen-destacada {
  width: 100%;
  height: 400px;
  object-fit: cover;
  margin-bottom: 20px;
}

.pie-imagen-destacada {
  font-size: 12px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.4;
}

.titulo-destacado {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #000;
}

.meta-articulo {
  font-size: 12px;
  color: #999;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.extracto-articulo {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

.noticias-laterales {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tarjeta-noticia {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 24px;
}

.tarjeta-noticia:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.titulo-noticia {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #000;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.texto-titulo-noticia {
  flex: 1;
}

.meta-noticia {
  font-size: 11px;
  color: #999;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.extracto-noticia {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  margin-bottom: 12px;
}

.contenedor-imagen-noticia {
  margin-bottom: 12px;
}

.imagen-noticia {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.pie-imagen-noticia {
  font-size: 11px;
  color: #999;
  margin-top: 6px;
  text-align: center;
}

.cita-destacada {
  font-weight: bold;
  font-style: italic;
  color: #000;
  margin-top: 8px;
  padding-left: 16px;
  border-left: 3px solid var(--primary-color);
}

@media (max-width: 768px) {
  .seccion-noticias {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .titulo-destacado {
    font-size: 24px;
  }

  .titulo-noticia {
    font-size: 18px;
  }
}

.social-media {
  width: 20px;
}