/* Emerald Meadows Meetings: front-end and editor styles.
   Colors fall back to design A if the theme presets are missing. */

.em-meetings {
	--em-green: var(--wp--preset--color--forest, #1e4d2b);
	--em-tint: var(--wp--preset--color--meadow-tint, #eaf1e4);
	--em-ink: var(--wp--preset--color--ink, #1a2e20);
	--em-muted: var(--wp--preset--color--muted, #4a5a4f);
	--em-link: var(--wp--preset--color--link, #1e5c30);
	margin: 0;
	padding: 0;
}

.em-meetings--next {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.em-meetings__more {
	margin: 4px 0 0;
}

.em-meetings__more a {
	color: inherit;
	font-weight: 700;
}

.em-meetings--list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.em-meeting {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 32px;
	background: #fff;
	color: var(--em-ink);
	border-radius: 8px;
	padding: 20px 24px;
}

.em-meetings--list .em-meeting {
	border: 1px solid #dde3da;
}

.em-meeting__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 88px;
	padding: 10px 14px;
	border-radius: 8px;
	background: var(--em-tint);
	color: var(--em-green);
	line-height: 1.2;
}

.em-meeting__month {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.em-meeting__day {
	font-family: var(--wp--preset--font-family--heading, Georgia, serif);
	font-weight: 900;
	font-size: 34px;
	line-height: 1.1;
}

.em-meeting__year {
	font-size: 14px;
	font-weight: 700;
}

.em-meeting__body {
	flex: 1 1 260px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.em-meeting__body p {
	margin: 0;
}

.em-meeting__title {
	font-family: var(--wp--preset--font-family--heading, Georgia, serif);
	font-weight: 700;
	font-size: 22px;
	color: var(--em-ink);
}

.em-meeting__when,
.em-meeting__where {
	font-size: 19px;
}

.em-meeting__notes {
	color: var(--em-muted);
	font-size: 17px;
}

.em-meeting__link {
	color: var(--em-link);
	font-weight: 700;
}

.em-meetings-empty {
	margin: 0;
	background: #fff;
	color: var(--em-ink);
	border-radius: 8px;
	padding: 20px 24px;
}

.em-meetings .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
