/* Legacy directory, event cards and calendar; responsive rules follow the desktop rules. */
.wog-directory {
	font-family: Lato, Arial, sans-serif;
	color: #172e31;
}
.wog-search {
	display: flex;
	gap: 0.75rem;
	align-items: end;
	flex-wrap: wrap;
	margin: 0 0 1.5rem;
}
.wog-search label {
	display: flex;
	flex: 1 1 10rem;
	flex-direction: column;
	gap: 0.4rem;
	font-size: 0.85rem;
	font-weight: 700;
}
.wog-search input,
.wog-search select {
	min-height: 2.9rem;
	border: 1px solid #c6d5d6;
	border-radius: 0.25rem;
	background: #fff;
	padding: 0.65rem;
	color: #172e31;
	font: inherit;
}
.wog-primary {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 0.75rem;
	padding: 0.9rem 1.2rem;
	background: #267e80;
	border: 1px solid #267e80;
	border-radius: 0.25rem;
	color: white !important;
	font:
		700 0.95rem Lato,
		Arial,
		sans-serif;
	text-decoration: none !important;
	cursor: pointer;
}
.wog-primary:hover {
	background: #175e60;
}
.wog-directory a:focus-visible,
.wog-directory input:focus-visible,
.wog-directory select:focus-visible {
	outline: 3px solid #0e777a;
	outline-offset: 3px;
}
.wog-clear {
	padding: 0.8rem 0;
	color: #267e80;
	font-size: 0.85rem;
}
.wog-categories {
	display: flex;
	gap: 0.4rem;
	flex-wrap: wrap;
	margin-bottom: 1.25rem;
}
.wog-categories a {
	padding: 0.55rem 0.75rem;
	background: #e9f6f6;
	color: #23696c;
	border-radius: 0.15rem;
	text-decoration: none;
	font-size: 0.85rem;
}
.wog-categories a[aria-current],
.wog-categories a:hover {
	background: #267e80;
	color: #fff;
}
.wog-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid #dbe5e5;
	padding: 1rem 0;
}
.wog-toolbar p {
	margin: 0;
	color: #546b6e;
	font-size: 0.9rem;
}
.wog-views {
	display: flex;
	border: 1px solid #c6d5d6;
	border-radius: 0.25rem;
	overflow: hidden;
}
.wog-views a {
	padding: 0.55rem 0.8rem;
	text-decoration: none;
	color: #23696c;
	font-size: 0.85rem;
}
.wog-views a[aria-current] {
	background: #172e31;
	color: #fff;
}
.wog-results {
	display: grid;
	gap: 1.25rem;
}
.wog-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.wog-card {
	border: 1px solid #dbe5e5;
	background: white;
	border-radius: 0.4rem;
	overflow: hidden;
	min-width: 0;
}
.wog-card-image {
	display: block;
	aspect-ratio: 16/10;
	overflow: hidden;
	background: #111;
}
.wog-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s;
}
.wog-card-image:hover img {
	transform: scale(1.03);
}
.wog-card-copy {
	padding: 1.15rem;
}
.wog-card h3 {
	font-size: 1.15rem;
	line-height: 1.3;
	margin: 0.5rem 0;
}
.wog-card h3 a {
	color: #172e31;
	text-decoration: none;
}
.wog-card-copy p {
	font-size: 0.9rem;
	margin: 0.5rem 0;
}
.wog-card-date {
	font-size: 0.8rem !important;
	letter-spacing: 0.03em;
	color: #267e80;
	font-weight: 700;
}
.wog-category {
	font-size: 0.75rem;
	color: #546b6e;
}
.wog-no-image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: #71cbcf;
	font-size: 1.5rem;
	font-weight: 900;
	text-align: center;
	letter-spacing: 0.1em;
}
.wog-list {
	grid-template-columns: 1fr;
}
.wog-list .wog-card:not(.wog-elementor-card) {
	display: grid;
	grid-template-columns: 12rem 1fr;
}
.wog-list .wog-card-image {
	aspect-ratio: auto;
	min-height: 10rem;
}
.wog-list .wog-elementor-card {
	max-width: 100%;
}
.wog-empty {
	padding: 2rem;
	background: #eff8f8;
	border: 1px solid #d3e9e9;
	border-radius: 0.25rem;
	text-align: center;
	color: #456063;
}
.wog-pagination {
	display: flex;
	gap: 0.5rem;
	margin: 1.5rem 0;
	flex-wrap: wrap;
}
.wog-pagination a {
	padding: 0.5rem 0.8rem;
	border: 1px solid #c6d5d6;
	border-radius: 0.2rem;
	color: #23696c;
	text-decoration: none;
}
.wog-pagination a[aria-current] {
	background: #267e80;
	color: #fff;
}
.wog-month-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem 0 1.25rem;
}
.wog-month-nav h2 {
	font-size: 1.5rem;
	margin: 0;
}
.wog-month-nav > a {
	font-size: 1.5rem;
	text-decoration: none;
	color: #267e80;
	padding: 0.5rem 1rem;
}
.wog-month {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid #dbe5e5;
	background: #dbe5e5;
}
.wog-weekday {
	font-size: 0.8rem;
	font-weight: 700;
	padding: 0.75rem;
	text-align: center;
	background: #172e31;
	color: #fff;
}
.wog-day {
	min-height: 8rem;
	padding: 0.5rem;
	background: #fff;
	min-width: 0;
}
.wog-day > time {
	font-weight: 700;
	font-size: 0.85rem;
	display: block;
	margin-bottom: 0.5rem;
}
.wog-today {
	background: #e9f6f6;
}
.wog-placeholder {
	background: #f2f5f5;
}
.wog-calendar-event {
	display: block;
	padding: 0.4rem;
	background: #e9f6f6;
	border-left: 3px solid #267e80;
	font-size: 0.75rem;
	line-height: 1.35;
	margin-bottom: 0.4rem;
	color: #172e31;
	text-decoration: none;
	overflow-wrap: anywhere;
}
.wog-calendar-event span {
	display: block;
	color: #267e80;
	font-weight: 700;
}
.wog-mobile-date {
	display: none;
}
.wog-event-description p {
	margin: 0 0 1rem;
}
.wog-sidebar .wog-grid {
	grid-template-columns: 1fr;
}
.wog-sidebar .wog-card {
	margin-bottom: 0.75rem;
}
@media (max-width: 900px) {
	.wog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.wog-day {
		min-height: 6rem;
		padding: 0.25rem;
	}
	.wog-calendar-event {
		font-size: 0.7rem;
		padding: 0.25rem;
	}
}
@media (max-width: 600px) {
	.wog-search {
		gap: 0.65rem;
	}
	.wog-search label {
		flex-basis: 100%;
	}
	.wog-search .wog-primary {
		flex: 1;
	}
	.wog-grid {
		grid-template-columns: 1fr;
	}
	.wog-month {
		display: flex;
		flex-direction: column;
		background: transparent;
		border: 0;
		gap: 0.75rem;
	}
	.wog-weekday,
	.wog-placeholder,
	.wog-day-empty {
		display: none;
	}
	.wog-day {
		min-height: 0;
		border: 1px solid #dbe5e5;
		padding: 0.8rem;
	}
	.wog-day-number {
		display: none;
	}
	.wog-mobile-date {
		display: block;
	}
	.wog-calendar-event {
		font-size: 0.9rem;
		padding: 0.65rem;
	}
	.wog-list .wog-card:not(.wog-elementor-card) {
		grid-template-columns: 1fr;
	}
	.wog-list .wog-card-image {
		aspect-ratio: 16/10;
	}
	.wog-toolbar {
		gap: 0.5rem;
	}
	.wog-views a {
		padding: 0.5rem 0.65rem;
	}
}

