/* ===================================================================
   CSS Custom Properties (Variables)
   =================================================================== */
:root {
	--primary-color: #2868b8; /* Darkened for better contrast */
	--primary-color-dark: #2868b8;
	--text-color: #555;
	--text-color-light: #777;
	--dark-color: #333;
	--light-grey: #f9f9f9;
}

html {
	scroll-behavior: smooth;
}

/* Modern Accessibility: Clear focus outlines for keyboard navigation */
:focus-visible {
	outline: 2px dashed var(--primary-color);
	outline-offset: 4px;
}

/* Respect user OS preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
.}

/* ===================================================================
	Global & Header Styles
	=================================================================== */
.main-header {
	padding: 20px 0;
	background: #fff;
	border-bottom: 1px solid #e9e9e9;
	box-shadow: 0 2px 4px rgba(0,0,0,0.04);
	position: relative;
}

.main-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.main-header .logo a {
	font-size: 1.5em;
	font-weight: 700;
	color: var(--dark-color);
	text-decoration: none;
}

.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
}

.main-header .main-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	gap: 20px;
	align-items: center;
}

.main-header .main-nav li {
	margin: 0;
}

.main-header .main-nav a {
	text-decoration: none;
	color: var(--text-color);
	font-weight: 600;
	font-size: 1em;
	transition: color 0.2s;
	padding-bottom: 5px;
}

.main-header .main-nav a:hover,
.main-header .main-nav li.current a {
	color: var(--primary-color);
}

@media (max-width: 800px) {
	.mobile-menu-toggle { display: block; }
	.main-header .main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; border-top: 1px solid #eee; }
	.main-header .main-nav.nav-open { display: block; }
	.main-header .main-nav ul { flex-direction: column; padding: 10px 20px; }
	.main-header .main-nav li { margin: 6px 0; }
}
/* ===================================================================
   Hero Section Styles
   =================================================================== */
.hero-section {
	position: relative;
	display: block;
	height: 60vh;
	min-height: 420px;
	overflow: hidden;
	background-image: url('/_resources/images/easternsierras.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.hero-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	filter: saturate(0.98) contrast(0.95);
	z-index: 0;
}

.hero-bg-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	z-index: 0;
}

.hero-section .hero-image {
	background-image: none !important;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.6) 100%);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	z-index: 2;
}

.hero-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0 20px;
}

.hero-content .container {
	color: #fff;
	max-width: 980px;
	margin: 0 auto;
	text-shadow: 0 2px 6px rgba(0,0,0,0.75);
}

.hero-content h1 {
	color: #fff;
	font-size: clamp(32px, 5vw, 64px);
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 10px;
	letter-spacing: -1px;
	text-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.hero-content .subtitle {
	color: rgba(255,255,255,0.92);
	font-size: clamp(16px, 2vw, 24px);
	font-weight: 300;
	opacity: 0.95;
	margin: 0 auto 30px auto;
	max-width: 760px;
	text-shadow: 0 3px 8px rgba(0,0,0,0.35);
}

/* ===================================================================
   Homepage Styles
   =================================================================== */

/* Featured Work Section */
.main-header {
	padding: 15px 0;
	background: #fff;
	border-bottom: 1px solid #e9e9e9;
}

.main-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.main-header .logo img {
	max-height: 40px;
	vertical-align: middle;
}

.main-header .main-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-header .main-nav li {
	display: inline-block;
	margin-left: 25px;
}

.main-header .main-nav a {
	text-decoration: none;
	color: var(--text-color);
	font-weight: 600;
	font-size: 1em;
	transition: color 0.2s;
}

.page-header {
	text-align: center;
	margin: 40px 0;
}
.page-header h2 {
	font-size: 2.5em;
	margin-bottom: 10px;
	font-weight: 300;
}
.page-header p {
	font-size: 1.1em;
	color: var(--text-color-light);
}

/* Featured Adventures Grid */
.featured-adventures-section {
	padding: 60px 0;
}
.content-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
}

/* Adventure grid (non-gallery pages like running) should use the same grid layout */
.adventure-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
}

