/* ===== ARTICOLO MAGAZINE — LAYOUT EDITORIALE ===== */

.art-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.art-article {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
}

.art-hero-img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
}

.art-header {
  padding: 36px 40px 0;
}

.art-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.5px;
  color: var(--bg-dark);
  margin: 10px 0 12px;
}

.art-sommario {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 12px;
}

.art-meta {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  font-weight: 600;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.art-body {
  padding: 32px 40px 40px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}

.art-body h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  margin: 36px 0 16px;
  color: var(--text);
}

.art-body h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  margin: 28px 0 12px;
  color: var(--text);
}

.art-body h2:first-child,
.art-body h3:first-child {
  margin-top: 0;
}

.art-body p {
  margin-bottom: 20px;
}

.art-body p:last-child {
  margin-bottom: 0;
}

.art-body a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.art-body a:hover {
  color: var(--primary-dark);
}

.art-back {
  padding: 0 40px 32px;
}

.art-back a {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.art-back a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .art-header {
    padding: 24px 20px 0;
  }
  .art-body {
    padding: 24px 20px 28px;
    font-size: 16px;
  }
  .art-back {
    padding: 0 20px 24px;
  }
  .art-hero-img {
    aspect-ratio: 16/10;
  }
}
