/*--------------------------------------------------------------
# Running Stitches Textile Events
# Layout only - typography controlled by Divi Text module settings
--------------------------------------------------------------*/

.rs-textile-events-list {
	width: 100%;
	max-width: none;
	margin: 0;
}

/*--------------------------------------------------------------
# Event Card
--------------------------------------------------------------*/

.rs-textile-event-card {
	display: grid;
	grid-template-columns: 32% 1fr;
	gap: 44px;
	align-items: center;
	width: 100%;
	margin: 0 0 60px;
	padding: 34px;
	background: #ffffff;
	border: 1px solid #e9967a;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
	box-sizing: border-box;
}
	.rs-textile-event-card {
	border-radius: 8px;
}

.rs-textile-event-image-link {
	border-radius: 6px;
}

.rs-textile-event-image {
	border-radius: 4px;
}


/*--------------------------------------------------------------
# Event Image
--------------------------------------------------------------*/

.rs-textile-event-image-wrap {
	width: 100%;
}

.rs-textile-event-image-link {
	display: block;
	background: #ffffff;
	padding: 10px 10px 22px;
	border: 1px solid #e5ded6;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
	box-sizing: border-box;
	text-decoration: none;
}

.rs-textile-event-image {
	display: block;
	width: 100%;
	height: auto;
	box-shadow: none;
}

/*--------------------------------------------------------------
# Event Content
--------------------------------------------------------------*/

.rs-textile-event-content {
	width: 100%;
}

/* Headings/text are styled in the Divi Text module */

.rs-textile-event-title {
	margin: 0 0 14px;
}

.rs-textile-event-date {
	margin: 0 0 10px;
}

.rs-textile-event-time {
	margin: 0 0 10px;
}

.rs-textile-event-venue {
	margin: 0 0 10px;
}

.rs-textile-event-address {
	margin: 0 0 14px;
}

.rs-textile-event-address p {
	margin: 0;
}

.rs-textile-event-description {
	margin-top: 14px;
}

.rs-textile-event-description p {
	margin-bottom: 10px;
}

/*--------------------------------------------------------------
# Event Link
--------------------------------------------------------------*/

.rs-textile-event-link-wrap {
	margin: 18px 0 0;
}

.rs-textile-event-link {
	text-decoration: none;
}

.rs-textile-event-link:hover {
	text-decoration: underline;
}

/*--------------------------------------------------------------
# Empty Message
--------------------------------------------------------------*/

.rs-textile-events-empty {
	text-align: center;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media (max-width: 980px) {
	.rs-textile-event-card {
		grid-template-columns: 280px 1fr;
		gap: 30px;
		padding: 28px;
	}
}

@media (max-width: 767px) {
	.rs-textile-event-card {
		grid-template-columns: 1fr;
		gap: 22px;
		margin-bottom: 45px;
		padding: 22px;
	}

	.rs-textile-event-image-link {
		padding: 9px 9px 18px;
	}
}