/* =========================================================
   Blog Article — tipografia editoriale Tutela Penale
   ========================================================= */

.ba-hero {
  position: relative;
  background: var(--bg-deep, #080e28);
  padding: clamp(7.5rem, 14vw, 10rem) 0 clamp(3.5rem, 7vw, 5rem);
  overflow: hidden;
}

.ba-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 20%, rgba(212, 175, 55, 0.07) 0%, transparent 55%),
    linear-gradient(180deg, transparent 60%, rgba(10, 19, 54, 0.85) 100%);
}

.ba-hero .container {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.ba-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  font-family: var(--font-body), 'Source Sans 3', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ba-crumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(184, 189, 208, 0.65);
}

.ba-crumb li + li::before {
  content: '·';
  color: rgba(212, 175, 55, 0.45);
  font-weight: 400;
  letter-spacing: 0;
}

.ba-crumb a {
  color: rgba(184, 189, 208, 0.75);
  text-decoration: none;
  transition: color 0.25s ease;
}

.ba-crumb a:hover {
  color: var(--primary-gold, #d4af37);
}

.ba-crumb .current {
  color: rgba(212, 175, 55, 0.9);
}

.ba-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin: 0 0 1.35rem;
  font-family: var(--font-body), 'Source Sans 3', sans-serif;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.9);
}

.ba-meta-sep {
  color: rgba(184, 189, 208, 0.35);
  letter-spacing: 0;
}

.ba-title-rule {
  width: 48px;
  height: 1px;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--primary-gold, #d4af37), transparent);
}

.ba-title {
  margin: 0;
  font-family: var(--font-display), 'Libre Baskerville', Georgia, serif !important;
  font-size: clamp(1.85rem, 3.8vw, 2.85rem) !important;
  font-weight: 400 !important;
  line-height: 1.22 !important;
  letter-spacing: 0.01em !important;
  color: #f7f4ec !important;
}

/* ---------- Body band ---------- */
.ba-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(5rem, 10vw, 8rem);
}

.ba-section .container {
  max-width: 44rem;
}

.ba-prose {
  border: none;
  background: transparent;
  box-shadow: none;
}

.ba-prose > *:first-child {
  margin-top: 0;
}

.ba-prose h2 {
  margin: 2.75rem 0 1.15rem !important;
  padding: 0 !important;
  border: none !important;
  font-family: var(--font-display), 'Libre Baskerville', Georgia, serif !important;
  font-size: clamp(1.35rem, 1.5vw + 1.05rem, 1.65rem) !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.01em !important;
  color: #f2f4fa !important;
}

.ba-prose h2:first-child {
  margin-top: 0 !important;
}

.ba-prose h3 {
  margin: 2rem 0 0.9rem !important;
  font-family: var(--font-display), 'Libre Baskerville', Georgia, serif !important;
  font-size: clamp(1.1rem, 0.6vw + 1rem, 1.28rem) !important;
  font-weight: 400 !important;
  font-style: italic;
  line-height: 1.45 !important;
  color: rgba(230, 232, 240, 0.92) !important;
}

.ba-prose h4 {
  margin: 1.5rem 0 0.75rem !important;
  font-family: var(--font-body), 'Source Sans 3', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: rgba(212, 175, 55, 0.95) !important;
}

.ba-prose p {
  margin: 0 0 1.35rem !important;
  color: #c8cddc !important;
  font-family: var(--font-body), 'Source Sans 3', sans-serif !important;
  font-size: clamp(1.05rem, 0.25vw + 1rem, 1.15rem) !important;
  font-weight: 300 !important;
  line-height: 1.85 !important;
  letter-spacing: 0.01em !important;
}

.ba-prose ul,
.ba-prose ol {
  margin: 0 0 1.5rem !important;
  padding: 0 0 0 1.15rem !important;
}

