/* ==========================================================================
   CSS Custom Properties - All Colors Defined at Top
   ========================================================================== */

:root {
    /* Primary Brand Colors */
    --primary-color: #2d5016;
    --primary-hover: #1f3610;
    --primary-light: #4a7428;
    --secondary-color: #6b7280;
    --secondary-dark: #4b5563;
    --secondary-light: #9ca3af;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-hover: #e2e8f0;
    --bg-active: #cbd5e1;
    
    /* Text Colors */
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --text-inverse: #ffffff;
    
    /* Border Colors */
    --border-primary: #e2e8f0;
    --border-secondary: #f1f5f9;
    --border-hover: #cbd5e1;
    --border-focus: var(--primary-color);
    
    /* Shadow Colors */
    --shadow-light: rgba(0,0,0,0.08);
    --shadow-medium: rgba(0,0,0,0.12);
    --shadow-heavy: rgba(0,0,0,0.20);
    --shadow-focus: rgba(45,80,22,0.15);
    
    /* Semantic Colors */
    --color-danger: #ef4444;
    --color-danger-dark: #dc2626;
    --color-danger-bg: #fee2e2;
    --color-danger-text: #dc2626;
    --color-danger-border: #fecaca;
    
    --color-warning: #f59e0b;
    --color-warning-dark: #d97706;
    --color-warning-darker: #92400e;
    --color-warning-light: #fbbf24;
    --color-warning-bg: #fef3c7;
    --color-warning-text: #92400e;
    --color-warning-border: #fed7aa;
    
    --color-info: #3b82f6;
    --color-info-dark: #2563eb;
    --color-info-darker: #1e40af;
    --color-info-bg: #dbeafe;
    --color-info-text: #1e40af;
    --color-info-border: #bfdbfe;
    
    --color-success: #22c55e;
    --color-success-dark: #16a34a;
    --color-success-darker: #15803d;
    --color-success-bg: #dcfce7;
    --color-success-text: #16a34a;
    --color-success-border: #bbf7d0;
    
    --color-live: var(--color-success);
    --color-offline: var(--color-danger);
    --color-free: var(--color-success);
    --color-paid: var(--color-warning);
    --color-logout-hover-bg: #fef2f2;
}

/* Dark Theme Overrides */
[data-theme="dark"] {
    /* Primary Brand Colors - slightly adjusted for dark mode */
    --primary-color: #4a7428;
    --primary-hover: #5d8c32;
    --primary-light: #6ba445;
    
    /* Background Colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-hover: #475569;
    --bg-active: #64748b;
    
    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --text-inverse: #0f172a;
    
    /* Border Colors */
    --border-primary: #334155;
    --border-secondary: #1e293b;
    --border-hover: #475569;
    
    /* Shadow Colors */
    --shadow-light: rgba(0,0,0,0.3);
    --shadow-medium: rgba(0,0,0,0.4);
    --shadow-heavy: rgba(0,0,0,0.6);
    --shadow-focus: rgba(74,116,40,0.3);
    
    /* Semantic Colors - adjusted for dark mode */
    --color-danger-bg: #7f1d1d;
    --color-danger-text: #f87171;
    --color-danger-border: #991b1b;
    
    --color-warning-bg: #451a03;
    --color-warning-text: #fbbf24;
    --color-warning-border: #92400e;
    
    --color-info-bg: #1e3a8a;
    --color-info-text: #60a5fa;
    --color-info-border: #2563eb;
    
    --color-success-bg: #14532d;
    --color-success-text: #4ade80;
    --color-success-border: #166534;
    
    --accent-green: var(--primary-color);
    --accent-green-hover: var(--primary-hover);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-secondary);
    line-height: 1.6;
    color: var(--text-primary);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.meta-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

/* ==========================================================================
   Unified Button Components
   ========================================================================== */

.btn-base {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-width: fit-content;
    white-space: nowrap;
    font-family: inherit;
}

/* Primary button */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-inverse);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-focus);
}

/* Secondary button */
.btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
}

.btn-secondary:hover {
    background-color: var(--bg-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* Tertiary button (outline) */
.btn-tertiary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-tertiary:hover {
    background-color: var(--primary-color);
    color: var(--text-inverse);
    transform: translateY(-2px);
}

/* Small button variant */
.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Large button variant */
.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Icon-only button */
.btn-icon {
    padding: 0.75rem;
    min-width: auto;
    aspect-ratio: 1;
}

/* Button groups */
.btn-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Unified Tag and Badge Components
   ========================================================================== */

/* Base tag styles */
.tag-base {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid transparent;
}

/* Primary tags */
.tag-primary {
    background: var(--primary-color);
    color: var(--text-inverse);
}

/* Secondary tags */
.tag-secondary {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-color: var(--border-primary);
}

/* Status tags */
.tag-success {
    background: var(--color-success-bg);
    color: var(--color-success-text);
    border-color: var(--color-success-border);
}

.tag-warning {
    background: var(--color-warning-bg);
    color: var(--color-warning-text);
    border-color: var(--color-warning-border);
}

.tag-info {
    background: var(--color-info-bg);
    color: var(--color-info-text);
    border-color: var(--color-info-border);
}

.tag-danger {
    background: var(--color-danger-bg);
    color: var(--color-danger-text);
    border-color: var(--color-danger-border);
}

/* ==========================================================================
   Unified Grid Layouts
   ========================================================================== */

/* Standard grid for cards */
.grid-standard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Compact grid */
.grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* List layout for detailed items */
.grid-list {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Mobile responsive grids */
@media (max-width: 768px) {
    .grid-standard,
    .grid-compact {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .grid-list {
        gap: 1.25rem;
    }
}

/* ==========================================================================
   Unified Section Headers
   ========================================================================== */

.section-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-primary);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   Unified Filter Styles
   ========================================================================== */

/* Base filter container styles */
.filters,
.news-filters,
.camping-filters,
.things-to-do-filters,
.events-filters {
    background-color: var(--bg-primary);
    padding: 1.5rem 0.5rem 0.5rem 0.5rem;
    box-shadow: 0 2px 4px var(--shadow-light);
    border-bottom: 1px solid var(--border-primary);
    top: 60px;
    z-index: 50;
}

/* Filters container */
.filters-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.filters-container h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Filter groups and controls */
.filter-group {
    margin-bottom: 1rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.search-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-group {
    flex: 1;
}

.filter-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* Input and select styles */
.filter-input,
.filter-select,
.search-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-primary);
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-input:focus,
.filter-select:focus,
.search-group input:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(156, 164, 176, 0.1);
    background-color: var(--bg-primary);
}

.date-filter {
    font-family: inherit;
}

/* Mobile responsiveness for filters */
@media (max-width: 768px) {
    .filters,
    .news-filters,
    .camping-filters,
    .things-to-do-filters,
    .events-filters {
        padding: 1rem 0.5rem 0.5rem 0.5rem;
        position: static;
    }
    
    .filters-container {
        padding: 0 1rem;
    }
    
    .search-controls {
        gap: 1rem;
    }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Header */
.header {
    box-shadow: 0 1px 3px var(--shadow-light);
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 60px;
}

/* Header Left Container */
.header-left {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}

/* Header Right Container */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-right: 0.5rem;
}

/* Logo link styling - remove default link appearance */
.logo a {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo a:hover {
    opacity: 0.8;
}

/* Desktop Navigation */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style: none;
    flex-shrink: 0;
    margin-left: 1.5rem;
}

.nav-links a,
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    transition: color 0.2s;
    white-space: nowrap;
    padding: 0.25rem 0;
}

.nav-links a:hover,
.nav-link:hover {
    color: var(--accent-green);
}

/* Active navigation link styling */
.nav-links a.active,
.nav-link.active {
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
}

.nav-links a.active::after,
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-green);
    border-radius: 1px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0.5rem;
    transition: color 0.2s;
    margin-left: auto;
}

