.bre-calendar-wrap {
	position: relative;
	margin: 1.5rem 0;
}

.bre-calendar {
	min-height: 520px;
}

.bre-event-detail {
	margin-top: 1rem;
	padding: 1.25rem;
	border-top: 1px solid #d8dde3;
	background: #f7f8fa;
}

.bre-event-detail[hidden] {
	display: none;
}

.bre-event-detail__title {
	margin: 0 0 0.5rem;
	font-size: 1.35rem;
}

.bre-event-detail__meta {
	color: #4a5563;
	margin-bottom: 0.75rem;
}

.bre-event-detail__seasons {
	margin: -0.35rem 0 0.75rem;
	color: #3d4a5c;
}

.bre-event-detail__venue {
	margin: 0.75rem 0;
	padding: 0.85rem 1rem;
	background: #f7f8fa;
	border: 1px solid #d8dde3;
}

.bre-event-detail__address {
	color: #4a5563;
	margin-top: 0.25rem;
}

.bre-event-detail__map {
	display: block;
	width: 100%;
	max-width: 560px;
	height: 200px;
	margin-top: 0.75rem;
	border: 0;
	border-radius: 4px;
}

.bre-event-detail__featured {
	margin: 0.75rem 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 4px;
	background: #dfe5eb;
}

.bre-event-detail__featured img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bre-event-detail__fields {
	margin: 0.85rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.bre-event-detail__field {
	display: grid;
	grid-template-columns: minmax(5rem, 8rem) 1fr;
	gap: 0.35rem 0.75rem;
	margin: 0;
}

.bre-event-detail__field dt {
	margin: 0;
	font-weight: 700;
}

.bre-event-detail__field dd {
	margin: 0;
	color: #4a5563;
	white-space: pre-line;
}

.bre-event-detail__gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.75rem 0;
}

.bre-event-detail__gallery img {
	max-width: 140px;
	height: auto;
	border-radius: 4px;
}

.bre-event-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bre-event-list__item {
	padding: 0.85rem 0;
	border-bottom: 1px solid #e2e6eb;
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
}

.bre-event-list__media {
	flex: 0 0 96px;
}

.bre-event-list__media img {
	display: block;
	width: 96px;
	height: 72px;
	object-fit: cover;
	border-radius: 4px;
}

.bre-event-list__body {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	min-width: 0;
}

.bre-event-list__meta {
	color: #5b6570;
	font-size: 0.95rem;
}

.bre-slider {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.5rem;
	align-items: center;
	margin: 1.5rem 0;
}

.bre-slider__viewport {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.bre-slider__viewport::-webkit-scrollbar {
	display: none;
}

.bre-slider__track {
	display: flex;
	gap: 1rem;
}

.bre-slider__slide {
	flex: 0 0 min(340px, 85%);
	scroll-snap-align: start;
	background: #f7f8fa;
	border: 1px solid #d8dde3;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.bre-slider__image {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #dfe5eb;
}

.bre-slider__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bre-slider__content {
	padding: 1rem 1.1rem 1.15rem;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	flex: 1;
}

.bre-slider__title {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.3;
}

.bre-slider__title a {
	color: inherit;
	text-decoration: none;
}

.bre-slider__meta,
.bre-slider__excerpt {
	margin: 0;
	color: #5b6570;
	font-size: 0.95rem;
}

.bre-slider__cta {
	margin-top: 0;
	align-self: auto;
	font-weight: 600;
	color: #1e3a5f;
}

.bre-slider__actions,
.bre-event-list__actions,
.bre-event-detail__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
	margin-top: 0.5rem;
}

.bre-slider__actions {
	margin-top: auto;
}

.bre-rsvp-btn {
	display: inline-block;
	padding: 0.45rem 0.95rem;
	border: 0;
	border-radius: 4px;
	background: #1e3a5f;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.2;
}

.bre-rsvp-btn:hover {
	background: #152a45;
}

.bre-rsvp-closed {
	color: #5b6570;
	font-size: 0.9rem;
	font-weight: 600;
}

.bre-rsvp-modal[hidden] {
	display: none !important;
}

.bre-rsvp-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.bre-rsvp-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 35, 0.55);
}

.bre-rsvp-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 440px);
	max-height: calc(100vh - 2rem);
	overflow: auto;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 16px 40px rgba(15, 23, 35, 0.28);
}

.bre-rsvp-modal__close {
	position: absolute;
	top: 0.5rem;
	right: 0.65rem;
	z-index: 2;
	width: 2rem;
	height: 2rem;
	border: 0;
	border-radius: 4px;
	background: transparent;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: #4a5563;
}

.bre-rsvp-modal__close:hover {
	color: #1a2332;
	background: #eef1f5;
}

.bre-rsvp-form--modal {
	max-width: none;
	border: 0;
	margin: 0;
}

.bre-rsvp-form__event {
	margin: 0;
	color: #5b6570;
}

