/* IBERPESCA — Noticias */

.noticias-page {
  flex: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  width: 100%;
}

.noticias-hero {
  margin-bottom: 32px;
}

.noticias-hero-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.noticias-hero-icon {
  font-size: 1.5rem;
  opacity: 0.95;
}

.noticias-hero-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.noticias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.noticia-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.noticia-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: var(--logo-green);
}

.noticia-card-image {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
  display: block;
  background: #eee;
}

.noticia-card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.noticia-card-date {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.noticia-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.noticia-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.noticia-card-link-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--logo-green);
  margin-top: 4px;
}

.noticia-card:hover .noticia-card-link-text {
  color: var(--logo-green-bright);
}

/* Página de artículo individual */
.articulo-page {
  flex: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 24px 48px;
  width: 100%;
}

.articulo-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.2s ease;
}

.articulo-back:hover {
  color: var(--logo-green);
}

.articulo-header {
  margin-bottom: 24px;
}

.articulo-date {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.articulo-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.articulo-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  background: #eee;
}

.articulo-image-wrap figure {
  margin: 0;
}

.articulo-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.articulo-image-caption {
  margin: 0;
  padding: 10px 14px 14px;
  font-size: 0.875rem;
  color: var(--text-muted, #666);
  line-height: 1.4;
  background: #f8f8f8;
}

.articulo-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}

.articulo-body p {
  margin-bottom: 1em;
}

.articulo-body p:last-child {
  margin-bottom: 0;
}

.articulo-body h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.5em 0 0.5em;
}

.articulo-body h2:first-child {
  margin-top: 0;
}

@media (max-width: 640px) {
  .noticias-page {
    padding: 24px 16px 40px;
  }
  .noticias-hero-title {
    font-size: 1.45rem;
  }
  .noticias-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .articulo-page {
    padding: 20px 16px 40px;
  }
  .articulo-title {
    font-size: 1.45rem;
  }
}