/* Force 3 columns on wide screens for consistent homepage layout */
@media (min-width: 992px) {
	.adventure-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Masonry-style small cards for `.masonry-grid` (variable heights) */
	.masonry-grid {
		/* Use a CSS grid for predictable 3/2/1 columns while preserving masonry styling */
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}

	/* Ensure cards fill grid cells */
	.masonry-grid .adventure-card,
	.masonry-grid .content-card {
		width: auto;
		margin: 0;
	}

	@media (max-width: 991px) {
		.masonry-grid {
			grid-template-columns: repeat(2, 1fr);
		}
	}

	@media (max-width: 600px) {
		.masonry-grid {
			grid-template-columns: 1fr;
		}
	}
.masonry-grid .adventure-card {
	display: block;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(0,0,0,0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	margin-bottom: 20px;
}
.masonry-grid .adventure-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,0.12); }
.masonry-grid .adventure-card figure { margin: 0; }
.masonry-grid .adventure-card img { width: 100%; height: auto; display: block; }
.masonry-grid .adventure-card figcaption { padding: 10px 12px; background: #fff; }
.masonry-grid .adventure-card figcaption h3 { margin: 0; font-size: 1em; color: var(--dark-color); }

@media (max-width: 767px) {
	.masonry-grid .adventure-card img { height: auto; }
}

/* Homepage single-row layout: keep all featured cards in a single horizontal row */
.single-row {
	display: flex;
	gap: 20px;
	padding-bottom: 8px;
	justify-content: center;
}
.single-row .adventure-card {
	flex: 1 1 0;
	min-width: 0; /* allow cards to shrink to prevent horizontal overflow */
	max-width: none;
}
.single-row .adventure-card figure { margin: 0; }
.single-row .adventure-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.single-row .adventure-card figcaption { padding: 12px 14px; }

@media (max-width: 992px) {
	.single-row { gap: 12px; }
	.single-row .adventure-card img { height: 180px; }
}

/* Lightgallery grid: use a responsive CSS grid (3 columns desktop, 2 tablet, 1 mobile) */
.lightgallery-grid.adventure-grid,
.lightgallery-grid.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	align-items: start;
}

@media (max-width: 992px) {
	.lightgallery-grid.adventure-grid,
	.lightgallery-grid.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.lightgallery-grid.adventure-grid,
	.lightgallery-grid.gallery-grid {
		grid-template-columns: 1fr;
	}
}

.content-card {
	display: block;
	text-decoration: none;
	color: var(--dark-color);
	overflow: hidden;
	border-radius: 10px; /* Ensure corners are rounded */
	box-shadow: 0 8px 20px rgba(0,0,0,0.06);
	background: #fff;
	border: 1px solid #eaeaea;
	transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
}

.content-card figure {
	margin: 0;
	height: 220px;
	overflow: hidden;
}

.content-card img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease-out;
}

.content-card figcaption {
	padding: 14px 16px;
	background: #fff;
}

.content-card figcaption h3 {
	margin: 0;
	font-size: 1.2em;
	font-weight: 600;
	text-shadow: none;
}

.adventure-link {
	display: inline-block;
	margin-top: 8px;
	color: #fff;
	background: rgba(0,0,0,0.25);
	padding: 8px 12px;
	border-radius: 20px;
	text-decoration: none;
	font-weight: 600;
}
.adventure-link:hover { background: rgba(0,0,0,0.35); }

/* ------------------------------------------------------------------
   Gallery card styles for `images.html` and adventure galleries
   ------------------------------------------------------------------ */
.lightgallery-grid .adventure-card {
	display: block;
	background: #ffffff;
	color: var(--dark-color);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(0,0,0,0.06);
	border: 1px solid #eaeaea;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	position: relative; /* For figcaption positioning */
}
.lightgallery-grid .adventure-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}
.lightgallery-grid .adventure-card figure { margin: 0; }
.lightgallery-grid .adventure-card .lightbox-trigger { display: block; height: 220px; overflow: hidden; }
.lightgallery-grid .adventure-card .lightbox-trigger img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}
.lightgallery-grid .adventure-card:hover .lightbox-trigger img { transform: scale(1.03); }
.lightgallery-grid .adventure-card figcaption {
	padding: 14px 16px;
	background: #fff;
	color: var(--dark-color);
}
.lightgallery-grid .adventure-card figcaption h3 {
	margin: 0 0 6px 0;
	font-size: 1.05em;
	color: var(--dark-color);
}
.lightgallery-grid .adventure-card .adventure-link {
	display: inline-block;
	margin-top: 6px;
	color: var(--primary-color);
	background: transparent;
	padding: 6px 10px;
	border-radius: 16px;
	text-decoration: none;
	font-weight: 600;
}

