#agenda.agenda-home {
	--agenda-status-soon: #2b704c;
	--agenda-status-waiting: #6f42c1;
	padding: clamp(4.5rem, 7vw, 7.5rem) 0;
	background: #f6f0e8;
	color: #281b12;
}

#agenda .agenda-home__layout {
	align-items: stretch;
	row-gap: 3rem;
}

#agenda .agenda-home__sidebar {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding-right: clamp(1rem, 3vw, 3.5rem);
}

#agenda .agenda-home__intro {
	max-width: 390px;
}

#agenda .agenda-home__intro .sup-title {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
	color: var(--color-primary, #bd3d1f);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.14em;
}

#agenda .agenda-home__intro .sup-title::before {
	display: block;
	width: 34px;
	height: 1px;
	background: currentColor;
	content: "";
}

#agenda .agenda-home__intro h2 {
	max-width: 430px;
	margin: 0 0 1.6rem;
	color: #281b12;
	font-family: "Playfair Display", serif;
	font-size: clamp(2.75rem, 4vw, 4.55rem);
	font-weight: 500;
	line-height: 1.04;
}

#agenda .agenda-home__intro p {
	max-width: 390px;
	margin: 0 0 1.2rem;
	color: #4f463e;
	font-size: 1.02rem;
	line-height: 1.7;
}

#agenda .agenda-home__highlights {
	display: grid;
	gap: 1rem;
	max-width: 390px;
	margin-top: auto;
	padding: 1.7rem;
	border-radius: 12px;
	background: rgb(255 255 255 / 46%);
}

#agenda .agenda-home__highlight {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0;
	color: #281b12;
	line-height: 1.4;
}

#agenda .agenda-home__highlight-icon {
	display: grid;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--color-primary, #bd3d1f);
	color: #fff;
	place-items: center;
}

#agenda .agenda-home__highlight-icon svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

#agenda .agenda-home__sessions {
	width: 100%;
}

#agenda .agenda-home__featured {
	display: grid;
	grid-template-columns: minmax(0, 48%) minmax(0, 52%);
	overflow: hidden;
	border: 1px solid rgb(40 27 18 / 18%);
	border-radius: 12px;
	background: rgb(255 255 255 / 38%);
}

#agenda .agenda-home__featured-media {
	position: relative;
	display: block;
	min-height: 405px;
	overflow: hidden;
	background: #d7c7b3;
}

#agenda .agenda-home__featured-image,
#agenda .agenda-home__featured-placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

#agenda .agenda-home__featured-image {
	object-fit: cover;
	transition: filter 350ms ease, transform 350ms ease;
}

#agenda .agenda-home__featured-placeholder {
	background: linear-gradient(135deg, rgb(189 61 31 / 22%), rgb(40 27 18 / 16%));
}

#agenda .agenda-home__featured-media:hover .agenda-home__featured-image,
#agenda .agenda-home__featured-media:focus-visible .agenda-home__featured-image {
	filter: brightness(1.04);
	transform: scale(1.025);
}

#agenda .agenda-home__featured-media:focus-visible,
#agenda .agenda-home__registration-button:focus-visible,
#agenda .agenda-home__upcoming-item:focus-visible {
	outline: 3px solid var(--color-primary, #bd3d1f);
	outline-offset: 3px;
}

#agenda .agenda-home__featured-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(2rem, 3vw, 3.25rem);
}

#agenda .agenda-home__featured-title {
	margin: 0 0 1.7rem;
	color: #281b12;
	font-family: "Playfair Display", serif;
	font-size: clamp(1.85rem, 2.35vw, 2.75rem);
	font-weight: 600;
	line-height: 1.15;
}

#agenda .agenda-home__featured-information {
	display: grid;
	gap: 1rem;
}

#agenda .agenda-home__information-row,
#agenda .agenda-home__featured-description,
#agenda .agenda-home__upcoming-row {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	margin: 0;
	color: #281b12;
	line-height: 1.55;
}

#agenda .agenda-home__icon {
	position: relative;
	display: block;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	color: #281b12;
}




