/*Latest Events Block*/

.g-latest-events {
	display: flex;
	align-content: center;
	flex-direction: column;
}

/* full-width container width */
.g-latest-events.full-width-container-width .block-size {
	width: 100% !important;
}

/* tablet-range: 48rem–59.938rem */
@media (min-width: 48rem) and (max-width: 59.938rem) {
	.g-latest-events.full-width-container-width .block-size {
		width: calc(100% - 3rem);
	}
}

/* mobile-only: max-width 47.938rem */
@media (max-width: 47.938rem) {
	.g-latest-events.full-width-container-width .block-size {
		width: calc(100% - 3rem);
	}
}

/* background */
.g-latest-events .block-margin-padding {
	position: relative;
}

.g-latest-events .block-margin-padding .g-background-color {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	opacity: 1;
}
.g-latest-events .g-block-container {
	display: flex;
    flex-direction: column;
/*    align-items: center;*/
    gap: 24px;
}
/* main container */
.g-latest-events .g-block-container h2.g-block-title {
/*	color: #333;*/
/*	font-size: 2rem;*/
	font-weight: 800;
/*	font-family: $font-family-oswald;*/
	margin-bottom: 0;
	position: relative;
	text-transform: none;
	text-align: center;
}

/* no-desktop: max-width 59.938rem */
@media (max-width: 59.938rem) {
	.g-latest-events .g-block-container h2.g-block-title {
/*		font-size: $h3-font-size;*/
	}
}

.g-latest-events .g-block-container h2.g-block-title::selection {
	color: #fff;
	background: #333;
}

/* event list container */
.g-latest-events .g-block-container .g-latest-events-container {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* each event item */
.g-latest-events .g-latest-events-container .g-latest-events-item {
	margin-bottom: 1rem;
	padding-bottom: 1rem;
/*	border-bottom: 1px solid #707070;*/
}

.g-latest-events .g-latest-events-container .g-latest-events-item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

/* item structure */
.g-latest-events .g-latest-events-item .g-latest-events-item-container {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	align-self: stretch;
}

/* event start date */
.g-latest-events .g-latest-events-item .event-start-date {
	display: flex;
	flex-direction: column;
	position: relative;
/*	margin: 0 2rem 0 0;*/
	text-align: center;
	width: 100px;
	
	flex-direction: column;
	align-items: center;
	gap: 0;
/*	width: 50px;*/
}

.g-latest-events .event-start-date-month {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--global-dusky-green);
	margin: 0;
	text-transform: uppercase;
	display: block;
	line-height: 1;
	leading-trim: both;
	text-edge: cap;
	font-family: "Barlow Condensed";
	font-size: 1.3125rem;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	color: var(--global-dark-black);
}

.g-latest-events .event-start-date-day {
	font-size: 2.5rem;
	font-weight: bold;
	color: #333;
	margin: 0;
	line-height: 1;
	display: block;
	text-align: center;
	color: var(--accent-3);
	font-family: "Barlow Condensed";
	font-size: 40px;
	font-style: normal;
	font-weight: 500;
	line-height: 1;
}

/* event thumbnail */
.g-latest-events figure {
	position: relative;
	width: 100%;
	margin: 0 2rem 0 0;
	max-width: 250px;
}

/* event content */
.g-latest-events .g-latest-events-content {
	width: 100%;
}
.g-latest-events .g-latest-events-content a {
	border: none;
}
.g-latest-events .g-latest-events-content a:hover {
	border: none;
	color: var(--accent-2)!important;
}

.g-latest-events .g-latest-events-content a h3 {
	font-weight: bold;
	margin: 0;
	color: inherit;
	font-family: "Barlow Condensed";
	color: var(--accent);
	display: inline-block;
	font-size: 1.5rem;
	line-height: 1.1;
}

.g-latest-events .g-latest-events-content a:hover h3 {
	text-decoration: underline;
	color: var(--accent-2)!important;
	display: inline-block;
}


.g-latest-events .g-latest-events-content .post-date {
/*	font-size: 1rem;*/
	font-weight: 600;
	display: block;
}

.g-latest-events .g-latest-events-content p {
	margin-bottom: 0;
}
.g-latest-events .cats-list {
	font-size: 0.9rem;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
	color: var(--accent-3);
	display: block;

}

/* bottom action link */
.g-latest-events .g-bottom-action-link {
	text-align: center;
	margin: 4rem 1rem 0rem;
	position: relative;
}

/* no-desktop */
@media (max-width: 59.938rem) {
	.g-latest-events .g-bottom-action-link {
		width: 100%;
		max-width: 100%;
		margin: 0;
	}
	.g-latest-events .g-bottom-action-link .button {
		margin-bottom: 0;
		margin-top: 0;
	}
}

/* dark theme */
.g-latest-events.g-dark-theme .g-grid-container > h2 {
	color: #fff;
}

.g-latest-events.g-dark-theme .g-bottom-action-link a {
	color: #fff !important;
}

.g-latest-events.g-dark-theme .g-bottom-action-link a:hover {
	color: #fff !important;
	text-decoration: none;
}
