	/* CSS Grid for the 2-column layout */
	.event-grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		/* 2 equal columns */
		gap: 20px;
		/* Space between cards */
		margin: 0 auto;
	}

	.arc-header {
		display: flex;
		justify-content: space-between;
		align-items: center; /* Keeps button and text vertically centered with each other */
		margin-bottom: 1rem;
	}

	.arc-link {
		position: relative;
		color: rgb(203, 202, 198); /* Matches your tag badge color */
		font-size: 1.5rem; /* Adjusts the size of the icon */
		text-decoration: none;
		transition: color 0.2s ease, transform 0.2s ease;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 0.25rem;
		border:none !important;
	}

	/* Tooltip Bubble */
	.arc-link::after,.title-link-icon a::after {
		content: attr(data-tooltip); /* Grabs the text from the HTML attribute */
		position: absolute;
		bottom: 130%; /* Places it right above the icon */
		left: 50%;
		transform: translateX(-50%) scale(0.8); /* Centers it horizontally and starts slightly shrunk */
		background-color: #302f2b; /* Dark background */
		color: rgba(255, 255, 255, 0.75);
		padding: 0.6rem 0.8rem 0.5rem 0.8rem;
		border-radius: 4px;
		font-size: 0.88rem;
		font-family: "Montserrat", sans-serif;
		white-space: nowrap; /* Prevents text from wrapping */
		opacity: 0; /* Hidden by default */
		pointer-events: none; /* Prevents the tooltip from blocking mouse clicks */
		transition: opacity 0.2s ease, transform 0.2s ease;
		box-shadow: 0 2px 4px rgba(0,0,0,0.2);
		z-index: 10;
		border:none !important;
	}

	/* Hover State: Fade in and animate the scale */
	.arc-link:hover::after,.title-link-icon a:hover::after {
		opacity: 1;
		transform: translateX(-50%) scale(1);
	}

	/* Quick hover effect for user feedback */
	.arc-link:hover,.title-link-icon a:hover {
		color: #3b3b3b; /* Darkens on hover */
	}

	.tags-container {
		display: flex;
		flex-wrap: wrap;
		/* Allows bubbles to drop to the next line if crowded */
		gap: 8px;
		/* The space between each bubble */
		border-top: 1px solid rgb(102, 102, 102);
		padding-top: 0.75rem;
	}

	.tag-badge {
		font-weight: bold;
		font-size: 0.85rem;
		color: #fff;
		background: #546980;
		display: inline-block;
		padding: 0.25rem 0.5rem;
		border-radius: 0.4rem;
		white-space: nowrap;
	}

	.campaign {
		background: linear-gradient(190deg, rgba(125, 113, 79, 1) 0%, rgba(27, 27, 27, 1) 90%);
		border: 2px solid #3b3b3b;
		background-repeat: no-repeat;
	}

	/* Responsive: switch to 1 column on smaller screens */
	@media (max-width: 600px) {
		.event-grid {
			grid-template-columns: 1fr;
		}
	}

	/* Centered layout cluster */
	.calendar-controls {
		display: flex;
		justify-content: center;
		/* Clusters everything in the middle */
		align-items: center;
		gap: 30px;
		/* Dictates the exact spacing between arrows and the month text */
		max-width: 1200px;
		margin: 0 auto 25px auto;
	}

	/* Ensure the month title doesn't stretch or push things away */
	#month-display {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	color: var(--text-primary);
	min-width: 200px;
	/* Prevents layout shifting when month names change length */
	text-align: center;
	}

	/* Sleek, borderless arrow buttons */
	.arrow-btn {
		background: none;
		border: none;
		font-size: 16px;
		font-weight: 500;
		color: #999;
		cursor: pointer;
		padding: 5px 10px;
		text-transform: lowercase;
		transition: color 0.2s ease, transform 0.2s ease;
	}

	/* Subtle interactive hover effect */
	.arrow-btn:hover {
		color: #aaa;
		transform: scale(1.05);
		/* Slightly grows the text on hover */
	}

	/* The 7-Column Grid */
	.calendar-grid {
		display: grid;
		grid-template-columns: repeat(7, 1fr);
		gap: 1px;
		background-color: rgb(39, 39, 39);
		/* Acts as the border between cells */
		margin: 0 auto;
		border: 1px solid rgb(39, 39, 39);
		border-radius: 1rem 1rem 0 0;
	}

	/* Days of the week header (Sun, Mon, etc.) */
	.day-header {
		background: #272727;
		color: white;
		text-align: center;
		padding: 10px 0;
		font-weight: bold;
	}

	/* Individual Date Cells */
	.calendar-cell {
		background: rgb(48, 48, 48);
		min-height: 150px;
		padding: 10px;
		display: flex;
		flex-direction: column;
		gap: 8px;
		/* Space between events on the same day */
	}

	.calendar-cell.current-day {
		background-color: rgb(55, 55, 55);
		border: 1px solid #5c6291;
	}

	.date-number {
		font-weight: bold;
		color: #fff;
		text-align: right;
		margin-bottom: 5px;
	}

	/* Mini Event Cards for the Calendar */
	.event-mini-card {
		background-color: #212224;
		border: 1px dashed rgb(62,62,62);
		border-left: 4px solid #5b6f82;
		padding: 8px;
		border-radius: 4px;
		font-size: 0.85em;
	}

	.event-mini-card h3 {
		margin: 0;
		font-size: 1.1em;
		font-family: "Noto Serif", serif;
	}

	.empty-cell {
		background: rgb(39, 39, 39);
	}

	.modal-overlay {
		display: none;
		/* Hidden by default */
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		/* Semi-transparent black */
		z-index: 1000;
		/* Ensures it sits on top of everything */
		justify-content: center;
		align-items: center;
	}

	.campaign-card {
		background: linear-gradient(190deg, rgba(125, 113, 79, 1) 0%, #212224 90%);
		border: 1px solid #3b3b3b;
		border-left: 4px solid rgba(125, 113, 79, 1);
		background-repeat: no-repeat;
	}

	.campaign-card:hover {
		background: linear-gradient(190deg, rgba(125, 113, 79, 1) 0%, #4a4637 90%) !important;
		transition: transform 0.1s ease;
	}

	/* The actual white popup box */
	.cal-modal-content {
		background-color: rgb(27, 27, 27);
		padding: 30px;
		border-radius: 8px;
		width: 90%;
		max-width: 500px;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
		position: relative;
		animation: fadeIn 0.3s ease;
		border: 2px dashed #3b3b3b;
		font-family: "Noto Serif", serif;
	}

	/* Close 'X' button inside the modal */
	.modal-close-btn {
		position: absolute;
		top: 10px;
		right: 15px;
		background: none;
		border: none;
		font-size: 28px;
		cursor: pointer;
		color: #aaa;
	}

	.modal-close-btn:hover {
		color: #333;
	}

	/* Pointer cursor for mini cards to show they are clickable */
	.event-mini-card {
		cursor: pointer;
		transition: transform 0.1s ease;
	}

	.event-mini-card:hover {
		transform: scale(1.02);
		background-color: rgb(62,62,62);
	}

	@keyframes fadeIn {
		from {
			opacity: 0;
			transform: translateY(-10px);
		}

		to {
			opacity: 1;
			transform: translateY(0);
		}
	}

	.modal-footer {
		display: flex;
		justify-content: space-between; /* Tags stay left, icon gets pushed right */
		align-items: center; /* Vertically centers the icon with the tags */
		margin-top: 25px; /* Adds breathing room from the host/description text */
		border-top: 1px solid #3b3b3b; /* Optional: adds a subtle dividing line */
		padding-top: 15px;
	}

	/* Icon styling */
	.modal-header-inline {
		display: flex;
		margin-bottom: 0.5rem;
	}

	.title-link-icon {
		display: flex;
		align-items: center;
		color: #aaa;
		font-size: 18px;
		text-decoration: none;
		transition: color 0.2s ease, transform 0.2s ease;
		position:relative;
		margin-left:0.5rem;
	}

	.title-link-icon a {
		border:none !important;
	}

	/* Filter Bar Styles */
	.filter-section {
		text-align: center;
	}

	.filter-container {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px;
	}

	.filter-btn {
		background: transparent;
		color: #fff;
		padding: 0.2rem 0.5rem;
		border-radius: 0.4rem;
		cursor: pointer;
		font-size: 0.85rem;
		font-weight: bold;
		font-family: "Montserrat", sans-serif;
		transition: all 0.1s ease;
		opacity: 0.4; /* Dimmed by default when a filter is active */
	}

	.filter-btn:hover {
		transform: scale(1.05);
	}

	/* When selected, the pill lights up and gets a solid background */
	.filter-btn.active {
		opacity: 1;
		color: white !important;
	}

	/* If no filters are active at all, keep everything lit up */
	.filter-container.no-filters-active .filter-btn {
		opacity: 1;
	}

	.dimmed-card {
		opacity: 0.15 !important;
		filter: grayscale(40%);
		transition: opacity 0.2s ease, filter 0.2s ease;
	}

	/* Optional: slightly brings them back on hover if a user wants to read it anyway */
	.dimmed-card:hover {
		opacity: 0.4 !important;
	}

	@media (max-width: 768px) {
		/* Turn the 7-column grid into a vertical list */
		.calendar-grid {
			display: flex;
			flex-direction: column;
			gap: 12px;
			background-color: transparent;
			border: none;
		}

		/* Hide the Sun-Sat headers */
		.day-header {
			display: none;
		}

		/* Hide the blank padding cells at the start of the month */
		.empty-cell {
			display: none !important;
		}

		/* Style the individual days as cards */
		.calendar-cell {
			min-height: auto;
			border-radius: 8px;
			border: 1px solid rgb(62, 62, 62);
			background: rgb(48, 48, 48);
		}

		/* OPTIONAL BUT RECOMMENDED:
		 *   Hide any day that does NOT have an event card inside it.
		 *   This prevents mobile users from scrolling past 20 empty days. */
		.calendar-cell:not(:has(.event-mini-card)) {
			display: none;
		}

		/* Move the date number to the left to act as a header for that day */
		.date-number {
			text-align: left;
			border-bottom: 1px solid rgb(62, 62, 62);
			padding-bottom: 8px;
			margin-bottom: 12px;
			font-size: 1.1rem;
		}
	}
