/*
Theme Name: OpenAgenda Demo
Description: Minimal Twenty Twenty-Five child theme to demo the OpenAgenda Base plugin: an agenda overview at /agenda/ with category filters, and event pages.
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: openagenda-demo
License: EUPL-1.2
*/

.oa-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-block: var(--wp--preset--spacing--30) var(--wp--preset--spacing--50);
	padding: 0;
	list-style: none;
}

.oa-chip {
	display: inline-block;
	padding: 0.25em 0.9em;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: var(--wp--preset--font-size--small);
	text-decoration: none;
}

.oa-chip.is-active {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--contrast);
}

.oa-event-details {
	font-size: var(--wp--preset--font-size--small);
}

.oa-event-details dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.25em 1em;
	margin: 0 0 var(--wp--preset--spacing--20);
}

.oa-event-details dt {
	font-weight: 600;
}

.oa-event-details dd {
	margin: 0;
}

.oa-event-details .oa-filters {
	margin-block: var(--wp--preset--spacing--20);
}

.oa-event-details.is-full {
	font-size: inherit;
}

.oa-event-details .oa-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-block: var(--wp--preset--spacing--40);
}