.mobile-menu-btn:hover {
    color: var(--accent-green);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 4px 12px var(--shadow-medium);
    border-top: 1px solid var(--border-primary);
    z-index: 50;
}

.mobile-nav.show {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    padding: 1rem 0;
}

.mobile-nav li {
    border-bottom: 1px solid var(--border-secondary);
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    display: block;
    padding: 1rem 2rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.mobile-nav a:hover {
    background-color: var(--bg-tertiary);
    color: var(--accent-green);
}

/* Active mobile navigation link styling */
.mobile-nav a.active {
    background-color: var(--bg-tertiary);
    color: var(--accent-green);
    font-weight: 600;
    border-left: 3px solid var(--accent-green);
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.theme-toggle:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.theme-toggle:active {
    transform: translateY(0);
}

/* Theme Icons */
.theme-icon {
    position: absolute;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

/* Light mode - show sun, hide moon */
.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0.8);
}

/* Dark mode - hide sun, show moon */
[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0.8);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .theme-toggle {
        width: 36px;
        height: 36px;
        margin-right: 8px;
    }
    
    .theme-icon {
        width: 18px;
        height: 18px;
    }
}


/* ==========================================================================
   Authentication
   ========================================================================== */

/* Auth Container */
.auth-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    flex-shrink: 0;
}

/* Login Button */
.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.login-btn:hover {
    background: var(--accent-green);
    color: white;
    border-color: var(--accent-green);
    transform: scale(1.05);
}

.login-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* User Avatar with Dropdown */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid var(--border-primary);
    transition: all 0.2s ease;
    object-fit: cover;
}

.user-avatar:hover {
    border-color: var(--accent-green);
    transform: scale(1.05);
}

/* Dropdown Content */
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background-color: var(--bg-secondary);
    min-width: 180px;
    box-shadow: 0 10px 25px var(--shadow-medium);
    border-radius: 8px;
    z-index: 1000;
    border: 1px solid var(--border-primary);
}

.dropdown-content.show {
    display: block;
}

.dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-primary);
    background-color: var(--bg-tertiary);
    border-radius: 8px 8px 0 0;
}

.dropdown-user-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.dropdown-user-email {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.dropdown-item {
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-secondary);
    display: block;
    transition: background-color 0.2s;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background-color: var(--bg-secondary);
}

.dropdown-item.logout {
    color: var(--color-danger-dark);
    border-top: 1px solid var(--border-primary);
    border-radius: 0 0 8px 8px;
}

.dropdown-item.logout:hover {
    background-color: var(--color-logout-hover-bg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    max-width: 800px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    opacity: 0.95;
}

/* Hero Search Section */
.hero-search-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-search-wrapper {
    position: relative;
    max-width: 700px;
    width: 100%;
}

.hero-search-input {
    width: 100%;
    padding: 1.2rem 1.5rem 1.2rem 3.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1.2rem;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

[data-theme="dark"] .hero-search-input {
    color: var(--text-inverse);
}

.hero-search-input:focus {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2), 0 8px 32px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.hero-search-input::placeholder {
    color: var(--text-secondary);
}

.hero-search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    fill: var(--text-secondary);
    pointer-events: none;
    z-index: 10;
}

/* ==========================================================================
   Main Content
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem;
}

/* ==========================================================================
   Universal Image Sizing and Consistency
   ========================================================================== */

/* Ensure all main content images have consistent sizing */
.park-tab-content img:not(.thumbnail):not(.logo-image) {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-secondary);
}

/* Standard card image sizing across all tabs */
.webcam-preview,
.gallery-preview,
.video-thumbnail,
.audio-cover,
.news-image,
.article-image,
.thing-image {
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Hover effects for interactive images */
.gallery-card .gallery-preview,
.video-card .video-thumbnail {
    cursor: pointer;
}

.gallery-card:hover .gallery-preview,
.video-card:hover .video-thumbnail {
    transform: scale(1.02);
}

/* Image loading states */
.webcam-preview[src=""],
.news-image[src=""],
.article-image[src=""],
.audio-cover[src=""] {
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.webcam-preview[src=""]:after,
.news-image[src=""]:after,
.article-image[src=""]:after,
.audio-cover[src=""]:after {
    content: 'Image not available';
}

/* Dark mode image adjustments */
[data-theme="dark"] img {
    opacity: 0.9;
}

[data-theme="dark"] img:hover {
    opacity: 1;
}

/* ==========================================================================
   Parks Grid & Cards - Using Unified Components
   ========================================================================== */

.parks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.park-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow-light);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.park-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-medium);
    border-color: var(--border-hover);
}

.park-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-tertiary);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* Fallback for parks without specific images */
.park-image:not([style*="background-image"]) {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    display: flex;
    align-items: center;
    justify-content: center;
}

.park-image:not([style*="background-image"])::after {
    content: '🏔️';
    font-size: 4rem;
    opacity: 0.8;
}

/* Park Content */
.park-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.park-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.park-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.park-title a:hover {
    color: var(--primary-color);
}

.park-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: 0.95rem;
    flex: 1;
}

.park-location {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
    margin-top: 1rem;
    flex-shrink: 0;
}

.park-location::before {
    content: '📍';
    font-size: 0.9rem;
}

/* Park Card Links */
.park-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.park-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-primary);
    color: var(--text-secondary);
    text-align: center;
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer p {
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.hidden {
    display: none;
}

/* ==========================================================================
   Infinite Scroll
   ========================================================================== */

.infinite-scroll-trigger {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    margin-top: 2rem;
}

.infinite-scroll-trigger .loading {
    padding: 1rem 2rem;
    margin: 0;
}

/* Loading indicator animation */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-left: 0.5em;
    border: 2px solid var(--border-secondary);
    border-top: 2px solid var(--accent-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-container p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

/* ==========================================================================
   No Results Styling
   ========================================================================== */

.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    min-height: 300px;
    border-radius: 16px;
    box-shadow: 0 4px 16px var(--shadow-light);
    border: 1px solid var(--border-secondary);
    margin: 2rem 0;
    grid-column: 1 / -1; /* Span all grid columns */
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.no-results-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.no-results-message {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 500px;
}

.no-results-message strong {
    color: var(--accent-green);
    font-weight: 600;
}

/* ==========================================================================
   Park Detail Page - Only Used Classes
   ========================================================================== */

.park-detail-page {
    min-height: 100vh;
}

/* Park Hero Section */
.park-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    background-color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
}

.park-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.park-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.park-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.park-hero-description {
    font-size: 1.2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    line-height: 1.6;
}

/* Park Navigation Tabs */
.park-nav {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-primary);
}

