/* ═══════════════════════════════════════════════════════════════════════════
   Sacred Network - Individual Site Page Styles
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══ Hero ═══ */
.site-hero {
    position: relative;
    height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.site-hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
}

.site-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-void) 0%, transparent 60%);
}

.site-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 var(--space-xl) var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.site-breadcrumb {
    font-size: 19px;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.site-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.site-breadcrumb a:hover {
    color: var(--color-gold);
}

.site-breadcrumb span {
    margin: 0 6px;
}

.site-hero-badge {
    display: inline-block;
    background: rgba(201, 162, 39, 0.2);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: var(--space-md);
}

/* ═══ Site Guide CTA (paid unlock) ═══ */
.guide-access-section {
    padding-top: 0;
}

.guide-access-card {
    padding: 32px 30px 28px;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(201, 162, 39, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 100% 100%, rgba(167, 139, 250, 0.08) 0%, transparent 55%),
        var(--color-surface);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.guide-access-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
}

.guide-access-head {
    margin-bottom: 26px;
}

.guide-access-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    color: var(--color-void);
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.guide-access-head h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 12px;
    padding-bottom: 0;
    border-bottom: none;
    line-height: 1.2;
}

.guide-access-lead {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    max-width: 640px;
}

.guide-access-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.guide-access-option {
    position: relative;
    padding: 22px 22px 18px;
    background: rgba(10, 12, 15, 0.4);
    border: 1px solid var(--color-elevated);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.guide-access-option.featured {
    border-color: rgba(201, 162, 39, 0.5);
    box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.2) inset;
}

.guide-access-option-tag {
    position: absolute;
    top: -10px;
    left: 18px;
    padding: 3px 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    color: var(--color-void);
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.guide-access-option-tag-quiet {
    background: var(--color-elevated);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-access-option-name {
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.guide-access-option-price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 14px;
}

.guide-access-option-price span {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 4px;
}

.guide-access-option-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.guide-access-option-list li {
    position: relative;
    padding-left: 18px;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.guide-access-option-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-gold);
    font-weight: 700;
    font-size: 13px;
}

.guide-access-option .btn {
    padding: 0.8rem 1rem;
    font-size: 0.78rem;
}

.guide-access-signin {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    text-align: center;
}

.guide-access-signin a {
    color: var(--color-gold);
    text-decoration: none;
    border-bottom: 1px dotted rgba(201, 162, 39, 0.4);
}

.guide-access-signin a:hover {
    color: var(--color-gold-light);
}

/* Sidebar Site Guide card */
.sidebar-guide-card {
    border-color: rgba(201, 162, 39, 0.35);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201, 162, 39, 0.08) 0%, transparent 60%),
        var(--color-surface);
}

.sidebar-guide-card h3 {
    color: var(--color-gold-light);
    text-transform: none;
    letter-spacing: 0.02em;
    font-family: var(--font-display);
    font-size: 1.15rem;
}

.sidebar-guide-text {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 14px;
}

@media (max-width: 700px) {
    .guide-access-card {
        padding: 26px 20px 22px;
    }
    .guide-access-options {
        grid-template-columns: 1fr;
    }
    .guide-access-head h2 {
        font-size: 1.45rem;
    }
}

/* Rory References block (collapsible) – lives inside the Rory's Field Notes section */
.rorys-notes-section .rory-refs-details {
    margin-top: 22px;
}

/* When the inline blockquote is hidden (no roryNotes), remove its margin so the
   collapsible sits cleanly under the heading. */
.rorys-notes-section .rorys-quote[style*="display: none"] + .rory-refs-details,
.rorys-notes-section .rorys-quote[style*="display:none"] + .rory-refs-details {
    margin-top: 0;
}

.rory-refs-details {
    background: var(--color-surface);
    border: 1px solid var(--color-elevated);
    border-radius: 12px;
    overflow: hidden;
}

.rory-refs-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    list-style: none;
    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
}

.rory-refs-summary::-webkit-details-marker { display: none; }
.rory-refs-summary::marker { content: ''; }

.rory-refs-summary:hover {
    background: rgba(201, 162, 39, 0.04);
}

.rory-refs-summary-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-gold-light);
    flex-shrink: 0;
}

