/*
 * Page d'œuvre : Fiche d'œuvre seule (à droite de l'image), bouton et fenêtre de réservation.
 * Inspiré de l'ancienne page (capture Wayback du 2026-05-16) : artiste en grand, puis détails.
 */

.artotheque-fiche--seule {
	border-top: 0;
	margin-top: 1.2em; /* v0.4.1 : espace sous le titre de l'œuvre (était 0). */
	padding-top: 0;
	font-size: 1rem;
}

.artotheque-fiche--seule .artotheque-fiche__artiste {
	margin-bottom: 0.8em !important;
	font-size: 1.6rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

.artotheque-fiche--seule .artotheque-fiche__emplacement {
	margin-top: 0.8em !important;
}

.artotheque-fiche__reserver {
	margin-top: 1.8em !important;
}

.artotheque-fiche__bouton {
	padding: 0.8em 1.6em;
	border: 1px solid currentColor;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}

.artotheque-fiche__bouton:hover,
.artotheque-fiche__bouton:focus-visible,
.artotheque-fiche__bouton[aria-expanded="true"] {
	color: #fff;
	background: #111;
	border-color: #111;
}

/* Fenêtre de réservation d'AG : cachée tant qu'on n'a pas cliqué sur le bouton. */
#ag-enquiry.artotheque-reservation {
	display: none;
	margin-top: 1.5em;
	padding: 1.5em;
	border: 1px solid #e0e0e0;
}

#ag-enquiry.artotheque-reservation.est-ouverte {
	display: block;
}

/* v0.4.1 : AG répète l'objet de la demande sous le champ ; le champ suffit. */
#ag-enquiry.artotheque-reservation #ag-displaytext {
	display: none;
}

#ag-enquiry.artotheque-reservation .modal-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-direction: row-reverse;
	gap: 1em;
}

#ag-enquiry.artotheque-reservation .modal-title {
	margin: 0 0 1em;
	font-size: 1rem;
	font-weight: 400;
}

#ag-enquiry.artotheque-reservation .close {
	padding: 0 0.4em;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

#ag-enquiry.artotheque-reservation input[type="text"],
#ag-enquiry.artotheque-reservation input[type="email"],
#ag-enquiry.artotheque-reservation textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 0.6em;
	border: 1px solid #ccc;
	font: inherit;
}

#ag-enquiry.artotheque-reservation textarea {
	min-height: 8em;
}

#ag-enquiry.artotheque-reservation input[type="submit"] {
	padding: 0.8em 1.6em;
	border: 0;
	background: #111;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