@media (max-width: 767px) {
	.lightgallery-grid .adventure-card .lightbox-trigger { height: 180px; }
}

.content-card:hover,
.content-card:focus-visible {
	box-shadow: 0 18px 40px rgba(0,0,0,0.12); /* Match adventure-card hover shadow */
	transform: translateY(-6px); /* Match adventure-card hover transform */
}

.content-card:hover img,
.content-card:focus-visible img {
	transform: scale(1.03);
}

/* General figure/figcaption improvements */
figure figcaption { 
	color: var(--text-color); 
	font-size: 0.98em; 
	line-height: 1.35; 
	text-align: center;
}
figure figcaption h3 { 
	margin: 0; 
	font-size: 1.05em; 
	font-weight: 700; 
	color: var(--dark-color);
}

/* Ensure small-screen captions remain readable */
@media (max-width: 767px) {
	.content-card figcaption, .adventure-card figcaption { padding: 30px 15px 15px; }
}


/* CTA Button */
.cta-button-container {
	text-align: center;
	margin: 30px 0 50px;
}
.cta-button {
	display: inline-block;
	padding: 12px 30px;
	background-color: var(--primary-color);
	color: #fff;
	border-radius: 25px;
	text-decoration: none;
	font-weight: bold;
	transition: background-color 0.3s;
}
.cta-button:hover {
	background-color: var(--primary-color-dark);
}

.about-me-avatar {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 20px;
	border: 5px solid #fff;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* About Me Snippet */
.about-me-snippet {
	background-color: var(--light-grey);
	padding: 60px 0;
	text-align: center;
}
.about-me-content h2 {
	font-size: 2.5em;
	font-weight: 300;
	margin-bottom: 15px;
}
.about-me-content p {
	font-size: 1.2em;
	color: var(--text-color-light);
	max-width: 600px;
	margin: 0 auto 30px auto;
	line-height: 1.6;
}
.about-me-snippet .cta-button-container {
	margin: 0;
}

/* ===================================================================
   About Page Styles
   =================================================================== */
.about-section {
	padding: 60px 0;
	background: #fff;
}
.about-container {
	display: flex;
	align-items: center;
	gap: 50px;
	max-width: 960px;
	margin: 0 auto;
}
.about-image {
	flex: 0 0 300px;
}
.about-image img {
	width: 100%;
	border-radius: 50%;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.about-content h1 {
	font-size: 3em;
	font-weight: 300;
	margin-bottom: 20px;
}
.about-content p {
	font-size: 1.1em;
	line-height: 1.7;
	color: #666;
	margin-bottom: 15px;
}

/* ===================================================================
   Professional Page Styles
   =================================================================== */
.professional-section {
	background-color: var(--light-grey);
	padding: 60px 0;
}
.professional-content {
	background: #fff;
	padding: 40px;
	border-radius: 5px;
	box-shadow: 0 5px 25px rgba(0,0,0,0.07);
}
.professional-block {
	margin-bottom: 40px;
}
.professional-block:last-child {
	margin-bottom: 0;
}
.professional-block h3 {
	font-size: 1.8em;
	font-weight: 600;
	color: var(--dark-color);
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}
.professional-block p {
	line-height: 1.7;
	color: #666;
}

/* Experience */
.experience-item {
	margin-bottom: 25px;
}
.experience-item:last-child {
	margin-bottom: 0;
}
.experience-item h4 {
	font-size: 1.2em;
	font-weight: 600;
	color: #444;
	margin-bottom: 5px;
}
.experience-meta {
	font-size: 0.9em;
	color: #888;
	margin-bottom: 10px !important;
}

/* ===================================================================
   Running Page Styles
   =================================================================== */
.running-section {
	padding: 60px 0;
	background-color: var(--light-grey);
}
.section-subtitle {
	font-size: 1.8em;
	font-weight: 600;
	color: var(--dark-color);
	margin-bottom: 20px;
	margin-top: 40px;
}
.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 20px;
	margin-bottom: 50px;
}
.stat-card {
	background: #fff;
	padding: 30px 20px;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
	text-align: center;
	border-bottom: 4px solid var(--primary-color);
	transition: transform 0.2s ease;
}
.stat-card:hover {
	transform: translateY(-3px);
}
.stat-card .year {
	font-size: 1.2em;
	color: var(--text-color-light);
	margin-bottom: 10px;
	font-weight: 600;
}
.stat-card .miles {
	font-size: 2.5em;
	font-weight: 700;
	color: var(--dark-color);
	margin: 0;
}
.stat-card .unit {
	font-size: 0.4em;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text-color-light);
}
.race-table-container {
	overflow-x: auto;
	background: #fff;
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
	border-radius: 8px;
	margin-bottom: 20px;
}
.race-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 600px; /* Forces scroll on very small screens instead of crushing */
}
.race-table th, .race-table td {
	padding: 15px 20px;
	text-align: left;
	border-bottom: 1px solid #eee;
}
.race-table th {
	background-color: #fcfcfc;
	font-weight: 600;
	color: var(--dark-color);
	text-transform: uppercase;
	font-size: 0.85em;
	letter-spacing: 1px;
}
.race-table tr:last-child td {
	border-bottom: none;
}
.race-table tr:hover {
	background-color: #f9f9f9;
}
th.sortable {
	cursor: pointer;
	user-select: none;
	transition: background-color 0.2s;
}
th.sortable:hover {
	background-color: #f2f2f2;
}
th.sortable i {
	margin-left: 5px;
	color: #ccc;
	transition: transform 0.2s, color 0.2s;
}
th.sortable.asc i { color: var(--primary-color); }
th.sortable.desc i { color: var(--primary-color); transform: rotate(180deg); }

