/* Site public : documents joints à une actualité (VSG Actualités). */
.vsg-actu-docs { display: grid; gap: 16px; margin: 12px 0 24px; }
.vsg-actu-doc { margin: 0; }

/* PDF : image de la 1re page + titre, poids et bouton. */
.vsg-actu-doc--pdf { display: flex; align-items: center; gap: 20px; padding: 14px; border: 1px solid #dcdde3; border-radius: 6px; background: #fff; }
.vsg-actu-doc__cover { flex: 0 0 140px; line-height: 0; }
.vsg-actu-doc__cover img { display: block; width: 140px; height: auto; border: 1px solid #e3e4e8; box-shadow: 0 2px 6px rgba(32, 43, 93, .15); transition: transform .15s ease; }
.vsg-actu-doc__cover:hover img, .vsg-actu-doc__cover:focus img { transform: translateY(-2px); }
.vsg-actu-doc__info { min-width: 0; }
.vsg-actu-doc__info p { margin: 0 0 6px; }
.vsg-actu-doc__title { font-weight: 600; overflow-wrap: anywhere; }
.vsg-actu-doc__title a { text-decoration: none; }
.vsg-actu-doc__meta { font-size: .9em; opacity: .75; }
.vsg-actu-docs a.vsg-actu-doc__button { display: inline-block; margin-top: 4px; padding: 8px 16px; border-radius: 4px; background: #202B5D; color: #fff; font-weight: 600; text-decoration: none; }
.vsg-actu-docs a.vsg-actu-doc__button:hover, .vsg-actu-docs a.vsg-actu-doc__button:focus { background: #343f75; color: #fff; }

/* Image (affiche) : affichée en entier. */
/* Le thème met les images du texte à 100 % de large : une affiche verticale ferait plus de 1000 px de haut.
   On garde la largeur pour une affiche horizontale et on limite la hauteur d'une affiche verticale. */
.vsg-actu-docs figure.vsg-actu-doc--image img { display: block; width: auto !important; max-width: 100% !important; height: auto !important; max-height: min(720px, 85vh); border: 1px solid #e3e4e8; }

@media (max-width: 520px) {
	.vsg-actu-doc--pdf { gap: 14px; }
	.vsg-actu-doc__cover { flex-basis: 96px; }
	.vsg-actu-doc__cover img { width: 96px; }
}
