/* Documenti precontrattuali: set informativi per linea */
.partners-list .partner-docs { grid-column: span 2; background: var(--navy); border-color: var(--navy); }
.partners-list .partner-docs a { color: var(--white); font-family: var(--display); font-size: 18px; letter-spacing: -.01em; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.partners-list .partner-docs a span { color: #ffb366; font-size: 22px; transition: transform .25s var(--ease); }
.partners-list .partner-docs a:hover span { transform: translateX(4px); }

.docs-section { background: var(--ice); border-top: 1px solid var(--line); }
.docs-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 90px); align-items: end; }
.docs-heading h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.12; font-weight: 700; text-wrap: balance; }
.docs-heading > p { color: var(--muted); font-size: 15px; line-height: 1.72; }
.docs-groups { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 14px; }
.docs-group { display: grid; grid-template-columns: 220px minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.docs-group-head { padding: 28px 26px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.docs-group-head span { color: var(--orange-dark); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.docs-group-head h3 { font-size: 30px; font-weight: 700; }
.docs-list { margin: 0; padding: 0; list-style: none; }
.docs-list li { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr) 96px auto; gap: 18px; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.docs-list li:last-child { border-bottom: 0; }
.doc-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.doc-name strong { font-family: var(--display); font-size: 17px; letter-spacing: -.015em; }
.doc-name span { color: var(--muted); font-size: 12px; }
.doc-scope { color: var(--ink); font-size: 13px; line-height: 1.5; }
.doc-edition { color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.doc-link { display: inline-flex; align-items: center; justify-content: center; min-width: 132px; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.doc-link svg { width: 16px; height: 16px; fill: none; stroke: var(--orange-dark); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.doc-link:hover, .doc-link:focus-visible { background: var(--orange); border-color: var(--orange); color: var(--white); }
.doc-link:hover svg, .doc-link:focus-visible svg { stroke: var(--white); }

@media (max-width: 980px) {
  .docs-heading { grid-template-columns: 1fr; align-items: start; }
  .docs-group { grid-template-columns: 1fr; }
  .docs-group-head { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 22px 18px; flex-direction: row; align-items: baseline; justify-content: space-between; }
  .docs-list li { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; padding: 16px 22px; }
  .doc-scope { grid-column: 1 / -1; grid-row: 2; }
  .doc-edition { grid-column: 1; grid-row: 3; }
  .doc-link { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
}
@media (max-width: 520px) {
  .partners-list .partner-docs { grid-column: 1 / -1; }
  .docs-group-head { flex-direction: column; gap: 6px; }
  .docs-list li { grid-template-columns: 1fr; }
  .doc-scope, .doc-edition, .doc-link { grid-column: 1; grid-row: auto; }
  .doc-link { justify-self: start; margin-top: 6px; }
}