.park-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 0 2rem;
}

.park-nav-tab {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
    min-width: fit-content;
}

.park-nav-tab:hover {
    color: var(--accent-green);
    background: var(--bg-secondary);
}

.park-nav-tab.active {
    color: var(--text-primary);
    border-bottom-color: var(--color-warning);
}

/* Tab Content */
.park-content-container {
    background: var(--bg-secondary);
    min-height: 60vh;
}

.park-tab-content {
    display: none;
}

.park-tab-content.active {
    display: block;
}

/* Popular Activities Section */
.popular-activities h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: var(--text-primary);
}

/* Activities Pills Layout */
.activities-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 4rem;
}

.activity-pill {
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.1rem .25rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: 1px solid transparent;
}

.activity-pill:hover {
    transform: translateY(-2px);
}

.activity-name {
    white-space: nowrap;
}

.alerts-grid, .alerts-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.alert-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px var(--shadow-light);
    border: 1px solid var(--border-primary);
    border-left: 5px solid var(--text-tertiary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.alert-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--shadow-medium);
}

.alert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: inherit;
    z-index: 1;
}

/* Alert Category Styles */
.alert-card.alert-Danger {
    border-left-color: var(--color-danger);
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.05) 0%, 
        var(--bg-primary) 100%);
}

.alert-card.alert-Danger::before {
    background: linear-gradient(to bottom, var(--color-danger), var(--color-danger-dark));
}

.alert-card.alert-Danger .alert-category {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-danger-dark);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-card.alert-Warning {
    border-left-color: var(--color-warning);
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.05) 0%, 
        var(--bg-primary) 100%);
}

.alert-card.alert-Warning::before {
    background: linear-gradient(to bottom, var(--color-warning), var(--color-warning-dark));
}

.alert-card.alert-Warning .alert-category {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-warning-dark);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.alert-card.alert-Information {
    border-left-color: var(--color-info);
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.05) 0%, 
        var(--bg-primary) 100%);
}

.alert-card.alert-Information::before {
    background: linear-gradient(to bottom, var(--color-info), var(--color-info-dark));
}

.alert-card.alert-Information .alert-category {
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-info-dark);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Alert Header */
.alert-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.alert-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

.alert-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
    border: 1px solid var(--border-secondary);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Alert Content */
.alert-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.alert-card p:last-child {
    margin-bottom: 0;
}

/* Alert Links */
.alert-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-green);
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.alert-link:hover {
    background: var(--accent-green);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.alert-link::after {
    content: '↗';
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Alert Date */
.alert-date {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-secondary);
    font-style: italic;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .alert-card.alert-Danger {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.08) 0%, 
        var(--bg-primary) 100%);
}

[data-theme="dark"] .alert-card.alert-Danger .alert-category {
    background: rgba(239, 68, 68, 0.15);
    color: var(--color-danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

[data-theme="dark"] .alert-card.alert-Warning {
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.08) 0%, 
        var(--bg-primary) 100%);
}

[data-theme="dark"] .alert-card.alert-Warning .alert-category {
    background: rgba(245, 158, 11, 0.15);
    color: var(--color-warning-light);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

[data-theme="dark"] .alert-card.alert-Information {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.08) 0%, 
        var(--bg-primary) 100%);
}

[data-theme="dark"] .alert-card.alert-Information .alert-category {
    background: rgba(59, 130, 246, 0.15);
    color: var(--color-info);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Empty State */
.empty-state {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px dashed var(--border-primary);
}

/* Mobile Styles */
@media (max-width: 850px) {
    /* Header adjustments */
    .header {
        padding: 0.75rem 1rem;
    }

    .header-left .logo {
        font-size: 1rem;
    }

    .header-left .logo .logo-image {
        width: 28px;
        height: 28px;
    }

    /* Hide desktop navigation */
    .nav-links {
        display: none;
    }

    /* Show mobile menu button */
    .mobile-menu-btn {
        display: block;
    }

    /* Adjust dropdown positioning */
    .dropdown-content {
        right: -8px;
        min-width: 160px;
    }

    /* Hero section adjustments */
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    /* Hero search mobile adjustments */
    .hero-search-container {
        padding: 0 1rem;
    }

    .hero-search-input {
        padding: 1rem 1.2rem 1rem 3rem;
        font-size: 1.1rem;
    }

    .hero-search-icon {
        left: 1rem;
        width: 20px;
        height: 20px;
    }

    /* Single column grid on mobile */
    .parks-grid {
        grid-template-columns: 1fr;
    }

    /* Footer adjustments */
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    /* No results mobile */
    .no-results {
        padding: 3rem 1.5rem;
        min-height: 250px;
        margin: 1rem 0;
    }
    
    .no-results-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .no-results-title {
        font-size: 1.5rem;
    }
    
    .no-results-message {
        font-size: 1rem;
    }

    /* Park detail mobile */
    .park-hero-title {
        font-size: 2rem;
    }
    
    .park-hero-description {
        font-size: 1rem;
    }
    
    .park-nav-container {
        padding: 0 1rem;
    }
    
    .park-nav-tab {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Activities Pills Mobile Layout */
    .activities-pills {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .activity-pill {
        font-size: 0.7rem;
        padding: 0.1rem 0.25rem;
    }
    
    .popular-activities h2 {
        font-size: 2rem;
        text-align: center;
    }

    /* Alerts Mobile */
    .alerts-grid, .alerts-list {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .alert-card {
        padding: 1.25rem;
    }
    
    .alert-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .alert-header h3 {
        font-size: 1rem;
    }
    
    .alert-category {
        align-self: flex-start;
    }
    
    .alert-link {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .container {
        padding: 2rem 1rem;
    }
}

/* Tablet and larger styles */
@media (min-width: 851px) {
    /* Ensure mobile menu is hidden on desktop */
    .mobile-menu-btn {
        display: none;
    }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 1024px) {
    .parks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   News & Articles Section - Using Unified Components
   ========================================================================== */

.news-releases,
.articles {
    margin-bottom: 4rem;
}

.news-releases .section-title,
.articles .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.news-list,
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.news-card,
.article-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow-light);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    padding: 1.5rem;
    gap: 1rem;
}

.news-card:hover,
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-medium);
    border-color: var(--border-hover);
}

/* Improved content padding and structure for main news page */
.news-content,
.article-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    min-height: 0;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

/* Fix title and link styling */
.news-header h3,
.article-content h3,
.news-title,
.news-title h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.news-header h3 a,
.article-content h3 a,
.news-title a,
.news-title h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-header h3 a:hover,
.article-content h3 a:hover,
.news-title a:hover,
.news-title h3 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.release-date {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-primary);
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    display: inline-block;
    font-weight: 500;
}

.news-abstract,
.article-content p,
.news-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: 0.9rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* News meta information with better spacing */
.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0;
}

