/*
 * Agorgi — Foires & expositions
 * Companion layer for agorgi-photos-descriptif v1.2.1; all rules are namespaced.
 */
body.agp-fe-single {
	--agp-fe-ink: var(--agp-ink, #111111);
	--agp-fe-copy: var(--agp-copy, #444444);
	--agp-fe-muted: var(--agp-grey, #858585);
	--agp-fe-rule: var(--agp-rule, #e4e4e4);
	--agp-fe-paper: #ffffff;
	--agp-fe-mat: #f3f2ef;
	--agp-fe-head: var(--agp-head, "Inter Tight", "Arial Narrow", Arial, sans-serif);
	--agp-fe-text: var(--agp-text, "Baskervville", Georgia, "Times New Roman", serif);
	background: var(--agp-fe-paper);
}

body.agp-fe-single #content > .agp-fe-container {
	box-sizing: border-box;
	width: 100%;
	max-width: 1660px !important;
	padding-right: clamp(20px, 5vw, 76px);
	padding-left: clamp(20px, 5vw, 76px);
}
body.agp-fe-single #primary.agp-fe-primary {
	float: none;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}
body.agp-fe-single #main.agp-fe-main {
	width: 100%;
	margin: 0;
}
body.agp-fe-single .site-content {
	padding-top: 0;
}

.agp-page.agp-page--foire-exposition,
.agp-page.agp-page--foire-exposition * {
	box-sizing: border-box;
}
.agp-page.agp-page--foire-exposition {
	--agp-ink: var(--agp-fe-ink);
	--agp-copy: var(--agp-fe-copy);
	--agp-grey: var(--agp-fe-muted);
	--agp-rule: var(--agp-fe-rule);
	color: var(--agp-fe-ink);
	font-family: var(--agp-fe-head);
	font-weight: 400;
	line-height: 1.55;
	margin: 0 auto;
	max-width: 1560px;
	padding: 30px 0 clamp(82px, 11vw, 150px);
}
.agp-page.agp-page--foire-exposition a {
	color: inherit;
}
.agp-page.agp-page--foire-exposition a:focus-visible,
.agp-fe-lightbox button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}
.agp-page.agp-page--foire-exposition .agp-evenement__wrap {
	max-width: 1560px;
	margin: 0 auto;
	padding: 0;
}
.agp-evenement__fil {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px 11px;
	margin: 0 0 clamp(30px, 5vw, 68px);
	color: var(--agp-fe-muted);
	font: 400 10px/1.5 var(--agp-fe-head);
	letter-spacing: .11em;
	text-transform: uppercase;
}
.agp-evenement__fil a {
	text-decoration: none;
	transition: color .25s ease;
}
.agp-evenement__fil a:hover { color: var(--agp-fe-ink); }
.agp-evenement__fil [aria-current="page"] {
	color: var(--agp-fe-ink);
	letter-spacing: .08em;
}

.agp-evenement__intro--droite {
	display: grid;
	grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
	align-items: start;
	gap: clamp(38px, 7.3vw, 116px);
}
.agp-evenement__colonne-visuelle {
	position: sticky;
	top: clamp(24px, 8vh, 94px);
	min-width: 0;
	align-self: start;
}
.agp-evenement__colonne-texte {
	min-width: 0;
	padding-top: clamp(0px, 2.6vw, 40px);
}
.agp-evenement__intro--sans-photo {
	display: block;
	max-width: 980px;
	margin-right: auto;
	margin-left: auto;
	padding: clamp(20px, 3vw, 45px) 0 clamp(12px, 2vw, 28px);
	border-top: 1px solid var(--agp-fe-rule);
}
.agp-evenement__intro--sans-photo .agp-evenement__colonne-texte {
	max-width: 880px;
	padding-top: 0;
}

