/**
 * AJAX Live Search Dropdown Styles
 */

/* Wrapper for positioning */
.asp-live-search-wrapper {
    position: relative;
    width: 100%;
}

/* Dropdown container */
.asp-live-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-top: 8px;
    max-height: 70vh;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
}

/* Section styling */
.asp-live-search-section {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.asp-live-search-section:last-of-type {
    border-bottom: none;
}

.asp-live-search-section-title {
    padding: 8px 16px 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
}

/* Search item base */
.asp-live-search-item {
    transition: background 0.15s ease;
}

.asp-live-search-item a {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    text-decoration: none;
    color: inherit;
}

.asp-live-search-item:hover,
.asp-live-search-item.selected {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(139, 195, 74, 0.1));
}

/* Park result item */
.asp-live-search-park-image {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 12px;
}

.asp-live-search-park-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.asp-live-search-park-info {
    flex: 1;
    min-width: 0;
}

.asp-live-search-park-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a5a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asp-live-search-park-title mark {
    background: rgba(76, 175, 80, 0.25);
    color: inherit;
    padding: 0 2px;
    border-radius: 2px;
}

.asp-live-search-park-state {
    font-size: 0.8rem;
    color: #666;
    margin-top: 2px;
}

.asp-live-search-park-activities {
    font-size: 0.75rem;
    color: #888;
    margin-top: 2px;
}

/* State result item */
.asp-live-search-state a {
    justify-content: space-between;
}

.asp-live-search-state-name {
    font-weight: 500;
    color: #333;
}

.asp-live-search-state-name mark {
    background: rgba(76, 175, 80, 0.25);
    color: inherit;
    padding: 0 2px;
    border-radius: 2px;
}

.asp-live-search-state-count {
    font-size: 0.8rem;
    color: #888;
    background: #f5f5f5;
    padding: 2px 10px;
    border-radius: 12px;
}

/* Loading state */
.asp-live-search-loading {
    padding: 24px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

.asp-live-search-loading .spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #e0e0e0;
    border-top-color: #4CAF50;
    border-radius: 50%;
    animation: asp-spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes asp-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Empty state */
.asp-live-search-empty {
    padding: 32px 24px;
    text-align: center;
}

.asp-live-search-empty-icon {
    font-size: 2rem;
    opacity: 0.5;
    margin-bottom: 8px;
}

.asp-live-search-empty-text {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 4px;
}

.asp-live-search-empty-hint {
    font-size: 0.8rem;
    color: #888;
}

/* Footer with View All */
.asp-live-search-footer {
    padding: 8px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
    border-radius: 0 0 12px 12px;
}

.asp-live-search-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a5a1a;
    text-decoration: none;
    transition: background 0.2s ease;
}

.asp-live-search-view-all:hover {
    background: rgba(76, 175, 80, 0.1);
    color: #1a5a1a;
}

.asp-live-search-view-all svg {
    width: 16px;
    height: 16px;
}

/* Error state */
.asp-live-search-error {
    padding: 24px;
    text-align: center;
    color: #dc3545;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .asp-live-search-dropdown {
        /* Keep position absolute to stay under search input */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: 60vh;
        border-radius: 12px;
        margin-top: 8px;
    }

    .asp-live-search-park-image {
        width: 40px;
        height: 40px;
    }

    .asp-live-search-popular-tags {
        gap: 6px;
    }

    .asp-live-search-popular-tag {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   POPULAR SEARCHES
   ========================================================================== */

.asp-live-search-popular {
    padding: 16px;
}

.asp-live-search-popular-header {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.asp-live-search-popular-section {
    margin-bottom: 16px;
}

.asp-live-search-popular-section:last-child {
    margin-bottom: 0;
}

.asp-live-search-popular-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 8px;
}

/* Tag-based layout for states and activities */
.asp-live-search-popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.asp-live-search-popular-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* State tags - dark green */
.asp-popular-state {
    background: linear-gradient(135deg, rgba(26, 90, 26, 0.1), rgba(45, 125, 45, 0.08));
    color: #1a5a1a;
    border: 1px solid rgba(26, 90, 26, 0.15);
}

.asp-popular-state:hover {
    background: #1a5a1a;
    color: white;
    transform: translateY(-1px);
}

.asp-popular-state .tag-count {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-left: 2px;
}

/* Activity tags - lighter green */
.asp-popular-activity {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(139, 195, 74, 0.08));
    color: #2d7d2d;
    border: 1px solid rgba(76, 175, 80, 0.15);
}

.asp-popular-activity:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-1px);
}