.status-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 0.85em;
	font-weight: 600;
	background: #e6f0fa;
	color: var(--primary-color);
}

/* Skills */
.skills-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
}
.skill-category h4 {
	font-size: 1.1em;
	font-weight: 600;
	color: #444;
	margin-bottom: 15px;
}
.skill-category ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.skill-category li {
	background: #f4f4f9;
	padding: 8px 12px;
	border-radius: 4px;
	margin-bottom: 8px;
	font-size: 0.95em;
}

/* Honeypot field for spam protection */
.honeypot-field {
    display: none;
    visibility: hidden;
}

/* Form Validation Feedback */
.form-control.is-invalid {
	border-color: #dc3545;
}
.invalid-feedback {
	display: block;
	width: 100%;
	margin-top: .25rem;
	font-size: .875em;
	color: #dc3545;
}

/* ===================================================================
   Footer Styles
   =================================================================== */
.main-footer {
	background-color: #222;
	color: #aaa;
	padding: 40px 0;
	text-align: center;
}
.footer-social-links {
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
}
.footer-social-links li {
	display: inline-block;
	margin: 0 10px;
}
.footer-social-links a {
	display: inline-block;
	width: 40px;
	height: 40px;
	background-color: #444;
	border-radius: 50%;
	transition: background-color 0.3s;
}
.footer-social-links a:hover {
	background-color: var(--primary-color);
}
.footer-social-links a i {
	color: #fff;
	font-size: 16px;
	line-height: 40px;
}

.main-footer .copyright {
    margin-top: 10px;
}

/* ===================================================================
   Scroll to Top Button
   =================================================================== */
#scrollToTop {
	display: none;
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 999;
	border: none;
	background-color: var(--primary-color);
	color: white;
	cursor: pointer;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	box-shadow: 0 4px 10px rgba(0,0,0,0.2);
	transition: background-color 0.3s, transform 0.2s;
}
#scrollToTop:hover {
	background-color: var(--primary-color-dark);
	transform: translateY(-3px);
}

/* ===================================================================
   Responsive Styles
   =================================================================== */
