.afu-events-list {
	display: grid;
	gap: 18px;
	width: 100%;
	max-width: 100%;
}

.afu-events-list--all {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.afu-events-list--all .afu-events-list__heading {
	grid-column: 1 / -1;
}

.afu-events-list__load-more-wrap {
	display: flex;
	justify-content: center;
	grid-column: 1 / -1;
	margin-top: 8px;
}

.afu-events-list__load-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 160px;
	padding: 15px 26px;
	border: 1px solid #12203a;
	border-radius: 999px;
	background: #12203a;
	color: #ffffff;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}

.afu-events-list__load-more:hover,
.afu-events-list__load-more:focus-visible {
	background: #ffffff;
	color: #12203a;
}

.afu-events-list__load-more:disabled,
.afu-events-list__load-more.is-loading {
	cursor: wait;
	opacity: .6;
}

.afu-events-list__heading {
	margin: 0 0 10px;
	color: #06172d;
	font-size: 32px;
	line-height: 1.1;
	text-align: center;
}

.afu-event-card {
	/* display: grid; */
	/* grid-template-columns: 220px minmax(0, 1fr); */
	overflow: hidden;
	border: 1px solid #e7e5dd;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 16px 42px -34px rgba(16, 22, 32, .35);
}

.afu-event-card--compact {
	grid-template-columns: 1fr;
	border-radius: 12px;
	box-shadow: none;
}

.afu-event-card__image {
	display: block;
	min-height: 190px;
	/* background: #0b4aa0; */
}

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

.afu-event-card__body {
	display: grid;
	gap: 10px;
	padding: 15px 15px 15px 20px;
}

.afu-event-card--compact .afu-event-card__body {
	padding: 14px;
}

.afu-event-card__type {
	color: #ef5160;
	font-size: 11px;
	font-weight: 300;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.afu-event-card__entry-type,
.afu-event-row__entry-type {
	width: fit-content;
	padding: 5px 10px;
	border-radius: 999px;
	background: #e84b68;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.afu-event-card__title {
	margin: 0;
	color: #06172d;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: 0;
}

.afu-event-card--compact .afu-event-card__title {
	font-size: 15px;
}

.afu-event-card__title a {
	color: inherit;
	text-decoration: none;
}

.afu-event-card__meta {
	display: grid;
	gap: 6px;
	color: #5a6573;
	font-size: 13px;
	line-height: 1.35;
}

.afu-event-card__description {
	margin: 0;
	color: #5a6573;
	font-size: 14px;
	line-height: 1.55;
}

.afu-event-card__button {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: 4px;
    padding: 15px 20px;
    border-radius: 999px;
    background: #ffffff;
    color: #12203a;
    border: 1px solid;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}
.afu-event-card__button:hover {
    color: #fff;
    background: #0b4aa0;
}

.afu-event-row {
	display: grid;
	grid-template-columns: 66px minmax(0, 1fr);
	align-items: center;
	gap: 18px;
	width: 100%;
	padding: 16px;
	border: 1px solid #e7e5dd;
	border-radius: 18px;
	background: #ffffff;
}

.afu-event-row__date {
	display: grid;
	align-content: center;
	justify-items: center;
	width: 66px;
	height: 66px;
	border-radius: 10px;
	background: #06172d;
	color: #ffffff;
	text-decoration: none;
}
a.afu-event-row__date:hover {
    color: #0b4aa0;
    background: #fff;
    box-shadow: 0 0 10px #0000002e;
}

.afu-event-row__day {
	display: block;
	font-size: 30px;
	font-weight: 900;
	line-height: .95;
	letter-spacing: 0;
}

.afu-event-row__month {
	display: block;
	font-size: 14px;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.afu-event-row__body {
	min-width: 0;
}

.afu-event-row__entry-type {
	margin-bottom: 7px;
}

.afu-event-row__type {
	margin-bottom: 7px;
	color: #ef5160;
	font-size: 12px;
	letter-spacing: .14em;
	line-height: 1;
	text-transform: uppercase;
}

.afu-event-row__title {
	margin: 0 0 6px;
	color: #06172d;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: 0;
}

.afu-event-row__title a {
	color: inherit;
	text-decoration: none;
}

h3.afu-event-row__title a:hover,
h3.afu-event-card__title a:hover {
    color: #0b4aa0;
}

.afu-event-row__date-range {
	color: #5a6573;
	font-size: 15px;
	line-height: 1.25;
}

.afu-events-calendar {
	position: relative;
	width: 100%;
	max-width: 100%;
	padding: 28px;
	border-radius: 22px;
	background: #ffffff;
}

.afu-events-calendar.is-loading {
	opacity: .58;
	pointer-events: none;
	transition: opacity .18s ease;
}

.afu-events-calendar__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 22px;
}

.afu-events-calendar__header h2 {
	margin: 0;
	color: #06172d;
	font-size: 30px;
	line-height: 1.1;
}

.afu-events-calendar__nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.afu-events-calendar__nav a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	border: 1px solid #e7e5dd;
	border-radius: 8px;
	background: #ffffff;
	color: #06172d;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.afu-events-calendar__nav a.is-disabled {
	cursor: default;
	opacity: .45;
	pointer-events: none;
}

.afu-events-calendar__weekdays,
.afu-events-calendar__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 8px;
}