.rory-refs-summary-meta {
    flex: 1;
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.rory-refs-chevron {
    color: var(--color-gold);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.rory-refs-details[open] .rory-refs-chevron {
    transform: rotate(180deg);
}

.rory-refs-body {
    padding: 8px 22px 26px;
    border-top: 1px solid rgba(201, 162, 39, 0.15);
}

.rory-refs-intro {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--text-secondary);
    margin: 16px 0 20px;
}

.rory-refs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.rory-ref-card {
    padding: 18px 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-elevated);
    border-left: 3px solid var(--color-gold);
    border-radius: 10px;
}

.rory-ref-card-newsletter {
    border-left-color: var(--color-cosmic);
}

.rory-ref-card-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}

.rory-ref-card-num {
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gold);
}

.rory-ref-card-newsletter .rory-ref-card-num {
    color: var(--color-spirit);
}

.rory-ref-card-src {
    font-family: var(--font-accent);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.rory-ref-card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 8px;
    line-height: 1.3;
}

.rory-ref-card-snippet {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
}

.rory-refs-footer {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.rory-refs-footer a {
    color: var(--color-gold);
    text-decoration: none;
    border-bottom: 1px dotted rgba(201, 162, 39, 0.3);
}

.rory-refs-footer a:hover {
    color: var(--color-gold-light);
}

.site-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 0 var(--space-sm);
    line-height: 1.1;
}

.site-hero-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 20px;
    margin: 0;
}

.site-hero-location svg {
    color: var(--color-gold);
}

/* ═══ Page Grid ═══ */
.site-page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-xl);
}

.site-page-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

/* ═══ Main Content ═══ */
.site-page-main {
    min-width: 0;
}

.site-section {
    margin-bottom: 40px;
}

.site-section h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-elevated);
}

.section-body p {
    font-family: var(--font-body);
    font-size: 20px;
    line-height: 1.9;
    color: var(--text-secondary);
    margin: 0;
}

/* Rory's Notes */
.rorys-notes-section h2 {
    color: var(--color-gold);
    border-bottom-color: rgba(201, 162, 39, 0.3);
}

.rorys-quote {
    margin: 0;
    padding: 24px 28px;
    background: rgba(201, 162, 39, 0.05);
    border-left: 4px solid var(--color-gold);
    border-radius: 0 8px 8px 0;
    font-family: var(--font-body);
    font-style: italic;
    font-size: 20px;
    line-height: 1.9;
    color: var(--text-secondary);
}

/* Research Banner */
.research-banner-page {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 32px;
}

.research-banner-page .status-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
}

.research-banner-page .status-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.research-banner-page .status-text strong {
    color: #f59e0b;
    font-size: 20px;
}

.research-banner-page .status-text span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 19px;
    line-height: 1.6;
}

/* Contribute */
.contribute-intro {
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 20px;
}

.contribute-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.contribute-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: var(--color-surface);
    border: 1px dashed var(--color-muted);
    border-radius: 10px;
    color: var(--text-secondary);
    cursor: pointer;
    opacity: 0.85;
    transition: all 0.2s;
    font-size: 19px;
    font-family: var(--font-accent);
    text-decoration: none;
}

.contribute-card:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    opacity: 1;
}

.contribute-note {
    font-size: 20px;
    color: var(--text-muted);
    margin: 0;
}

/* ═══ Sidebar ═══ */
.site-page-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: var(--color-surface);
    border: 1px solid var(--color-elevated);
    border-radius: 12px;
    padding: 20px;
}

.sidebar-card h3 {
    font-family: var(--font-accent);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-primary);
    margin: 0 0 16px;
}

/* Main Map */
.site-main-map {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.site-main-map .leaflet-control-zoom {
    display: flex;
    flex-direction: column;
}

.site-main-map .leaflet-control-zoom a {
    background: var(--color-surface);
    color: var(--text-primary);
    border-color: var(--color-elevated);
    width: 36px;
    height: 36px;
    line-height: 36px;
    font-size: 20px;
}

.site-main-map .leaflet-control-zoom a:hover {
    background: var(--color-elevated);
}

.map-coords {
    font-family: monospace;
    font-size: 20px;
    color: var(--text-muted);
    text-align: center;
    padding-top: 10px;
}


/* Quick Facts */
.quick-facts {
    margin: 0;
}

.fact-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fact-row:last-child {
    border-bottom: none;
}

.fact-row dt {
    font-size: 15px;
    color: var(--text-muted);
}

.fact-row dd {
    margin: 0;
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
    max-width: 60%;
}

/* Sidebar Actions */
.sidebar-action {
    margin-bottom: 10px;
}

.sidebar-action:last-child {
    margin-bottom: 0;
}

/* ═══ Events ═══ */
.event-card-page {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-elevated);
    border-left: 3px solid var(--color-gold);
    border-radius: 10px;
    margin-bottom: 14px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.event-card-page:hover {
    border-color: var(--color-gold);
    transform: translateY(-2px);
}

.event-card-page:last-child {
    margin-bottom: 0;
}

.event-date-page {
    flex-shrink: 0;
    width: 90px;
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gold);
    padding-top: 2px;
}

