/* Pagine dei dipartimenti generate da scripts/genera-pagine-dipartimenti.py.
   Usano gli stili condivisi di mift.css (mf-); qui c'e' solo quello che cambia (prefisso dp-). */
.dp-hero h1 { max-width: 20ch; font-size: clamp(32px, 9.4vw, 44px); line-height: 1.06; }
.dp-lead { max-width: 36rem; margin: 14px auto 0; font-size: 17px; line-height: 1.55; color: #41474f; }
.dp-hero .mf-hero-in > .mf-az { margin-top: 22px; }
@media (min-width: 900px) {
  .mf-hero.dp-hero .mf-hero-in > h1 { max-width: 20ch; font-size: 60px; line-height: 1.04; }
  .dp-lead { font-size: 19px; }
}

/* rappresentanti: schede compatte */

/* sede e contatti accanto alla mappa */
.dp-righe { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.dp-righe li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; line-height: 1.45; color: #1a1c1e; overflow-wrap: anywhere; }
.dp-righe .mf-r-i { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: #005687; color: #fff; font-size: 20px; }
.dp-righe a { display: block; padding: 9px 0; color: #005687; font-size: 14px; font-weight: 700; line-height: 1.25; text-decoration: none; }
.dp-righe a:hover { text-decoration: underline; }

/* contatti del rappresentante: gli stessi pulsanti della pagina MIFT (email e Instagram) */

/* niente quadretti: la carta millimetrata e' solo della pagina MIFT, qui restano i simboli del campo */
.dp-hero::before { display: none; }

/* tema del dipartimento: icone del campo nell'intro, nelle etichette, nei divisori, sulle foto e nel finale */
.dp-hero { position: relative; isolation: isolate; overflow-x: clip; }
.dp-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.dp-bg em { position: absolute; font-style: normal; color: #1B6FA8; opacity: .15; animation: dp-fluttua 8s ease-in-out infinite alternate; }
@keyframes dp-fluttua { from { transform: translateY(-7px) rotate(-6deg); } to { transform: translateY(7px) rotate(6deg); } }
.dp-pagina .dp-kk::before { display: none; }
.dp-pagina .mf-sh .dp-kk { gap: 10px; }
.dp-ki { font-size: 20px; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #e3eefa; color: #005687; }
.dp-div { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; }
.dp-div::before, .dp-div::after { content: ""; flex: 1 1 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(27,111,168,0), rgba(27,111,168,.5)); }
.dp-div::after { background: linear-gradient(90deg, rgba(27,111,168,.5), rgba(27,111,168,0)); }
.dp-div .material-symbols-outlined { flex: none; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #1B6FA8; border-radius: 50%; background: #fff; color: #005687; font-size: 26px; box-shadow: 0 0 0 6px rgba(27,111,168,.12); }
.dp-cta-i { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 10px; border-radius: 16px; background: #fff; color: #005687; border: 1px solid #b9d3ea; }
@media (prefers-reduced-motion: reduce) { .dp-bg em { animation: none; } }

/* i simboli matematici dietro i titoli sono della pagina MIFT: qui non servono */
.dp-pagina .mf-sh::after { content: none !important; }
