﻿/* Calendar */

form#event-date-filter label{
	color: #696b6c;
}
.calendar-holder{
	padding: 20px;
	border: solid 1px rgb(190, 190, 190);
	border-radius: 10px;
}
.cut{
	width: 96%;
}
.button-contain{
	display: flex;
	justify-content: center;
	align-items: center; /* centers vertically */
	gap: 10px; /* adds nice spacing between buttons */
}
.filter-btn,
.clear-btn {
	display: flex;
	align-items: center; /* centers text vertically */
	justify-content: center;
	padding: 14px 30px;
	font-size: 14px;
	line-height: 1.2;
	cursor: pointer;
	min-height: 40px; /* ensures consistent button height */
	border-radius: 4px;
	text-align: center;
	box-sizing: border-box;
}
.filter-btn {
	background-color: #1f2937;
	color: #fff;
	border: none;
	border: 1px solid #1f2937;
}
.clear-btn {
	background-color: transparent;
	color: #2d68a5;
	border: 1px solid #2d68a5;
}
.clear-btn:hover {
	background-color: transparent;
	color: #244c77;
	border: 1px solid #244c77;
}

/* Wrap each event block with a soft card look */
.content-contain {
    padding: 20px;
    background: #f5f8f6;
    border-left:solid 1px #cbcfcc;
    border-right:solid 1px #cbcfcc;
    border-bottom:solid 1px #cbcfcc;
    -webkit-border-bottom-right-radius: 8px;
    -webkit-border-bottom-left-radius: 8px;
    -moz-border-radius-bottomright: 8px;
    -moz-border-radius-bottomleft: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

/* Image holder */
.event_block  .image-holder {
    display:block;
	position: relative;
	overflow: hidden;
    -webkit-border-top-left-radius: 8px;
    -webkit-border-top-right-radius: 8px;
    -moz-border-radius-topleft: 8px;
    -moz-border-radius-topright: 8px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;   
}
.event_block  .image-holder img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;     /* makes sure it always fills nicely */
	transition: transform 0.3s ease;
}

/* Titles and subtitles */
.event_block  h2.event-title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 0.25rem;
	color: #1f2937; /* dark gray */
}
.event_block  .sub-title {
	font-size: 20px;
	color: #6b7280; /* medium gray */
	margin-bottom: 0.75rem;
}

/* Dates, time, location */
.event_block  .dates,
.event_block  .time,
.event_block  .locale
{
	font-weight: 500;
	color: #374151;
	margin-bottom: 0.5rem;
}

/* Event content */
.event_block  .main-info {
	font-size: 0.95rem;
	line-height: 1.8;
	color: #4b5563;
	margin: 0.75rem 0 1rem;
	flex-grow: 1; /* pushes buttons down */
}

/* Buttons */
.event_block  .event_details_btn {
	display: inline-block;
	background: #2563eb;   /* blue */
	color: #fff !important;
	padding: 0.5rem 1rem;
	border-radius: 8px;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.3s ease;
}
.event_block  .event_details_btn:hover {
	background: #1e40af; /* darker blue */
}
.label.alert{
	display: inline-block !important;
	text-align: center;
	padding: 10px;
}

.event-show h2.event-title {
	font-size: 30px;
	font-weight: 700;
	margin-bottom: 0.25rem;
	color: #1f2937; /* dark gray */
}
.event-show  .sub-title {
	font-size: 26px;
	color: #6b7280; /* medium gray */
	margin-bottom: 0.75rem;
}
.event-show  .dates,
.event-show  .time,
.event-show  .locale
{
	font-weight: 500;
	color: #374151;
	margin-bottom: 0.5rem;
}
.event-show div {
	margin-bottom: 0.25rem;
}

@media only screen and (max-width: 640px){
	.event_block  h2.event-title {
		font-size: 22px;
	}	
	.event-show h2.event-title {
		font-size: 24px;
	}
	.cut{
		width: 100%;
	}	
}