.afu-events-calendar__weekdays {
	margin-bottom: 8px;
	color: #06172d;
	font-size: 12px;
	font-weight: 800;
	text-align: center;
}

.afu-events-calendar__day {
	position: relative;
	min-height: 86px;
	padding: 9px;
	border: 1px solid #e7e5dd;
	border-radius: 8px;
	background: #ffffff;
	color: #06172d;
}

.afu-events-calendar__day--empty {
	border-color: transparent;
	background: transparent;
}

.afu-events-calendar__day.has-events {
	border-color: #62a82a;
	background: #f3faee;
}

.afu-events-calendar__date {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	margin-bottom: 6px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
}

.afu-events-calendar__day.is-today .afu-events-calendar__date {
	background: #0a63d6;
	color: #ffffff;
}

.afu-events-calendar__events {
	display: grid;
	gap: 4px;
}

.afu-events-calendar__events a {
	display: block;
	overflow: hidden;
	padding: 5px 6px;
	border-radius: 5px;
	background: #62a82a;
	color: #ffffff;
	font-size: 8px;
	font-weight: 600;
	line-height: 1.15;
	text-decoration: none;
}

article.afu-event-card a.afu-event-card__image {
    /* display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px; */
}

.event_status {
    background: #dcf0ff;
    border: 1px solid #b5e0ff;
    width: fit-content;
    padding: 5px 14px;
    border-radius: 40px;
    font-size: 12px;
    color: #12203a;
    font-weight: 600;
}

a.elementor-button:not([href]) {
    cursor: default;
    pointer-events: none;
    opacity: 0.45;
}

.afu-event-field-hidden {
	display: none !important;
}

span.afu-event-card__meta-date {}

.afu-event-card__meta span {
    position: relative;
    padding-left: 25px;
}


span.afu-event-card__meta-date:before,
span.afu-event-card__meta-time:before,
span.afu-event-card__meta-location:before{
	content: '';
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    background-size: contain!important;
}

span.afu-event-card__meta-date:before {
    background: url(/wp-content/uploads/2026/09/calendar.svg);
}

span.afu-event-card__meta-time:before {
    background: url(/wp-content/uploads/2026/09/time.svg);
}

span.afu-event-card__meta-location:before {
    background: url(/wp-content/uploads/2026/09/location.svg);
}

.afu-event-plan-is-open {
	overflow: hidden;
}

.afu-event-plan-drawer {
	position: fixed;
	inset: 0;
	z-index: 99999;
	visibility: hidden;
	pointer-events: none;
	transition: visibility 0s linear .28s;
}

.afu-event-plan-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
	transition-delay: 0s;
}

.afu-event-plan-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(6, 23, 45, .55);
	opacity: 0;
	transition: opacity .24s ease;
}

.afu-event-plan-drawer.is-open .afu-event-plan-drawer__backdrop {
	opacity: 1;
}

.afu-event-plan-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(760px, calc(100vw - 32px));
	height: 100%;
	background: #ffffff;
	box-shadow: -24px 0 60px -34px rgba(16, 22, 32, .45);
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform .28s ease;
}

.afu-event-plan-drawer.is-open .afu-event-plan-drawer__panel {
	transform: translateX(0);
}

.afu-event-plan-drawer__close {
	position: sticky;
	top: 16px;
	left: calc(100% - 62px);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 16px 16px 0 auto;
	border: 0;
	border-radius: 999px;
	background: #12203a;
	color: #ffffff;
	cursor: pointer;
	font-size: 28px;
	line-height: 1;
}

.afu-event-plan-drawer__inner {
	padding: 10px 42px 46px;
}

.afu-event-plan-drawer__title {
	margin: 0 0 24px;
	color: #06172d;
	font-size: 34px;
	line-height: 1.1;
}

.afu-event-plan-drawer__content {
	color: #101620;
}

@media (max-width: 767px) {
	.afu-events-list--all {
		grid-template-columns: 1fr;
	}

	.afu-event-plan-drawer__panel {
		width: calc(100vw - 18px);
	}

	.afu-event-plan-drawer__inner {
		padding: 8px 20px 34px;
	}

	.afu-event-plan-drawer__title {
		font-size: 26px;
	}

	.afu-event-card {
		grid-template-columns: 1fr;
	}

	.afu-event-row {
		grid-template-columns: 58px minmax(0, 1fr);
		gap: 14px;
		padding: 14px;
		border-radius: 16px;
	}

	.afu-event-row__date {
		width: 58px;
		height: 58px;
	}

	.afu-event-row__day {
		font-size: 25px;
	}

	.afu-event-row__month {
		font-size: 12px;
	}

	.afu-event-row__title {
		font-size: 17px;
	}

	.afu-event-row__date-range {
		font-size: 13px;
	}

	.afu-events-calendar {
		padding: 16px;
	}

	.afu-events-calendar__header {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.afu-events-calendar__weekdays,
	.afu-events-calendar__grid {
		gap: 4px;
	}

	.afu-events-calendar__day {
		min-height: 54px;
		padding: 5px;
	}

	.afu-events-calendar__events a {
		font-size: 9px;
	}
	.afu-events-calendar__events a {
    	max-height: 40px;
    	overflow: hidden;
	    font-size: 8px;
    	font-weight: 500;
    	padding: 4px;
	}
}