.agp-evenement__visuel {
	position: relative;
	z-index: 0;
	margin: 0;
	padding: clamp(9px, 1.2vw, 18px);
	background: var(--agp-fe-mat);
	box-shadow: 0 12px 38px rgba(22, 20, 16, .055);
}
.agp-evenement__visuel--panoramique {
	padding: clamp(12px, 2vw, 30px);
	background: #f1f0ed;
}
.agp-evenement__image-lien {
	display: block;
	color: inherit;
	text-decoration: none;
}
.agp-evenement__media-stage {
	position: relative;
	display: flex;
	width: 100%;
	max-height: min(78vh, 900px);
	aspect-ratio: var(--agp-fe-ratio, 1.2);
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #ecebe8;
}
.agp-evenement__image {
	position: relative;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
}
.agp-evenement__visuel--panoramique .agp-evenement__media-stage {
	background: #e8e7e3;
}
.agp-evenement__visuel--panoramique .agp-evenement__image {
	object-fit: contain;
}
.agp-evenement__legende {
	margin: 11px 2px 0;
	color: var(--agp-fe-muted);
	font: 400 11px/1.55 var(--agp-fe-text);
	font-style: italic;
}

.agp-evenement__sur-titre,
.agp-evenement__section-kicker {
	margin: 0 0 13px;
	color: var(--agp-fe-muted);
	font: 450 10px/1.4 var(--agp-fe-head);
	letter-spacing: .16em;
	text-transform: uppercase;
}
.agp-evenement__titre {
	max-width: 16ch;
	margin: 0;
	color: var(--agp-fe-ink);
	font: 350 clamp(36px, 5vw, 68px)/.99 var(--agp-fe-head);
	letter-spacing: -.045em;
	text-wrap: balance;
}
.agp-evenement__sous-titre {
	max-width: 45ch;
	margin: 17px 0 0;
	color: #51504e;
	font: 400 clamp(18px, 1.8vw, 24px)/1.45 var(--agp-fe-text);
	font-style: italic;
}
.agp-evenement__date-ligne {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 26px 0 0;
	padding-bottom: 21px;
	border-bottom: 1px solid var(--agp-fe-rule);
	color: var(--agp-fe-copy);
	font: 400 12px/1.5 var(--agp-fe-head);
	letter-spacing: .08em;
	text-transform: uppercase;
}
.agp-evenement__date-ligne time { color: var(--agp-fe-ink); }

