#rm-spot-detail { max-width: 920px; margin: 0 auto; padding: var(--rm-space-6) var(--rm-space-5); }

.rm-back-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--rm-fog);
    text-decoration: none !important;
    margin-bottom: var(--rm-space-4);
}
.rm-back-link:hover { color: var(--rm-moss); }
.rm-spot-loading, .rm-spot-error { text-align: center; padding: var(--rm-space-7); color: var(--rm-fog); }

.rm-spot-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--rm-space-4);
    margin-bottom: var(--rm-space-5);
    flex-wrap: wrap;
}
.rm-spot-hero-inner h1 { margin: var(--rm-space-2) 0 var(--rm-space-2); }
.rm-spot-hero-meta { font-size: 0.85rem; color: var(--rm-fog); display: flex; gap: var(--rm-space-2); flex-wrap: wrap; }
.rm-spot-hero-actions { display: flex; gap: var(--rm-space-2); flex-shrink: 0; }

.rm-spot-banner { margin-bottom: var(--rm-space-5); }
.rm-shared-banner { margin-bottom: var(--rm-space-5); }

.rm-spot-tabs {
    display: flex;
    gap: var(--rm-space-5);
    border-bottom: 2px solid var(--rm-fog-light);
    margin-bottom: var(--rm-space-5);
}
.rm-tab {
    background: none;
    border: none;
    padding: var(--rm-space-3) 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--rm-fog);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}
.rm-tab--active { color: var(--rm-moss); border-bottom-color: var(--rm-moss); }

.rm-spot-description { font-size: 0.98rem; line-height: 1.7; margin-bottom: var(--rm-space-5); }

.rm-contact-block {
    background: var(--rm-white);
    border: 1px solid var(--rm-fog-light);
    border-radius: var(--rm-radius-sm);
    padding: var(--rm-space-4);
    margin-bottom: var(--rm-space-5);
}
.rm-contact-line {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--rm-forest);
}
.rm-contact-line a { color: var(--rm-moss); text-decoration: none; }
.rm-contact-line a:hover { text-decoration: underline; }

.rm-amenity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--rm-space-3);
    margin-bottom: var(--rm-space-5);
}

.rm-amenity {
    background: var(--rm-white);
    border: 1px solid var(--rm-fog-light);
    border-radius: var(--rm-radius-sm);
    padding: var(--rm-space-3);
}
.rm-amenity-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--rm-fog); margin-bottom: 4px; }
.rm-amenity-value { font-size: 0.95rem; font-weight: 600; text-transform: capitalize; margin-bottom: 4px; }
.rm-amenity-attr { font-size: 0.7rem; color: var(--rm-fog); }

/* ── Weather forecast cards ── */
.rm-forecast-row {
    display: flex;
    gap: var(--rm-space-3);
    overflow-x: auto;
    padding: var(--rm-space-2) var(--rm-space-2) var(--rm-space-4);
    background: var(--rm-parchment-deep, var(--rm-fog-light));
    border-radius: var(--rm-radius-md);
}
.rm-forecast-card {
    flex-shrink: 0;
    width: 168px;
    background: var(--rm-white);
    border-radius: var(--rm-radius-sm);
    box-shadow: var(--rm-shadow-1, 0 1px 3px rgba(20,32,25,0.08));
    padding: var(--rm-space-3) var(--rm-space-3) 0;
}
.rm-forecast-period { font-size: 1rem; font-weight: 700; margin-bottom: var(--rm-space-2); color: var(--rm-forest); }
.rm-forecast-row-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.86rem;
    color: var(--rm-forest);
    margin-bottom: 4px;
}
.rm-forecast-row-stat svg { color: var(--rm-fog); flex-shrink: 0; }
.rm-forecast-wind { color: var(--rm-fog); margin-bottom: var(--rm-space-2); }
.rm-forecast-image-wrap {
    position: relative;
    margin: var(--rm-space-2) -12px 0;
    border-radius: 0 0 var(--rm-radius-sm) var(--rm-radius-sm);
    overflow: hidden;
}
.rm-forecast-icon { width: 100%; height: 90px; object-fit: cover; display: block; }
.rm-forecast-precip-badge {
    position: absolute;
    bottom: 6px;
    left: 8px;
    background: rgba(255,255,255,0.92);
    color: var(--rm-dusk);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--rm-radius-full, 99px);
}

/* ── Reports / updates ── */
.rm-updates-actions { margin-bottom: var(--rm-space-4); }
.rm-report-card {
    background: var(--rm-white);
    border: 1px solid var(--rm-fog-light);
    border-radius: var(--rm-radius-sm);
    padding: var(--rm-space-4);
    margin-bottom: var(--rm-space-3);
}
.rm-report-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--rm-space-2); flex-wrap: wrap; gap: var(--rm-space-2); }
.rm-report-meta { font-size: 0.78rem; color: var(--rm-fog); }
.rm-report-fields { display: flex; gap: var(--rm-space-2); flex-wrap: wrap; margin-top: var(--rm-space-2); }

