/**
 * DecorahNow Events - Styles
 * Version: 3.4.2
 */

/* ==========================================================================
   EVENTON CORE CUSTOMIZATIONS
   ========================================================================== */

/* Hide default calendar heading */
#evcal_list > h1 {
	display: none;
}

/* Repeat header spacing */
.evose_repeat_header {
	margin-bottom: 20px;
	padding: 15px 20px 20px 10px !important;
}

/* Event list links - underlined */
.eventon_events_list .eventon_list_event a {
	text-decoration: underline;
}

.eventon_full_description p a {
	text-decoration: underline !important;
}

/* Event title line height */
#evcal_list .eventon_list_event .evoet_cx span.evcal_event_title {
	line-height: 110%;
}

/* Event subtitle styling */
.eventon_events_list .eventon_list_event .evcal_desc span.evcal_event_subtitle,
.evo_pop_body .evcal_desc span.evcal_event_subtitle {
	text-transform: none;
	font-size: 13px;
}

/* Description text sizes */
.eventon_events_list .eventon_list_event .evoet_cx span.evcal_desc2,
.evo_pop_body .evoet_cx span.evcal_desc2 {
	font-size: 20px;
}

.eventon_events_list .eventon_list_event .evcal_desc .evcal_desc_info,
.evo_pop_body .evcal_desc .evcal_desc_info {
	font-size: 13px;
}

.evcal_desc em,
.evcal_desc .evcal_desc3 em {
	font-size: 12px;
}

/* Event list item padding */
.eventon_events_list .eventon_list_event .evcal_list_a {
	padding: 16px;
}

/* Event content margin */
.evoet_cx {
	margin-right: 10px !important;
}

/* Completed events */
.eventon_events_list .eventon_list_event .evcal_list_a.completed-event .evcal_event_title {
	text-decoration: none;
}

/* Cancelled event overlay */
.ajde_evcal_calendar #evcal_list .cancelled.eventon_list_event .desc_trig:before,
.ajde_evcal_calendar .cancelled.eventon_list_event .desc_trig:before,
.evo_lightbox_body .cancelled.eventon_list_event .desc_trig:before,
.evo_lightbox_body.eventon_list_event.cancel_event .evopop_top:before {
	background-color: #ffffff66;
}

/* ==========================================================================
   EVENTON FULL CALENDAR LIGHTBOX
   ========================================================================== */

div.evofc_lightbox_body p.no_events {
	color: #E87723;
	font-size: 2em;
}

div.evo_lightbox_content a.evolbclose_fc {
	color: #000;
	font-size: 2em;
}

div.evo_lightbox_content .evolbclose_fc {
	background-color: #E87723;
}

/* ==========================================================================
   EVENTON ACTION USER (Submissions)
   ========================================================================== */

.eventon_actionuser_eventslist .editEvent,
.eventon_actionuser_eventslist .deleteEvent {
	opacity: .8;
	font-size: 1.5em;
	margin-left: 20px;
}

.eventon_actionuser_eventslist a.editEvent {
	right: 75px !important;
}

.eventon_actionuser_eventslist a.deleteEvent {
	right: 15px !important;
}

.evoau_manager_event_section,
.eventon_actionuser_eventslist p subtitle {
	font-family: ubuntu, Arial, Tahoma !important;
}

/* Hide location coordinates in submission form */
#eventon_form .evoau_table .row p.event_location_cord {
	display: none !important;
}

/* ==========================================================================
   EVENTON SLIDER
   ========================================================================== */

.evoslider.ajde_evcal_calendar .eventon_list_event .evcal_desc3,
.evoslider.ajde_evcal_calendar .eventon_list_event .evcal_location {
	display: none;
}

.evoslider .eventon_list_event.sldark .evcal_cblock,
.evosliderbox.ajde_evcal_calendar.multiSlider .eventon_list_event .evcal_desc {
	text-shadow: 0 1px 1px #333;
}

/* ==========================================================================
   LIST CALENDAR
   ========================================================================== */

.list_cal {
	width: inherit;
	margin: 0 2em;
}

/* ==========================================================================
   DECORAHNOW CUSTOM COMPONENTS
   ========================================================================== */

/* Category Grid */
.decorahnow-category-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin: 20px 0;
}

.decorahnow-category-card {
	flex: 0 0 calc(33.333% - 10px);
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	padding: 20px;
	text-align: center;
	text-decoration: none;
	color: #333;
	transition: all 0.2s ease;
}

.decorahnow-category-card:hover {
	background: #e9ecef;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.decorahnow-category-card span:first-child {
	font-size: 2em;
	display: block;
	margin-bottom: 8px;
}