.agp-evenement__ancres {
	position: sticky;
	top: 18px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 12px 19px;
	margin: 25px 0 28px;
	padding: 11px 0 12px;
	border-bottom: 1px solid var(--agp-fe-rule);
	background: rgba(255, 255, 255, .96);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.agp-evenement__ancres-label {
	flex: 0 0 auto;
	color: var(--agp-fe-muted);
	font: 450 9px/1.4 var(--agp-fe-head);
	letter-spacing: .15em;
	text-transform: uppercase;
}
.agp-evenement__ancres ul {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.agp-evenement__ancres a {
	position: relative;
	color: var(--agp-fe-copy);
	font: 400 11px/1.5 var(--agp-fe-head);
	text-decoration: none;
	transition: color .2s ease;
}
.agp-evenement__ancres a::after {
	position: absolute;
	right: 0;
	bottom: -3px;
	left: 0;
	height: 1px;
	background: currentColor;
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}
.agp-evenement__ancres a:hover { color: var(--agp-fe-ink); }
.agp-evenement__ancres a:hover::after { transform: scaleX(1); }

.agp-evenement__description,
.agp-evenement__texte-long {
	max-width: 65ch;
	color: var(--agp-fe-copy);
	font: 400 16px/1.82 var(--agp-fe-text);
	text-wrap: pretty;
}
.agp-evenement__description p,
.agp-evenement__texte-long p {
	margin: 0 0 1.15em;
	color: inherit;
	font: inherit;
}
.agp-evenement__description > :last-child,
.agp-evenement__texte-long > :last-child { margin-bottom: 0; }
.agp-evenement__description a,
.agp-evenement__texte-long a {
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.agp-evenement__description blockquote,
.agp-evenement__texte-long blockquote {
	margin: 1.6em 0;
	padding-left: 1.2em;
	border-left: 1px solid var(--agp-fe-ink);
	font-size: 1.18em;
	font-style: italic;
}
.agp-evenement__description ul,
.agp-evenement__description ol,
.agp-evenement__texte-long ul,
.agp-evenement__texte-long ol {
	margin: 0 0 1.2em;
	padding-left: 1.3em;
}
.agp-evenement__infos {
	margin: 35px 0 0;
	padding: 0;
	border-top: 1px solid var(--agp-fe-rule);
}
.agp-evenement__info {
	display: grid;
	grid-template-columns: minmax(92px, .35fr) minmax(0, .65fr);
	gap: 12px 18px;
	padding: 13px 0;
	border-bottom: 1px solid var(--agp-fe-rule);
}
.agp-evenement__info dt {
	margin: 0;
	color: var(--agp-fe-muted);
	font: 450 10px/1.6 var(--agp-fe-head);
	letter-spacing: .09em;
	text-transform: uppercase;
}
.agp-evenement__info dd {
	margin: 0;
	color: var(--agp-fe-copy);
	font: 400 13px/1.6 var(--agp-fe-head);
	overflow-wrap: anywhere;
}
.agp-evenement__info dd a {
	text-decoration: none;
	text-underline-offset: 3px;
}
.agp-evenement__info dd a:hover { text-decoration: underline; }

.agp-evenement__visuel-large {
	margin: 0 0 clamp(36px, 5vw, 70px);
}
.agp-evenement--bas .agp-evenement__visuel-large .agp-evenement__visuel {
	width: 100%;
	padding: clamp(13px, 2.2vw, 34px);
}
.agp-evenement--bas .agp-evenement__visuel-large .agp-evenement__media-stage {
	max-height: min(78vh, 930px);
}
.agp-evenement__apres-visuel {
	padding-bottom: clamp(32px, 5vw, 70px);
	border-bottom: 1px solid var(--agp-fe-rule);
}
.agp-evenement__apres-visuel .agp-evenement__entete {
	margin-bottom: 0;
}
.agp-evenement__apres-visuel .agp-evenement__titre {
	max-width: 22ch;
	font-size: clamp(38px, 5.6vw, 76px);
}
.agp-evenement__resume-grid {
	display: grid;
	grid-template-columns: minmax(235px, .75fr) minmax(0, 1.25fr);
	align-items: start;
	gap: clamp(35px, 7vw, 118px);
	margin-top: 24px;
}
.agp-evenement__resume-grid--sans-cartouche { grid-template-columns: minmax(0, 1fr); }
.agp-evenement__cartouche {
	position: sticky;
	top: 34px;
	min-width: 0;
	padding: 4px 0 0;
}
.agp-evenement__cartouche .agp-evenement__infos {
	margin-top: 0;
}
.agp-evenement__description--vide { min-height: 1px; }
.agp-evenement__apres-visuel--sans-photo {
	max-width: 1200px;
	margin: 0 auto;
	padding-top: clamp(14px, 3vw, 42px);
}
.agp-evenement__apres-visuel--sans-photo .agp-evenement__resume-grid {
	grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr);
}
.agp-evenement__apres-visuel--sans-photo .agp-evenement__resume-grid--sans-cartouche {
	grid-template-columns: minmax(0, 1fr);
}

.agp-evenement__section {
	margin: clamp(64px, 10vw, 136px) 0 0;
	padding: 0;
	border: 0;
}
.agp-page.agp-page--foire-exposition .agp-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin: 0 0 clamp(24px, 3.3vw, 44px);
	padding: 0 0 16px;
	border-bottom: 1px solid var(--agp-fe-ink);
}
.agp-page.agp-page--foire-exposition .agp-section__head::after { display: none; }
.agp-page.agp-page--foire-exposition .agp-section__head h2 {
	max-width: 24ch;
	margin: 0;
	color: var(--agp-fe-ink);
	font: 350 clamp(27px, 3.4vw, 46px)/1.04 var(--agp-fe-head);
	letter-spacing: -.035em;
}
.agp-evenement__section-kicker { margin-bottom: 8px; }
.agp-evenement__texte-long {
	margin-left: min(24%, 320px);
}
.agp-evenement__photos {
	width: 100%;
}
.agp-evenement__galerie-fallback {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(12px, 1.5vw, 22px);
}
.agp-evenement__photo-card {
	margin: 0;
	min-width: 0;
}
.agp-evenement__photo-card > a {
	display: flex;
	min-height: 180px;
	aspect-ratio: 4 / 3;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #f2f1ee;
}
.agp-evenement__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.agp-evenement__photo-card figcaption {
	margin-top: 8px;
	color: var(--agp-fe-muted);
	font: 400 11px/1.5 var(--agp-fe-text);
	font-style: italic;
}
.agp-evenement__grille {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(20px, 2.6vw, 38px) clamp(13px, 1.7vw, 25px);
	margin: 0;
	padding: 0;
}
.agp-evenement__grille .agp-card {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}
.agp-evenement__grille .agp-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}
.agp-evenement__grille .agp-card__media {
	position: relative;
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #f4f3f0;
}
.agp-evenement__grille .agp-card__media--oeuvre { aspect-ratio: 4 / 3; }
.agp-evenement__grille .agp-card__media--artiste { aspect-ratio: 4 / 5; background: #efeeeb; }
.agp-evenement__grille .agp-card__img {
	position: relative;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform .5s cubic-bezier(.2,.65,.25,1);
}
.agp-evenement__grille .agp-card--artiste .agp-card__img { object-fit: cover; }
.agp-evenement__grille .agp-card--oeuvre .agp-card__img { padding: 5%; }
.agp-page.agp-page--foire-exposition .agp-survol__img {
	position: absolute !important;
	inset: 0;
	z-index: 1;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	opacity: 0;
	pointer-events: none;
	transition: opacity .7s ease, transform .7s cubic-bezier(.19,.6,.22,1);
}
.agp-page.agp-page--foire-exposition .agp-survol__img.is-on { opacity: 1; }
.agp-evenement__grille .agp-card__media .agp-survol__img { z-index: 1; }
.agp-evenement__grille .agp-card__link:hover .agp-card__img { transform: scale(1.025); }
.agp-evenement__grille .agp-card__body {
	display: block;
	padding: 12px 0 0;
}
.agp-evenement__grille .agp-card__title {
	display: block;
	color: var(--agp-fe-ink);
	font: 450 13px/1.45 var(--agp-fe-head);
	letter-spacing: .005em;
}
.agp-evenement__grille .agp-card__meta {
	display: block;
	margin-top: 4px;
	color: var(--agp-fe-muted);
	font: 400 11px/1.5 var(--agp-fe-text);
}
.agp-evenement__grille .agp-card__sans-image {
	display: flex;
	width: 100%;
	height: 100%;
	min-height: 160px;
	align-items: center;
	justify-content: center;
	padding: 20px;
	color: var(--agp-fe-muted);
	font: 400 13px/1.5 var(--agp-fe-text);
	font-style: italic;
	text-align: center;
}

body.agp-fe-lightbox-open { overflow: hidden; }
.agp-fe-lightbox {
	position: fixed;
	inset: 0;
	width: min(94vw, 1500px);
	max-width: min(94vw, 1500px);
	height: min(92vh, 1100px);
	max-height: min(92vh, 1100px);
	margin: auto;
	padding: 0;
	overflow: visible;
	border: 0;
	background: transparent;
	color: #fff;
}
.agp-fe-lightbox::backdrop { background: rgba(9, 9, 9, .94); }
.agp-fe-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.agp-fe-lightbox__inner {
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	padding: clamp(40px, 7vw, 84px) clamp(44px, 8vw, 110px) 56px;
}
.agp-fe-lightbox__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.agp-fe-lightbox__caption {
	position: absolute;
	bottom: 14px;
	left: 50%;
	max-width: 70ch;
	margin: 0;
	color: rgba(255,255,255,.82);
	font: 400 13px/1.45 var(--agp-fe-text);
	font-style: italic;
	text-align: center;
	transform: translateX(-50%);
}
.agp-fe-lightbox__close,
.agp-fe-lightbox__nav {
	position: absolute;
	z-index: 2;
	display: flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid rgba(255,255,255,.45);
	border-radius: 50%;
	background: rgba(0,0,0,.14);
	color: #fff;
	font: 300 28px/1 var(--agp-fe-head);
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease;
}
.agp-fe-lightbox__close:hover,
.agp-fe-lightbox__nav:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.agp-fe-lightbox__close { top: 14px; right: 18px; font-size: 31px; }
.agp-fe-lightbox__nav--prev { left: 8px; }
.agp-fe-lightbox__nav--next { right: 8px; }
.agp-fe-lightbox__nav[disabled] { opacity: .28; cursor: default; }

/* Le contenu reste visible sans JavaScript ; les transitions sont un supplément. */
.agp-page.agp-page--foire-exposition .agp-reveal {
	transition: opacity .55s ease-out, transform .55s cubic-bezier(.2,.65,.25,1);
}
.agp-page.agp-page--foire-exposition .agp-reveal.agp-attente { opacity: 0; transform: translateY(12px); }
@media (prefers-reduced-motion: reduce) {
	.agp-page.agp-page--foire-exposition *,
	.agp-fe-lightbox * {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	.agp-page.agp-page--foire-exposition .agp-reveal.agp-attente { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
	.agp-evenement__intro--droite {
		grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
		gap: clamp(28px, 4vw, 56px);
	}
	.agp-evenement__resume-grid { gap: clamp(26px, 4vw, 58px); }
	.agp-evenement__grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
	body.agp-fe-single #content > .agp-fe-container {
		padding-right: clamp(18px, 4vw, 32px);
		padding-left: clamp(18px, 4vw, 32px);
	}
	.agp-page.agp-page--foire-exposition { padding-top: 20px; }
	.agp-evenement__intro--droite {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}
	.agp-evenement__colonne-visuelle {
		position: relative;
		top: auto;
		max-width: 680px;
		margin: 0 auto;
	}
	.agp-evenement__colonne-texte { padding-top: 0; }
	.agp-evenement__intro--sans-photo { padding-top: 24px; }
	.agp-evenement__intro--sans-photo .agp-evenement__colonne-texte { max-width: 100%; }
	.agp-evenement__resume-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
	.agp-evenement__cartouche { top: 20px; }
	.agp-evenement__ancres { position: relative; top: auto; }
	.agp-evenement__texte-long { margin-left: min(12%, 110px); }
}
@media (max-width: 620px) {
	body.agp-fe-single #content > .agp-fe-container {
		padding-right: 18px;
		padding-left: 18px;
	}
	.agp-page.agp-page--foire-exposition { padding: 14px 0 80px; }
	.agp-evenement__fil { margin-bottom: 27px; font-size: 9px; }
	.agp-evenement__titre { max-width: 14ch; font-size: clamp(36px, 11vw, 54px); }
	.agp-evenement__sous-titre { margin-top: 12px; font-size: 19px; }
	.agp-evenement__visuel,
	.agp-evenement--bas .agp-evenement__visuel-large .agp-evenement__visuel { padding: 8px; }
	.agp-evenement__visuel--panoramique { padding: 10px !important; }
	.agp-evenement__media-stage { max-height: 70vh; }
	.agp-evenement__date-ligne { margin-top: 20px; padding-bottom: 16px; }
	.agp-evenement__ancres {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
		margin: 20px 0 23px;
		padding: 10px 0;
	}
	.agp-evenement__ancres ul { gap: 7px 15px; }
	.agp-evenement__ancres a { font-size: 10px; }
	.agp-evenement__description,
	.agp-evenement__texte-long { font-size: 16px; line-height: 1.75; }
	.agp-evenement__info { grid-template-columns: minmax(82px, .38fr) minmax(0, .62fr); gap: 8px 12px; }
	.agp-evenement__info dd { font-size: 12px; }
	.agp-evenement__visuel-large { margin-bottom: 32px; }
	.agp-evenement__apres-visuel .agp-evenement__titre { font-size: clamp(36px, 11vw, 56px); }
	.agp-evenement__resume-grid,
	.agp-evenement__apres-visuel--sans-photo .agp-evenement__resume-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 25px;
		margin-top: 24px;
	}
	.agp-evenement__cartouche { position: relative; top: auto; }
	.agp-evenement__section { margin-top: 74px; }
	.agp-page.agp-page--foire-exposition .agp-section__head { margin-bottom: 22px; }
	.agp-page.agp-page--foire-exposition .agp-section__head h2 { font-size: 30px; }
	.agp-evenement__texte-long { margin-left: 0; }
	.agp-evenement__galerie-fallback { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.agp-evenement__photo-card > a { min-height: 120px; }
	.agp-evenement__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
	.agp-evenement__grille .agp-card__title { font-size: 12px; }
	.agp-evenement__grille .agp-card__body { padding-top: 9px; }
	.agp-fe-lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; }
	.agp-fe-lightbox__inner { padding: 58px 38px 60px; }
	.agp-fe-lightbox__close { top: 8px; right: 10px; }
	.agp-fe-lightbox__nav--prev { left: 2px; }
	.agp-fe-lightbox__nav--next { right: 2px; }
}
