/* ===================================================
   POLISH — Cards, Quiénes Somos, Logo, Fecha
   (Dark mode separado en darkmode.css)
   =================================================== */

/* === QUIÉNES SOMOS — LEGIBLE === */
.page-nosotros h1,
.page-nosotros h2,
.page-nosotros h3,
.page-nosotros p,
.page-nosotros strong,
.page-nosotros a,
.page-nosotros li {
  color: var(--page-text, #1a1a1a);
}
.page-nosotros h2 { color: var(--red, #E30613) !important; }
.page-nosotros .contacto-card {
  background: linear-gradient(135deg, #fff5f5, #ffe0e0);
  border-left: 4px solid var(--red, #E30613);
  padding: 16px;
  margin-top: 20px;
  border-radius: 8px;
}
.page-nosotros .contacto-card strong { color: var(--red, #E30613); }
.page-nosotros .contacto-card a { color: var(--red, #E30613); font-weight: 700; }

/* === CARDS — REDISEÑO MODERNO === */
.news-card {
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.news-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(227,6,19,0) 60%, rgba(255,214,0,0.15));
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  border-radius: 16px;
  z-index: 1;
}
.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--red, #E30613);
  box-shadow: 0 18px 40px rgba(26, 35, 126, 0.18), 0 0 0 1px rgba(227, 6, 19, 0.25);
}
.news-card:hover::before { opacity: 1; }
.news-card .card-img,
.news-card .card-img-branded {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.news-card .card-img img,
.news-card .card-img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.news-card:hover .card-img img,
.news-card:hover .card-img > img { transform: scale(1.06); }
.news-card .card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  position: relative;
  z-index: 2;
}
.news-card .cat-pill {
  align-self: flex-start;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: white !important;
}
.news-card h3 {
  font-family: var(--font-title);
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.3;
  margin: 4px 0 0;
}
.news-card h3 a { color: inherit; text-decoration: none; }
.news-card p {
  font-size: 13.5px;
  line-height: 1.55;
  margin: 2px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .card-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
}
.news-card .card-meta .views { color: var(--red, #E30613); font-weight: 700; }

.grid-cards { gap: 22px; }

/* Side news */
.side-news {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  margin: 4px 8px;
  transition: all 0.25s;
  cursor: pointer;
}
.side-news:hover {
  background: rgba(227, 6, 19, 0.06);
  transform: translateX(4px);
}
.side-news h4 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 4px;
}

/* === FOOTER LOGO PROMINENTE === */
.footer-logo {
  width: 110px !important;
  height: 110px !important;
  object-fit: contain !important;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 6px 20px rgba(255, 214, 0, 0.3);
  margin-bottom: 18px !important;
  display: block;
}
.footer-slogan {
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--yellow, #FFD600) !important;
  font-size: 18px !important;
  margin-bottom: 8px !important;
  letter-spacing: 0.5px;
}
.footer-about {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.8) !important;
  margin-bottom: 18px;
}
.site-footer h4 {
  font-family: var(--font-title);
  font-weight: 800;
  color: white !important;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red, #E30613);
  display: inline-block;
}
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul li a { color: rgba(255,255,255,0.75); font-size: 13.5px; transition: color 0.2s, padding-left 0.2s; }
.site-footer ul li a:hover { color: var(--yellow, #FFD600); padding-left: 4px; }

/* === FECHA EN HEADER === */
.date-badge-line {
  background: linear-gradient(90deg, #1A1A1A 0%, #1A237E 50%, #E30613 100%);
  color: #fff;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  flex-wrap: wrap;
}
.date-badge-line .date-current {
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.date-badge-line .date-current::before { content: '📅'; font-size: 15px; }
.date-badge-line .weather {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--yellow, #FFD600);
  font-weight: 700;
}
@media (max-width: 720px) {
  .date-badge-line { font-size: 11px; padding: 6px 14px; }
  .date-badge-line .weather { display: none; }
}

/* ===========================
   NOTICIA — DETALLE
   =========================== */
.page-noticia { color: #1a1a1a; }
.noticia-cat-pill {
  text-decoration: none !important;
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #fff !important;
}
.noticia-title {
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
  color: #1a1a1a;
}
.noticia-subtitle {
  font-size: 18px;
  color: #555;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.5;
}
.noticia-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: #777;
  font-size: 13px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 14px 0;
  margin-bottom: 24px;
}
.noticia-cover {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 24px;
  display: block;
}
.noticia-body {
  font-size: 17px;
  line-height: 1.75;
  color: #222;
}
.noticia-body p { margin-bottom: 1.1em; }
.noticia-body h2,
.noticia-body h3 {
  font-family: var(--font-title);
  font-weight: 800;
  margin: 1.4em 0 0.6em;
  color: var(--red, #E30613);
}
.noticia-body h2 { font-size: 24px; }
.noticia-body h3 { font-size: 20px; }
.noticia-body a {
  color: var(--red, #E30613);
  text-decoration: underline;
}
.noticia-body strong { color: #111; font-weight: 700; }
.noticia-body ul,
.noticia-body ol { margin: 1em 0 1em 1.5em; }
.noticia-body li { margin-bottom: 6px; }
.noticia-body blockquote {
  border-left: 4px solid var(--red, #E30613);
  background: #fff5f5;
  padding: 14px 18px;
  margin: 1.4em 0;
  font-style: italic;
  border-radius: 0 8px 8px 0;
}
.noticia-body img { max-width: 100%; border-radius: 8px; margin: 1em 0; }

.noticia-share {
  margin-top: 36px;
  padding: 24px;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
  border-left: 4px solid var(--red, #E30613);
  border-radius: 8px;
  color: #1a1a1a;
}
.noticia-share strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-title);
  font-size: 14px;
  color: #1a1a1a;
}
.noticia-share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.noticia-share-buttons a {
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 13px;
  transition: transform 0.2s, box-shadow 0.2s;
  color: #fff !important;
}
.noticia-share-buttons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}
.share-fb { background: #1877F2 !important; }
.share-wa { background: #25D366 !important; }
.share-tw { background: #000 !important; }

.noticia-related { margin-top: 48px; }
.noticia-related .section-title-premium { font-size: 22px !important; }
