/* Gravipack documents (modules/documents.php).
   1. [gp_documents]: rows with a title, one or two lines and a « Télécharger en PDF » button (the owner's
      « Kit presse » layout, review of 10 Nov 2026, also used for catalogues and guides).
   2. Guide page, media band: the guides made from the page stack in one column.
   Tokens and .gp-btn come from the theme (assets/css/main.css); both colour schemes and both worlds follow them. */

.gp-docs { margin-block: clamp(24px, 4vw, 48px); color: var(--ink); }
.gp-docs__title { margin: 0 0 clamp(18px, 2.5vw, 28px); font-size: clamp(1.9rem, 1.15rem + 2.7vw, 3.2rem); line-height: 1; }
.gp-docs__list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.gp-docs__row { display: grid; align-items: center; gap: 14px 24px; padding: 18px clamp(16px, 2.4vw, 28px); border: 2px solid color-mix(in srgb, var(--accent-ink) 55%, transparent); border-radius: var(--radius, 22px); background: var(--surface-1); }
.gp-docs__text { min-width: 0; }
.gp-docs__name { margin: 0; color: var(--ink); font-family: var(--font-display); font-size: clamp(1.05rem, .98rem + .35vw, 1.3rem); font-weight: 800; line-height: 1.15; letter-spacing: .01em; text-transform: uppercase; overflow-wrap: anywhere; }
.gp-docs__line { margin: 4px 0 0; color: var(--ink-2); line-height: 1.45; overflow-wrap: anywhere; }
.gp-docs__line a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.gp-docs__btn { justify-self: start; max-width: 100%; text-align: center; }
.gp-docs__size { font-weight: 600; letter-spacing: 0; text-transform: none; opacity: .8; }
@media (min-width: 720px) {
	.gp-docs__row { grid-template-columns: minmax(0, 1fr) auto; }
	.gp-docs__btn { justify-self: end; white-space: nowrap; }
}
@media (max-width: 479px) {
	.gp-docs__btn { width: 100%; }
}

/* Guide page: the theme lays the band's links in a row; with the four guides they read better as a column. */
.gp-gd-media__links--docs { flex-direction: column; align-items: stretch; }
.gp-gd-media__links--docs .gp-gd-doc__text { flex: 1; min-width: 0; } /* the arrow goes to the right edge of every row */
@media (min-width: 900px) {
	.gp-gd-media__links--docs { width: min(400px, 38vw); }
}
