/**
 * =======================================================================
 * EVENTS EXTENSION PUBLIC STYLES
 * Path: /slfx_extensions/events/css/events.css
 * =======================================================================
 */

/* Form Container */
.evt-form-container {
	position: relative;

	margin-bottom: 40px;
}
/* --- Fix for Stretched Shadows on Tall Cards --- */
#event_submit_form .drop-shadow.lifted::before,
#event_submit_form .drop-shadow.lifted::after {
	top: auto;          /* Removes any percentage-based top positioning */
	bottom: 15px;       /* Anchors the shadow firmly to the bottom */
	height: 40px;       /* Locks the shadow's height so it never stretches up the sides */
}

/* --- Fix Input Bleed on Mobile --- */
#event_submit_form input.block,
#event_submit_form textarea.block {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box; /* Crucial: stops padding from expanding width */
}

/* Section Headings */
.evt-section-title {
	margin-top: 0; 
	border-bottom: 2px solid #eee; 
	padding-top: 20px; 
	padding-bottom: 10px;
}
.evt-section-title-alt {
	border-bottom: 2px solid #eee; 
	padding-bottom: 10px;
}

/* Native Date Inputs (Bypassing Floating Labels) */
.evt-native-label-wrapper {
	margin-bottom: 5px;
}
.evt-native-label {
	color: #666; 
	font-weight: normal; 
	font-size: 15px;
}
.evt-native-input {
	margin-top: 0 auto;
}

/* Textareas */
.evt-textarea {
	min-height: 150px;
}

/* File Upload Box */
.evt-file-upload-box {
	background: #f9f9f9; 
	padding-top: 15px; 
	padding-bottom: 15px; 
		
	border: 1px dashed #ccc; 
	
	margin-top: 10px;
}
.evt-file-label-wrapper {
	margin-bottom: 10px;
}
.evt-file-title {
	color: #333; 
	font-size: 15px;
}
.evt-file-hint {
	font-size: 0.85em; 
	color: #777; 
	margin-left: 10px;
}

/* CAPTCHA Section */
.evt-captcha-row {
	margin-top: 20px;
}
.evt-captcha-box {
	background: #fcfcfc; 
	border: 1px solid #eaeaea; 
	
}
.evt-captcha-title {
	margin-top: 5px; 
	margin-bottom: 15px;
}
.evt-captcha-reload {
	float: right; 
	font-size: 13px; 
	color: #dd4B39; 
	font-weight: normal; 
	text-decoration: none;
}

/* Submit Button Wrapper */
.evt-submit-wrapper {
	margin-top: 20px;
}

/* =======================================================================
   PUBLIC FEED CARD STYLES
   ======================================================================= */

.evt-feed-wrapper {
	display: flex;
	flex-wrap: wrap;
}
.evt-card-col {
	display: flex; 
	margin-bottom: 30px;
}
.evt-card {
	position: relative;
	z-index: 3;
	width: 100%; 
	display: flex; 
	flex-direction: column; 
	border-radius: 4px; 
	overflow: hidden;
}

/* Ensure the shadow container behaves normally inside the new wrapper */
.evt-card-col .drop-shadow.lifted {
	position: relative;
	display: block;
	margin: 0 auto 20px; 
}

/* 1. Tell the shadow wrapper to act as a Flex column */
.evt-card-col .drop-shadow.lifted {
	display: flex;
	flex-direction: column;
	width: 100%;
}

/* 2. Tell the white card to grow and fill all available space */
.evt-card {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}
/* --- Fix for Stretched Shadows on Tall Cards --- */
.evt-card-col .drop-shadow.lifted::before,
.evt-card-col .drop-shadow.lifted::after {
	top: auto;          /* Removes any percentage-based top positioning */
	bottom: 15px;       /* Anchors the shadow firmly to the bottom */
	height: 40px;       /* Locks the shadow's height so it never stretches up the sides */
}

.evt-card-img-link {
	display: block;
	overflow: hidden;
	text-decoration: none;
}
a:hover {
	text-decoration: none !important;
}
a:hover h3.evt-card-title {
	color: black
}