#agenda .agenda-home__icon--time::before,
#agenda .agenda-home__icon--music::before,
#agenda .agenda-home__icon--location::before {
	 position: relative;
    top: 0;
    left: -6px;
    display: inline-block;
    width: 34px;
    height: 26px;
    margin-right: 0;
background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	content: "";}

#agenda .agenda-home__icon--music::before {
	background-image: url("https://www.pasunejam.be/wp-content/themes/pasunejam/assets/css/img/icon-notes-music.svg");
	
}
#agenda .agenda-home__icon--location::before {
	
	background-image: url("https://www.pasunejam.be/wp-content/themes/pasunejam/assets/css/img/icon-map.svg");
	
}

#agenda .agenda-home__icon--time::before {
	
	background-image: url("https://www.pasunejam.be/wp-content/themes/pasunejam/assets/css/img/icon-clock.svg");
	
}





#agenda .agenda-home__information-row strong,
#agenda .agenda-home__upcoming-row strong {
	display: block;
	font-weight: 600;
}

#agenda .agenda-home__information-row small,
#agenda .agenda-home__upcoming-row small {
	display: block;
	margin-top: 0.15rem;
	color: #665b51;
	font-size: 0.95em;
	line-height: 1.45;
}

#agenda .agenda-home__featured-description {
	margin-top: 1.4rem;
}

#agenda .agenda-home__registration-button {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	justify-content: center;
	gap: 0.65rem;
	min-height: 52px;
	margin-top: 1.7rem;
	padding: 0.9rem 1.45rem;
	border: 1px solid var(--color-primary, #bd3d1f);
	border-radius: 4px;
	background: var(--color-primary, #bd3d1f);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	transition: gap 180ms ease, background-color 180ms ease, transform 180ms ease;
}

#agenda .agenda-home__registration-button:hover {
	gap: 0.9rem;
	background: #963018;
	color: #fff;
	transform: translateY(-2px);
}

#agenda .agenda-home__registration-button--waiting {
	/*
	border-color: var(--agenda-status-waiting);
	background: var(--agenda-status-waiting);
	*/
}

#agenda .agenda-home__registration-button--waiting:hover {
	background: #59349c;
}

#agenda .agenda-home__upcoming {
	display: grid;
	gap: 0.45rem;
	margin-top: 0.75rem;
}

#agenda .agenda-home__upcoming-item {
	display: grid;
	grid-template-columns: 145px minmax(0, 1fr) 44px;
	align-items: stretch;
	overflow: hidden;
	border: 1px solid rgb(40 27 18 / 18%);
	border-radius: 10px;
	background: rgb(255 255 255 / 34%);
	color: #281b12;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

#agenda .agenda-home__upcoming-item:hover {
	border-color: rgb(189 61 31 / 45%);
	background: rgb(255 255 255 / 62%);
	color: #281b12;
	transform: translateX(3px);
}

#agenda .agenda-home__upcoming-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 105px;
	padding: 0.7rem 1rem;
	border-right: 1px solid rgb(40 27 18 / 16%);
	color: var(--color-primary, #bd3d1f);
	text-align: center;
	text-transform: uppercase;
}

#agenda .agenda-home__upcoming-weekday,
#agenda .agenda-home__upcoming-month,
#agenda .agenda-home__upcoming-year {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.25;
}

#agenda .agenda-home__upcoming-day {
	margin: 0 0 0.1rem 0;
	color: var(--color-dark-brown)!important;
	/*font-family: "Playfair Display", serif;*/
	font-size: 2.3rem;
	font-weight: 500;
	line-height: 1;
}

#agenda .agenda-home__upcoming-information {
	display: grid;
	align-content: center;
	gap: 0.55rem;
	padding: 1rem 1.5rem;
}

#agenda .agenda-home__upcoming-arrow {
	display: grid;
	align-items: center;
	justify-content: center;
	color: var(--color-primary, #bd3d1f);
	font-size: 2.2rem;
	line-height: 1;
}

#agenda .agenda-home__empty {
	margin: 0;
	padding: 2rem;
	border: 1px solid rgb(40 27 18 / 16%);
	border-radius: 10px;
	background: rgb(255 255 255 / 40%);
}