/* Featured park links */
.asp-live-search-popular-park {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    margin-bottom: 4px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.asp-live-search-popular-park:hover {
    background: rgba(76, 175, 80, 0.08);
}

.popular-park-name {
    font-weight: 500;
    color: #1a5a1a;
    font-size: 0.9rem;
}

.popular-park-state {
    font-size: 0.8rem;
    color: #666;
}

/* ==========================================================================
   SEARCH HISTORY
   ========================================================================== */

.asp-history-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.asp-clear-history {
    background: none;
    border: none;
    font-size: 0.7rem;
    color: #888;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.asp-clear-history:hover {
    background: #fee;
    color: #c00;
}

.asp-live-search-history {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.asp-history-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #555;
    transition: background 0.15s ease;
}

.asp-history-item:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #1a5a1a;
}

.history-icon {
    font-size: 0.9rem;
    opacity: 0.5;
}

.history-term {
    flex: 1;
    font-size: 0.9rem;
}

/* ==========================================================================
   DID YOU MEAN SUGGESTIONS
   ========================================================================== */

.asp-live-search-suggestions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e0e0e0;
}

.asp-suggestions-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

.asp-suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.asp-suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(139, 195, 74, 0.05));
    border-radius: 8px;
    text-decoration: none;
    color: #1a5a1a;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid rgba(76, 175, 80, 0.1);
}

.asp-suggestion-item:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(139, 195, 74, 0.1));
    transform: translateX(4px);
    color: #1a5a1a;
}

.suggestion-icon {
    font-size: 1rem;
}

.suggestion-term {
    font-size: 0.9rem;
}/**
 * Activity Taxonomy Archive Styles
 * 
 * Styles for the Activity Hub Pages (/park-activity/{slug}/)
 * 
 * @package StateParksCPT
 * @since 2.0.0
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --sp-activity-primary: #166534;
    --sp-activity-primary-light: #22c55e;
    --sp-activity-primary-dark: #14532d;
    --sp-activity-accent: #fbbf24;
    --sp-activity-bg: #f8fafc;
    --sp-activity-card-bg: #ffffff;
    --sp-activity-text: #1e293b;
    --sp-activity-text-muted: #64748b;
    --sp-activity-border: #e2e8f0;
    --sp-activity-radius: 12px;
    --sp-activity-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --sp-activity-shadow-hover: 0 8px 30px rgba(22, 101, 52, 0.15);
}

/* ========================================
   Main Container
   ======================================== */
.sp-activity-archive {
    background: var(--sp-activity-bg);
    min-height: 100vh;
}

/* Astra Theme Container Override - Force full-width layout (matches single-park.css) */
/* Override Astra's narrow container CSS variable */
body.tax-park_activity {
    --ast-narrow-container-width: 100% !important;
    overflow-x: hidden;
}

/* Force all container elements to full width */
body.tax-park_activity .site-content,
body.tax-park_activity .ast-container,
body.tax-park_activity .ast-narrow-container,
body.tax-park_activity #primary,
body.tax-park_activity article {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Override Astra's narrow container grid layout */
body.tax-park_activity.ast-narrow-container .site-content>.ast-container {
    max-width: 100% !important;
}

body.tax-park_activity .entry-content {
    max-width: 100%;
    width: 100%;
    margin: 0;
}

/* ========================================
   Hero Section
   ======================================== */
.sp-activity-hero {
    /* Background gradient is applied inline with the image */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
}

.sp-activity-hero-inner {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
}

.sp-activity-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.sp-activity-hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.sp-activity-hero-icon svg {
    width: 18px;
    height: 18px;
}

.sp-activity-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.sp-activity-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.sp-activity-hero-subtitle strong {
    color: var(--sp-activity-accent);
}

/* Top States Badges */
.sp-activity-hero-top-states {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.sp-top-states-label {
    font-size: 0.875rem;
    opacity: 0.8;
    font-weight: 500;
}

.sp-top-state-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sp-top-state-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

.sp-state-count {
    background: var(--sp-activity-accent);
    color: var(--sp-activity-primary-dark);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ========================================
   Stats Bar
   ======================================== */
.sp-activity-stats {
    background: white;
    border-bottom: 1px solid var(--sp-activity-border);
    padding: 24px 20px;
}

.sp-activity-stats-inner {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    gap: 60px;
}

.sp-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.sp-stat-item svg {
    width: 24px;
    height: 24px;
    color: var(--sp-activity-primary);
}

.sp-stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sp-activity-text);
}

.sp-stat-label {
    font-size: 0.75rem;
    color: var(--sp-activity-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   Main Content Area
   ======================================== */
.sp-activity-main {
    padding: 60px 20px;
}

.sp-activity-content-wrapper {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

/* ========================================
   Parks by State Section
   ======================================== */
.sp-activity-parks-section {
    margin-bottom: 60px;
}

.sp-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.sp-section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--sp-activity-text);
    margin: 0 0 12px 0;
}

.sp-section-header p {
    font-size: 1rem;
    color: var(--sp-activity-text-muted);
    margin: 0;
}

/* State Grid */
.sp-activity-state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.sp-activity-state-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--sp-activity-card-bg);
    padding: 24px 16px;
    border-radius: var(--sp-activity-radius);
    box-shadow: var(--sp-activity-shadow);
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.sp-activity-state-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sp-activity-shadow-hover);
    border-color: var(--sp-activity-primary-light);
}