.evt-card-img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
	
}
.evt-card-img-link:hover .evt-card-img {
	transform: scale(1.05); /* Slight zoom on hover */
}
.evt-card-body {
	padding: 20px 0 20px 0; /* Your fix that stops the glitch */
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

a:hover .evt-card-img {

	
}

/* Move the left padding to the inner elements so the flex box doesn't distort */
.evt-card-title,
.evt-card-meta,
.evt-card-desc,
.evt-submit-wrapper {
	padding-left: 20px;
	padding-right: 20px;
}

.evt-card-title {
	font-style: normal;
	margin-top: 0; 
	margin-bottom: 15px; 
	font-weight: bold; 
	font-size: 1.4em;
	color: #b32821; /* Your framework's primary red */
}
.evt-card-date-primary {
	font-size: 1.1em;
	font-weight: bold;
	color: #333;
}
.evt-card-meta {
	color: #666; 
	margin-bottom: 8px;
	font-size: 0.95em;
}
.evt-card-location {
	font-weight: bold;
}
.evt-card-desc {
	color: #444; 
	font-size: 1em; 
	flex-grow: 1;
	line-height: 1.5em;
}

/* =======================================================================
   SINGLE EVENT PAGE STYLES
   ======================================================================= */

.evt-single-container {
	position: relative;
	z-index: 3;
	padding: 40px; 
	border-radius: 4px;
}
/* --- Fix for Stretched Shadows on Tall Cards --- */
.evt-single .drop-shadow.lifted::before,
.evt-single .drop-shadow.lifted::after {
	top: auto;          /* Removes any percentage-based top positioning */
	bottom: 15px;       /* Anchors the shadow firmly to the bottom */
	height: 40px;       /* Locks the shadow's height so it never stretches up the sides */
}
.evt-single-backlink {
	text-decoration: none; 
	color: #666; 
	font-size: 0.9em;
}
.evt-single-divider-top {
	margin: 15px 0 25px;
}
.evt-single-divider-btm {
	margin: 30px 0 20px;
}
.evt-single-title {
	margin-top: 0; 
	color: #b32821;
}
.evt-single-meta-box {
	background: #fcfcfc; 
	border: 1px solid #eee; 
	padding: 15px; 
	border-radius: 4px; 
	margin: 20px 0;
}
.evt-single-meta-text {
	margin: 0 0 5px; 
	font-size: 1.1em; 
	color: #333;
}
.evt-single-meta-text.no-margin {
	margin: 0;
}
.evt-single-meta-icon {
	width: 20px; 
	color: #888;
}
.evt-single-presented-by {
	font-size: 1.1em; 
	color: #666; 
	margin-bottom: 5px;
}
.evt-single-btn-margin {
	margin-top: 10px;
}
.evt-single-main-img {
	width: 100%; 
	border-radius: 4px; 
	margin-bottom: 20px;
}
.evt-single-description {
	text-align: left;
	font-size: 1.15em; 
	line-height: 1.7em; 
	color: #333;
}
.evt-single-share-prompt {
	color: #666; 
	font-size: 0.9em; 
	margin-bottom: 10px;
}
.evt-single-share-fb {
	background: #3b5998; 
	color: #fff; 
	border: none;
}
.evt-single-share-fb:hover {
	background: #2d4373;
}

/* =======================================================================
   FEED VIEW (Updates & Empty State)
   ======================================================================= */
.evt-feed-link {
	text-decoration: none;
}
.evt-card-location {
	margin-top: 5px;
}
.evt-card-divider {
	margin: 15px 0 10px;
}
.evt-card-btn-bottom {
	margin-top: auto;
	margin-left: 20px;
	margin-right: 20px;
}
.evt-empty-state-box {
	position: relative;
	z-index: 3;
	padding: 50px; 
	text-align: center; 
	border-radius: 4px;
}
.evt-empty-state-title {
	color: #666; 
	margin-top: 0;
}
.evt-empty-state-desc {
	font-size: 1.1em;
}