@media (max-width: 1199.98px) {
	#agenda .agenda-home__featured {
		grid-template-columns: minmax(0, 44%) minmax(0, 56%);
	}

	#agenda .agenda-home__featured-media {
		min-height: 430px;
	}

	#agenda .agenda-home__upcoming-item {
		grid-template-columns: 128px minmax(0, 1fr) 40px;
	}
}

@media (max-width: 991.98px) {
	#agenda .agenda-home__sidebar {
		padding-right: 0;
	}

	#agenda .agenda-home__intro,
	#agenda .agenda-home__intro p,
	#agenda .agenda-home__highlights {
		max-width: none;
	}

	#agenda .agenda-home__highlights {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin-top: 2.5rem;
	}

	#agenda .agenda-home__highlight {
		align-items: flex-start;
	}

	#agenda .agenda-home__featured {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 767.98px) {
	#agenda.agenda-home {
		padding: 4rem 0;
	}

	#agenda .agenda-home__highlights {
		grid-template-columns: 1fr;
	}

	#agenda .agenda-home__featured {
		grid-template-columns: 1fr;
	}

	#agenda .agenda-home__featured-media {
		min-height: 320px;
		aspect-ratio: 16 / 10;
	}

	#agenda .agenda-home__upcoming-item {
		grid-template-columns: 112px minmax(0, 1fr) 34px;
	}

	#agenda .agenda-home__upcoming-information {
		padding: 1rem;
	}
}

@media (max-width: 575.98px) {
	#agenda .agenda-home__intro h2 {
		font-size: 2.55rem;
	}

	#agenda .agenda-home__featured-content {
		padding: 1.6rem;
	}

	#agenda .agenda-home__featured-title {
		font-size: 2rem;
	}

	#agenda .agenda-home__registration-button {
		width: 100%;
	}

	#agenda .agenda-home__upcoming-item {
		grid-template-columns: 88px minmax(0, 1fr) 28px;
	}

	#agenda .agenda-home__upcoming-date {
		min-height: 118px;
		padding: 0.55rem;
	}

	#agenda .agenda-home__upcoming-day {
		font-size: 2rem;
	}

	#agenda .agenda-home__upcoming-information {
		font-size: 0.92rem;
	}

	#agenda .agenda-home__upcoming-row {
		gap: 0.6rem;
	}

	#agenda .agenda-home__icon {
		flex-basis: 20px;
		width: 20px;
		height: 20px;
	}
}

/* État d’une session à laquelle le participant connecté est déjà inscrit. */
#agenda .agenda-home__featured-media--registered {
	cursor: default;
}

#agenda .agenda-home__featured-media--registered:hover .agenda-home__featured-image {
	filter: none;
	transform: none;
}

#agenda .agenda-home__registration-status {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 0.7rem;
	margin: 1.7rem 0 0;
	padding: 0.85rem 1.1rem;
	border: 1px solid rgb(43 112 76 / 28%);
	border-radius: 4px;
	background: rgb(43 112 76 / 9%);
	color: #23613f;
	font-weight: 600;
	line-height: 1.4;
}

#agenda .agenda-home__registration-status-icon {
	display: grid;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #23613f;
	color: #fff;
	font-size: 0.85rem;
	line-height: 1;
	place-items: center;
}

#agenda .agenda-home__upcoming-item--registered {
	cursor: default;
	background: rgb(43 112 76 / 6%);
}

#agenda .agenda-home__upcoming-item--registered:hover {
	border-color: rgb(40 27 18 / 18%);
	background: rgb(43 112 76 / 6%);
	transform: none;
}

#agenda .agenda-home__upcoming-registered {
	position: relative;
    left: -50px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	padding: 0.5rem;
	color: #23613f;
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
}

#agenda .agenda-home__upcoming-registered > span:first-child {
	font-size: 1.1rem;
}

@media (max-width: 575.98px) {
	#agenda .agenda-home__registration-status {
		width: 100%;
	}

	#agenda .agenda-home__upcoming-registered > span:last-child {
		display: none;
	}
}

/* =========================================================
   SESSION COMPLÈTE
   ========================================================= */

#agenda .agenda-home__featured-media--closed {
	cursor: default;
}

#agenda .agenda-home__featured-media--closed:hover .agenda-home__featured-image {
	filter: none;
	transform: none;
}