.news-date {
    color: var(--text-secondary);
    font-size: 0.8rem;
    background: var(--bg-tertiary);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    font-weight: 500;
}

.news-category {
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-image,
.article-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-tertiary);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 0;
    margin: 0;
}

/* Fallback for news articles without images */
.news-image:not([style*="background-image"]),
.article-image:not([style*="background-image"]) {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image:not([style*="background-image"])::after,
.article-image:not([style*="background-image"])::after {
    content: '📰';
    font-size: 3rem;
    opacity: 0.8;
}

.news-image img,
.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* Ensure proper image container for news cards */
.news-card .news-image,
.article-card .article-image {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.read-more,
.read-article,
.news-actions .news-link,
.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    background: var(--primary-color);
    color: var(--text-inverse);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: auto;
}

.read-more::after,
.read-article::after,
.news-link::after {
    content: '→';
    font-size: 1rem;
    margin-left: 0.25rem;
    transition: transform 0.2s ease;
}

.read-more:hover::after,
.read-article:hover::after,
.news-link:hover::after {
    transform: translateX(2px);
}

/* Load more button styling */
.load-more-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-primary);
}


/* Events Calendar Section - Enhanced */
.events-calendar {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.event-item {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px var(--shadow-light);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
}

.event-date-block {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    min-width: 80px;
    flex-shrink: 0;
}

.event-date-block .month {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.event-date-block .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.event-details {
    flex: 1;
}

.event-details h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.event-details p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: 0.95rem;
}

.event-location,
.event-fee,
.event-time {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    min-width: fit-content;
    white-space: nowrap;
    font-family: inherit;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin-top: 0.75rem;
}

/* No News State */
.no-news {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    margin: 2rem 0;
}

.no-news-content {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: 0 4px 16px var(--shadow-light);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    max-width: 500px;
}

.no-news-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.no-news-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   Things To Do Section - Using Unified Components
   ========================================================================== */

.things-to-do-preview {
    margin-bottom: 4rem;
}

.things-to-do-preview .section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.things-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.thing-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow-light);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.thing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-medium);
    border-color: var(--border-hover);
}

.thing-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-tertiary);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.thing-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.thing-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0;
}

.thing-details span {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid transparent;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-color: var(--border-primary);
}

.fee-required {
    background: var(--color-warning-bg);
    color: var(--color-warning-text);
    border-color: var(--color-warning-border);
}

.reservation-required {
    background: var(--color-info-bg);
    color: var(--color-info-text);
    border-color: var(--color-info-border);
}

.activity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Activity Cards */
.activity-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px var(--shadow-light);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    height: fit-content;
}

.activity-tag {
    background: var(--primary-color);
    color: var(--text-inverse);
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid transparent;
    font-size: 0.8rem;
}

.duration {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Duration within thing-details needs special handling for HTML content */
.thing-details .duration {
    display: inline-block;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.thing-details .duration p {
    display: inline;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   Events Section - Using Unified Components
   ========================================================================== */

.upcoming-events {
    margin-bottom: 4rem;
}

.upcoming-events .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.event-start-date,
.event-end-date,
.event-single-date {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.8rem;
}

.event-date-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.event-date-separator {
    color: var(--text-tertiary);
    font-weight: 500;
    margin: 0 0.25rem;
}

.event-no-date {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
    font-weight: 500;
    font-size: 0.8rem;
    font-style: italic;
}

/* Events List for Activities Page */
.events {
    margin-bottom: 4rem;
}

.events h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.events-list {
    display: grid;
    gap: 1.5rem;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.event-times {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.time-slot {
    background: var(--bg-tertiary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Visitor Services Section
   ========================================================================== */

.visitor-services {
    margin-bottom: 4rem;
}

.visitor-services h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px var(--shadow-light);
    border: 1px solid var(--border-secondary);
    transition: transform 0.2s;
}

.service-card:hover {
    transform: translateY(-2px);
}

.address,
.contact-phone,
.contact-email {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.center-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.amenity-badge {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--border-primary);
}

/* ==========================================================================
   Amenities Section
   ========================================================================== */

.park-amenities {
    margin-bottom: 4rem;
}

.park-amenities h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.amenity-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px var(--shadow-light);
    border: 1px solid var(--border-secondary);
    text-align: center;
    transition: transform 0.2s;
}

.amenity-card:hover {
    transform: translateY(-2px);
}

/* ==========================================================================
   Tours Section
   ========================================================================== */

.featured-tours {
    margin-bottom: 4rem;
}

.featured-tours h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.tours-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tour-preview-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px var(--shadow-light);
    border: 1px solid var(--border-secondary);
    transition: transform 0.2s;
}

.tour-preview-card:hover {
    transform: translateY(-2px);
}

.tour-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0;
}

.tour-details span {
    background: var(--bg-tertiary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.tour-duration {
    background: #fef3c7 !important;
    color: var(--color-warning-dark) !important;
}

.tour-activities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tour-activity-tag {
    background: var(--primary-color);
    color: var(--text-inverse);
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid transparent;
}

/* Guided Tours for Activities Page */
.guided-tours {
    margin-bottom: 4rem;
}

.guided-tours h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.tour-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow-light);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-secondary);
}

.tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-medium);
}

.tour-content {
    padding: 1.5rem;
}

/* ==========================================================================
   Park Details Page Specific Styles
   ========================================================================== */

/* Park Details Navigation */
/* Smooth scrolling for navigation links */
html {
    scroll-behavior: smooth;
}

.detail-section {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: box-shadow 0.3s ease;
    scroll-margin-top: 120px;
}

.detail-section:hover {
    box-shadow: 0 4px 16px var(--shadow-medium);
}

.detail-section h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-secondary);
}

/* Park Details Navigation */
.park-details-nav {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.details-nav-container h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-secondary);
}

.details-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.details-nav-links .nav-link {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-secondary);
    transition: all 0.3s ease;
}

.details-nav-links .nav-link:hover {
    background: var(--accent-green);
    color: white;
    border-color: var(--accent-green);
    transform: translateY(-1px);
}

.park-details-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

