.agenda-content-wrapper {
	padding-top: 0;
}

.agenda-page {
	color: #331d35;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.agenda-section-heading h2 {
	margin: 0;
	color: #331d35;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
}

.agenda-eyebrow {
	margin: 0 0 0.5rem;
	color: #557c21;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.agenda-section {
	margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.regular-section {
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.weekly-highlight {
	display: grid;
	grid-template-columns: 5rem minmax(0, 1fr);
	gap: clamp(1rem, 3vw, 1.75rem);
	align-items: center;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid #d4e4bf;
	border-left: 8px solid #719b35;
	border-radius: 0.85rem;
	background: #eaf3df;
	box-shadow: 0 8px 24px rgb(52 78 28 / 11%);
}

.weekly-icon {
	display: grid;
	width: 5rem;
	aspect-ratio: 1;
	place-items: center;
	border: 1px solid rgb(255 255 255 / 75%);
	border-radius: 50%;
	color: #54752a;
	background: #fff;
	font-size: 2.2rem;
}

.weekly-frequency {
	margin: 0 0 0.35rem;
	color: #54752a;
	font-size: 0.85rem;
	font-weight: 750;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.weekly-frequency span {
	padding: 0 0.2rem;
	color: #88a966;
}

.weekly-content h2 {
	margin: 0;
	color: #302b31;
	font-size: clamp(1.45rem, 3vw, 2rem);
	font-weight: 750;
	line-height: 1.25;
}

.weekly-time {
	display: inline-flex;
	gap: 0.5rem;
	align-items: center;
	margin: 0.7rem 0 0;
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	color: #38551b !important;
	background: rgb(255 255 255 / 75%);
	font-size: clamp(1.05rem, 2.2vw, 1.3rem);
	font-weight: 750;
}

.weekly-time i {
	font-size: 0.95em;
}

.weekly-description {
	max-width: 52rem;
	margin: 0.75rem 0 0;
	color: #48434a;
	font-size: 1rem;
	line-height: 1.7;
}

.agenda-section-heading {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 1.25rem;
}

.agenda-count {
	margin: 0 0 0.2rem;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	color: #425f1d;
	background: #edf4e4;
	font-size: 0.9rem;
	font-weight: 650;
}

.agenda-event-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem;
}

.agenda-event-filter {
	display: inline-flex;
	gap: 0.3rem;
	padding: 0.35rem;
	border: 2px solid #c7d6b4;
	border-radius: 0.8rem;
	background: #f1f6e9;
	box-shadow: 0 3px 10px rgb(52 78 28 / 10%);
}

.agenda-event-filter a {
	padding: 0.65rem 1rem;
	border: 1px solid transparent;
	border-radius: 0.55rem;
	color: #405330;
	font-size: 0.9rem;
	font-weight: 750;
	text-decoration: none;
	white-space: nowrap;
}

.agenda-event-filter a:hover {
	border-color: #d6e2c6;
	color: #2d4518;
	background: #e5efd8;
}

.agenda-event-filter a.is-active {
	border-color: #496e1c;
	color: #fff;
	background: #557c21;
	box-shadow: 0 2px 5px rgb(38 59 18 / 22%);
}

.event-list {
	display: grid;
	gap: 1rem;
}

.event-card {
	display: grid;
	grid-template-columns: 8rem minmax(0, 1fr);
	gap: clamp(1rem, 2.5vw, 1.6rem);
	padding: clamp(1rem, 3vw, 1.5rem);
	border: 1px solid #e7e9e3;
	border-left: 5px solid #95bc54;
	border-radius: 0.75rem;
	background: #fff;
	box-shadow: 0 3px 12px rgb(35 42 28 / 5%);
}

.event-card.is-private {
	border-color: #e1e3e1;
	border-left-color: #aeb3ae;
	background: #fcfcfc;
}

.event-date {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 0.45rem;
	border-radius: 0.6rem;
	color: #3f5d1c;
	background: #f0f5e9;
	text-align: center;
}

.event-card.is-private .event-date {
	color: #686e69;
	background: #f0f1f0;
}

.event-date time {
	display: grid;
	gap: 0.2rem;
	justify-items: center;
	line-height: 1.2;
}

.event-weekday {
	font-size: 0.9rem;
	font-weight: 700;
}

.event-date .event-day {
	font-size: 1.85rem;
	font-weight: 750;
	line-height: 1;
}

.event-day {
	font-size: 1.8rem;
	font-weight: 750;
	line-height: 1;
}

.event-month {
	font-size: 0.88rem;
	font-weight: 650;
}

.event-year {
	font-size: 0.8rem;
	font-weight: 600;
}

.event-content {
	min-width: 0;
}

.event-calendar-menu {
	position: relative;
	display: inline-block;
}

.event-calendar-menu summary {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 0.8rem;
	border: 1px solid #d6e2c6;
	border-radius: 0.4rem;
	color: #38551b;
	background: #f7faf2;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	list-style: none;
}

.event-calendar-menu-icon {
	position: absolute;
	right: 0.35rem;
	bottom: 0.35rem;
}

.event-calendar-menu-icon summary {
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border-color: transparent;
	border-radius: 50%;
	color: #38551b !important;
	background: transparent;
	font-size: 1.05rem;
}

.event-calendar-menu-icon summary:hover,
.event-calendar-menu-icon summary:focus-visible {
	border-color: #d6e2c6;
	background: #fff;
}

.event-calendar-menu summary::marker {
	content: "";
}

.event-calendar-menu summary::-webkit-details-marker {
	display: none;
}

.event-calendar-menu summary:hover {
	border-color: #95bc54;
	background: #f0f5e9;
}

.event-calendar-menu-options {
	position: absolute;
	top: calc(100% + 0.3rem);
	left: 0;
	z-index: 10;
	display: grid;
	min-width: 10rem;
	padding: 0.3rem;
	border: 1px solid #d6e2c6;
	border-radius: 0.4rem;
	background: #fff;
	box-shadow: 0 3px 12px rgb(35 42 28 / 12%);
}

.event-calendar-menu-icon .event-calendar-menu-options {
	top: auto;
	right: auto;
	bottom: calc(100% + 0.3rem);
	left: 0;
}

.event-calendar-menu:not([open]) .event-calendar-menu-options {
	display: none;
}

.event-calendar-menu-options a {
	padding: 0.55rem 0.65rem;
	border-radius: 0.25rem;
	color: #38551b;
	font-size: 0.85rem;
	text-decoration: none;
}

.event-calendar-menu-options a:hover,
.event-calendar-menu-options a:focus {
	background: #f0f5e9;
}

.event-time {
	display: inline-flex;
	gap: 0.5rem;
	align-items: center;
	margin: 0.55rem 0 0;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	color: #38551b;
	background: #f0f5e9;
	font-size: 0.9rem;
	font-weight: 700;
}

.event-time i {
	font-size: 0.95em;
}

.event-card.is-private .event-time {
	color: #626863;
	background: #f0f1f0;
}

.event-visibility-badge {
	display: inline-block;
	margin: 0.55rem 0 0;
	padding: 0.3rem 0.65rem;
	border-radius: 999px;
	color: #76501b;
	background: #fff2d9;
	font-size: 0.78rem;
	font-weight: 700;
}

.event-location-badge {
	display: inline-block;
	margin: 0.55rem 0 0;
	padding: 0.3rem 0.65rem;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 700;
}

.event-location-badge.is-cabane {
	color: #4b6380;
	background: #edf2f8;
}

.event-location-badge.is-outside {
	color: #8b4b14;
	background: #fff0df;
}

.event-content h3,
.regular-card h3 {
	margin: 0;
	color: #302b31;
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	font-weight: 700;
	line-height: 1.4;
}

.event-description {
	margin: 0.65rem 0 0;
	color: #5b565d;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

.agenda-empty {
	margin: 0;
	padding: 1.25rem;
	border: 1px dashed #b7c99b;
	border-radius: 0.75rem;
	color: #514c53;
	background: #fbfcf9;
	line-height: 1.7;
}

.regular-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.regular-card {
	padding: clamp(1.2rem, 3vw, 1.75rem);
	border: 1px solid #e7e9e3;
	border-radius: 0.75rem;
	background: #fff;
	box-shadow: 0 3px 12px rgb(35 42 28 / 5%);
}

.regular-day {
	margin: 0 0 0.35rem;
	color: #557c21;
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
}

.regular-card h3 {
	margin-bottom: 0.9rem;
}

.regular-card p:not(.regular-day) {
	margin: 0.5rem 0 0;
	color: #5b565d;
	line-height: 1.7;
}

.agenda-page a:focus-visible {
	outline: 3px solid #42651b;
	outline-offset: 3px;
}

@media (max-width: 575.98px) {
	.agenda-section-heading {
		align-items: flex-start;
	}

	.agenda-event-controls {
		align-items: flex-start;
		justify-content: flex-start;
		flex-direction: column;
	}

	.agenda-event-filter a {
		padding: 0.55rem 0.7rem;
		font-size: 0.8rem;
	}

	.event-card {
		grid-template-columns: 5.25rem minmax(0, 1fr);
		gap: 0.7rem;
		padding: 0.9rem;
	}

	.event-date {
		padding: 0.6rem 0.25rem;
	}

	.event-weekday {
		font-size: 0.72rem;
	}

	.event-date .event-day {
		font-size: 1.7rem;
	}

	.event-month {
		font-size: 0.75rem;
	}

	.event-year {
		font-size: 0.7rem;
	}

	.weekly-highlight {
		grid-template-columns: 3.5rem minmax(0, 1fr);
		gap: 0.85rem;
		padding: 1rem;
		border-left-width: 6px;
	}

	.weekly-icon {
		width: 3.5rem;
		font-size: 1.6rem;
	}

	.weekly-frequency {
		font-size: 0.72rem;
		letter-spacing: 0.02em;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
	}
}
