.usal-sost-agenda {
	--sost-green: #006b45;
	--sost-green-soft: #eaf4ef;
	--sost-text: #17221e;
	--sost-muted: #66736d;
	width: 100%;
	max-width: 1220px;
	margin: 0 auto 40px;
	padding-inline: 24px;
	box-sizing: border-box;
	display: block;
	isolation: isolate;
	color: var(--sost-text);
	font-family: "Montserrat", "Segoe UI", sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: normal;
	text-align: left;
}

.usal-sost-agenda *,
.usal-sost-agenda *::before,
.usal-sost-agenda *::after {
	box-sizing: border-box;
}

.usal-sost-agenda__search-field {
	display: grid;
	gap: 7px;
	margin-bottom: 28px;
	color: var(--sost-green);
	font-size: 14px;
	font-weight: 700;
	font-family: inherit;
	line-height: 1.3;
	text-align: left;
}

.usal-sost-agenda .usal-sost-agenda__search {
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 0 15px;
	border: 1px solid #cfd9d4;
	border-radius: 12px;
	background: #fff;
	color: var(--sost-text);
	font: inherit;
	font-size: 15px;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	box-shadow: none;
	appearance: none;
}

.usal-sost-agenda .usal-sost-agenda__search:focus {
	border-color: var(--sost-green);
	outline: 2px solid rgba(0, 107, 69, .18);
	outline-offset: 1px;
}

.usal-sost-agenda__years {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: -12px 0 28px;
	padding: 0 0 4px;
	overflow-x: auto;
	color: var(--sost-text);
	font-family: inherit;
	white-space: nowrap;
}

.usal-sost-agenda__years-label {
	margin-right: 4px;
	font-size: 13px;
	font-weight: 700;
}

.usal-sost-agenda .usal-sost-agenda__year-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 58px;
	min-height: 36px;
	margin: 0;
	padding: 7px 14px;
	border: 1px solid #cfd9d4;
	border-radius: 999px;
	background: #fff;
	color: var(--sost-text);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	box-shadow: none;
	cursor: pointer;
}

.usal-sost-agenda .usal-sost-agenda__year-button:hover,
.usal-sost-agenda .usal-sost-agenda__year-button:focus-visible {
	border-color: var(--sost-green);
	outline: none;
}

.usal-sost-agenda .usal-sost-agenda__year-button.is-active {
	border-color: var(--sost-green);
	background: var(--sost-green);
	color: #fff;
}

.usal-sost-agenda__empty {
	margin: 0;
	padding: 20px 0;
	color: var(--sost-muted);
	font: inherit;
	text-align: center;
}

.usal-sost-agenda__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
}

.usal-sost-agenda-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid #dbe4df;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 8px 22px rgba(16, 45, 35, .06);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	color: var(--sost-text);
	font: inherit;
	text-align: left;
}

.usal-sost-agenda-card[hidden] {
	display: none;
}

.usal-sost-agenda-card:hover,
.usal-sost-agenda-card:focus-within {
	transform: translateY(-3px);
	border-color: #9ec6b5;
	box-shadow: 0 16px 32px rgba(16, 45, 35, .12);
}

.usal-sost-agenda .usal-sost-agenda-card__open {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	min-height: 0;
	margin: auto 0 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--sost-green);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	text-align: left;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
}

.usal-sost-agenda .usal-sost-agenda-card__open:hover,
.usal-sost-agenda .usal-sost-agenda-card__open:focus {
	color: #004f34;
	text-decoration: underline;
}

.usal-sost-agenda-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #eef4f1;
}

.usal-sost-agenda-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0 !important;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.usal-sost-agenda-card__image-empty {
	color: var(--sost-muted);
	font-size: 13px;
	font-family: inherit;
	line-height: 1.3;
}

.usal-sost-agenda-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 18px;
}

.usal-sost-agenda-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	color: var(--sost-muted);
	font-size: 12px;
	font-family: inherit;
	line-height: 1.2;
}

.usal-sost-agenda-card__type {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--sost-green-soft);
	color: var(--sost-green);
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.usal-sost-agenda .usal-sost-agenda-card__title {
	margin: 0;
	color: var(--sost-text);
	font-size: clamp(18px, 1.5vw, 22px);
	font-family: inherit;
	font-style: normal;
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: normal;
	text-wrap: balance;
	overflow-wrap: break-word;
}

.usal-sost-agenda-card__excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--sost-muted);
	font-size: 14px;
	font-family: inherit;
	font-style: normal;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: normal;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow-wrap: break-word;
}

.usal-sost-agenda-modal[hidden] {
	display: none;
}

.usal-sost-agenda-modal {
	position: fixed;
	top: var(--usal-sost-modal-top, 0px);
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 28px;
}

.usal-sost-agenda-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(9, 18, 14, .74);
}

.usal-sost-agenda-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(1080px, 100%);
	height: min(720px, calc(100% - 56px));
	max-height: calc(100% - 56px);
	overflow: hidden;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 28px 80px rgba(0, 0, 0, .3);
	color: var(--sost-text);
	font: inherit;
	text-align: left;
}