.sp-state-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sp-activity-text);
    margin-bottom: 8px;
}

.sp-state-park-count {
    font-size: 0.875rem;
    color: var(--sp-activity-primary);
    font-weight: 600;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 4px 12px;
    border-radius: 20px;
}

/* ========================================
   Activity Guide Section
   ======================================== */
.sp-activity-guide {
    background: var(--sp-activity-card-bg);
    border-radius: var(--sp-activity-radius);
    box-shadow: var(--sp-activity-shadow);
    padding: 40px;
    margin-bottom: 60px;
}

.sp-guide-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sp-activity-text);
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--sp-activity-primary-light);
}

.sp-guide-content {
    color: var(--sp-activity-text);
    line-height: 1.8;
}

.sp-guide-section {
    margin-bottom: 32px;
}

.sp-guide-section:last-child {
    margin-bottom: 0;
}

.sp-guide-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sp-activity-primary-dark);
    margin: 0 0 16px 0;
}

.sp-guide-section p {
    margin: 0 0 16px 0;
}

.sp-guide-section ul,
.sp-guide-section ol {
    margin: 0 0 16px 0;
    padding-left: 24px;
}

.sp-guide-section li {
    margin-bottom: 8px;
}

/* ========================================
   Related Activities
   ======================================== */
.sp-related-activities {
    background: var(--sp-activity-card-bg);
    border-radius: var(--sp-activity-radius);
    box-shadow: var(--sp-activity-shadow);
    padding: 40px;
}

.sp-related-activities h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sp-activity-text);
    margin: 0 0 24px 0;
    text-align: center;
}

.sp-related-activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.sp-related-activity-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--sp-activity-radius);
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid var(--sp-activity-border);
}

.sp-related-activity-card:hover {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: var(--sp-activity-primary-light);
    transform: translateY(-2px);
}

.sp-related-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    color: var(--sp-activity-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sp-related-icon svg {
    width: 24px;
    height: 24px;
}

.sp-related-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--sp-activity-text);
    text-align: center;
}

.sp-related-count {
    font-size: 0.75rem;
    color: var(--sp-activity-text-muted);
}

/* ========================================
   Guide Link Callout Box
   ======================================== */
.sp-guide-link-box {
    max-width: 1600px;
    margin: 0 auto;
    padding: 24px 60px;
}

.sp-guide-link-inner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #bbf7d0 100%);
    border: 2px solid var(--sp-activity-primary-light);
    border-radius: var(--sp-activity-radius);
    padding: 28px 32px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(22, 101, 52, 0.08);
}

.sp-guide-link-inner:hover {
    box-shadow: 0 4px 20px rgba(22, 101, 52, 0.15);
    transform: translateY(-2px);
}

.sp-guide-link-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(22, 101, 52, 0.12);
    color: var(--sp-activity-primary);
}

.sp-guide-link-icon svg {
    width: 28px;
    height: 28px;
}

.sp-guide-link-content {
    flex: 1;
    min-width: 0;
}

.sp-guide-link-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sp-activity-primary);
    margin-bottom: 6px;
}