/* Address Cards */
.address-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.address-card p {
    margin: 0.25rem 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.address-card p strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Contact Information */
.contact-info {
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.contact-info:last-child {
    margin-bottom: 0;
}

.contact-info p {
    margin: 0.25rem 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-info p strong {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--accent-green);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: var(--accent-green-hover);
    text-decoration: underline;
}

/* Operating Hours */
.hours-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.hours-card h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.hours-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.day-hours {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-secondary);
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.day-hours:hover {
    background: var(--bg-tertiary);
}

.day {
    font-weight: 600;
    color: var(--text-primary);
    text-transform: capitalize;
}

.hours {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.no-hours {
    color: var(--text-tertiary);
    font-style: italic;
    text-align: center;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 6px;
    border: 1px solid var(--border-secondary);
}

/* Schedule Exceptions */
.exceptions {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-secondary);
}

.exceptions h5 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.exception {
    background: #fef3c7;
    border: 1px solid var(--color-warning);
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--color-warning-darker);
}

[data-theme="dark"] .exception {
    background: #451a03;
    border-color: var(--color-warning-darker);
    color: var(--color-warning-light);
}

.exception strong {
    display: block;
    margin-bottom: 0.25rem;
}

.exception-hours {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.exception-hours span {
    background: rgba(0, 0, 0, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* Entrance Fees */
.fees-list {
    display: grid;
    gap: 1rem;
}

.fee-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.fee-card h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    flex: 1;
}

.fee-card .cost {
    color: var(--accent-green);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    flex-shrink: 0;
}

.fee-card p:not(.cost) {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Additional Fees Info */
.fees-info {
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.fees-info h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.fees-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0.5rem 0;
}

.fees-info p strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Weather Information */
.weather-info {
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    padding: 1.25rem;
    line-height: 1.6;
}

.weather-info p {
    color: var(--text-secondary);
    margin: 0;
}

/* Directions */
.directions-info {
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    padding: 1.25rem;
}

.directions-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.directions-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid var(--accent-green);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.directions-link:hover {
    background: var(--accent-green);
    color: white;
}

/* Visitor Centers */
.visitor-centers {
    display: grid;
    gap: 1.5rem;
}

.visitor-center-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    padding: 1.25rem;
}

.visitor-center-card h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
}

.visitor-center-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0.5rem 0;
}

.visitor-center-card .address {
    color: var(--text-tertiary);
    font-style: italic;
    font-size: 0.9rem;
}

.vc-hours {
    margin: 1rem 0;
    padding: 0.75rem;
    background: var(--bg-primary);
    border-radius: 6px;
    border: 1px solid var(--border-secondary);
}

.vc-amenities {
    margin-top: 1rem;
}

.vc-amenities strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.amenity-tag {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-inverse);
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin: 0.25rem 0.25rem 0.25rem 0;
    border: 1px solid transparent;
}

/* Campgrounds */
.campgrounds-info {
    display: grid;
    gap: 1.5rem;
}

.campground-info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    padding: 1.25rem;
}

.campground-info-card h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
}

.campground-info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0.5rem 0;
}

.campsite-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
    padding: 0.75rem;
    background: var(--bg-primary);
    border-radius: 6px;
    border: 1px solid var(--border-secondary);
}

.campsite-details span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.reservation-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid var(--accent-green);
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.reservation-link:hover {
    background: var(--accent-green);
    color: white;
}

/* Parking Information */
.parking-info {
    display: grid;
    gap: 1rem;
}

.parking-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    padding: 1.25rem;
}

.parking-card h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
}

.parking-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0.5rem 0;
}

.parking-accessibility {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: var(--bg-primary);
    border-radius: 6px;
    border: 1px solid var(--border-secondary);
}

.parking-accessibility span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Activities Detailed (Activities Page)
   ========================================================================== */

.things-to-do {
    margin-bottom: 4rem;
}

.things-to-do h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.activities-detailed {
    display: grid;
    gap: 2rem;
}

.activity-detail-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px var(--shadow-light);
    border: 1px solid var(--border-secondary);
    transition: transform 0.2s;
}

.activity-detail-card:hover {
    transform: translateY(-2px);
}

.activity-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.short-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.activity-meta span {
    background: var(--bg-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-primary);
}

.activity-meta .fee {
    background: #fef3c7;
    color: var(--color-warning-dark);
    border-color: var(--color-warning);
}

.activity-meta .pets {
    background: #dcfce7;
    color: var(--color-success-dark);
    border-color: var(--color-success);
}

.activity-details {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    line-height: 1.6;
    color: var(--text-secondary);
}

.accessibility {
    background: #dbeafe;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid var(--color-info);
}

.accessibility strong {
    color: var(--color-info-darker);
    font-weight: 600;
}

.season {
    background: #ecfdf5;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid var(--color-success);
}

.season strong {
    color: var(--color-success-darker);
    font-weight: 600;
}

/* ==========================================================================
   Campgrounds Section - Using Unified Components
   ========================================================================== */

.campgrounds {
    margin-bottom: 4rem;
}

.campgrounds .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.campgrounds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.campground-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.campsite-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.sites-count {
   
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

.amenity {
   
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

.reservation-info {
   
    background: var(--color-info-bg);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid var(--color-info);
}

.reservation-info strong {
    color: var(--color-info-text);
    font-weight: 600;
}

.campground-fees {
    margin-top: 1rem;
}

.fee-item {
    background: var(--bg-tertiary);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border-left: 4px solid var(--color-success);
}

.fee-item strong {
    color: var(--color-success-text);
    font-weight: 600;
}

.fee-item small {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ==========================================================================
   Media Page Styles
   ========================================================================== */

.live-webcams {
    margin-bottom: 4rem;
}

.live-webcams h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.webcams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.webcam-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow-light);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.webcam-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px var(--shadow-medium);
    border-color: var(--accent-green);
}

.webcam-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-secondary);
}

.webcam-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.status {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status.live {
    background: var(--color-success-bg);
    color: var(--color-success-text);
    border: 1px solid var(--color-success-border);
}

[data-theme="dark"] .status.live {
    background: var(--color-success-bg);
    color: var(--color-success-text);
    border: 1px solid var(--color-success-border);
}

.status.offline {
    background: var(--color-danger-bg);
    color: var(--color-danger-text);
    border: 1px solid var(--color-danger-border);
}

[data-theme="dark"] .status.offline {
    background: var(--color-danger-bg);
    color: var(--color-danger-text);
    border: 1px solid var(--color-danger-border);
}

.webcam-preview {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--bg-tertiary);
}

.webcam-card p {
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.webcam-info {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-secondary);
    background: var(--bg-primary);
}

.webcam-info small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.webcam-info small:last-child {
    margin-bottom: 0;
}

.webcam-info small:first-child {
    font-weight: 600;
}

