/* Unified UX layer for all "Actualites" article pages */

.article-long .hero {
  grid-template-columns: 1.22fr 0.98fr;
  gap: 1.15rem;
  align-items: start;
  padding-top: 2.35rem;
}

.article-long .hero-content,
.article-long .hero-panel,
.article-long .info-card,
.article-long .card,
.article-long .author-box,
.article-long .about-card {
  min-height: 0;
  height: auto;
}

.article-long .hero h1 {
  font-size: clamp(1.95rem, 3.8vw, 3.25rem);
  letter-spacing: 0.005em;
}

.article-long .hero-lead {
  max-width: 66ch;
  margin-bottom: 1rem;
}

.article-long .hero-actions {
  margin-bottom: 0.8rem;
}

/* Horizontal media across all article pages */
.article-long .hero-product-image,
.article-long .detail-image,
.article-long .product-card-image,
.article-long .recipe-card-image {
  width: 100%;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover;
}

.article-long .hero-product-image,
.article-long .detail-image {
  border-radius: 12px;
  border: 1px solid rgba(213, 200, 177, 0.72);
}

.article-long .figure-caption {
  margin-top: 0.45rem;
  margin-bottom: 0.1rem;
  font-size: 0.87rem;
  color: var(--ink-muted);
}

.article-long .section {
  padding-top: 0.55rem;
  padding-bottom: 1.95rem;
}

.article-long .section-head {
  margin-bottom: 0.9rem;
}

.article-long .cards {
  align-items: start;
}

.article-long .cards > .card,
.article-long .content-grid > .info-card {
  display: block;
}

.article-long .card h2,
.article-long .card h3,
.article-long .info-card h2,
.article-long .info-card h3 {
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.article-long .card p,
.article-long .info-card p {
  margin-bottom: 0.72rem;
}

.article-long .card ul,
.article-long .info-card ul {
  margin-top: 0.25rem;
}

/* Readable, responsive tables */
.article-long table,
.article-long .data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.7rem;
  font-size: 0.93rem;
  background: #fff;
  border: 1px solid rgba(213, 200, 177, 0.68);
}

.article-long table th,
.article-long table td,
.article-long .data-table th,
.article-long .data-table td {
  border-bottom: 1px solid rgba(213, 200, 177, 0.56);
  padding: 0.52rem 0.58rem;
  text-align: left;
  vertical-align: top;
}

.article-long table tr:last-child td,
.article-long .data-table tr:last-child td {
  border-bottom: 0;
}

.article-long table th,
.article-long .data-table th {
  background: #f6efe2;
  color: #1f4530;
  font-weight: 700;
}

@media (max-width: 980px) {
  .article-long .hero {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    padding-top: 1.5rem;
  }
}

@media (max-width: 820px) {
  .article-long table,
  .article-long .data-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}

