/**
 * Frontend Styles
 *
 * Styles for the public-facing side
 *
 * @package    Quellcoder\QuellcoderSGHCalDAV
 * @since      1.0.0
 */

.quellcoder-sgh-caldav-wrapper {
	margin: 20px 0;
}

.example-shortcode {
	padding: 20px;
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 5px;
	margin: 20px 0;
}

.example-shortcode h3 {
	margin-top: 0;
	margin-bottom: 15px;
	color: #333;
}

.example-shortcode p {
	margin-bottom: 10px;
	color: #666;
}

.example-shortcode .shortcode-content {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #ddd;
}

/* Event Single Page Styles */
.event-featured-image {
	margin-bottom: 30px;
	position: relative;
}

.event-featured-image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
}

.event-featured-image .image-source {
	display: block;
	margin-top: 8px;
	color: #666;
	font-size: 12px;
	font-style: italic;
}

.event-categories {
	margin: 15px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.event-category {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 14px;
	color: #fff;
	background-color: #666;
	text-decoration: none;
	transition: opacity 0.3s;
}

.event-category:hover {
	opacity: 0.8;
}

.event-category a {
	color: #fff;
	text-decoration: none;
}

.event-meta {
	background: #f5f5f5;
	padding: 20px;
	border-radius: 8px;
	margin: 20px 0;
}

.event-meta > div {
	margin-bottom: 10px;
}

.event-meta > div:last-child {
	margin-bottom: 0;
}

.event-meta strong {
	display: inline-block;
	min-width: 80px;
	color: #333;
}

/* Event Archive Styles */
.events-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
	margin: 30px 0;
}

.event-card {
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.3s;
}

.event-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.event-card-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.event-card-content {
	padding: 20px;
}

.event-card-title {
	margin: 0 0 10px;
	font-size: 18px;
}

.event-card-title a {
	color: #333;
	text-decoration: none;
}

.event-card-title a:hover {
	color: #0073aa;
}

.event-card-meta {
	font-size: 14px;
	color: #666;
}

