/* ==========================================================
   GFRF MAP PAGE - REBUILT
   Page-specific layout only.
   Header/nav intentionally comes from the same shared files
   used by the other GFRF pages.
   ========================================================== */

#gfrf-map-page {
    background: #f2efef;
}

/* The site header is fixed, so start the map-page content below it. */
.gfrf-map-intro {
    padding: 165px 15px 30px;
    background: #ffffff;
    text-align: center;
}

.gfrf-map-intro h1 {
    margin: 0 0 12px;
    color: #223d61;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 600;
}

.gf-intro {
    max-width: 760px;
    margin: 0 auto 16px;
    color: #555555;
    font-size: 16px;
    line-height: 1.55;
}

#search-status {
    min-height: 24px;
    margin: 0 auto 16px;
    color: #333333;
    font-size: 15px;
    font-weight: 600;
}

.gf-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(780px, 100%);
    margin: 0 auto;
}

.gf-search-box .form-control {
    height: 48px;
    border-radius: 6px;
    font-size: 16px;
}

.gf-search-box .btn {
    min-height: 48px;
    padding: 10px 24px;
    border-radius: 6px;
    white-space: nowrap;
}

.gfrf-map-shell {
    background: #ffffff;
}

.map-container-fluid {
    padding-left: 0;
    padding-right: 0;
}

#map,
.ourmap {
    width: 100%;
    height: 520px;
    min-height: 520px;
    background: #e9ecef;
}

#restaurant-results-section {
    background: #f2efef;
}

.gf-results-wrap {
    padding-top: 34px;
    padding-bottom: 45px;
}

.gf-results-heading {
    margin: 0 0 22px;
    color: #223d61;
    text-align: center;
    font-size: 28px;
}

.gf-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gf-place-card {
    min-height: 150px;
    padding: 18px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    cursor: pointer;
}

.gf-place-card:hover,
.gf-place-card.is-active {
    border-color: #7b3fd0;
    box-shadow: 0 4px 12px rgba(0,0,0,.09);
}

.gf-place-card h3 {
    margin: 0 0 8px;
    color: #223d61;
    font-size: 19px;
    line-height: 1.3;
}

.gf-place-card p {
    margin: 6px 0;
}

.gf-place-card .gf-rating {
    font-weight: 600;
}

.gf-place-card .gf-card-link {
    display: inline-block;
    margin-top: 8px;
}

.gf-place-details {
    margin-top: 10px;
}

.gf-place-summary {
    color: #444444;
    font-size: 14px;
    line-height: 1.5;
}

.gf-place-details-unavailable {
    color: #6b6b6b;
    font-size: 13px;
    font-style: italic;
}

.gf-website-link {
    margin-right: 14px;
    font-weight: 700;
}

.gf-results-empty {
    grid-column: 1 / -1;
    padding: 18px;
    text-align: center;
}

.gf-map-result {
    max-width: 310px;
    line-height: 1.4;
}

.gf-evidence-badge {
    display: inline-block;
    margin: 2px 0 8px;
    padding: 5px 9px;
    border: 1px solid #b8b8b8;
    border-radius: 999px;
    background: #f7f7f7;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.gf-evidence-badge.gf-verified {
    border-color: #4d7b4d;
    background: #f2f8f2;
}

.gf-evidence-note {
    margin: 6px 0;
    color: #555555;
    font-size: 13px;
    line-height: 1.4;
}

.gf-evidence-disclosure {
    display: block;
    margin: -3px 0 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #555555;
    font-size: 11px;
    line-height: 1.35;
    text-align: left;
    text-decoration: underline;
    cursor: pointer;
}

.gf-evidence-disclosure:hover,
.gf-evidence-disclosure:focus {
    color: #223d61;
}

.gf-verification-dialog {
    width: min(430px, calc(100% - 32px));
    padding: 24px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,.28);
    color: #333333;
}

.gf-verification-dialog::backdrop {
    background: rgba(0,0,0,.55);
}

.gf-verification-dialog h2 {
    margin: 0 0 12px;
    color: #223d61;
    font-size: 22px;
}

.gf-verification-dialog p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.55;
}

.gf-dialog-close {
    padding: 8px 18px;
    border: 0;
    border-radius: 5px;
    background: #223d61;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.gfrf-marker-hover {
    padding: 3px 5px;
    color: #111111;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .gfrf-map-intro {
        padding-top: 135px;
    }

    .gf-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .gfrf-map-intro {
        padding: 118px 12px 24px;
    }

    .gfrf-map-intro h1 {
        font-size: 28px;
    }

    .gf-search-box {
        display: block;
    }

    .gf-search-box .form-control {
        margin-bottom: 10px;
    }

    .gf-search-box .btn {
        width: 100%;
    }

    #map,
    .ourmap {
        height: 430px;
        min-height: 430px;
    }

    .gf-results-grid {
        grid-template-columns: 1fr;
    }
}
.gf-evidence-disclosure {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.gf-disclosure-star {
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 0.8;
}
/* Tappable marker-name box */

.gfrf-marker-select {
    appearance: none;
    display: block;
    min-width: 150px;
    min-height: 44px;
    padding: 9px 12px;
    border: 0;
    border-radius: 5px;
    background: #ffffff;
    color: #223d61;
    font: inherit;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.gfrf-marker-select:focus {
    outline: 3px solid rgba(123, 63, 208, 0.35);
    outline-offset: 2px;
}


/* Verification link */

.gf-evidence-disclosure {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none !important;
}

.gf-evidence-disclosure:hover,
.gf-evidence-disclosure:focus,
.gf-evidence-disclosure span {
    text-decoration: none !important;
}

.gf-disclosure-star {
    display: inline-block;
    color: #555555;
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
}