body.bre-rsvp-modal-open {
	overflow: hidden;
}

.bre-single-rsvp {
	margin-top: 1.5rem;
}

.bre-single {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin: 0.5rem 0 1.5rem;
}

.bre-single__main {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: start;
}

.bre-single--has-media .bre-single__main {
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

.bre-single__media {
	margin: 0;
}

.bre-single__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
}

.bre-single__meta {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin-bottom: 1rem;
	color: #4a5563;
}

.bre-single__meta p {
	margin: 0;
}

.bre-single__when {
	font-weight: 600;
	color: #1a2332;
}

.bre-single__dates-label {
	margin: 0 0 0.35rem;
	font-weight: 700;
	color: #1a2332;
}

.bre-single__dates ul {
	margin: 0;
	padding-left: 1.1rem;
}

.bre-single__dates li {
	margin: 0.2rem 0;
}

.bre-single__where a {
	color: inherit;
}

.bre-single__author {
	font-size: 0.95rem;
}

.bre-single__seasons {
	margin: 0.35rem 0 0;
	color: #3d4a5c;
}

.bre-single__description {
	line-height: 1.55;
}

.bre-single__description > *:first-child {
	margin-top: 0;
}

.bre-single__fields {
	margin: 1.25rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.bre-single__field {
	display: grid;
	grid-template-columns: minmax(6rem, 9rem) 1fr;
	gap: 0.5rem 1rem;
	margin: 0;
	padding: 0.65rem 0;
	border-top: 1px solid #e2e6eb;
}

@media (max-width: 520px) {
	.bre-single__field {
		grid-template-columns: 1fr;
		gap: 0.2rem;
	}
}

.bre-single__field dt {
	margin: 0;
	font-weight: 700;
	color: #1a2332;
}

.bre-single__field dd {
	margin: 0;
	color: #4a5563;
	line-height: 1.45;
	white-space: pre-line;
}

.bre-single__gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.25rem;
}

.bre-single__frame {
	display: block;
}

.bre-single--gallery-left .bre-single__frame,
.bre-single--gallery-right .bre-single__frame {
	display: grid;
	grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.35fr);
	gap: 1.5rem;
	align-items: start;
}

.bre-single--gallery-left.bre-single--has-media .bre-single__main,
.bre-single--gallery-right.bre-single--has-media .bre-single__main {
	grid-template-columns: 1fr;
}

.bre-photo {
	min-width: 0;
}

.bre-photo--top,
.bre-photo--bottom {
	margin: 0.25rem 0 1.25rem;
}

.bre-photo--bottom {
	margin: 1.25rem 0 0.25rem;
}

.bre-photo__item {
	margin: 0;
}

.bre-photo__open {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: #dfe5eb;
	cursor: zoom-in;
	border-radius: 8px;
	overflow: hidden;
}

.bre-photo__open img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bre-photo__tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 0.75rem;
}

.bre-photo__tiles .bre-photo__open {
	aspect-ratio: 1;
}

.bre-photo--slider {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.5rem;
	align-items: center;
}

