/* "Chi siamo" pages (src/chi-siamo.njk and its translations) */
body { display: block; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[id] { scroll-margin-top: 20px; }

.hero { background: #0091FF; }
.hero::before { background-image: radial-gradient(rgba(255,255,255,0.16) 1.6px, transparent 1.6px); }
.hero-title { color: #FFFFFF; }
.hero-title mark { color: #000000; padding: 0 2px; }
.hero-copy p.lede { color: #00223D; }

.about-index { max-width: 760px; margin: 0 auto; padding: 34px 24px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.about-index a { font-family: 'Avant Garde', sans-serif; font-weight: 600; font-size: 0.92rem; color: #000000; text-decoration: none; border: 2px solid #000000; border-radius: 999px; padding: 6px 14px 7px; background: #FFFFFF; }
.about-index a:hover { background: #0091FF; color: #FFFFFF; }

.about-section { max-width: 760px; margin: 0 auto; padding: 46px 24px 10px; text-align: left; }
.about-section .kicker { display: block; font-family: 'Avant Garde', sans-serif; font-weight: 600; font-size: 1.05rem; color: #0067B8; margin-bottom: 6px; }
.about-section h2 { font-size: 2rem; line-height: 1.15; margin: 0 0 22px; }
.about-section h3 { font-size: 1.3rem; line-height: 1.25; margin: 34px 0 12px; }
.about-section p, .about-section li { font-size: 1.02rem; line-height: 1.65; opacity: 1; color: #1C1B1F; }
.about-section ul { padding-left: 1.2em; margin: 0 0 16px; }
.about-section li { margin-bottom: 8px; }
.about-section a { color: #000000; }
.about-section .intro { font-size: 1.15rem; }

.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 10px 0 0; padding: 0; list-style: none; }
.promise { background: #FFFFFF; padding: 20px 22px; margin: 0 !important; }
.promise strong { display: block; font-family: 'Cooper Black', serif; font-weight: normal; font-size: 1.15rem; margin-bottom: 6px; }
.promise p { font-size: 0.95rem !important; line-height: 1.5 !important; margin: 0; }

.voice-table { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 3px solid #000000; border-radius: 14px 18px 16px 20px / 20px 16px 18px 14px; overflow: hidden; margin: 6px 0 18px; }
.voice-row { display: contents; }
.voice-table [role="cell"], .voice-table [role="columnheader"] { padding: 12px 16px; font-size: 0.95rem; line-height: 1.45; border-bottom: 2px solid #000000; }
.voice-row > :first-child { border-right: 2px solid #000000; }
.voice-row:last-child > * { border-bottom: 0; }
.voice-table .head { font-family: 'Avant Garde', sans-serif; font-weight: 700; background: #000000; color: #FFFFFF; }

.guidelines-intro { background: #000000; color: #FFFFFF; padding: 30px 32px; margin-top: 8px; }
.guidelines-intro p { color: #C9C8D0 !important; margin: 0; }
.guidelines-intro strong { color: #FFFFFF; }

.rule { border-top: 3px solid #000000; padding-top: 6px; margin-top: 38px; }
.rule h3 { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; }
.rule h3 .num { font-family: 'Avant Garde', sans-serif; font-weight: 700; font-size: 0.95rem; color: #FFFFFF; background: #0067B8; border: 2px solid #000000; border-radius: 50%; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

.assoc-block { background: #000000; border-color: #0091FF; padding: 32px; margin-top: 10px; }
.assoc-block p { color: #C9C8D0 !important; }
.assoc-block h3 { color: #FFFFFF; margin-top: 0; }
.assoc-block a { color: #0091FF; }
.about-updated { font-family: 'Avant Garde', sans-serif; font-size: 0.82rem !important; opacity: 0.6 !important; margin-top: 30px; }

@media (max-width: 640px) {
  .about-section h2 { font-size: 1.6rem; }
  .voice-table { grid-template-columns: 1fr; }
  .voice-row > :first-child { border-right: 0; }
  .voice-row:last-child > :first-child { border-bottom: 2px solid #000000; }
  .voice-row:first-child { display: none; }
  .voice-table [role=cell]::before { content: attr(data-label) ": "; font-weight: 700; }
  .voice-row > [role=cell]:last-child { background: #F2F2F2; }
  .guidelines-intro, .assoc-block { padding: 24px 22px; }
}