.webcam-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.webcam-status .status {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.webcam-status .status.live {
    background: var(--color-success-bg);
    color: var(--color-success-text);
    border: 1px solid var(--color-success-border);
}

[data-theme="dark"] .webcam-status .status.live {
    background: var(--color-success-bg);
    color: var(--color-success-text);
    border: 1px solid var(--color-success-border);
}

.webcam-status .status.offline {
    background: var(--color-danger-bg);
    color: var(--color-danger-text);
    border: 1px solid var(--color-danger-border);
}

[data-theme="dark"] .webcam-status .status.offline {
    background: var(--color-danger-bg);
    color: var(--color-danger-text);
    border: 1px solid var(--color-danger-border);
}

.webcam-status .status.live::before {
    content: "●";
    margin-right: 0.25rem;
    animation: pulse 2s infinite;
}

.webcam-status .status.offline::before {
    content: "●";
    margin-right: 0.25rem;
    opacity: 0.5;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Mobile responsive webcam improvements */
@media (max-width: 768px) {
    .webcams-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .webcam-header {
        padding: 1rem;
    }
    
    .webcam-header h3 {
        font-size: 1.1rem;
    }
    
    .webcam-preview {
        height: 200px;
    }
    
    .webcam-card p {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .webcam-info {
        padding: 0.75rem 1rem;
    }
    
    .webcam-link {
        margin: 0.75rem 1rem 1rem 1rem;
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .webcam-tags .tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}

.webcam-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--text-tertiary);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 1rem 1.5rem 1.5rem 1.5rem;
    transition: all 0.2s ease;
}

.webcam-link:hover {
    background: #15803d;
    transform: translateY(-1px);
}

.webcam-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.webcam-tags .tag {
    background: var(--bg-primary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-primary);
    transition: all 0.2s ease;
}

.webcam-tags .tag:hover {
    background: var(--accent-green);
    color: white;
    border-color: var(--accent-green);
}

.status-message {
    padding: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Photo Galleries */
.photo-galleries {
    margin-bottom: 4rem;
}

.photo-galleries h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: var(--text-primary);
}

.galleries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow-light);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px var(--shadow-medium);
    border-color: var(--accent-green);
}

.gallery-preview {
    position: relative;
    height: 250px;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.gallery-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-preview-image:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.gallery-preview-image:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
}

.gallery-preview-image:nth-child(3) {
    grid-column: 3;
    grid-row: 2;
}

.gallery-preview-image:nth-child(4),
.gallery-preview-image:nth-child(5),
.gallery-preview-image:nth-child(6) {
    display: none;
}

/* Show additional images when there are 4+ images */
.gallery-preview:has(.gallery-preview-image:nth-child(4)) {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-preview:has(.gallery-preview-image:nth-child(4)) .gallery-preview-image:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.gallery-preview:has(.gallery-preview-image:nth-child(4)) .gallery-preview-image:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
}

.gallery-preview:has(.gallery-preview-image:nth-child(4)) .gallery-preview-image:nth-child(3) {
    grid-column: 3;
    grid-row: 2;
}

.gallery-preview:has(.gallery-preview-image:nth-child(4)) .gallery-preview-image:nth-child(4) {
    display: block;
    grid-column: 4;
    grid-row: 1;
}

.gallery-preview:has(.gallery-preview-image:nth-child(5)) .gallery-preview-image:nth-child(5) {
    display: block;
    grid-column: 4;
    grid-row: 2;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.photo-count {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.view-gallery-text {
    color: white;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Slideshow Modal */
.slideshow-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    overflow: auto;
}

.slideshow-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-primary);
}

.slideshow-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-primary);
    background: var(--bg-primary);
}

.slideshow-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.slideshow-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.slideshow-close:hover {
    color: var(--text-primary);
}

.slideshow-content {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    min-height: 0;
}

.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.2s ease;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.slideshow-nav.prev {
    left: 2rem;
}

.slideshow-nav.next {
    right: 2rem;
}

.slideshow-image-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 0;
}

.slideshow-image-container img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.slideshow-image-info {
    margin-top: 1.5rem;
    text-align: center;
    max-width: 600px;
}

.slideshow-image-info h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.slideshow-image-info p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.slideshow-footer {
    padding: 1rem 2rem;
    border-top: 1px solid var(--border-primary);
    background: var(--bg-primary);
}

.slideshow-counter {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.slideshow-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    justify-content: center;
}

.slideshow-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.slideshow-thumbnail:hover {
    border-color: var(--accent-green);
    transform: scale(1.05);
}

.slideshow-thumbnail.active {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 1px var(--accent-green);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .slideshow-nav {
        font-size: 1.5rem;
        width: 50px;
        height: 50px;
        padding: 0.75rem;
    }
    
    .slideshow-nav.prev {
        left: 1rem;
    }
    
    .slideshow-nav.next {
        right: 1rem;
    }
    
    .slideshow-header,
    .slideshow-footer {
        padding: 1rem;
    }
    
    .slideshow-image-container {
        padding: 1rem;
    }
    
    .slideshow-thumbnails {
        gap: 0.25rem;
    }
    
    .slideshow-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    /* Gallery mobile improvements */
    .galleries-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-info {
        padding: 1rem;
    }
    
    .gallery-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .gallery-info p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
    }
    
    .gallery-info .asset-count {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
        margin-top: 0.5rem;
    }
}

.gallery-info {
    padding: 1.5rem;
    background: var(--bg-primary);
}

.gallery-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.gallery-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.gallery-info p:last-child {
    margin-bottom: 0;
}

.gallery-images-preview {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--border-secondary);
    transition: all 0.2s ease;
    cursor: pointer;
}

.thumbnail:hover {
    border-color: var(--accent-green);
    transform: scale(1.05);
}

/* Gallery Assets */
.asset-count {
    font-size: 0.9rem;
    color: var(--accent-green);
    font-weight: 600;
    margin: 0.75rem 0 0 0;
    padding: 0.5rem 0.75rem;
    background: rgba(22, 163, 74, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(22, 163, 74, 0.2);
    display: inline-block;
}

.gallery-assets {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-secondary);
}

.gallery-assets h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.asset-item {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid var(--border-secondary);
    transition: all 0.2s ease;
}

.asset-item:hover {
    border-color: var(--accent-green);
    box-shadow: 0 2px 8px var(--shadow-light);
}

.asset-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.asset-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.asset-description {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.asset-credit {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-style: italic;
    margin: 0;
}

/* Videos Section */
.videos {
    margin-bottom: 4rem;
}

.videos h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: var(--text-primary);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.video-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow-light);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--shadow-medium);
}
.video-card .credit {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-style: italic;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-secondary);
    line-height: 1.4;
}

[data-theme="dark"] .video-card .credit,
[data-theme="dark"] .audio-card .credit {
    color: var(--text-tertiary);
    border-top-color: var(--border-secondary);
}

.video-thumbnail {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid rgba(255,255,255,0.8);
}

.play-button:hover {
    transform: scale(1.1);
    background: rgba(0,0,0,0.9);
    border-color: white;
}

.video-content {
    padding: 1.5rem;
}

.video-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.video-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.video-link {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--accent-green);
    border-radius: 8px;
    display: block;
    width: fit-content;
    margin: 1rem auto 0.5rem auto;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.video-link:hover {
    background: var(--accent-green);
    color: white;
    transform: translateY(-1px);
}

.video-content .duration {
    display: block;
    text-align: center;
    margin: 0 auto;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Transcript Styles */
.transcript {
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-secondary);
    padding-top: 1rem;
}

.transcript summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.transcript summary:hover {
    color: var(--accent-green);
}