/* Repeated Theme Builder cards load inside the page body, after Elementor's CSS pass. */
.wog-elementor-card .elementor > .e-flexbox-base {
	display: flex !important;
	flex-direction: column !important;
	padding: 0 !important;
	gap: 0 !important;
	font-family: Lato, Arial, sans-serif !important;
}
.wog-elementor-card .elementor > .e-flexbox-base > .e-image-link-base {
	display: block !important;
	width: 100% !important;
	flex: none !important;
	aspect-ratio: 16/10;
	overflow: hidden;
}
.wog-elementor-card .e-image-link-base img {
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: 16/10;
	object-fit: cover !important;
}
.wog-elementor-card .elementor > .e-flexbox-base > .e-flexbox-base {
	display: flex !important;
	flex-direction: column !important;
	padding: 1.15rem !important;
	gap: 0.65rem !important;
	min-width: 0 !important;
}
.wog-elementor-card h3 {
	font:
		800 1.1rem/1.35 Lato,
		Arial,
		sans-serif !important;
	margin: 0 !important;
	overflow-wrap: anywhere;
}
.wog-elementor-card h3 a {
	color: #172e31 !important;
	text-decoration: none !important;
}
.wog-elementor-card p {
	font:
		400 0.9rem/1.5 Lato,
		Arial,
		sans-serif !important;
	margin: 0 !important;
	color: #546b6e !important;
}
.wog-elementor-card p:first-child {
	font-size: 0.8rem !important;
	font-weight: 700 !important;
	color: #267e80 !important;
}
.wog-list .wog-elementor-card .elementor > .e-flexbox-base {
	flex-direction: row !important;
}
.wog-list .wog-elementor-card .elementor > .e-flexbox-base > .e-image-link-base {
	width: 12rem !important;
}
.wog-search button.wog-primary {
	background: #267e80 !important;
	color: #fff !important;
	border: 1px solid #267e80 !important;
	font:
		700 0.95rem Lato,
		Arial,
		sans-serif !important;
	padding: 0.9rem 1.2rem !important;
}
.wog-rich-content {
	font-family: Lato, Arial, sans-serif;
	line-height: 1.7;
}
.wog-rich-content > p {
	margin: 0 0 1rem;
}
@media (max-width: 600px) {
	.wog-list .wog-elementor-card .elementor > .e-flexbox-base {
		flex-direction: column !important;
	}
	.wog-list .wog-elementor-card .elementor > .e-flexbox-base > .e-image-link-base {
		width: 100% !important;
	}
}
