/**
 * ACS Events - front-end styles
 *
 * Kept intentionally minimal. The card grid reuses the
 * .event-listing-standard-wrapper rules already defined in the DBB child
 * theme, so this file only covers what the plugin adds on top: the single
 * event meta bar, the TBD state, and the empty-state message.
 *
 * Colors are literal (no CSS variables) to match the cleaned child theme.
 */

/* Empty state */
.acs-events-empty {
	color: #61696e;
	font-family: "Manrope", sans-serif;
	padding: 24px 0;
}

/* Card excerpt (theme .event-listing-standard-wrapper handles layout;
   this just sets readable type in case the theme rule is layout-only). */
.event-listing-standard-wrapper .slide-entry-excerpt {
	font-family: "Manrope", sans-serif;
	font-size: 1rem;
	line-height: 1.7;
	color: #61696e;
	margin: 8px 0 0;
}

/* -----------------------------------------------------------------
   SINGLE EVENT META BAR
------------------------------------------------------------------ */
.acs-event-meta-bar {
	background-color: #ffffff;
	border: 1px solid #ECF4F5;
	border-radius: 1.125rem;
	box-shadow: 0 16px 48px rgba(26, 46, 58, 0.1);
	padding: 28px 32px;
	margin-bottom: 32px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.acs-event-meta-bar .acs-meta-block {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.acs-event-meta-bar .acs-meta-label {
	font-family: "Manrope", sans-serif;
	font-size: 0.9375rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #2B4A56;
	line-height: 1;
}

.acs-event-meta-bar .acs-meta-value {
	font-family: "Manrope", sans-serif;
	font-size: 1rem;
	color: #1B2E3A;
	font-weight: 500;
	line-height: 1.4;
}

.acs-event-meta-bar .acs-meta-value a {
	color: #4AA078;
	transition: all .3s ease-in-out;
}

.acs-event-meta-bar .acs-meta-value a:hover {
	color: #1B2E3A;
	text-decoration: underline;
}

/* -----------------------------------------------------------------
   TBD STATE
------------------------------------------------------------------ */
.acs-event-tbd .acs-meta-value {
	color: #008D9C;
	font-style: italic;
}

/* -----------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------------ */
@media screen and (max-width: 768px) {
	.acs-event-meta-bar {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}


/* =================================================================
   LIST VIEW  (default archive + [acs_events] output)
   Mirrors the TEC list layout: month headers, left date tag,
   green date/venue text, excerpt, right featured image.
================================================================= */

.acs-events-list {
	max-width: 1140px;
	margin: 0 auto;
}

.acs-events-list-heading {
	font-family: "Playfair Display", serif;
	font-size: 1.75rem;
	color: #1B2E3A;
	margin-bottom: 8px;
}

.acs-events-month {
	font-family: "Manrope", sans-serif;
	font-size: 1rem;
	font-weight: 600;
	color: #1B2E3A;
	letter-spacing: 0.01em;
	padding-bottom: 10px;
	margin: 32px 0 16px;
	border-bottom: 1px solid #ECF4F5;
}

.acs-event-list-row {
	background-color: #ffffff;
	border: 1px solid #ECF4F5;
	border-radius: 1.125rem;
	margin-bottom: 14px;
	overflow: hidden;
	transition: all .3s ease-in-out;
}

.acs-event-list-row:hover {
	border-color: #00BFDD;
	box-shadow: 0 16px 48px rgba(26, 46, 58, 0.1);
	transform: translateY(-4px);
}

.acs-event-list-link {
	display: grid;
	grid-template-columns: 90px 1fr 300px;
	gap: 28px;
	align-items: start;
	padding: 28px 32px;
	text-decoration: none;
	color: inherit;
}

/* Date tag */
.acs-event-date-tag {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding-top: 4px;
}

.acs-date-weekday {
	font-family: "Manrope", sans-serif;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #8398A6;
	line-height: 1;
}

.acs-date-daynum {
	font-family: "Playfair Display", serif;
	font-size: 2.25rem;
	font-weight: 500;
	color: #1B2E3A;
	line-height: 1.1;
}

.acs-event-tbd .acs-date-daynum {
	font-size: 1.375rem;
	color: #008D9C;
}

/* Body */
.acs-event-list-body {
	min-width: 0;
}

.acs-event-when {
	display: block;
	font-family: "Manrope", sans-serif;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #4AA078;
	margin-bottom: 8px;
}

.acs-event-list-row h3.acs-event-title {
	font-family: "Playfair Display", serif;
	font-size: 1.5rem;
	line-height: 1.25;
	color: #1B2E3A;
	margin: 0 0 10px;
	transition: color .3s ease-in-out;
}

.acs-event-list-row:hover h3.acs-event-title {
	color: #4AA078;
}

.acs-event-venue {
	font-family: "Manrope", sans-serif;
	font-size: 1rem;
	margin: 0 0 10px;
	line-height: 1.5;
}

.acs-event-venue-name {
	color: #4AA078;
	font-weight: 600;
	margin-right: 6px;
}

.acs-event-venue-address {
	color: #61696e;
}

.acs-event-excerpt {
	font-family: "Manrope", sans-serif;
	font-size: 1rem;
	color: #61696e;
	line-height: 1.7;
	margin: 0;
}

/* Featured image */
.acs-event-list-image {
	border-radius: 1.125rem;
	overflow: hidden;
}

.acs-event-list-image img.acs-list-thumb {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 1.125rem;
}

@media screen and (max-width: 900px) {
	.acs-event-list-link {
		grid-template-columns: 72px 1fr;
	}
	.acs-event-list-image {
		grid-column: 1 / -1;
		margin-top: 4px;
	}
	.acs-event-list-image img.acs-list-thumb {
		height: 260px;
	}
}


/* =================================================================
   INTERIOR HERO  (event archive + single)
   Reuses the child theme's #int-hero styling; this only fills gaps
   in case the plugin renders on a page without those base rules.
================================================================= */

#int-hero.acs-event-hero {
	width: 100%;
	background: radial-gradient(circle, rgba(33,73,92,1) 0%, rgba(27,51,63,1) 60%);
	padding-top: 80px;
	padding-bottom: 60px;
}

#int-hero.acs-event-hero .container {
	max-width: 1310px;
	margin: 0 auto;
	padding-left: 50px;
	padding-right: 50px;
	box-sizing: border-box;
}

.acs-event-hero .int-hero-breadcrumbs {
	font-size: 0.78rem;
	color: rgba(230, 242, 245, 0.45);
	margin-bottom: 1.25rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.acs-event-hero .int-hero-breadcrumbs a {
	color: #00BFDD;
}

.acs-event-hero h1.int-hero-title {
	color: #ffffff;
	font-family: "Playfair Display", serif;
	font-weight: 500;
	line-height: 1.15;
	margin-bottom: 1rem;
}

.acs-event-hero .int-hero-title em {
	color: #00BFDD;
}

.acs-event-hero .int-hero-subhead {
	font-size: 1.05rem;
	color: rgba(230, 242, 245, 0.75);
	font-family: "Manrope", sans-serif;
	max-width: 640px;
	line-height: 1.7;
}


/* =================================================================
   SINGLE EVENT  (The Events Calendar-style: no hero, title-first)
================================================================= */

.acs-event-single-wrap {
	padding: 60px 0;
}

.acs-event-single {
	display: grid;
	grid-template-columns: 340px 1fr;
	gap: 56px;
	max-width: 1200px;
	margin: 0 auto;
	align-items: start;
	padding: 0 20px;
	box-sizing: border-box;
}

/* ---- Sidebar card ---- */
.acs-detail-card {
	background-color: #F5F9FA;
	border: 1px solid #ECF4F5;
	border-radius: 1.125rem;
	padding: 36px 32px;
}

/* Details + Organizer sit side by side, like TEC */
.acs-detail-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}

.acs-detail-section + .acs-venue-section {
	margin-top: 40px;
}

.acs-detail-heading {
	font-family: "Playfair Display", serif;
	font-size: 1.75rem;
	color: #1B2E3A;
	margin: 0 0 18px;
}

.acs-detail-item {
	margin-bottom: 16px;
}

.acs-detail-label {
	display: block;
	font-family: "Manrope", sans-serif;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #2B4A56;
	margin-bottom: 3px;
}

.acs-detail-value {
	display: block;
	font-family: "Manrope", sans-serif;
	font-size: 1rem;
	color: #61696e;
	line-height: 1.5;
}

.acs-detail-value.acs-event-tbd {
	color: #008D9C;
	font-style: italic;
}

.acs-detail-value a,
.acs-org-website {
	color: #4AA078;
	transition: all .3s ease-in-out;
	word-break: break-word;
}

.acs-detail-value a:hover,
.acs-org-website:hover {
	color: #1B2E3A;
	text-decoration: underline;
}

.acs-org-website {
	display: inline-block;
	font-family: "Manrope", sans-serif;
	font-size: 1rem;
	font-weight: 500;
}

/* ---- Venue ---- */
.acs-venue-name {
	font-family: "Manrope", sans-serif;
	font-size: 1rem;
	font-weight: 600;
	color: #1B2E3A;
	margin: 0 0 8px;
}

.acs-venue-address {
	font-family: "Manrope", sans-serif;
	font-size: 0.9375rem;
	color: #61696e;
	line-height: 1.6;
	margin-bottom: 16px;
}

.acs-venue-address .acs-venue-street,
.acs-venue-address .acs-venue-locality {
	display: block;
}

.acs-venue-map-link {
	color: #4AA078;
	font-weight: 600;
	white-space: nowrap;
}

.acs-venue-map-link:hover {
	color: #1B2E3A;
	text-decoration: underline;
}

.acs-venue-map {
	border-radius: 1.125rem;
	overflow: hidden;
	line-height: 0;
}

.acs-venue-website {
	display: inline-block;
	margin-top: 16px;
	color: #4AA078;
	font-weight: 600;
	font-family: "Manrope", sans-serif;
}

/* ---- Main column ---- */
.acs-event-main .acs-event-heading {
	font-family: "Playfair Display", serif;
	font-size: clamp(2.2rem, 4vw, 3rem);
	font-weight: 500;
	line-height: 1.1;
	color: #1B2E3A;
	margin: 0 0 8px;
}

.acs-event-main .acs-event-subhead {
	font-family: "Manrope", sans-serif;
	font-size: 1.125rem;
	color: #61696e;
	margin: 0 0 28px;
}

.acs-event-main .acs-event-subhead.acs-event-tbd {
	color: #008D9C;
	font-style: italic;
}

.acs-event-main .acs-event-featured {
	border-radius: 1.125rem;
	overflow: hidden;
	margin-bottom: 28px;
}

.acs-event-main .acs-event-featured img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 1.125rem;
}

.acs-event-content {
	font-family: "Manrope", sans-serif;
	font-size: 1.0625rem;
	line-height: 1.75;
	color: #61696e;
}

/* ---- Add to calendar button ---- */
.acs-event-actions {
	margin-top: 36px;
}

.acs-add-to-calendar {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background-color: #4AA078;
	color: #ffffff;
	font-family: "Manrope", sans-serif;
	font-size: 1rem;
	font-weight: 600;
	padding: 14px 30px;
	border-radius: 99px;
	transition: all .3s ease-in-out;
}

.acs-add-to-calendar:hover {
	background-color: #1B2E3A;
	color: #ffffff;
}

.acs-add-to-calendar i {
	font-size: 1.1rem;
}

/* ---- Responsive ---- */
@media screen and (max-width: 900px) {
	.acs-event-single {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

@media screen and (max-width: 480px) {
	.acs-detail-columns {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}
