*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 1rem; line-height: 1.6; color: #1a1a1a; background: #fff; } .site-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid #e5e5e5; } .site-title { font-weight: 700; font-size: 1.1rem; text-decoration: none; color: inherit; } .site-nav a { color: inherit; text-decoration: none; font-size: 0.95rem; padding: 0.5rem; min-height: 44px; display: inline-flex; align-items: center; } .site-main { max-width: 680px; margin: 0 auto; padding: 1.5rem 1.25rem; } /* ── Feed ──────────────────────────────────────────────────────────────────── */ .feed { display: flex; flex-direction: column; gap: 2rem; } .entry-card { border-bottom: 1px solid #e5e5e5; padding-bottom: 2rem; } .entry-date { display: block; font-size: 0.8rem; color: #666; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; } .entry-card-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; flex-wrap: wrap; } .entry-card-meta .entry-date { margin-bottom: 0; } .entry-card .entry-title { font-size: 1.3rem; margin-bottom: 0.75rem; } .entry-card .entry-title a { color: inherit; text-decoration: none; } .entry-card .entry-title a:hover { text-decoration: underline; } .entry-thumb { margin-bottom: 0.75rem; } .entry-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: block; } .entry-excerpt { color: #444; margin-bottom: 0.75rem; } .entry-read-more { font-size: 0.9rem; color: #0066cc; text-decoration: none; } .feed-empty { color: #666; font-style: italic; } /* ── Location & Weather badges ─────────────────────────────────────────────── */ .entry-location { font-size: 0.82rem; color: #555; display: inline-flex; align-items: center; gap: 0.2rem; } .entry-location--card { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; } .entry-weather { font-size: 0.82rem; color: #555; margin-bottom: 0.25rem; } /* ── Single entry ───────────────────────────────────────────────────────────── */ .entry-header { margin-bottom: 1.5rem; } .entry-header .entry-date { margin-bottom: 0.3rem; } .entry-header .entry-location { margin-bottom: 0.2rem; display: block; } .entry-header .entry-weather { margin-bottom: 0.75rem; } .entry .entry-title { font-size: 1.8rem; margin-top: 0.5rem; } .entry-body { margin-bottom: 2rem; } .entry-body p { margin-bottom: 1em; } .entry-body img { max-width: 100%; height: auto; border-radius: 4px; } .entry-footer { border-top: 1px solid #e5e5e5; padding-top: 1rem; } .entry-footer a { color: #0066cc; text-decoration: none; font-size: 0.9rem; } /* ── Photo gallery ──────────────────────────────────────────────────────────── */ .entry-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; margin-bottom: 2rem; } @media (min-width: 520px) { .entry-gallery { grid-template-columns: repeat(3, 1fr); } } .gallery-thumb { background: none; border: none; padding: 0; cursor: pointer; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 4px; } .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.15s; } .gallery-thumb:hover img, .gallery-thumb:focus img { opacity: 0.85; } .gallery-thumb:focus { outline: 2px solid #0066cc; outline-offset: 2px; } /* ── Lightbox ───────────────────────────────────────────────────────────────── */ .lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 1000; display: flex; align-items: center; justify-content: center; } .lightbox[hidden] { display: none; } .lightbox-img { max-width: 92vw; max-height: 90vh; object-fit: contain; border-radius: 4px; display: block; } .lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; background: rgba(255,255,255,0.15); border: none; color: #fff; cursor: pointer; border-radius: 50%; width: 44px; height: 44px; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; line-height: 1; } .lightbox-close { top: 1rem; right: 1rem; } .lightbox-prev { left: 0.75rem; top: 50%; transform: translateY(-50%); } .lightbox-next { right: 0.75rem; top: 50%; transform: translateY(-50%); } .lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.28); } /* ── Map page ───────────────────────────────────────────────────────────────── */ .map-page .site-main { max-width: none; padding: 0; } .map-container { height: calc(100vh - 61px); width: 100%; } .map-empty { display: flex; align-items: center; justify-content: center; height: 100%; color: #666; font-style: italic; } /* ── Stats page ─────────────────────────────────────────────────────────────── */ .stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; } .stat-block { border: 1px solid #e5e5e5; border-radius: 8px; padding: 1.25rem 1rem; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,0.06); } .stat-value { display: block; font-size: 2.5rem; font-weight: 700; color: #0066cc; line-height: 1.1; margin-bottom: 0.3rem; } .stat-label { display: block; font-size: 0.8rem; color: #666; text-transform: uppercase; letter-spacing: 0.04em; } .stats-countries { font-size: 0.9rem; color: #444; text-align: center; line-height: 1.8; } .stats-countries-label { font-weight: 600; display: block; margin-bottom: 0.4rem; color: #1a1a1a; } .stats-note { font-size: 0.78rem; color: #999; text-align: center; margin-top: 1.5rem; } /* ── Mini-map on tracker feed ───────────────────────────────────────────────── */ .feed-map-wrap { margin-bottom: 2rem; border-radius: 8px; overflow: hidden; border: 1px solid #e5e5e5; } .feed-map { height: 240px; width: 100%; } @media (min-width: 520px) { .feed-map { height: 320px; } } .feed-map-link { display: block; text-align: right; font-size: 0.8rem; color: #0066cc; text-decoration: none; padding: 0.4rem 0.6rem; background: #fafafa; border-top: 1px solid #e5e5e5; } /* ── Login form ─────────────────────────────────────────────────────────────── */ .login-form { max-width: 400px; margin: 2rem auto; padding: 0 1rem; } .login-form .form-field { margin-bottom: 1.25rem; } .login-form .form-label label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; } .login-form input[type="text"], .login-form input[type="password"], .login-form input[type="email"] { width: 100%; box-sizing: border-box; font-size: 1rem; padding: 0.75rem 1rem; border: 1px solid #ccc; border-radius: 6px; min-height: 44px; } .login-form .form-actions { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; } .login-form .button { display: block; width: 100%; text-align: center; padding: 0.85rem 1rem; min-height: 44px; border-radius: 6px; font-size: 1rem; cursor: pointer; border: none; } .login-form .button.primary { background: #0066cc; color: #fff; } .login-form .button.secondary { background: #f0f0f0; color: #333; text-decoration: none; line-height: 44px; padding: 0 1rem; } .login-form .rememberme { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; } /* ── Post form ──────────────────────────────────────────────────────────────── */ .post-form-wrap h1 { font-size: 1.4rem; margin-bottom: 1.5rem; } .form-actions-extra { display: flex; gap: 0.75rem; margin-top: 1rem; } .btn-extra { flex: 1; padding: 0.75rem 0.5rem; min-height: 44px; background: #f0f0f0; border: 1px solid #ccc; border-radius: 6px; font-size: 0.95rem; cursor: pointer; text-align: center; } .btn-extra:hover { background: #e5e5e5; } .field-status { font-size: 0.85rem; color: #555; margin-top: 0.4rem; min-height: 1.2em; }