.sp-guide-link-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.sp-guide-link-title a {
    color: var(--sp-activity-primary-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sp-guide-link-title a:hover {
    color: var(--sp-activity-primary);
}

.sp-guide-link-excerpt {
    font-size: 0.9375rem;
    color: var(--sp-activity-text-muted);
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.sp-guide-link-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--sp-activity-primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sp-guide-link-cta:hover {
    background: var(--sp-activity-primary-dark);
    color: white;
    transform: translateX(4px);
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet Breakpoint */
@media (max-width: 1024px) {
    .sp-activity-hero-inner {
        padding: 0 24px;
    }

    .sp-activity-stats-inner {
        gap: 40px;
        padding: 0 24px;
    }

    .sp-activity-state-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .sp-related-activities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sp-guide-link-box {
        padding: 20px 24px;
    }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    .sp-activity-hero {
        padding: 50px 16px 36px;
    }

    .sp-activity-hero-inner {
        padding: 0 12px;
    }

    .sp-activity-hero-title {
        font-size: 1.75rem;
    }

    .sp-guide-link-box {
        padding: 16px;
    }

    .sp-guide-link-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        gap: 16px;
    }

    .sp-guide-link-cta {
        width: 100%;
        justify-content: center;
    }

    .sp-activity-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    /* Stats-Bar: Vertikal statt horizontal */
    .sp-activity-stats {
        padding: 20px 16px;
    }

    .sp-activity-stats-inner {
        flex-direction: column;
        gap: 16px;
        padding: 0 12px;
    }

    .sp-stat-item {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        padding: 12px 16px;
        background: var(--sp-activity-bg);
        border-radius: 8px;
    }

    .sp-stat-item svg {
        order: -1;
    }

    .sp-stat-number {
        font-size: 1.5rem;
    }

    .sp-stat-label {
        font-size: 0.8125rem;
    }

    /* Größere Touch-Targets */
    .sp-top-state-badge {
        padding: 10px 18px;
        font-size: 0.9375rem;
        min-height: 44px;
    }

    .sp-activity-state-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .sp-activity-state-card {
        padding: 20px 12px;
    }

    .sp-activity-guide {
        padding: 24px 20px;
    }

    .sp-related-activities {
        padding: 24px 20px;
    }

    .sp-related-activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .sp-activity-main {
        padding: 40px 16px;
    }
}

/* Small Mobile Breakpoint */
@media (max-width: 480px) {
    .sp-activity-hero {
        padding: 40px 12px 32px;
    }

    .sp-activity-hero-badge {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .sp-activity-hero-title {
        font-size: 1.5rem;
    }

    /* Top-States: Horizontal scrollbar */
    .sp-activity-hero-top-states {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding-bottom: 12px;
        margin: 0 -12px;
        padding-left: 12px;
        padding-right: 12px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .sp-activity-hero-top-states::-webkit-scrollbar {
        display: none;
    }

    .sp-top-states-label {
        flex-shrink: 0;
    }

    .sp-top-state-badge {
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* Stats größer */
    .sp-stat-number {
        font-size: 1.75rem;
    }

    .sp-activity-state-grid {
        grid-template-columns: 1fr;
    }

    .sp-related-activities-grid {
        grid-template-columns: 1fr;
    }

    .sp-activity-guide {
        padding: 20px 16px;
    }

    .sp-guide-header h2 {
        font-size: 1.25rem;
    }

    .sp-guide-section h3 {
        font-size: 1.125rem;
    }
}/**
 * Activity Hub Table of Contents (TOC)
 * 
 * Compact horizontal pill-style navigation
 * 
 * @package StateParksCPT
 * @since 2.5.0
 */

/* ==========================================================================
   TOC Container
   ========================================================================== */

.sp-activity-toc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sp-toc-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 0.25rem;
}

/* ==========================================================================
   TOC Links - Pill Style
   ========================================================================== */

.sp-activity-toc a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.875rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sp-activity-toc a:hover {
    color: #14532d;
    background: #dcfce7;
    border-color: #86efac;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
}

.sp-activity-toc a:active {
    transform: translateY(0);
}

/* Activity-specific theming */
.sp-activity-toc--hunting a:hover {
    color: #7c2d12;
    background: #ffedd5;
    border-color: #fb923c;
    box-shadow: 0 2px 8px rgba(251, 146, 60, 0.15);
}

.sp-activity-toc--fishing a:hover {
    color: #0c4a6e;
    background: #e0f2fe;
    border-color: #38bdf8;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.15);
}

/* TOC Icon */
.sp-toc-icon {
    font-size: 0.85rem;
}

/* ==========================================================================
   Smooth Scroll for anchors
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

/* Account for sticky TOC when scrolling to anchor */
:target {
    scroll-margin-top: 60px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .sp-activity-toc {
        padding: 0.75rem 1rem;
        gap: 0.4rem;
    }

    .sp-toc-label {
        width: 100%;
        text-align: center;
        margin-bottom: 0.25rem;
    }

    .sp-activity-toc a {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .sp-activity-toc a {
        flex: 1 1 calc(50% - 0.4rem);
        justify-content: center;
    }
}/**
 * Activity FAQ Section Styles
 * 
 * Accordion-style FAQ with activity-specific theming
 * Supports fishing (blue) and hunting (orange) color schemes
 * 
 * @package StateParksCPT
 * @since 2.5.0
 */

/* =================================================================
   FAQ Section Container
   ================================================================= */
.asp-faq-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 2rem 2rem 2.5rem;
    margin: 3rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* =================================================================
   FAQ Header
   ================================================================= */
.asp-faq-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.asp-faq-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.asp-faq-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* =================================================================
   FAQ List & Items
   ================================================================= */
.asp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.asp-faq-item {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.asp-faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.asp-faq-item[open] {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* =================================================================
   FAQ Question (Summary)
   ================================================================= */
.asp-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: #334155;
    list-style: none;
    transition: background 0.2s ease, color 0.2s ease;
    user-select: none;
}

.asp-faq-question::-webkit-details-marker {
    display: none;
}

.asp-faq-question::marker {
    display: none;
    content: '';
}

.asp-faq-question:hover {
    background: #f1f5f9;
}

.asp-faq-item[open] .asp-faq-question {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.asp-faq-q-text {
    flex: 1;
    padding-right: 1rem;
}

/* Toggle Arrow */
.asp-faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f1f5f9;
    border-radius: 50%;
    color: #64748b;
    transition: transform 0.25s ease, background 0.2s ease;
    flex-shrink: 0;
}

.asp-faq-toggle svg {
    width: 18px;
    height: 18px;
}

.asp-faq-item[open] .asp-faq-toggle {
    transform: rotate(180deg);
    background: #e2e8f0;
}

/* =================================================================
   FAQ Answer
   ================================================================= */
.asp-faq-answer {
    padding: 1rem 1.25rem 1.25rem;
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}

.asp-faq-answer p {
    margin: 0;
}

/* =================================================================
   Activity-Specific Theming - Fishing (Blue)
   ================================================================= */
.asp-faq-section--fishing .asp-faq-header {
    border-bottom-color: #60a5fa;
}

.asp-faq-section--fishing .asp-faq-header h2 {
    color: #1e40af;
}

.asp-faq-section--fishing .asp-faq-item[open] {
    border-color: #93c5fd;
}

.asp-faq-section--fishing .asp-faq-item[open] .asp-faq-question {
    background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
    border-bottom-color: #bfdbfe;
}

.asp-faq-section--fishing .asp-faq-question:hover {
    background: #eff6ff;
}

.asp-faq-section--fishing .asp-faq-item[open] .asp-faq-toggle {
    background: #3b82f6;
    color: white;
}

/* =================================================================
   Activity-Specific Theming - Hunting (Orange)
   ================================================================= */
.asp-faq-section--hunting .asp-faq-header {
    border-bottom-color: #fb923c;
}

.asp-faq-section--hunting .asp-faq-header h2 {
    color: #9a3412;
}

.asp-faq-section--hunting .asp-faq-item[open] {
    border-color: #fdba74;
}

.asp-faq-section--hunting .asp-faq-item[open] .asp-faq-question {
    background: linear-gradient(180deg, #fff7ed 0%, #f8fafc 100%);
    border-bottom-color: #fed7aa;
}

.asp-faq-section--hunting .asp-faq-question:hover {
    background: #fff7ed;
}

.asp-faq-section--hunting .asp-faq-item[open] .asp-faq-toggle {
    background: #f97316;
    color: white;
}

/* =================================================================
   Responsive Adjustments
   ================================================================= */
@media (max-width: 768px) {
    .asp-faq-section {
        padding: 1.5rem 1.25rem 2rem;
        margin: 2rem 0;
        border-radius: 12px;
    }

    .asp-faq-header h2 {
        font-size: 1.25rem;
    }

    .asp-faq-question {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    .asp-faq-answer {
        padding: 0.875rem 1rem 1rem;
        font-size: 0.9rem;
    }

    .asp-faq-toggle {
        width: 24px;
        height: 24px;
    }

    .asp-faq-toggle svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .asp-faq-section {
        padding: 1.25rem 1rem;
        border-radius: 8px;
    }

    .asp-faq-header {
        flex-wrap: wrap;
    }
}

/* =================================================================
   Print Styles
   ================================================================= */
@media print {
    .asp-faq-item[open] {
        break-inside: avoid;
    }

    .asp-faq-toggle {
        display: none;
    }

    .asp-faq-answer {
        display: block !important;
    }
}