.transcript summary::marker {
    color: var(--accent-green);
}

.transcript-content {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-top: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9rem;
    border: 1px solid var(--border-secondary);
}

/* Audio Content */
.audio-content,
.additional-audio {
    margin-bottom: 4rem;
}

.audio-content h2,
.additional-audio h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: var(--text-primary);
}

.audio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.audio-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow-light);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
}

.audio-card .credit {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-style: italic;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-secondary);
    line-height: 1.4;
}

.audio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--shadow-medium);
}

.audio-cover {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--bg-tertiary);
}

.audio-card .audio-content {
    padding: 1.5rem;
    margin-bottom: 0;
}

.audio-card .audio-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.audio-card .audio-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.audio-card .audio-content .duration {
    display: block;
    text-align: center;
    margin: 0 auto;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.audio-link {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-focus);
    border-radius: 8px;
    display: block;
    width: fit-content;
    margin: 1rem auto 0.5rem auto;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.audio-link:hover {
    background: var(--accent-green);
    color: white;
    transform: translateY(-1px);
}

/* Audio List */
.audio-list {
    display: grid;
    gap: 1.5rem;
}

.audio-item {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px var(--shadow-light);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
}

.audio-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--shadow-medium);
}

.audio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.audio-header h3,
.audio-header h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.audio-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.listen-link {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--accent-green);
    border-radius: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.listen-link:hover {
    background: var(--accent-green);
    color: white;
    transform: translateY(-1px);
}

/* No Media State */
.no-media {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    margin: 2rem 0;
}

.no-media-content {
    text-align: center;
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: 0 4px 16px var(--shadow-light);
    border: 1px solid var(--border-primary);
    max-width: 500px;
}

.no-media-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.no-media-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Mobile responsiveness for media pages */
@media (max-width: 768px) {
    .webcams-grid,
    .galleries-grid,
    .videos-grid,
    .audio-grid,
    .news-list,
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Reduce image heights on mobile */
    .webcam-preview,
    .gallery-preview,
    .video-thumbnail,
    .audio-cover,
    .news-image,
    .article-image,
    .thing-image {
        height: 200px !important;
    }
    
    .gallery-images-preview {
        justify-content: center;
    }
    
    .audio-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .listen-link {
        text-align: center;
    }
    
    /* Events calendar mobile layout */
    .event-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .event-date-block {
        align-self: flex-start;
        min-width: 100px;
    }
    
    /* News page mobile adjustments */
    .news-header h3,
    .article-content h3 {
        font-size: 1.2rem;
    }
    
    .events-calendar {
        gap: 1.25rem;
    }
}

/* Mobile responsiveness for park details */
@media (max-width: 768px) {
    .park-details-nav {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .details-nav-container h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .details-nav-links {
        gap: 0.5rem;
    }
    
    .details-nav-links .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .park-details-grid {
        gap: 1.5rem;
        margin: 1rem 0;
    }
    
    .detail-section {
        padding: 1.25rem;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
    }
    
    .day-hours {
        padding: 0.75rem;
    }
    
    .fee-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .campsite-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .parking-accessibility {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Mobile styles for things to do */
    .things-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Mobile styles for events */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    /* Mobile styles for services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Mobile styles for amenities */
    .amenities-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    /* Mobile styles for tours */
    .tours-preview,
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Activities detailed mobile layout */
    .activities-detailed {
        gap: 1.5rem;
    }
    
    .activity-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Mobile styles for campgrounds */
    .campgrounds-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .campsite-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ==========================================================================
   Things To Do Page Styles
   ========================================================================== */

/* Things To Do Page Styles */
.things-to-do-page {
    min-height: 100vh;
}

.things-to-do-hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1624049321569-f483adecb8fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.things-to-do-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.things-to-do-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.things-to-do-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    max-width: 600px;
    margin: 0 auto;
}

/* Filters Section - Uses unified filter styles */

/* Results Section */
.things-to-do-results {
    padding: 2rem;
    background: var(--bg-secondary);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.results-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-primary);
}

.results-header h2 {
    color: var(--text-primary);
    margin: 0;
}

/* Activity Grid */
.activities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 100%;
    width: 100%;
}

/* Activities Container */
.activities-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

@media (min-width: 640px) {
    .activities-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    .activities-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .activities-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
        gap: 2rem;
    }
}

.activity-header {
    margin: 1rem;
}