.usal-sost-agenda .usal-sost-agenda-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 10;
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(18, 29, 24, .82);
	color: #fff;
	font-size: 25px;
	font-family: inherit;
	font-weight: 400;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	pointer-events: auto;
	appearance: none;
}

.usal-sost-agenda .usal-sost-agenda-modal__close:hover,
.usal-sost-agenda .usal-sost-agenda-modal__close:focus-visible {
	background: #17221e;
	color: #fff;
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.usal-sost-agenda-modal__target,
.usal-sost-agenda-modal__layout {
	width: 100%;
	height: 100%;
	min-height: 0;
}

.usal-sost-agenda-modal__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(340px, .8fr);
}

.usal-sost-agenda-modal__layout--no-image {
	grid-template-columns: 1fr;
}

.usal-sost-agenda-modal__media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
	background: #0d1713;
}

.usal-sost-agenda-modal__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	margin: 0 !important;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.usal-sost-agenda-modal__panel {
	display: flex;
	min-width: 0;
	min-height: 0;
	flex-direction: column;
	overflow: auto;
	background: #fff;
}

.usal-sost-agenda-modal__header {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 11px;
	padding: 17px 64px 17px 20px;
	border-bottom: 1px solid #e7ece9;
	background: #fff;
	opacity: 1;
}

.usal-sost-agenda-modal__avatar {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--sost-green);
	color: #fff;
	font-weight: 800;
}

.usal-sost-agenda-modal__header div {
	display: grid;
	gap: 2px;
}

.usal-sost-agenda-modal__header strong {
	display: block;
	margin: 0;
	padding: 0;
	color: var(--sost-text);
	font-size: 14px;
	font-family: inherit;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: normal;
}

.usal-sost-agenda-modal__header div span {
	display: block;
	margin: 0;
	color: var(--sost-muted);
	font-size: 12px;
	font-family: inherit;
	line-height: 1.2;
}

.usal-sost-agenda-modal__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	padding: 22px;
}

.usal-sost-agenda .usal-sost-agenda-modal__body h3 {
	margin: 0;
	color: var(--sost-text);
	font-size: 22px;
	font-family: inherit;
	font-style: normal;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: normal;
	text-wrap: balance;
	overflow-wrap: break-word;
}

.usal-sost-agenda-modal__body > time {
	display: block;
	margin: 0;
	color: var(--sost-muted);
	font-size: 12px;
	font-family: inherit;
	line-height: 1.3;
}

.usal-sost-agenda-modal__content {
	color: #34413b;
	font-size: 15px;
	font-family: inherit;
	font-style: normal;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: normal;
	text-align: left;
	overflow-wrap: break-word;
}

.usal-sost-agenda-modal__content p {
	margin: 0 0 1em;
	padding: 0;
	color: inherit;
	font: inherit;
	text-wrap: pretty;
}

.usal-sost-agenda-modal__content :where(h1, h2, h3, h4, h5, h6) {
	margin: 1em 0 .5em;
	padding: 0;
	color: var(--sost-text);
	font-family: inherit;
	font-style: normal;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: normal;
	text-wrap: balance;
}

.usal-sost-agenda-modal__content :where(ul, ol) {
	margin: 0 0 1em 1.25em;
	padding: 0;
}

.usal-sost-agenda-modal__content :where(a, a:visited) {
	color: var(--sost-green);
	text-decoration: underline;
}

.usal-sost-agenda-modal__content img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 1em auto !important;
	border: 0;
	box-shadow: none;
}

.usal-sost-agenda .usal-sost-agenda-modal__link,
.usal-sost-agenda .usal-sost-agenda-modal__link:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	margin-top: auto;
	padding: 10px 16px;
	border: 1px solid var(--sost-green);
	border-radius: 999px;
	background: var(--sost-green);
	color: #fff;
	font-weight: 700;
	font-family: inherit;
	font-style: normal;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	box-shadow: none;
}

.usal-sost-agenda .usal-sost-agenda-modal__link:hover,
.usal-sost-agenda .usal-sost-agenda-modal__link:focus {
	background: #fff;
	color: var(--sost-green);
	text-decoration: none;
}

.usal-sost-agenda-modal-open {
	overflow: hidden;
}

@media (max-width: 900px) {
	.usal-sost-agenda__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.usal-sost-agenda-modal__dialog {
		width: min(680px, 100%);
	}

	.usal-sost-agenda-modal__layout {
		grid-template-columns: 1fr;
		grid-template-rows: minmax(220px, 44%) minmax(0, 1fr);
	}

	.usal-sost-agenda-modal__layout--no-image {
		grid-template-rows: 1fr;
	}
}

@media (max-width: 600px) {
	.usal-sost-agenda {
		padding-inline: 14px;
	}

	.usal-sost-agenda__grid {
		grid-template-columns: 1fr;
	}

	.usal-sost-agenda-modal {
		padding: 10px;
	}

	.usal-sost-agenda-modal__dialog {
		height: calc(100% - 20px);
		max-height: calc(100% - 20px);
		border-radius: 14px;
	}

	.usal-sost-agenda-modal__body {
		padding: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.usal-sost-agenda-card {
		transition: none;
	}
}