#agenda .agenda-home__featured-status {
	align-self: flex-start;
	margin: 0 0 0.8rem;
	padding: 0.42rem 0.7rem;
	border-radius: 3px;
	background: var(--color-primary, #bd3d1f);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1;
	text-transform: uppercase;
}

#agenda .agenda-home__featured-status--soon {
	background: var(--agenda-status-soon);
}

/*
#agenda .agenda-home__featured-status--waiting {
	background: var(--agenda-status-waiting);
}

*/
#agenda .agenda-home__complete-ribbon {
	position: absolute;
	top: 28px;
	left: -48px;
	z-index: 2;
	display: block;
	width: 190px;
	padding: 0.58rem 1rem;
	background: var(--color-primary, #bd3d1f);
	box-shadow: 0 4px 12px rgb(40 27 18 / 18%);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	transform: rotate(-45deg);
	transform-origin: center;
}

#agenda .agenda-home__complete-ribbon--soon {
	left: -58px;
	width: 220px;
	background: var(--agenda-status-soon);
	font-size: 0.66rem;
}

#agenda .agenda-home__complete-ribbon--waiting {
	left: -58px;
	width: 220px;
	background: var(--agenda-status-waiting);
	font-size: 0.66rem;
}

#agenda .agenda-home__registration-button--disabled,
#agenda .agenda-home__registration-button--disabled:hover {
	gap: 0.65rem;
	border-color: #9a9289;
	background: #9a9289;
	color: #fff;
	cursor: not-allowed;
	transform: none;
}

#agenda .agenda-home__registration-contact {
	max-width: 34rem;
	margin: 0.9rem 0 0;
	color: #5c5148;
	font-size: 0.92rem;
	line-height: 1.55;
}

#agenda .agenda-home__registration-contact a,
#agenda .agenda-home__upcoming-contact a {
	color: var(--color-primary, #bd3d1f);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

#agenda .agenda-home__registration-contact a:hover,
#agenda .agenda-home__upcoming-contact a:hover {
	color: #963018;
}

#agenda .agenda-home__upcoming-item--closed {
	cursor: default;
	background: rgb(40 27 18 / 3%);
}

#agenda .agenda-home__upcoming-item--closed:hover {
	border-color: rgb(40 27 18 / 18%);
	background: rgb(40 27 18 / 3%);
	transform: none;
}

#agenda .agenda-home__upcoming-status {
		    background: var(--color-primary, #bd3d1f);
	color: #fff;
	padding: 0.35rem 0.55rem;

	display: inline-flex;
	justify-self: start;
	padding: 0.35rem 0.55rem;
	border-radius: 3px;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1;
	text-transform: uppercase;
}

#agenda .agenda-home__upcoming-status--closed {
	background: var(--color-primary, #bd3d1f);
	color: #fff;
}

#agenda .agenda-home__upcoming-status--soon {
	background: var(--agenda-status-soon);
	color: #fff;
}
/*
#agenda .agenda-home__upcoming-status--waiting {
	background: var(--agenda-status-waiting);
	color: #fff;
}
	*/

#agenda .agenda-home__upcoming-item--soon:hover {
	border-color: rgb(43 112 76 / 48%);
}

#agenda .agenda-home__upcoming-item--waiting:hover {
	border-color: rgb(111 66 193 / 48%);
}

#agenda .agenda-home__upcoming-contact {
	display: block;
	color: #665b51;
	font-size: 0.8rem;
	line-height: 1.35;
}

@media (max-width: 575.98px) {
	#agenda .agenda-home__complete-ribbon {
		top: 24px;
		left: -52px;
	}

	#agenda .agenda-home__complete-ribbon--soon {
		left: -62px;
	}

	#agenda .agenda-home__complete-ribbon--waiting {
		left: -62px;
	}

	#agenda .agenda-home__upcoming-contact {
		font-size: 0.76rem;
	}
}


/* Conserve le repère visuel « déjà inscrit·e » même si la session est complète. */
#agenda .agenda-home__upcoming-item--registered.agenda-home__upcoming-item--closed,
#agenda .agenda-home__upcoming-item--registered.agenda-home__upcoming-item--closed:hover {
	background: rgb(43 112 76 / 6%);
}
