/* Pagina del dipartimento di Scienze Veterinarie: "il libretto sanitario".
   Intro chiara con le impronte di zampa che compaiono una dopo l'altra, indice come libretto con la rilegatura e il timbro,
   sezioni come visite (Visita 1...), divisori con la zampa, finale come scheda di adozione.
   Si appoggia a mift.css e dipartimento.css. Prefisso vt-. */

/* la zampa e' il simbolo "pets" della stessa famiglia di icone usata nel sito */
.vt-zampa { font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; font-feature-settings: "liga"; -webkit-font-feature-settings: "liga"; font-variation-settings: 'FILL' 1; }

/* ---------- intro ---------- */
.mf-hero.vt-hero { position: relative; isolation: isolate; overflow: hidden; margin-bottom: 52px; color: #1a1c1e; text-align: left; background: #eaf3fb; }
.mf-hero.vt-hero::before { display: none; }
/* le impronte: una pista che attraversa la pagina, ogni orma compare e svanisce */
.vt-orma { position: absolute; z-index: -1; left: var(--x); top: var(--y); font-size: 34px; color: #1B6FA8; opacity: 0; transform: rotate(var(--r)); animation: vt-passo 8s ease-in-out infinite; animation-delay: var(--d); pointer-events: none; }
@keyframes vt-passo { 0%, 100% { opacity: 0; } 10%, 40% { opacity: .5; } 60% { opacity: 0; } }

.vt-in { max-width: 1280px; margin: 0 auto; padding: 44px 16px 60px; display: grid; gap: 34px; }
.vt-testo { align-self: center; }
.vt-pre { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #1B6FA8; }
.vt-pre::before { content: ""; width: 22px; height: 3px; background: #1B6FA8; }
.mf-hero.vt-hero .vt-testo h1 { max-width: 12ch; margin: 0; font-size: clamp(38px, 11vw, 54px); line-height: 1.02; letter-spacing: -.02em; color: #005687; text-wrap: balance; }
.mf-hero.vt-hero .vt-testo h1 em { color: #005687; font-style: normal; text-decoration: underline wavy; text-decoration-color: #1B6FA8; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.mf-hero.vt-hero .dp-lead { max-width: 30rem; margin: 20px 0 0; font-size: 17px; line-height: 1.55; color: #1a1c1e; }

/* ---------- il libretto: l'indice ---------- */
.vt-libretto-w { align-self: center; justify-self: center; width: 100%; max-width: 470px; }
.vt-libretto { position: relative; padding: 18px 18px 14px 58px; border: 2px solid #005687; border-radius: 6px 16px 16px 6px; background: #fff; box-shadow: 0 18px 36px rgba(0,60,100,.2); transform: rotate(-.8deg); }
/* la rilegatura con i fori */
.vt-libretto::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 38px; border-right: 2px solid #005687; background: #005687 radial-gradient(circle, #eaf3fb 0 5px, transparent 5.5px) 50% 0 / 38px 56px repeat-y; border-radius: 4px 0 0 4px; }
.vt-l-t { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #1B6FA8; }
.vt-l-s { margin: 2px 0 10px; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 21px; line-height: 1.15; color: #005687; }
.vt-l-dati { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0 0 8px; padding: 8px 0; border-top: 1px solid #c9dcee; border-bottom: 1px solid #c9dcee; font-size: 12px; }
.vt-l-dati div { display: grid; gap: 1px; }
.vt-l-dati dt { margin: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5c6670; }
.vt-l-dati dd { margin: 0; font-weight: 700; color: #005687; }
.vt-vis { list-style: none; margin: 0; padding: 0; }
.mf-pagina .vt-vis a, .vt-vis a { display: grid; grid-template-columns: 40px minmax(0, 1fr) 22px; align-items: center; gap: 10px; min-height: 56px; padding: 8px 4px; color: #1a1c1e; text-decoration: none; transition: background 150ms ease; }
.vt-vis li + li { border-top: 1px dotted #9ec0de; }
.vt-vis a:hover { background: #e3eefa; }
.vt-vis a:active { background: #cfe2f4; }
.vt-vis a:focus-visible { outline: 3px solid #005687; outline-offset: -3px; }
.vt-bol { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 2px dashed #1B6FA8; border-radius: 50%; background: #e3eefa; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 14px; color: #005687; }
.vt-vt { display: grid; gap: 1px; min-width: 0; }
.vt-vt b { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15.5px; line-height: 1.25; color: #005687; }
.vt-vt span { font-size: 13.5px; line-height: 1.4; color: #41474f; }
.vt-vis .material-symbols-outlined { font-size: 20px; color: #1B6FA8; transition: transform 150ms ease; }
.vt-vis a:hover .material-symbols-outlined { transform: translateX(3px); }
.vt-l-f { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 0; padding-top: 10px; border-top: 2px solid #005687; font-size: 13px; color: #41474f; }
.vt-l-f b { display: block; font-family: 'Poppins', sans-serif; font-size: 14px; color: #005687; }
.vt-visto { flex: none; padding: 5px 12px; border: 3px solid #1B6FA8; border-radius: 8px; color: #1B6FA8; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; transform: rotate(-8deg); opacity: .9; }

@media (min-width: 900px) {
  .vt-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; padding: 64px 40px 80px; }
  .mf-hero.vt-hero .vt-testo h1 { font-size: 68px; line-height: 1; }
  .mf-hero.vt-hero .dp-lead { font-size: 19px; }
  .vt-libretto-w { justify-self: end; }
}

/* ---------- sezioni come visite ---------- */
.dp-pagina .mf-sh .vt-kk { gap: 12px; color: #1B6FA8; }
.vt-tag { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px 0 10px; border-radius: 9999px; background: #005687; color: #fff; font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.vt-tag::before { content: "pets"; font-family: 'Material Symbols Outlined'; font-weight: normal; font-size: 17px; letter-spacing: normal; text-transform: none; color: #8fd0ff; font-feature-settings: "liga"; -webkit-font-feature-settings: "liga"; font-variation-settings: 'FILL' 1; }

/* ---------- divisori: orme ---------- */
.dp-div.vt-div { gap: 16px; }
.dp-div.vt-div::before, .dp-div.vt-div::after { height: 0; border-top: 5px dotted #1B6FA8; border-radius: 0; background: none; }
.vt-div span { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 2px solid #005687; border-radius: 50%; background: #fff; color: #005687; font-size: 26px; box-shadow: 0 0 0 5px #e3eefa; }

/* ---------- finale: la scheda di adozione ---------- */
.mf-cta.vt-cta { max-width: 860px; margin: 56px auto; padding: 32px 24px 28px; border: 2px dashed #005687; border-radius: 20px; background: #fff; text-align: center; }
.mf-cta.vt-cta .vt-fin { display: inline-flex; align-items: center; gap: 8px; margin: 0 auto 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #1B6FA8; }
.mf-cta.vt-cta h2 { max-width: 26ch; margin: 0 auto 12px; font-size: clamp(26px, 6.4vw, 38px); line-height: 1.1; color: #005687; text-wrap: balance; }
.mf-cta.vt-cta p:not(.vt-fin) { max-width: 34rem; margin: 0 auto 22px; font-size: 17px; line-height: 1.55; color: #1a1c1e; }
.vt-scheda { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 520px; margin: 0 auto 26px; border: 2px solid #005687; border-radius: 10px; overflow: hidden; text-align: left; }
.vt-scheda div { padding: 9px 14px 11px; background: #f4f9fe; border-left: 1px solid #c9dcee; }
.vt-scheda div:first-child { border-left: 0; }
.vt-scheda dt { margin: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5c6670; }
.vt-scheda dd { margin: 2px 0 0; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px; line-height: 1.25; color: #005687; }
.mf-cta.vt-cta .mf-az { justify-content: center; }
.mf-pagina .vt-cta .mf-btn-pieno { background: #005687; color: #fff; }
.mf-pagina .vt-cta .mf-btn-pieno:hover { background: #00466f; }
.mf-pagina .vt-cta .mf-btn-vuoto { background: #fff; color: #005687; border-color: #005687; }
.mf-pagina .vt-cta .mf-btn-vuoto:hover { background: #e3eefa; }
@media (max-width: 560px) { .vt-scheda { grid-template-columns: 1fr; } .vt-scheda div { border-left: 0; border-top: 1px solid #c9dcee; } .vt-scheda div:first-child { border-top: 0; } }
@media (max-width: 520px) { .mf-cta.vt-cta { padding: 28px 18px 24px; } .mf-cta.vt-cta .mf-az { flex-direction: column; } .mf-cta.vt-cta .mf-btn { width: 100%; } }

@media (max-width: 420px) {
  .vt-libretto { padding: 16px 14px 12px 50px; }
  .vt-libretto::before { width: 32px; background-size: 32px 56px; }
  .vt-vis a { grid-template-columns: 36px minmax(0, 1fr) 18px; gap: 8px; }
  .vt-l-s { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .vt-orma { animation: none; opacity: .3; }
  .vt-vis a, .vt-vis .material-symbols-outlined { transition: none; }
  .vt-vis a:hover .material-symbols-outlined { transform: none; }
}
