/**
 * FIVA Content Sections Stylesheet
 *
 * Two-column layout for FIVA museum pages:
 * - Left: Museum information (description, additional info, tags)
 * - Right: Interactive map (Leaflet.js with FIVA branding)
 *
 * @package Astra-Child
 * @since 1.0.0
 * @author Synergy Marketing info@synergymarketing.mk
 */

/* ============================================
   Main Container
   ============================================ */

.fiva-content-section {
	max-width: 1400px;
	margin: 0 auto;
	padding: 2rem 3rem 4rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	background: rgba(249, 250, 251, 0.6);
	position: relative;
}

/* ============================================
   LEFT COLUMN: Museum Information
   ============================================ */

.fiva-museum-info {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding-right: 2rem;
	border-right: 2px solid rgba(196, 170, 94, 0.2);
}

/* Section Header */

.fiva-section-header {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.fiva-section-divider {
	width: 100px;
	height: 2px;
	background: linear-gradient(
		to right,
		#C4AA5E,
		rgba(196, 170, 94, 0.2)
	);
}

.fiva-content-section .fiva-section-title {
	font-family: Arial, sans-serif;
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #136F3A !important;
	margin: 0;
}

/* Description Block */

.fiva-description {
	font-family: 'Georgia', 'Times New Roman', serif;
	font-size: 1.125rem;
	line-height: 1.8;
	color: #1C2833;
	margin-bottom: 2rem;
}

.fiva-description p {
	margin-bottom: 1.5rem;
}

.fiva-description p:last-child {
	margin-bottom: 0;
}

/* Drop cap (premium editorial touch) */
.fiva-description p:first-of-type::first-letter {
	font-size: 3.5rem;
	font-weight: 700;
	line-height: 1;
	float: left;
	margin-right: 0.5rem;
	color: #C4AA5E;
	font-family: 'Georgia', serif;
}

/* Links */
.fiva-description a {
	color: #136F3A;
	text-decoration: underline;
	font-weight: 500;
	transition: color 200ms ease;
}

.fiva-description a:hover {
	color: #C4AA5E;
}

/* Additional Information (Pull Quote Style) */

.fiva-additional-info {
	background: rgba(196, 170, 94, 0.08);
	border-left: 4px solid #C4AA5E;
	padding: 1.5rem 2rem;
	margin: 2rem 0;
	border-radius: 0 8px 8px 0;
}

.fiva-additional-info-label {
	font-family: Arial, sans-serif;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #136F3A;
	margin-bottom: 0.75rem;
	display: block;
}

.fiva-additional-info-content {
	font-family: 'Georgia', 'Times New Roman', serif;
	font-size: 1rem;
	font-style: italic;
	line-height: 1.7;
	color: #4B5563;
}

.fiva-additional-info-content p {
	margin-bottom: 1rem;
}

.fiva-additional-info-content p:last-child {
	margin-bottom: 0;
}

/* Museum Tags */

.fiva-tags-section {
	margin-top: 2rem;
}

.fiva-tags-label {
	font-family: Arial, sans-serif;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #136F3A;
	margin-bottom: 0.75rem;
	display: block;
}

.fiva-tags-container {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.fiva-tag {
	display: inline-block;
	padding: 0.5rem 1rem;
	font-family: Arial, sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #C4AA5E;
	background: rgba(196, 170, 94, 0.1);
	border: 1px solid #C4AA5E;
	border-radius: 20px;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
}

.fiva-tag:hover {
	background: #C4AA5E;
	color: #136F3A;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(196, 170, 94, 0.3);
}

/* Last Updated Metadata */

.fiva-metadata {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(196, 170, 94, 0.2);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.fiva-metadata-icon {
	font-size: 1rem;
	opacity: 0.7;
}

.fiva-metadata-label {
	font-family: Arial, sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	color: #9CA3AF;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.fiva-metadata-value {
	font-family: Arial, sans-serif;
	font-size: 0.75rem;
	color: #4B5563;
}

/* ============================================
   RIGHT COLUMN: Museum Map
   ============================================ */

/* Right Column Wrapper (map + news accordion) */

.fiva-right-column {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.fiva-museum-map {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	height: fit-content;
}

/* Map Title */

.fiva-map-title {
	font-family: Arial, sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #136F3A !important;
	margin: 0 0 1.5rem 0;
}

/* Interactive Map Container */

.fiva-map-container {
	position: relative;
	height: 500px;
	border: 4px solid #136F3A;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(19, 111, 58, 0.2);
	background: #ffffff;
}

.fiva-leaflet-map {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

/* Loading State */

.fiva-map-loading {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: linear-gradient(
		135deg,
		rgba(19, 111, 58, 0.95) 0%,
		rgba(15, 90, 46, 0.95) 100%
	);
	color: #ffffff;
	z-index: 10;
	transition: opacity 300ms ease;
}

.fiva-map-loading.hidden {
	opacity: 0;
	pointer-events: none;
}

.fiva-loading-spinner {
	width: 40px;
	height: 40px;
	border: 3px solid rgba(196, 170, 94, 0.3);
	border-top: 3px solid #C4AA5E;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin-bottom: 1rem;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.fiva-loading-text {
	font-family: Arial, sans-serif;
	font-size: 1rem;
	color: #C4AA5E;
	font-weight: 600;
	letter-spacing: 1px;
}

/* Navigation Buttons */

.fiva-map-navigation {
	display: flex;
	gap: 0.75rem;
	padding: 1rem;
	background: rgba(249, 250, 251, 0.9);
	border-radius: 0 0 8px 8px;
	flex-wrap: wrap;
}

.fiva-nav-button {
	flex: 1;
	min-width: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	background: #C4AA5E;
	color: #136F3A;
	border: none;
	border-radius: 8px;
	font-family: Arial, sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none;
	cursor: pointer;
	transition: all 200ms ease;
	box-shadow: 0 2px 8px rgba(196, 170, 94, 0.3);
}

.fiva-nav-button:hover {
	background: #D4BA6E;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(196, 170, 94, 0.4);
}

.fiva-nav-button:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(196, 170, 94, 0.3);
}

.fiva-nav-icon {
	font-size: 1rem;
}

/* Travel Plan Button */

.fiva-travel-plan-button {
	width: 100%;
	padding: 1rem 2rem;
	background: linear-gradient(
		135deg,
		#136F3A 0%,
		#1A8A4A 100%
	);
	color: #ffffff;
	border: 2px solid #C4AA5E;
	border-radius: 8px;
	font-family: Arial, sans-serif;
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	cursor: pointer;
	transition: all 300ms ease;
	box-shadow: 0 4px 12px rgba(19, 111, 58, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
}

.fiva-travel-plan-button:hover {
	background: linear-gradient(
		135deg,
		#1A8A4A 0%,
		#136F3A 100%
	);
	border-color: #D4BA6E;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(19, 111, 58, 0.4);
}

.fiva-travel-plan-button:active {
	transform: translateY(0);
}

/* Selected State */
.fiva-travel-plan-button.selected {
	background: #C4AA5E;
	color: #136F3A;
	border-color: #136F3A;
}

.fiva-travel-plan-button.selected:hover {
	background: #D4BA6E;
}

.fiva-travel-plan-icon {
	font-size: 1.25rem;
	font-weight: 700;
}

/* Gallery Section - Gold Frame (spans full width in 2-column grid) */

.fiva-content-section .museum-gallery-section {
	grid-column: 1 / -1;
	border: 5px solid #C4AA5E;
	padding: 2rem;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 4px 12px rgba(196, 170, 94, 0.2);
}

/* Map Popup Styles */

.museum-map-popup .popup-title {
	color: #136F3A;
	margin: 0 0 0.5rem 0;
	font-weight: 700;
}

.museum-map-popup .popup-address {
	color: #4B5563;
	margin: 0.25rem 0;
}

.museum-map-popup .popup-location {
	color: #136F3A;
	margin: 0.25rem 0;
	font-weight: 600;
}

.museum-map-popup .popup-coords {
	color: #9CA3AF;
	margin: 0.25rem 0 0 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
	.fiva-content-section {
		grid-template-columns: 55% 45%;
		gap: 2rem;
		padding: 1.5rem 2rem 3rem;
	}

	.fiva-museum-info {
		padding-right: 1.5rem;
	}

	.fiva-right-column {
		gap: 2rem;
	}

	.fiva-map-container {
		height: 400px;
	}

	.fiva-description {
		font-size: 1rem;
	}
}

/* Mobile (<768px) */
@media (max-width: 767px) {
	.fiva-content-section {
		grid-template-columns: 1fr;
		gap: 3rem;
		padding: 1.5rem 1.5rem 2rem;
	}

	.fiva-museum-info {
		padding-right: 0;
		border-right: none;
		border-bottom: 2px solid rgba(196, 170, 94, 0.2);
		padding-bottom: 2rem;
	}

	.fiva-right-column {
		gap: 2rem;
	}

	.fiva-map-container {
		height: 350px;
	}

	.fiva-description {
		font-size: 1rem;
		line-height: 1.7;
	}

	/* Remove drop cap on mobile */
	.fiva-description p:first-of-type::first-letter {
		font-size: inherit;
		font-weight: inherit;
		float: none;
		margin-right: 0;
		color: inherit;
	}

	.fiva-map-navigation {
		flex-direction: column;
	}

	.fiva-nav-button {
		width: 100%;
	}
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Focus states */
.fiva-tag:focus,
.fiva-nav-button:focus,
.fiva-travel-plan-button:focus {
	outline: 2px solid #C4AA5E;
	outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.fiva-tag,
	.fiva-nav-button,
	.fiva-travel-plan-button,
	.fiva-loading-spinner {
		transition: none;
		animation: none;
	}
}

/* Print styles */
@media print {
	.fiva-travel-plan-button,
	.fiva-map-navigation {
		display: none;
	}

	.fiva-content-section {
		grid-template-columns: 60% 40%;
		gap: 1rem;
	}
}

/* ============================================
   LATEST NEWS ACCORDION
   ============================================ */

.fiva-museum-news {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

/* Section Header */

.fiva-news-header {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.fiva-news-title {
	font-family: Arial, sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #136F3A !important;
	margin: 0;
}

/* News Card Grid */

.fiva-news-grid {
	display: grid;
	gap: 0.75rem;
}

/* News Card */

.fiva-news-card {
	display: flex;
	align-items: stretch;
	background: #ffffff;
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	transition: transform 200ms ease, box-shadow 200ms ease;
}

.fiva-news-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(19, 111, 58, 0.15);
}

.fiva-news-card:focus-visible {
	outline: 2px solid #C4AA5E;
	outline-offset: 2px;
}

/* Card Image */

.fiva-news-card-image {
	flex-shrink: 0;
	width: 80px;
	min-height: 80px;
	background: rgba(19, 111, 58, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.fiva-news-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fiva-news-card-placeholder {
	font-size: 1.5rem;
	opacity: 0.5;
}

/* Card Content */

.fiva-news-card-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.25rem;
	padding: 0.625rem 0.75rem;
	min-width: 0;
}

.fiva-news-card-headline {
	font-family: Arial, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #1C2833;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.fiva-news-card:hover .fiva-news-card-headline {
	color: #136F3A;
}

.fiva-news-card-date {
	font-family: Arial, sans-serif;
	font-size: 0.7rem;
	font-weight: 400;
	color: #136F3A;
	line-height: 1.3;
	transition: color 200ms ease;
}

.fiva-news-card:hover .fiva-news-card-date {
	color: #C4AA5E;
}

.fiva-news-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
}

.fiva-news-card-btn {
	flex-shrink: 0;
	font-family: Arial, sans-serif;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #136F3A;
	white-space: nowrap;
	transition: color 200ms ease;
}

.fiva-news-card:hover .fiva-news-card-btn {
	color: #C4AA5E;
}

/* View All News Link */

.fiva-news-view-all {
	display: block;
	text-align: center;
	padding: 0.875rem 1.5rem;
	font-family: Arial, sans-serif;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #136F3A;
	text-decoration: none;
	border: 2px solid #C4AA5E;
	border-radius: 8px;
	background: transparent;
	transition: all 200ms ease;
}

.fiva-news-view-all:hover {
	background: #C4AA5E;
	color: #ffffff;
	border-color: #C4AA5E;
}

.fiva-news-view-all:focus-visible {
	outline: 2px solid #C4AA5E;
	outline-offset: 2px;
}

/* News Grid Responsive: Mobile */

@media (max-width: 767px) {
	.fiva-news-grid {
		grid-template-columns: 1fr;
	}

	.fiva-news-title {
		font-size: 1.25rem;
	}
}

/* News Grid Reduced Motion */

@media (prefers-reduced-motion: reduce) {
	.fiva-news-card {
		transition: none;
	}
}

/* ============================================
   GALLERY SECTION
   ============================================ */

/* Header */

.fiva-gallery-header {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.fiva-gallery-header-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
}

.fiva-gallery-title {
	font-family: Arial, sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #136F3A !important;
	margin: 0;
}

.fiva-gallery-count {
	font-family: Arial, sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #C4AA5E;
	background: rgba(196, 170, 94, 0.1);
	border: 1px solid #C4AA5E;
	border-radius: 20px;
	padding: 0.3rem 0.75rem;
	white-space: nowrap;
}

/* Grid */

.fiva-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
}

.fiva-gallery-item:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

/* Gallery Item */

.fiva-gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	cursor: pointer;
	aspect-ratio: 4 / 3;
	background-color: #f5f5f5;
	transition: transform 300ms ease, box-shadow 300ms ease;
}

.fiva-gallery-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(19, 111, 58, 0.2);
}

.fiva-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 300ms ease;
}

.fiva-gallery-item:hover img {
	transform: scale(1.05);
}

/* Overlay */

.fiva-gallery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		135deg,
		rgba(19, 111, 58, 0.7),
		rgba(15, 90, 46, 0.5)
	);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 300ms ease;
}

.fiva-gallery-item:hover .fiva-gallery-overlay {
	opacity: 1;
}

/* CSS Expand Icon (replaces emoji) */

.fiva-gallery-expand {
	width: 36px;
	height: 36px;
	position: relative;
	transform: scale(0.8);
	transition: transform 300ms ease;
}

.fiva-gallery-expand::before,
.fiva-gallery-expand::after {
	content: '';
	position: absolute;
	background: #C4AA5E;
	border-radius: 2px;
}

.fiva-gallery-expand::before {
	top: 50%;
	left: 50%;
	width: 24px;
	height: 3px;
	transform: translate(-50%, -50%);
}

.fiva-gallery-expand::after {
	top: 50%;
	left: 50%;
	width: 3px;
	height: 24px;
	transform: translate(-50%, -50%);
}

.fiva-gallery-item:hover .fiva-gallery-expand {
	transform: scale(1);
}

/* ============================================
   LIGHTBOX
   ============================================ */

.fiva-lightbox {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fiva-lightbox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.95);
	cursor: pointer;
}