.bre-photo__viewport {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.bre-photo__viewport::-webkit-scrollbar {
	display: none;
}

.bre-photo__track {
	display: flex;
	gap: 0.75rem;
}

.bre-photo--slider .bre-photo__item {
	flex: 0 0 min(72%, 520px);
	scroll-snap-align: start;
}

.bre-photo--slider .bre-photo__open {
	aspect-ratio: 16 / 10;
}

.bre-photo__nav {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	border: 1px solid #c5ccd4;
	background: #fff;
	color: #1a2332;
	font-size: 1.75rem;
	font-weight: 600;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

.bre-photo__nav--prev {
	padding-right: 0.1rem;
}

.bre-photo__nav--next {
	padding-left: 0.1rem;
}

.bre-photo__nav:hover {
	background: #1e3a5f;
	border-color: #1e3a5f;
	color: #fff;
}

.bre-photo__vscroll {
	height: min(68vh, 640px);
	overflow: hidden;
	border-radius: 8px;
	background: #f4f6f8;
}

.bre-photo__vtrack {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	will-change: transform;
}

.bre-photo--scroll .bre-photo__open {
	aspect-ratio: 4 / 3;
}

.bre-photo-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

.bre-photo-lightbox[hidden] {
	display: none !important;
}

.bre-photo-lightbox__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgba(15, 23, 35, 0.82);
	cursor: zoom-out;
}

.bre-photo-lightbox__frame {
	position: relative;
	z-index: 1;
	margin: 0;
	max-width: min(1100px, 100%);
	max-height: calc(100vh - 3rem);
}

.bre-photo-lightbox__frame img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 3rem);
	width: auto;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.bre-photo-lightbox__close {
	position: absolute;
	top: 0.4rem;
	right: 0.4rem;
	width: 2rem;
	height: 2rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

body.bre-photo-lightbox-open {
	overflow: hidden;
}

@media (max-width: 800px) {
	.bre-single--has-media .bre-single__main,
	.bre-single--gallery-left .bre-single__frame,
	.bre-single--gallery-right .bre-single__frame {
		grid-template-columns: 1fr;
	}

	.bre-photo--slider {
		grid-template-columns: 1fr;
	}

	.bre-photo__nav {
		display: none;
	}

	.bre-photo__vscroll {
		height: 70vh;
	}
}

.bre-single__rsvp {
	display: flex;
	justify-content: center;
	width: 100%;
	padding-top: 0.5rem;
	border-top: 1px solid #e2e6eb;
}

.bre-single__rsvp .bre-rsvp-form {
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
	text-align: left;
}

/* Theme featured image is rendered in our layout instead. */
body.bre-single-event .post-thumbnail,
body.bre-single-event .wp-block-post-featured-image,
body.bre-single-event .wp-post-image {
	display: none !important;
}

/* Hide theme author bylines when Show author is unchecked. */
body.bre-hide-author .byline,
body.bre-hide-author .author,
body.bre-hide-author .posted-by,
body.bre-hide-author .entry-author,
body.bre-hide-author .post-author,
body.bre-hide-author .meta-author,
body.bre-hide-author .wp-block-post-author,
body.bre-hide-author .wp-block-post-author-name,
body.bre-hide-author .wp-block-post-author-biography,
body.bre-hide-author .wp-block-post-author__name,
body.bre-hide-author .wp-block-post-author__content {
	display: none !important;
}

.bre-slider__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	margin: 0;
	border-radius: 999px;
	border: 1px solid #c5ccd4;
	background: #fff;
	color: #1a2332;
	font-size: 1.75rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	box-sizing: border-box;
}

.bre-slider__nav--prev {
	padding-right: 0.1rem;
}

.bre-slider__nav--next {
	padding-left: 0.1rem;
}

.bre-slider__nav:hover {
	background: #1e3a5f;
	border-color: #1e3a5f;
	color: #fff;
}

@media (max-width: 640px) {
	.bre-slider {
		grid-template-columns: 1fr;
	}

	.bre-slider__nav {
		display: none;
	}
}

.bre-event-list__desc,
.bre-slider__excerpt,
.bre-event-detail__desc {
	color: #5b6570;
	font-size: 0.95rem;
	line-height: 1.45;
	white-space: pre-line;
}

.bre-event-list__desc {
	margin-top: 0.35rem;
}

.bre-rsvp-form__closed-msg {
	margin: 0;
	color: #5b6570;
	font-weight: 600;
}

.bre-rsvp-form__deadline {
	margin: 0;
	color: #5b6570;
	font-size: 0.95rem;
}

.bre-rsvp-form--closed {
	opacity: 0.95;
}

.bre-rsvp-form {
	max-width: 420px;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.25rem;
	background: #f7f8fa;
	border: 1px solid #d8dde3;
}

.bre-rsvp-form label {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	font-weight: 600;
}

.bre-rsvp-form input,
.bre-rsvp-form textarea {
	font: inherit;
	padding: 0.5rem 0.65rem;
	border: 1px solid #c5ccd4;
	border-radius: 4px;
}

.bre-rsvp-form button {
	align-self: flex-start;
	padding: 0.55rem 1.1rem;
	border: 0;
	border-radius: 4px;
	background: #1e3a5f;
	color: #fff;
	cursor: pointer;
	font-weight: 600;
}

.bre-rsvp-form__message {
	margin: 0;
}

.bre-rsvp-form__message.is-error {
	color: #b32d2e;
}

.bre-rsvp-form__message.is-ok {
	color: #1a7a3c;
}

.bre-hp {
	position: absolute !important;
	left: -9999px !important;
	height: 0 !important;
	overflow: hidden !important;
}

.bre-empty {
	color: #5b6570;
}

.bre-season-page__body {
	margin-top: 0.25rem;
}

.bre-season-page__range {
	margin: 0 0 1rem;
}

.bre-season-page__events {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

a.bre-season-page__event {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.2em;
	min-width: min(100%, 12rem);
	text-align: center;
	text-decoration: none;
	line-height: 1.3;
}

.bre-season-page__when {
	font-size: 0.85em;
	font-weight: 500;
}

/*
 * Zero specificity so theme button styles win on block themes.
 * Classic themes still get a button drawn in the theme link color.
 */
:where(a.bre-season-page__event) {
	padding: 0.85em 1.15em;
	border: 1px solid currentColor;
	border-radius: 0.3em;
	background: color-mix(in srgb, currentColor 12%, transparent);
	font-weight: 600;
}

:where(a.bre-season-page__event:hover),
:where(a.bre-season-page__event:focus-visible) {
	background: currentColor;
	color: Canvas;
}
