.nre-events,
.nre-single__body {
	width: min(1200px, calc(100% - 40px));
	margin-inline: auto;
}

.nre-events {
	padding-block: clamp(48px, 7vw, 88px);
}

.nre-events__toolbar {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 30px;
}

.nre-events__toolbar h2 { margin: 0; }

.nre-view-switch {
	display: inline-flex;
	padding: 4px;
	border: 1px solid #ccd3c7;
	border-radius: 999px;
	background: #fff;
}

.nre-view-switch__button {
	border: 0;
	border-radius: 999px;
	padding: 8px 17px;
	background: transparent;
	color: #25402d;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.nre-view-switch__button.is-active { background: #25402d; color: #fff; }
.nre-view-switch__button:focus-visible { outline: 3px solid #d4963b; outline-offset: 2px; }

.nre-event-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.nre-event-card {
	overflow: hidden;
	border: 1px solid #dfe4da;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 8px 25px rgba(32, 54, 37, .08);
}

.nre-event-card__image { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.nre-event-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.nre-event-card:hover .nre-event-card__image img { transform: scale(1.025); }
.nre-event-card__body { padding: 24px; }
.nre-event-card__date, .nre-single__eyebrow { margin: 0 0 8px; color: #657552; font-size: .82rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.nre-event-card__title { margin: 0 0 10px; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.nre-event-card__title a { color: #25402d; text-decoration: none; }
.nre-event-card__venue { margin: 0 0 10px; color: #566156; }
.nre-event-card__excerpt p { margin-block: 10px; }
.nre-event-card__link { display: inline-block; margin-top: 8px; font-weight: 800; }
.nre-status { display: inline-block; margin: 0 0 10px; padding: 3px 9px; border-radius: 4px; background: #9b2c2c; color: #fff; font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.nre-event-card--cancelled .nre-event-card__title { text-decoration: line-through; }
.nre-pagination { margin-top: 38px; text-align: center; }
.nre-pagination .page-numbers { display: inline-block; padding: 7px 10px; }

.nre-events__calendar {
	padding: clamp(14px, 3vw, 28px);
	border: 1px solid #dfe4da;
	border-radius: 10px;
	background: #fff;
}

.nre-events__calendar .fc { --fc-button-bg-color: #25402d; --fc-button-border-color: #25402d; --fc-button-hover-bg-color: #657552; --fc-button-hover-border-color: #657552; --fc-event-bg-color: #657552; --fc-event-border-color: #657552; --fc-today-bg-color: rgba(212,150,59,.12); }
.nre-calendar-event--cancelled { opacity: .65; text-decoration: line-through; }

.nre-single__hero { min-height: clamp(300px, 48vw, 600px); background-position: center; background-size: cover; }
.nre-single__body { padding-block: clamp(34px, 5vw, 62px); }
.nre-single__title { max-width: 900px; margin-bottom: clamp(28px, 4vw, 45px); }
.nre-single__title h1 { margin: 0 0 12px; color: #25402d; font-size: clamp(2.35rem, 5vw, 4.25rem); line-height: 1.04; }
.nre-single__date { margin: 0; font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 700; }
.nre-single__layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: clamp(35px, 7vw, 90px); align-items: start; }
.nre-single__content > :first-child { margin-top: 0; }
.nre-single__details { padding: 28px; border-radius: 10px; background: #f1f3ed; }
.nre-single__details h2 { margin-top: 0; font-size: 1.45rem; }
.nre-single__details dl { margin: 0; }
.nre-single__details dl div { padding-block: 14px; border-top: 1px solid #d7ddd1; }
.nre-single__details dt { margin-bottom: 4px; font-weight: 900; }
.nre-single__details dd { margin: 0; }
.nre-calendar-link { display: inline-block; margin-top: 18px; font-weight: 800; }
.nre-button { display: block; margin-top: 22px; padding: 13px 18px; border-radius: 4px; background: #25402d; color: #fff !important; font-weight: 900; text-align: center; text-decoration: none; }
.nre-registration { margin-top: 24px; padding-top: 20px; border-top: 1px solid #d7ddd1; }
.nre-registration h3, .nre-registration__price { margin: 0 0 12px; }
.nre-registration__price { font-size: 1.25rem; font-weight: 900; }
.nre-registration__form { display: flex; align-items: stretch; gap: 10px; }
.nre-registration__form .quantity .qty { width: 70px; height: 100%; }
.nre-registration__form .nre-button { flex: 1; margin: 0; border: 0; cursor: pointer; }
.nre-registration__account-note { margin: 10px 0 0; color: #606b60; font-size: .85rem; line-height: 1.4; }
.nre-registration__message { margin-bottom: 0; font-weight: 700; }
.nre-attendee-details { margin-top: clamp(40px, 6vw, 70px); padding: clamp(24px, 5vw, 45px); border: 1px solid #d7ddd1; border-radius: 10px; background: #f7f8f5; }
.nre-attendee-details h2 { margin-top: 0; }
.nre-account-events { display: grid; gap: 18px; }
.nre-account-event { padding: 20px; border: 1px solid #d7ddd1; border-radius: 8px; }
.nre-account-event h3, .nre-account-event p { margin: 0 0 8px; }
.nre-notice { margin-bottom: 35px; padding: 18px 22px; border-left: 5px solid #9b2c2c; background: #f8e8e8; }
.nre-notice p { margin: 5px 0 0; }
.nre-single__back { margin-top: 45px; }

@media (max-width: 850px) {
	.nre-event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nre-single__layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
	.nre-events, .nre-single__body { width: min(100% - 28px, 1200px); }
	.nre-single__hero { min-height: 280px; }
	.nre-events__toolbar { align-items: stretch; flex-direction: column; }
	.nre-view-switch { align-self: flex-start; }
	.nre-event-grid { grid-template-columns: 1fr; }
	.nre-events__calendar .fc-header-toolbar { align-items: stretch; flex-direction: column; gap: 10px; }
	.nre-events__calendar .fc-toolbar-chunk:nth-child(2) { order: -1; }
}