.fiva-lightbox-content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	z-index: 1000000;
}

.fiva-lightbox-image-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.fiva-lightbox-image {
	max-width: 90vw;
	max-height: 80vh;
	object-fit: contain;
	border-radius: 8px;
}

.fiva-lightbox-caption {
	margin-top: 1rem;
	padding: 0.5rem 1rem;
	background-color: rgba(0, 0, 0, 0.7);
	color: #ffffff;
	border-radius: 8px;
	font-family: Arial, sans-serif;
	font-size: 0.875rem;
	max-width: 90vw;
	text-align: center;
}

.fiva-lightbox-caption:empty {
	display: none;
}

/* Lightbox Buttons */

.fiva-lightbox-close,
.fiva-lightbox-prev,
.fiva-lightbox-next {
	position: absolute;
	background-color: rgba(19, 111, 58, 0.9);
	color: #ffffff;
	border: 2px solid #C4AA5E;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	transition: all 150ms ease;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000001;
}

.fiva-lightbox-close:hover,
.fiva-lightbox-prev:hover,
.fiva-lightbox-next:hover {
	background-color: #C4AA5E;
	border-color: #C4AA5E;
	transform: scale(1.1);
}

.fiva-lightbox-close {
	top: 20px;
	right: 20px;
}

.fiva-lightbox-prev {
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.fiva-lightbox-prev:hover {
	transform: translateY(-50%) scale(1.1);
}

.fiva-lightbox-next {
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.fiva-lightbox-next:hover {
	transform: translateY(-50%) scale(1.1);
}

.fiva-lightbox-counter {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background-color: rgba(19, 111, 58, 0.9);
	color: #C4AA5E;
	padding: 0.25rem 1rem;
	border-radius: 50px;
	font-family: Arial, sans-serif;
	font-size: 0.875rem;
	font-weight: 600;
	border: 1px solid #C4AA5E;
}

/* Gallery Responsive: Tablet */

@media (max-width: 1023px) {
	.fiva-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.fiva-gallery-item:first-child {
		grid-column: span 2;
		grid-row: span 1;
	}
}

/* Gallery Responsive: Mobile */

@media (max-width: 767px) {
	.fiva-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.5rem;
	}

	.fiva-gallery-item:first-child {
		grid-column: span 2;
		grid-row: span 1;
	}

	.fiva-gallery-title {
		font-size: 1.25rem;
	}

	.fiva-lightbox-close,
	.fiva-lightbox-prev,
	.fiva-lightbox-next {
		width: 40px;
		height: 40px;
		font-size: 1.5rem;
	}

	.fiva-lightbox-close {
		top: 10px;
		right: 10px;
	}

	.fiva-lightbox-prev {
		left: 10px;
	}

	.fiva-lightbox-next {
		right: 10px;
	}

	.fiva-lightbox-counter {
		bottom: 10px;
		font-size: 0.75rem;
		padding: 0.15rem 0.5rem;
	}
}

/* Gallery Reduced Motion */

@media (prefers-reduced-motion: reduce) {
	.fiva-gallery-item,
	.fiva-gallery-item img,
	.fiva-gallery-overlay,
	.fiva-gallery-expand {
		transition: none;
	}
}

/* ============================================
   MUSEUM NAVIGATION
   ============================================ */

.museum-navigation {
	background-color: #F5F5F5;
	padding: 40px 20px;
	margin-top: 60px;
}

.museum-navigation-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid !important;
	grid-template-columns: 1fr auto 1fr !important;
	gap: 12px;
	align-items: center;
}