.activity-title {
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.activity-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.topic-tag {
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.activity-content {
    margin-bottom: 1rem;
    flex-grow: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.activity-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    word-wrap: break-word;
    hyphens: auto;
}

.activity-meta {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-text {
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.activity-types,
.activity-season,
.related-parks {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
}

.park-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    word-wrap: break-word;
}

.park-link:hover {
    text-decoration: underline;
}

.activity-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-primary);
}

.activity-link {
  display: inline-block;
  padding: 0.25rem .5rem;
  background: var(--border-focus);
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.activity-link:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.empty-state h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Loading State */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-primary);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .things-to-do-hero {
        height: 400px;
        background-attachment: scroll;
    }
    
    .things-to-do-hero-content {
        padding: 0 1rem;
    }
    
    .things-to-do-hero-title {
        font-size: 2.5rem;
    }
    
    .things-to-do-hero-description {
        font-size: 1.1rem;
    }
    
    .things-to-do-results {
        padding: 1rem;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .activity-card {
        padding: 1rem;
        margin-bottom: 0;
    }
    
    .activities-grid {
        gap: 1rem;
    }
    
    .activity-topics {
        gap: 0.25rem;
    }
    
    .topic-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
}

/* ===== EVENTS PAGE STYLES - Using Unified Components ===== */
.events-page {
    min-height: 100vh;
}

/* Events Hero Section */
.events-hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.events-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.events-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.events-hero-description {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Current Date Range Display */
.current-date-range {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.date-range-info {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.date-range-label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.date-range-value {
    background: var(--primary-color);
    color: var(--text-inverse);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Dark theme adjustments */
[data-theme="dark"] .current-date-range {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .date-range-value {
    background: var(--primary-color);
    color: var(--text-inverse);
}

[data-theme="dark"] .clear-filters-btn {
    background: var(--bg-primary);
    color: var(--text-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .clear-filters-btn:hover {
    background: var(--color-danger);
    color: white;
    border-color: var(--color-danger);
}

/* Events Main Content */
.events-main-content {
    padding: 2rem;
    background: var(--bg-secondary);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.events-content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Calendar Section */
.events-calendar-section {
    top: 200px;
}

.calendar-container {
    width: 100%;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.calendar-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.calendar-nav-btn {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
}

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

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    background: var(--shadow-light);
    border-radius: 8px;
    overflow: hidden;
}

.calendar-day-header {
    background: var(--text-tertiary);
    color: white;
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
}

.calendar-day {
    background: var(--bg-primary);
    padding: 0.75rem 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-day:hover {
    background: var(--bg-hover);
}

.calendar-day.today {
    background: var(--primary-color);
    color: var(--text-inverse);
    font-weight: 600;
}

.calendar-day.selected {
    background: var(--primary-color);
    color: var(--text-inverse);
    font-weight: 600;
}

.calendar-day.empty,
.calendar-day.other-month,
.calendar-day.disabled {
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
    opacity: 0.5;
}

.calendar-day.disabled {
    cursor: not-allowed;
}

.calendar-help {
   
    padding: 0.5rem 1rem;
    margin: 0.5rem 0;
    font-size: 0.85rem;
    border-radius: 6px;
    border-left: 3px solid var(--color-info);
}

.calendar-help p {
    margin: 0;
}

/* Events List Section */
.events-list-section {
    min-height: 600px;
}

.events-container {
    width: 100%;
}

.results-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.events-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.event-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px var(--shadow-light);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--shadow-medium);
}

.event-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.event-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.event-meta .event-category,
.event-meta .event-type,
.event-meta .event-fee {
   
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    min-width: 60px;
    max-width: 120px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-content {
    margin-bottom: 1rem;
}

.event-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.event-dates {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-primary);
}

.event-dates h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.dates-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.date-chip {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.event-footer {
   
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-primary);
    justify-content: center;
}

.event-details-btn,
.event-register-btn,
.event-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    min-width: 80px;
    white-space: nowrap;
    font-family: inherit;
}

.event-details-btn {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-primary);
}

.event-details-btn:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.event-register-btn {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-primary);
}

.event-register-btn:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.event-info-btn {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-primary);
}

.event-info-btn:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.empty-state-content {
    max-width: 400px;
    margin: 0 auto;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Event Details Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-container {
    background: var(--bg-primary);
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    animation: slideIn 0.3s ease;
    box-shadow: var(--shadow-heavy);
}

.modal-header {
    background: var(--primary-color);
    color: white;
    padding: .5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.modal-close {
    background: var(--text-primary);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-content {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.event-detail-images {
    margin: 1rem 0;
}

.event-detail-image {
    margin-bottom: 1rem;
}

.event-detail-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.image-caption {
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.4;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .events-content-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .events-calendar-section {
        position: static;
        order: 2;
    }
    
    .events-list-section {
        order: 1;
    }
}

@media (max-width: 768px) {
    .events-hero {
        padding: 3rem 0;
    }
    
    .events-hero-title {
        font-size: 2.5rem;
    }
    
    .events-hero-description {
        font-size: 1.1rem;
    }
    
    .filter-controls {
        grid-template-columns: 1fr;
    }
    
    .date-range-info {
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }
    
    .date-range-label {
        font-size: 0.8rem;
    }
    
    .date-range-value {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
    
    .events-content-container {
        padding: 0 1rem;
    }
    
    .events-calendar-section,
    .events-list-section {
        padding: 1.5rem;
    }
    
    .calendar-grid {
        gap: 1px;
    }
    
    .calendar-day {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
        min-height: 35px;
    }
    
    .event-card {
        padding: 1rem;
        margin-bottom: 0;
    }
    
    .event-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .event-details-btn,
    .event-register-btn,
    .event-info-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        min-width: 70px;
    }
    
    .modal-container {
        width: 95%;
        margin: 10% auto;
    }
}

/* ==========================================================================
   Camping Page Styles
   ========================================================================== */

.camping-page {
    background-color: var(--bg-secondary);
    min-height: 100vh;
}

.camping-hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1568112505330-f5fa78411f1d?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
}

.camping-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.camping-hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.camping-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.camping-hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Camping Filters - Uses unified filter styles */

/* Camping Results */
.camping-results {
    padding: 2rem 0;
}

.campgrounds-list {
    display: grid;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.campground-card {
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow-light);
    overflow: hidden;
    display: grid;
    grid-template-columns: 300px 1fr;
    transition: all 0.2s ease;
}

.campground-card:hover {
    box-shadow: 0 4px 12px var(--shadow-medium);
    transform: translateY(-2px);
}

.campground-image {
    width: 100%;
    height: 250px;
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.campground-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.campground-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-tertiary);
    color: var(--text-tertiary);
}

.campground-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.campground-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.campground-name {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.campground-fee {
    background-color: var(--accent-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    white-space: nowrap;
}

.campground-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.campground-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.detail-item {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.campground-amenities,
.campground-site-types {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.amenities-list,
.site-types-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.amenity-tag,
.site-type-tag {
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid var(--border-primary);
}

.campground-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.campground-link {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.campground-link.primary-btn {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
}

.campground-link.primary-btn:hover {
    background-color: var(--bg-tertiary);
}

.campground-link.secondary-btn {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
}

.campground-link.secondary-btn:hover {
    background-color: var(--bg-tertiary);
}

.campground-link.tertiary-btn {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
}

.campground-link.tertiary-btn:hover {
    background-color: var(--bg-tertiary);
}

/* ==========================================================================
   News Page Styles - Using Unified Components
   ========================================================================== */

.news-page {
    background-color: var(--bg-secondary);
    min-height: 100vh;
}

.news-hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1565030784130-0e0ef4b06b7e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
}

.news-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.news-hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.news-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.news-hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.95;
}

.news-results {
    padding: 2rem 0;
    background: var(--bg-secondary);
}

.news-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.news-related-parks {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border-primary);
    border-bottom: 1px solid var(--border-primary);
}

.parks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.park-tag {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid var(--border-primary);
    font-weight: 500;
}

.news-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-width: fit-content;
    white-space: nowrap;
    font-family: inherit;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin-top: 1rem;
}

.news-link:hover {
    background-color: var(--primary-color);
    color: var(--text-inverse);
    transform: translateY(-2px);
}


/* Mobile Responsiveness for Camping and News Pages */
@media (max-width: 768px) {
    .camping-hero-title,
    .news-hero-title {
        font-size: 2.5rem;
    }
    
    .camping-hero-description,
    .news-hero-description {
        font-size: 1.1rem;
    }
    
    .campground-card,
    .news-card {
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .campground-image,
    .news-image {
        height: 220px;
    }
    
    .campground-header,
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .campground-actions,
    .news-actions {
        flex-direction: column;
        padding-top: 1.25rem;
    }
    
    .campgrounds-list,
    .news-list {
        padding: 0 1rem;
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-grid {
        padding: 0 1rem;
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .news-content,
    .article-content {
        padding: 1.25rem;
        gap: 0.875rem;
    }
    
    .news-related-parks {
        margin: 0.75rem 0;
        padding: 0.75rem 0;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .news-list {
        gap: 1.25rem;
        padding: 0 0.75rem;
    }
    
    .news-grid {
        padding: 0 0.75rem;
        gap: 1.25rem;
    }
    
    .news-hero-title {
        font-size: 2rem;
    }
    
    .news-hero-description {
        font-size: 1rem;
    }
    
    .news-actions {
        padding-top: 1rem;
    }
    
    .news-related-parks {
        margin: 0.5rem 0;
        padding: 0.5rem 0;
    }
}