/* ── Modal ── */
.rm-modal-backdrop {
    position: fixed; inset: 0; background: rgba(26,46,34,0.5);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000; padding: var(--rm-space-4);
}
.rm-modal {
    background: var(--rm-white);
    border-radius: var(--rm-radius-lg);
    padding: var(--rm-space-5);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
}
.rm-radio-row { display: flex; gap: var(--rm-space-4); font-size: 0.88rem; font-weight: 400; text-transform: none; }
.rm-radio-row label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.rm-modal-actions { display: flex; justify-content: flex-end; gap: var(--rm-space-3); margin-top: var(--rm-space-4); }

.rm-photo-gallery {
    display: flex;
    gap: var(--rm-space-3);
    margin-bottom: var(--rm-space-4);
    flex-wrap: wrap;
}
.rm-gallery-img {
    width: 220px;
    height: 160px;
    object-fit: cover;
    border-radius: var(--rm-radius-sm);
    box-shadow: var(--rm-shadow-1, 0 1px 3px rgba(20,32,25,0.08));
}
.rm-photo-gallery--sm { margin-bottom: var(--rm-space-2); }
.rm-gallery-img--sm { width: 110px; height: 80px; }

.rm-nearby-map { height: 220px; border-radius: var(--rm-radius-lg); overflow: hidden; box-shadow: var(--rm-shadow-md); }
.rm-nearby-wrap { position: relative; margin-bottom: var(--rm-space-4); }
.rm-nearby-empty {
    position: absolute;
    top: var(--rm-space-4);
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    background: var(--rm-white);
    border-radius: var(--rm-radius-md);
    box-shadow: var(--rm-shadow-lg);
    padding: var(--rm-space-3) var(--rm-space-4);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--rm-fog);
    pointer-events: none;
}
.rm-nearby-empty svg { flex-shrink: 0; color: var(--rm-fog); }

.rm-forecast-wrap { position: relative; }
.rm-forecast-arrow {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--rm-white);
    box-shadow: var(--rm-shadow-lg);
    font-size: 1.5rem;
    line-height: 1;
    color: var(--rm-forest);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rm-forecast-arrow:hover { background: var(--rm-parchment-deep, var(--rm-fog-light)); }

/* Font direction: Inter throughout, no Fraunces on Spot Detail (TrailsOffroad / AllTrails style) */
#rm-spot-detail h1,
#rm-spot-detail h2,
#rm-spot-detail h3 {
    font-family: var(--rm-font-body);
    font-weight: 500;
    letter-spacing: -0.01em;
}
.rm-spot-hero-inner h1 {
    font-weight: 600;
}

/* Hero visual anchor: photo banner if the spot has one, else a tinted color block with a large type icon */
.rm-spot-hero-banner {
    position: relative;
    height: 220px;
    border-radius: var(--rm-radius-lg);
    overflow: hidden;
    margin-bottom: var(--rm-space-4);
    background-size: cover;
    background-position: center;
}
.rm-spot-hero-banner--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}
.rm-spot-hero-banner--placeholder svg {
    opacity: 0.4;
}

/* Contact box: icon per line instead of bare stacked text */
.rm-contact-line {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rm-contact-line svg {
    flex-shrink: 0;
    color: var(--rm-fog);
}

/* --- Hourly weather chart (July 2026) --- */
.rm-hourly { margin: 4px 0 24px; }
.rm-hourly-now { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.rm-hourly-now-temp { font-size: 2.1rem; font-weight: 700; line-height: 1; }
.rm-hourly-now-desc { font-size: 1rem; }
.rm-hourly-now-wind { font-size: 0.9rem; opacity: 0.75; }
.rm-hourly-chart { width: 100%; height: auto; display: block; }
.rm-hourly-temp-line { fill: none; stroke: #e0a437; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.rm-hourly-precip-bar { fill: #4aa3df; opacity: 0.45; }
.rm-hourly-gridline { stroke: currentColor; opacity: 0.12; stroke-width: 1; }
.rm-hourly-dayline { stroke: currentColor; opacity: 0.25; stroke-width: 1; stroke-dasharray: 3 3; }
.rm-hourly-xlabel, .rm-hourly-ylabel { font-size: 11px; fill: currentColor; opacity: 0.65; }
.rm-hourly-xlabel { text-anchor: middle; }
.rm-hourly-legend { display: flex; gap: 16px; font-size: 0.8rem; opacity: 0.75; margin-top: 4px; }
.rm-hourly-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.rm-hourly-swatch { width: 14px; height: 4px; border-radius: 2px; display: inline-block; }
.rm-hourly-swatch--temp { background: #e0a437; }
.rm-hourly-swatch--precip { background: #4aa3df; opacity: 0.55; height: 10px; width: 8px; }

.rm-hourly-wind-title { font-size: 0.85rem; font-weight: 600; opacity: 0.8; margin-top: 10px; }
.rm-hourly-wind-line { fill: none; stroke: #5b8c6e; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.rm-hourly-wind-arrow { fill: currentColor; opacity: 0.7; }