/* Navigation Buttons (Previous/Next) */

.museum-nav-button {
	background-color: #2D5016;
	color: #FFFFFF;
	padding: 16px 24px;
	border-radius: 8px;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	transition: all 0.2s ease;
	font-weight: 600;
	font-size: 16px;
	text-align: center;
	white-space: nowrap;
}

.museum-nav-button.museum-nav-prev {
	grid-column: 1 !important;
	justify-self: start;
}

.museum-nav-button.museum-nav-next {
	grid-column: 3 !important;
	justify-self: end;
}

.museum-nav-button:hover {
	background-color: #3D6B1F;
	transform: scale(1.02);
	text-decoration: none;
	color: #FFFFFF;
}

.museum-nav-button:active {
	background-color: #1F3910;
	transform: scale(0.98);
}

.museum-nav-button:focus {
	outline: 2px solid #3D6B1F;
	outline-offset: 2px;
}

/* Navigation Text Link ("All Museums") */

.museum-nav-link {
	color: #2D5016;
	text-decoration: none;
	font-size: 16px;
	font-weight: 400;
	transition: all 0.2s ease;
	padding: 8px 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	grid-column: 2 !important;
	justify-self: center;
}

/* Navigation Spacer (Empty Placeholder) */

.museum-nav-spacer {
	display: block;
	width: 1px;
	height: 1px;
	visibility: hidden;
}

.museum-nav-link:hover {
	color: #3D6B1F;
	text-decoration: underline;
}

.museum-nav-link:focus {
	outline: 2px solid #3D6B1F;
	outline-offset: 2px;
}

/* Mobile Responsive Navigation */

@media (max-width: 767px) {
	.museum-navigation {
		padding: 24px 20px;
	}

	.museum-navigation-inner {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto;
	}

	.museum-nav-button.museum-nav-prev {
		grid-column: 1;
		grid-row: 1;
	}

	.museum-nav-link {
		grid-column: 1;
		grid-row: 2;
	}

	.museum-nav-button.museum-nav-next {
		grid-column: 1;
		grid-row: 3;
	}

	.museum-nav-button {
		width: 100%;
		min-height: 48px;
		padding: 14px 20px;
		font-size: 14px;
	}

	.museum-nav-link {
		font-size: 14px;
		width: 100%;
		text-align: center;
	}

	.museum-nav-spacer {
		display: none !important;
	}
}

/* Reduced Motion for Navigation */

@media (prefers-reduced-motion: reduce) {
	.museum-nav-button,
	.museum-nav-link {
		transition: none;
		transform: none !important;
	}

	.museum-nav-button:hover,
	.museum-nav-button:active {
		transform: none;
	}
}