.event-details {
    flex: 1;
}

.event-title-page {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.event-desc-page {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* ═══ Gallery ═══ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery-grid.has-hero {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
}

.gallery-grid.has-hero .gallery-item:first-child {
    grid-row: 1 / 3;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(201, 162, 39, 0.1);
    pointer-events: none;
}

/* Attribution overlay on contributed images */
.gallery-credit {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.4rem 0.6rem 0.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0));
    color: #fff;
    font-size: 0.75rem;
    line-height: 1.4;
    text-align: left;
    z-index: 1;
}

.gallery-credit a { color: var(--color-gold); text-decoration: none; position: relative; z-index: 2; }
.gallery-credit a:hover { text-decoration: underline; }

.gallery-lightbox-credit {
    position: absolute;
    bottom: 24px;
    left: 24px;
    max-width: 60vw;
    color: #fff;
    font-size: 0.9rem;
}

.gallery-lightbox-credit a { color: var(--color-gold); text-decoration: none; }
.gallery-lightbox-credit a:hover { text-decoration: underline; }
.gallery-lightbox-credit:empty { display: none; }

.gallery-hidden {
    display: none;
}

.gallery-view-all {
    display: block;
    margin: 20px auto 0;
}

.gallery-empty {
    text-align: center;
    padding: 40px 0;
    margin: 0;
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.gallery-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.gallery-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.gallery-lightbox-close:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10001;
}

.gallery-lightbox-prev { left: 24px; }
.gallery-lightbox-next { right: 24px; }

.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: rgba(0, 0, 0, 0.7);
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-grid.has-hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .gallery-grid.has-hero .gallery-item:first-child {
        grid-row: auto;
    }
}

/* ═══ Nearby Sites Section (Full Width) ═══ */
.nearby-section {
    background: var(--color-deep);
    border-top: 1px solid var(--color-elevated);
    padding: 60px 0;
}

.nearby-section-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.nearby-section h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 30px;
    text-align: center;
}

.nearby-carousel {
    position: relative;
}

.nearby-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--color-elevated);
    background: var(--color-surface);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.nearby-arrow:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: rgba(201, 162, 39, 0.1);
}

.nearby-arrow-left {
    left: -60px;
}

.nearby-arrow-right {
    right: -60px;
}

.nearby-track {
    display: flex;
    gap: 20px;
    overflow-x: scroll;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.nearby-track::-webkit-scrollbar {
    display: none;
}

.nearby-card {
    background: var(--color-surface);
    border: 1px solid var(--color-elevated);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s;
    width: 240px;
    min-width: 240px;
    flex-shrink: 0;
}

.nearby-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-gold);
}

.nearby-card-image {
    height: 150px;
    overflow: hidden;
}

.nearby-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.nearby-card:hover .nearby-card-image img {
    transform: scale(1.05);
}

.nearby-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nearby-card-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.nearby-card-location {
    font-size: 20px;
    color: var(--text-secondary);
}

.nearby-card-distance {
    font-size: 19px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Utility */
.text-muted {
    color: var(--text-muted);
    font-size: 19px;
}

/* ═══ Responsive ═══ */
@media (max-width: 1400px) {
    .nearby-arrow-left {
        left: -24px;
    }
    .nearby-arrow-right {
        right: -24px;
    }
    .nearby-section-inner {
        padding: 0 60px;
    }
}

@media (max-width: 900px) {
    .site-page-grid {
        grid-template-columns: 1fr;
    }

    .site-page-sidebar {
        position: static;
    }

    .site-hero {
        height: 320px;
    }

    .contribute-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .site-hero {
        height: 260px;
    }

    .site-hero-content {
        padding: 0 var(--space-md) var(--space-md);
    }

    .site-page-content {
        padding: var(--space-md);
    }

    .site-hero-title {
        font-size: 1.8rem;
    }
}
