/*
Theme Name: TourPWA
Theme URI: https://locationhints.com/
Author: TourPWA Team
Author URI: https://locationhints.com/
Description: Mobile-first WordPress theme for guided tours with a PWA-like interface.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.0
Text Domain: tourpwa
*/

:root {
    --tourpwa-primary: #0d6efd;
    --tourpwa-bg: #f8f9fa;
    --tourpwa-text: #212529;
    --tourpwa-muted: #6c757d;
}

body {
    background: var(--tourpwa-bg);
    color: var(--tourpwa-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.tourpwa-shell {
    min-height: 100vh;
    padding-bottom: 88px;
}

.tourpwa-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
}

.tourpwa-card {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.tourpwa-card.active {
    border: 1px solid rgba(13, 110, 253, 0.35);
    box-shadow: 0 8px 18px rgba(13, 110, 253, 0.18);
}

.tourpwa-meta {
    color: var(--tourpwa-muted);
    font-size: 0.86rem;
}

.tourpwa-audio-player {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background: #ffffff;
    border-top: 1px solid #dee2e6;
    padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
}

.tourpwa-audio-player audio {
    width: 100%;
}

.tourpwa-filter-scroll {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
}

.tourpwa-empty-state {
    text-align: center;
    color: var(--tourpwa-muted);
    background: #ffffff;
    border-radius: 12px;
    border: 1px dashed #ced4da;
    padding: 1rem;
}

@media (min-width: 768px) {
    .tourpwa-shell {
        padding-bottom: 110px;
    }
}