.decorahnow-category-card span:last-child {
	font-weight: 600;
}

@media (max-width: 768px) {
	.decorahnow-category-card {
		flex: 0 0 calc(50% - 10px);
	}
}

@media (max-width: 480px) {
	.decorahnow-category-card {
		flex: 0 0 100%;
	}
}

/* Luther Toggle */
.decorahnow-luther-toggle {
	margin: 15px 0;
	padding: 12px 15px;
	background: #f0f0f0;
	border-radius: 6px;
}

.decorahnow-luther-toggle label {
	display: flex;
	align-items: center;
	cursor: pointer;
	margin: 0;
}

.decorahnow-luther-toggle input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-right: 10px;
}

.decorahnow-luther-toggle p {
	margin: 10px 0 0;
	font-size: 0.9em;
	color: #666;
}

/* Source Colors (event border) */
.eventon_list_event[data-source="luther-athletics"] .evcal_desc,
.eventon_list_event[data-source="luther-college"] .evcal_desc {
	border-left: 4px solid #004c97 !important;
}

.eventon_list_event[data-source="vesterheim"] .evcal_desc {
	border-left: 4px solid #8B4513 !important;
}

.eventon_list_event[data-source="library"] .evcal_desc {
	border-left: 4px solid #228B22 !important;
}

.eventon_list_event[data-source="local-business"] .evcal_desc {
	border-left: 4px solid #FF6600 !important;
}

.eventon_list_event[data-source="faith"] .evcal_desc {
	border-left: 4px solid #6B5B95 !important;
}

.eventon_list_event[data-source="community"] .evcal_desc {
	border-left: 4px solid #9932CC !important;
}

/* Featured Events */
.eventon_list_event.featured-event .evcal_desc {
	border: 2px solid #FFD700 !important;
	background: linear-gradient(to right, #fffef0, #fff) !important;
	position: relative;
}

.eventon_list_event.featured-event .evcal_desc::before {
	content: "⭐ Featured";
	position: absolute;
	top: 5px;
	right: 10px;
	background: #FFD700;
	color: #333;
	font-size: 0.7em;
	font-weight: bold;
	padding: 2px 6px;
	border-radius: 3px;
}

/* Event Card Hover */
.eventon_list_event .evcal_desc {
	transition: transform 0.2s, box-shadow 0.2s;
}

.eventon_list_event .evcal_desc:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Luther Sports Page Header */
.luther-sports-header {
	background: linear-gradient(135deg, #004c97 0%, #003366 100%);
	color: white;
	padding: 30px 20px;
	margin-bottom: 30px;
}

.luther-sports-header h1 {
	margin: 0 0 10px;
	font-size: 2em;
}

.luther-sports-header p {
	margin: 0;
	opacity: 0.9;
}

.luther-sports-header a {
	color: #FFD700;
}

/* Print */
@media print {
	.decorahnow-luther-toggle,
	.decorahnow-category-grid {
		display: none !important;
	}
}

/* Search Results - Event Styling */
.decorahnow-event-result {
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-left: 4px solid #004c97;
	border-radius: 6px;
	padding: 15px;
	margin: 5px 0;
}

.decorahnow-event-result .event-icon {
	font-size: 1.2em;
	margin-right: 5px;
}

.decorahnow-event-result .event-datetime {
	font-weight: 600;
	color: #004c97;
	margin-bottom: 5px;
}

.decorahnow-event-result .event-location {
	color: #555;
	margin-bottom: 8px;
}

.decorahnow-event-result .event-excerpt {
	color: #333;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #eee;
}

/* ==========================================================================
   MOBILE OPTIMIZATIONS
   ========================================================================== */

/* Hide EventON featured images on mobile homepage to save vertical space */
@media (max-width: 768px) {
	.home .ev_ftImg,
	.home .evoet_c1 {
		display: none !important;
	}

	/* Reduce event padding on mobile to save space */
	.home .eventon_events_list .eventon_list_event .evcal_list_a {
		padding: 12px !important;
	}

	/* Disable hover effects on mobile (they don't work well on touch) */
	.home .eventon_list_event .evcal_desc:hover {
		transform: none !important;
		box-shadow: none !important;
	}

	/* Make featured event badge smaller on mobile */
	.home .eventon_list_event.featured-event .evcal_desc::before {
		font-size: 0.6em;
		padding: 1px 4px;
		top: 3px;
		right: 5px;
	}

	/* Compact event title spacing */
	.home #evcal_list .eventon_list_event .evoet_cx span.evcal_event_title {
		line-height: 105%;
	}
}