.ba-prose li {
  margin: 0 0 0.7rem !important;
  color: #c8cddc !important;
  font-family: var(--font-body), 'Source Sans 3', sans-serif !important;
  font-size: clamp(1.02rem, 0.2vw + 0.98rem, 1.1rem) !important;
  font-weight: 300 !important;
  line-height: 1.75 !important;
}

.ba-prose li::marker {
  color: rgba(212, 175, 55, 0.65);
}

.ba-prose em {
  font-style: italic;
  color: #e6e9f2 !important;
}

.ba-prose strong {
  font-weight: 600 !important;
  color: #f2f4fa !important;
}

.ba-prose blockquote,
.ba-quote {
  margin: 2rem 0 2.25rem;
  padding: 0.15rem 0 0.15rem 1.35rem;
  border-left: 1px solid rgba(212, 175, 55, 0.45);
  background: none;
}

.ba-prose blockquote p,
.ba-quote p {
  margin: 0 !important;
  font-family: var(--font-display), 'Libre Baskerville', Georgia, serif !important;
  font-size: clamp(1.08rem, 0.4vw + 1rem, 1.22rem) !important;
  font-style: italic;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  color: rgba(230, 232, 240, 0.92) !important;
}

/* Comparison / key boxes */
.ba-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin: 2rem 0 2.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.ba-split-col h4 {
  margin-top: 0 !important;
}

.ba-split-col ul {
  margin-bottom: 0 !important;
}

.ba-callout {
  margin: 2.25rem 0;
  padding: 1.5rem 0 1.5rem 1.35rem;
  border-left: 1px solid rgba(212, 175, 55, 0.4);
}

.ba-callout h3 {
  margin: 0 0 1rem !important;
  font-style: normal !important;
  font-family: var(--font-body), 'Source Sans 3', sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: rgba(212, 175, 55, 0.95) !important;
}

.ba-callout ul {
  margin-bottom: 0 !important;
}

/* CTA */
.ba-cta {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(2rem, 4vw, 2.75rem) 0 0;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  text-align: left;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.ba-cta h3 {
  margin: 0 0 0.85rem !important;
  font-family: var(--font-display), 'Libre Baskerville', Georgia, serif !important;
  font-size: clamp(1.35rem, 1.5vw + 1.1rem, 1.7rem) !important;
  font-weight: 400 !important;
  font-style: italic;
  color: #f7f4ec !important;
  text-shadow: none !important;
}

.ba-cta p {
  margin: 0 0 1.5rem !important;
  max-width: 32rem;
  color: rgba(198, 204, 220, 0.9) !important;
  font-size: 1.05rem !important;
}

.ba-cta-link {
  display: inline-block;
  font-family: var(--font-body), 'Source Sans 3', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.95);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  padding-bottom: 0.2rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.ba-cta-link:hover {
  color: #f4d03f;
  border-bottom-color: #f4d03f;
}

/* Navigation */
.ba-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: clamp(2.75rem, 5vw, 3.75rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  background: none;
  border-radius: 0;
}

.ba-nav-link {
  font-family: var(--font-body), 'Source Sans 3', sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(184, 189, 208, 0.8);
  text-decoration: none;
  transition: color 0.25s ease;
}

.ba-nav-link:hover {
  color: var(--primary-gold, #d4af37);
}

.ba-nav-link.ba-nav-home {
  color: rgba(212, 175, 55, 0.9);
}

.ba-nav-spacer {
  flex: 1 1 auto;
}

@media (max-width: 700px) {
  .ba-split {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .ba-nav {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ba-nav-spacer {
    display: none;
  }

  .ba-hero .container,
  .ba-meta,
  .ba-title,
  .ba-cta,
  .ba-section-head {
    text-align: center;
  }

  .ba-title-rule {
    margin-left: auto;
    margin-right: auto;
  }

  .ba-crumb,
  .ba-meta {
    justify-content: center;
  }

  .ba-prose {
    text-align: left;
  }

  .ba-prose h2,
  .ba-prose h3,
  .ba-cta h3 {
    text-align: center;
  }

  .ba-cta-link {
    display: inline-block;
  }
}