/* Medium devices (tablets, less than 992px) */
@media (max-width: 991px) {
	.main-header .main-nav li {
		margin-left: 20px;
	}
	.about-container {
		gap: 30px;
	}
	.professional-content {
		padding: 30px;
	}
	.content-grid {
		grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	}
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767px) {
	.main-header .container {
		flex-wrap: wrap;
	}

	.mobile-menu-toggle {
		display: block;
		order: 3; /* Position it after the logo */
	}

	.main-nav {
		display: none; /* Hidden by default */
		flex-basis: 100%;
		order: 4;
		margin-top: 15px;
		position: static; /* Override absolute positioning from old CSS */
		box-shadow: none;
		border-bottom: none;
		padding: 0;
	}

	.main-nav.nav-open {
		display: block; /* Show when toggled */
	}

	.main-header .main-nav ul {
		text-align: left;
	}
	.main-header .main-nav li {
		display: block;
		margin: 0;
	}
	.main-header .main-nav a {
		display: block;
		padding: 15px;
		border-bottom: 1px solid #f0f0f0;
	}
    .main-header .main-nav li:last-child a {
        border-bottom: none;
    }
	.main-header .main-nav a:hover,
	.main-header .main-nav li.current a {
		background-color: var(--light-grey);
	}

	/* Hero Section Mobile Overrides */
	.hero-section {
		height: 48vh;
		min-height: 300px;
	}
	.hero-content h1 {
		font-size: 2.2em;
		margin-bottom: 8px;
	}
	.hero-content .subtitle {
		font-size: 1.1em;
		margin-bottom: 18px;
	}

	/* General Page Headers */
	.page-header h2 {
		font-size: 2em;
	}

	/* Responsive Tables */
	.race-table-container {
		background: transparent;
		box-shadow: none;
	}
	.race-table, .race-table tbody, .race-table tr, .race-table td {
		display: block;
		width: 100%;
		min-width: 0;
	}
	.race-table thead {
		display: none;
	}
	.race-table tr {
		background: #fff;
		margin-bottom: 20px;
		border-radius: 8px;
		box-shadow: 0 4px 6px rgba(0,0,0,0.05);
		border: 1px solid #eee;
	}
	.race-table td {
		text-align: right;
		padding: 15px 20px 15px 40%;
		position: relative;
		border-bottom: 1px solid #f5f5f5;
	}
	.race-table td:last-child {
		border-bottom: none;
	}
	.race-table td::before {
		content: attr(data-label);
		position: absolute;
		left: 20px;
		top: 15px;
		width: 35%;
		text-align: left;
		font-weight: 600;
		color: var(--dark-color);
		font-size: 0.85em;
		text-transform: uppercase;
		letter-spacing: 1px;
	}

	/* Grids */
	.content-grid,
	.stats-grid,
	.skills-grid {
		grid-template-columns: 1fr;
	}
	.stats-grid {
		gap: 15px;
	}

	/* About Page */
	.about-container {
		flex-direction: column;
		text-align: center;
		gap: 30px;
	}
	.about-image {
		flex-basis: auto;
		width: 200px;
		height: 200px;
	}
	.about-content h1 {
		font-size: 2.2em;
	}

	/* Professional Page */
	.professional-content {
		padding: 20px;
	}
	.professional-block h3 {
		font-size: 1.5em;
	}

	/* Contact Page */
	.contact-form-container .row {
		margin-left: 0;
		margin-right: 0;
	}
	.contact-form-container .col-md-6 {
		padding-left: 0;
		padding-right: 0;
	}
}

/* ===================================================================
   Filter Buttons & Logic
   =================================================================== */
.filter-buttons {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.filter-btn {
	padding: 8px 20px;
	background: #fff;
	border: 2px solid var(--primary-color);
	color: var(--primary-color);
	border-radius: 25px;
	cursor: pointer;
	font-weight: 600;
	font-size: 0.95em;
	transition: background-color 0.3s, color 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
	background-color: var(--primary-color);
	color: #fff;
}

/* Helper class to hide filtered items */
.content-card.hidden, .adventure-card.hidden {
	display: none;
}

.content-card.is-hiding, .adventure-card.is-hiding {
	opacity: 0;
	transform: scale(0.9) !important; /* Prevents :hover from overriding the hide animation */
}