/* SEO Landing Page - Mobile First Layout */

/* Card wrapper for activities and map */
.seo-landing-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Header section inside card */
.seo-landing-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
}

.seo-landing-header .lead {
    font-size: 1.1rem;
    font-weight: 400;
    color: #666;
}

/* Main Layout Container */
.seo-landing-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
    margin-bottom: 30px;
}

.activities-column,
.map-column {
    width: 100%;
}

/* Activities List */
.activities-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activities-list .activity-card {
    margin-bottom: 0;
}

/* Map focus button inside activity card */
.seo-map-focus-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 0.78rem;
    color: #555;
    cursor: pointer;
    align-self: flex-start;
    z-index: 1;
}

.seo-map-focus-btn:hover {
    background: #f0f4f8;
    border-color: #94a3b8;
    color: #222;
}

/* Map Container */
.seo-landing-map {
    width: 100%;
    min-height: 400px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: #f8f9fa;
}

/* Tablet and Desktop Layout */
@media (min-width: 768px) {
    .seo-landing-card {
        padding: 20px;
    }

    .seo-landing-header h1 {
        font-size: 2.5rem;
    }

    .seo-landing-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        align-items: start;
    }

    .activities-column {
        display: flex;
        flex-direction: column;
    }

    .map-column {
        display: flex;
        flex-direction: column;
        position: sticky;
        top: 20px;
    }

    .seo-landing-map {
        min-height: 600px;
    }
}

@media (min-width: 1024px) {
    .seo-landing-card {
        padding: 24px;
    }

    .seo-landing-header h1 {
        font-size: 2.75rem;
    }

    .seo-landing-layout {
        grid-template-columns: 350px 1fr;
    }

    .activities-column {
        max-height: calc(100vh - 200px);
        overflow-y: auto;
        padding-right: 8px;
    }

    .activities-column::-webkit-scrollbar {
        width: 6px;
    }

    .activities-column::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 10px;
    }

    .activities-column::-webkit-scrollbar-thumb {
        background: #d0d0d0;
        border-radius: 10px;
    }

    .activities-column::-webkit-scrollbar-thumb:hover {
        background: #b0b0b0;
    }

    .seo-landing-map {
        min-height: calc(100vh - 200px);
    }
}
