.gmr-atlas-root {
    --atlas-ivory: #f7f1e6;
    --atlas-ivory-soft: #fffaf1;
    --atlas-card: rgba(255, 250, 241, 0.92);
    --atlas-espresso: #211711;
    --atlas-espresso-soft: #3a2a20;
    --atlas-gold: #c49a45;
    --atlas-gold-deep: #9d7629;
    --atlas-line: rgba(33, 23, 17, 0.12);
    --atlas-shadow: 0 24px 70px rgba(33, 23, 17, 0.16);
    background: linear-gradient(180deg, var(--atlas-ivory-soft) 0%, var(--atlas-ivory) 52%, #efe3d0 100%);
    color: var(--atlas-espresso);
    border-radius: 28px;
    overflow: hidden;
    margin: 0 auto 42px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 18px 80px rgba(33,23,17,0.08);
}

.gmr-atlas-root * {
    box-sizing: border-box;
}

.gmr-atlas-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 24px;
    padding: clamp(28px, 5vw, 58px);
    border-bottom: 1px solid var(--atlas-line);
    background:
        radial-gradient(circle at 86% 18%, rgba(196,154,69,0.24), transparent 30%),
        linear-gradient(135deg, rgba(255,250,241,0.96), rgba(239,227,208,0.78));
}

.gmr-atlas-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.gmr-atlas-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid rgba(196,154,69,0.34);
    border-radius: 999px;
    background: rgba(255,255,255,0.62);
    color: var(--atlas-gold-deep);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gmr-atlas-kicker-icon {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--atlas-espresso);
    color: var(--atlas-gold);
    font-size: 13px;
}

.gmr-atlas-hero h1 {
    margin: 18px 0 12px;
    max-width: 780px;
    color: var(--atlas-espresso);
    font-size: clamp(34px, 5.2vw, 70px);
    line-height: 0.96;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.gmr-atlas-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(33,23,17,0.78);
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.65;
}

.gmr-atlas-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.gmr-atlas-stat-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(33,23,17,0.1);
    background: rgba(255,255,255,0.56);
    box-shadow: 0 10px 32px rgba(33,23,17,0.07);
    font-size: 14px;
    color: rgba(33,23,17,0.74);
}

.gmr-atlas-stat-row strong {
    color: var(--atlas-espresso);
    font-weight: 900;
}

.gmr-atlas-hero-mark {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 180px;
}

.gmr-atlas-hero-mark::before,
.gmr-atlas-hero-mark::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(196,154,69,0.32);
}

.gmr-atlas-hero-mark::before {
    width: 150px;
    height: 150px;
}

.gmr-atlas-hero-mark::after {
    width: 96px;
    height: 96px;
}

.gmr-atlas-hero-mark span {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: var(--atlas-espresso);
    color: var(--atlas-gold);
    font-size: 40px;
    transform: rotate(-8deg);
    box-shadow: 0 24px 48px rgba(33,23,17,0.2);
}

.gmr-atlas-shell {
    padding: clamp(18px, 3vw, 34px);
}

.gmr-atlas-controls {
    position: relative;
    z-index: 2;
    margin-bottom: 16px;
    padding: 18px;
    border: 1px solid rgba(33,23,17,0.1);
    border-radius: 24px;
    background: rgba(255,250,241,0.9);
    box-shadow: 0 16px 46px rgba(33,23,17,0.08);
}

.gmr-atlas-controls label {
    display: grid;
    gap: 8px;
    color: rgba(33,23,17,0.74);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gmr-atlas-controls input,
.gmr-atlas-controls select {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(33,23,17,0.16);
    border-radius: 15px;
    background: #fffdf8;
    color: var(--atlas-espresso);
    padding: 10px 13px;
    font-size: 15px;
    font-weight: 650;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.gmr-atlas-controls input:focus,
.gmr-atlas-controls select:focus {
    border-color: rgba(196,154,69,0.75);
    box-shadow: 0 0 0 4px rgba(196,154,69,0.14);
}

.gmr-atlas-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.gmr-atlas-result-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    color: rgba(33,23,17,0.68);
    font-size: 14px;
    font-weight: 700;
}

.gmr-atlas-result-line span {
    color: var(--atlas-espresso);
    font-weight: 950;
}

.gmr-atlas-result-line button {
    border: 1px solid rgba(33,23,17,0.12);
    background: var(--atlas-espresso);
    color: #fff6e7;
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 800;
    cursor: pointer;
}

.gmr-atlas-map-wrap {
    position: relative;
    overflow: hidden;
    min-height: var(--gmr-atlas-map-height, 620px);
    border-radius: 28px;
    border: 1px solid rgba(33,23,17,0.14);
    background: linear-gradient(135deg, #302017, #17100c);
    box-shadow: var(--atlas-shadow);
}

.gmr-atlas-map {
    width: 100%;
    height: var(--gmr-atlas-map-height, 620px);
    min-height: 420px;
    z-index: 1;
}

.gmr-atlas-map.leaflet-container,
.gmr-atlas-map .leaflet-container,
.gmr-atlas-map .leaflet-tile-pane {
    background: #b8d8df !important;
}

.gmr-atlas-map-fallback {
    position: absolute;
    inset: 18px;
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 20px;
    background: rgba(255,250,241,0.94);
    color: var(--atlas-espresso);
    z-index: 3;
}

.gmr-atlas-map-fallback[hidden],
.gmr-atlas-map-fallback.is-hidden {
    display: none !important;
}

.gmr-atlas-pin {
    width: 34px;
    height: 42px;
    position: relative;
    transform: translate(-50%, -100%);
}

.gmr-atlas-pin::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(135deg, #f4d37f, #b8892c);
    transform: rotate(-45deg);
    box-shadow: 0 10px 22px rgba(33,23,17,0.35), inset 0 1px 0 rgba(255,255,255,0.7);
    border: 2px solid #2a1b13;
}

.gmr-atlas-pin::after {
    content: "⌂";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: #24150e;
    font-size: 13px;
    font-weight: 950;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background: rgba(196,154,69,0.26);
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background: linear-gradient(135deg, #f2d282, #b48835);
    color: #211711;
    border: 2px solid #2d1e16;
    font-weight: 950;
    box-shadow: 0 10px 24px rgba(33,23,17,0.26);
}

.gmr-atlas-popup {
    width: min(280px, 72vw);
    color: var(--atlas-espresso);
}

.gmr-atlas-popup-image {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 10px;
    background: #efe3d0;
}

.gmr-atlas-popup-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.gmr-atlas-popup h3 {
    margin: 0 0 6px;
    color: var(--atlas-espresso);
    font-size: 17px;
    line-height: 1.18;
}

.gmr-atlas-popup-meta {
    margin: 0 0 9px;
    color: rgba(33,23,17,0.68);
    font-size: 13px;
    font-weight: 700;
}

.gmr-atlas-popup-rating {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(196,154,69,0.18);
    color: #815d1e;
    font-size: 12px;
    font-weight: 950;
}

.gmr-atlas-popup-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.gmr-atlas-popup-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border-radius: 999px;
    background: var(--atlas-espresso);
    color: #fff6e7 !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 900;
}

.gmr-atlas-popup-links a:nth-child(n+3) {
    background: #fff7e8;
    color: var(--atlas-espresso) !important;
    border: 1px solid rgba(33,23,17,0.12);
}

.leaflet-popup-content-wrapper {
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(33,23,17,0.22);
}

.leaflet-popup-content {
    margin: 13px;
}

.gmr-atlas-mobile-list {
    display: none;
    padding: 0 18px 24px;
}

.gmr-atlas-mobile-card {
    display: grid;
    grid-template-columns: 84px minmax(0,1fr);
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(33,23,17,0.1);
    border-radius: 18px;
    background: rgba(255,250,241,0.88);
    box-shadow: 0 10px 28px rgba(33,23,17,0.08);
    margin-bottom: 10px;
}

.gmr-atlas-mobile-card img {
    width: 84px;
    height: 84px;
    border-radius: 14px;
    object-fit: cover;
    background: #efe3d0;
}

.gmr-atlas-mobile-card h3 {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.2;
}

.gmr-atlas-mobile-card h3 a {
    color: var(--atlas-espresso);
    text-decoration: none;
}

.gmr-atlas-mobile-card p {
    margin: 0 0 7px;
    color: rgba(33,23,17,0.68);
    font-size: 12px;
    font-weight: 700;
}

.gmr-atlas-mobile-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gmr-atlas-mobile-card-links a {
    color: #805d22;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}

.gmr-atlas-seo {
    padding: clamp(22px, 4vw, 44px);
    border-top: 1px solid var(--atlas-line);
}

.gmr-atlas-section-head {
    max-width: 860px;
    margin-bottom: 24px;
}

.gmr-atlas-section-head > span {
    color: var(--atlas-gold-deep);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gmr-atlas-section-head h2 {
    margin: 8px 0 10px;
    color: var(--atlas-espresso);
    font-size: clamp(26px, 3.6vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.gmr-atlas-section-head p {
    max-width: 760px;
    margin: 0;
    color: rgba(33,23,17,0.72);
    line-height: 1.65;
}

.gmr-atlas-seo-block {
    margin-top: 24px;
    padding: clamp(16px, 2.6vw, 26px);
    border: 1px solid rgba(33,23,17,0.1);
    border-radius: 26px;
    background: rgba(255,250,241,0.72);
    box-shadow: 0 14px 44px rgba(33,23,17,0.06);
}

.gmr-atlas-block-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.gmr-atlas-block-title > span {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--atlas-espresso);
    color: var(--atlas-gold);
    box-shadow: 0 12px 26px rgba(33,23,17,0.16);
}

.gmr-atlas-block-title h3 {
    margin: 0 0 4px;
    color: var(--atlas-espresso);
    font-size: clamp(21px, 2.4vw, 31px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.gmr-atlas-block-title p {
    margin: 0;
    color: rgba(33,23,17,0.66);
    line-height: 1.5;
}

.gmr-atlas-group-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.gmr-atlas-group-card {
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(33,23,17,0.09);
    background: rgba(255,255,255,0.48);
}

.gmr-atlas-group-card h4 {
    margin: 0 0 5px;
    font-size: 18px;
    line-height: 1.2;
}

.gmr-atlas-group-card h4 a,
.gmr-atlas-group-card li a,
.gmr-atlas-latest h4 a,
.gmr-atlas-top-list a {
    color: var(--atlas-espresso);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.gmr-atlas-group-card p {
    margin: 0 0 10px;
    color: rgba(33,23,17,0.64);
    font-size: 13px;
    font-weight: 800;
}

.gmr-atlas-group-card ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gmr-atlas-group-card li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    line-height: 1.35;
}

.gmr-atlas-group-card li span {
    flex: 0 0 auto;
    color: var(--atlas-gold-deep);
    font-weight: 950;
}

.gmr-atlas-top-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: atlas-top;
}

.gmr-atlas-top-list li {
    counter-increment: atlas-top;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px;
    border-radius: 16px;
    border: 1px solid rgba(33,23,17,0.09);
    background: rgba(255,255,255,0.5);
}

.gmr-atlas-top-list li::before {
    content: counter(atlas-top);
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(196,154,69,0.18);
    color: #805d22;
    font-size: 12px;
    font-weight: 950;
}

.gmr-atlas-top-list a,
.gmr-atlas-top-list span {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 850;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gmr-atlas-top-list em {
    font-style: normal;
    color: rgba(33,23,17,0.62);
    font-weight: 900;
}

.gmr-atlas-latest-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.gmr-atlas-latest article {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(33,23,17,0.09);
    background: rgba(255,255,255,0.5);
}

.gmr-atlas-latest-image {
    display: block;
    overflow: hidden;
    background: #efe3d0;
}

.gmr-atlas-latest-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.gmr-atlas-latest article:hover img {
    transform: scale(1.04);
}

.gmr-atlas-latest article > div {
    padding: 14px;
}

.gmr-atlas-latest h4 {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.2;
}

.gmr-atlas-latest p {
    margin: 0 0 10px;
    color: rgba(33,23,17,0.64);
    font-size: 13px;
    font-weight: 750;
}

.gmr-atlas-latest-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.gmr-atlas-latest-links a {
    color: #805d22;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}

@media (max-width: 1040px) {
    .gmr-atlas-hero {
        grid-template-columns: 1fr;
    }
    .gmr-atlas-hero-mark {
        display: none;
    }
    .gmr-atlas-filter-grid,
    .gmr-atlas-group-grid,
    .gmr-atlas-latest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gmr-atlas-top-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .gmr-atlas-root {
        border-radius: 20px;
        margin-bottom: 28px;
    }
    .gmr-atlas-hero {
        padding: 24px 18px;
    }
    .gmr-atlas-hero h1 {
        font-size: clamp(33px, 12vw, 48px);
    }
    .gmr-atlas-stat-row span {
        width: 100%;
        justify-content: space-between;
    }
    .gmr-atlas-shell {
        padding: 14px;
    }
    .gmr-atlas-controls {
        padding: 14px;
        border-radius: 20px;
    }
    .gmr-atlas-filter-grid,
    .gmr-atlas-group-grid,
    .gmr-atlas-latest-grid,
    .gmr-atlas-top-list {
        grid-template-columns: 1fr;
    }
    .gmr-atlas-result-line {
        align-items: stretch;
        flex-direction: column;
    }
    .gmr-atlas-result-line button {
        width: 100%;
    }
    .gmr-atlas-root {
        --gmr-atlas-map-height: clamp(210px, 55vw, 300px);
    }
    .gmr-atlas-map-wrap {
        min-height: var(--gmr-atlas-map-height, 240px);
        max-height: 320px;
        border-radius: 22px;
        background: #b8d8df;
    }
    .gmr-atlas-map {
        height: var(--gmr-atlas-map-height, 240px);
        min-height: 210px;
        max-height: 320px;
    }
    .gmr-atlas-mobile-list {
        display: block;
    }
    .gmr-atlas-seo {
        padding: 24px 14px;
    }
    .gmr-atlas-seo-block {
        border-radius: 22px;
    }
    .gmr-atlas-block-title {
        gap: 10px;
    }
    .gmr-atlas-block-title > span {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        border-radius: 13px;
    }
    .gmr-atlas-group-card li {
        display: block;
    }
    .gmr-atlas-group-card li span {
        display: inline-block;
        margin-left: 5px;
    }
}

/* v1.0.11: keep selected museum cards out of the map on mobile. */
.gmr-atlas-mobile-list.is-selection {
    display: block;
    padding-top: 14px;
}

.gmr-atlas-mobile-list.is-selection .gmr-atlas-mobile-card {
    border-color: rgba(196,154,69,0.36);
    background: linear-gradient(135deg, rgba(255,250,241,0.98), rgba(247,241,230,0.92));
    box-shadow: 0 16px 38px rgba(33,23,17,0.12);
}

@media (max-width: 720px) {
    .gmr-atlas-map .leaflet-popup,
    .gmr-atlas-map-wrap .leaflet-popup {
        display: none !important;
    }
    .gmr-atlas-mobile-card-links a:first-child {
        color: #211711;
        font-weight: 950;
    }
    .gmr-atlas-hero h1 {
        font-size: clamp(38px, 13vw, 54px);
        letter-spacing: -0.06em;
    }
}


/* v1.0.12: reliable lower-pin taps and premium selected-card cleanup. */
.gmr-atlas-map-wrap,
.gmr-atlas-map,
.gmr-atlas-map .leaflet-pane,
.gmr-atlas-map .leaflet-marker-pane,
.gmr-atlas-map .leaflet-marker-icon {
    pointer-events: auto;
}

.gmr-atlas-map .leaflet-marker-pane {
    z-index: 760 !important;
}

.gmr-atlas-map .leaflet-marker-icon {
    z-index: 780 !important;
    cursor: pointer;
    touch-action: manipulation;
}

.gmr-atlas-map .leaflet-marker-icon.is-selected {
    z-index: 900 !important;
}

.gmr-atlas-pin {
    display: block;
    pointer-events: none;
    transform: none !important;
}

.gmr-atlas-map .leaflet-marker-icon.is-selected .gmr-atlas-pin::before {
    box-shadow: 0 0 0 6px rgba(196,154,69,0.22), 0 14px 28px rgba(33,23,17,0.38), inset 0 1px 0 rgba(255,255,255,0.72);
}

.gmr-atlas-mobile-card-media,
.gmr-atlas-mobile-card-media img,
.gmr-atlas-card-placeholder {
    display: block;
}

.gmr-atlas-card-placeholder {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(196,154,69,0.2), rgba(255,250,241,0.9));
    color: #805d22;
    font-weight: 950;
}

.gmr-atlas-mobile-list.is-selection {
    padding: 12px 14px 24px;
}

.gmr-atlas-mobile-list.is-selection .gmr-atlas-mobile-card {
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    margin: 0 auto;
    max-width: 560px;
    padding: 14px;
    border-radius: 24px;
    border-color: rgba(196,154,69,0.34);
    background:
        radial-gradient(circle at 10% 0%, rgba(196,154,69,0.16), transparent 34%),
        linear-gradient(135deg, rgba(255,250,241,0.98), rgba(244,235,219,0.94));
    box-shadow: 0 18px 42px rgba(33,23,17,0.13);
}

.gmr-atlas-mobile-list.is-selection .gmr-atlas-mobile-card img,
.gmr-atlas-mobile-list.is-selection .gmr-atlas-card-placeholder {
    width: 108px;
    height: 108px;
    border-radius: 18px;
}

.gmr-atlas-mobile-list.is-selection .gmr-atlas-mobile-card h3 {
    font-size: 19px;
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin-bottom: 7px;
}

.gmr-atlas-mobile-card-meta {
    margin-bottom: 10px !important;
}

.gmr-atlas-mobile-list.is-selection .gmr-atlas-mobile-card-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.gmr-atlas-mobile-list.is-selection .gmr-atlas-mobile-card-links a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(33,23,17,0.12);
    background: rgba(255,250,241,0.84);
    color: #211711;
    font-size: 12px;
    font-weight: 950;
    text-decoration: none !important;
}

.gmr-atlas-mobile-list.is-selection .gmr-atlas-mobile-card-links .gmr-atlas-card-primary {
    background: #211711;
    border-color: #211711;
    color: #fff6e7 !important;
}

@media (max-width: 720px) {
    .gmr-atlas-root {
        --gmr-atlas-map-height: clamp(260px, 68vw, 360px);
    }
    .gmr-atlas-map-wrap {
        min-height: var(--gmr-atlas-map-height, 300px);
        max-height: 380px;
        overflow: hidden;
    }
    .gmr-atlas-map {
        height: var(--gmr-atlas-map-height, 300px);
        min-height: 260px;
        max-height: 380px;
    }
    .gmr-atlas-map .leaflet-control-container {
        pointer-events: none;
    }
    .gmr-atlas-map .leaflet-control,
    .gmr-atlas-map .leaflet-marker-pane,
    .gmr-atlas-map .leaflet-marker-icon {
        pointer-events: auto;
    }
    .gmr-atlas-mobile-list:not(.is-selection) {
        display: none;
    }
    .gmr-atlas-mobile-list.is-selection .gmr-atlas-mobile-card {
        grid-template-columns: 94px minmax(0, 1fr);
        padding: 12px;
        border-radius: 22px;
    }
    .gmr-atlas-mobile-list.is-selection .gmr-atlas-mobile-card img,
    .gmr-atlas-mobile-list.is-selection .gmr-atlas-card-placeholder {
        width: 94px;
        height: 94px;
        border-radius: 16px;
    }
    .gmr-atlas-mobile-list.is-selection .gmr-atlas-mobile-card-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .gmr-atlas-mobile-list.is-selection .gmr-atlas-mobile-card {
        grid-template-columns: 86px minmax(0, 1fr);
        gap: 11px;
    }
    .gmr-atlas-mobile-list.is-selection .gmr-atlas-mobile-card img,
    .gmr-atlas-mobile-list.is-selection .gmr-atlas-card-placeholder {
        width: 86px;
        height: 86px;
    }
    .gmr-atlas-mobile-list.is-selection .gmr-atlas-mobile-card h3 {
        font-size: 17px;
    }
}

/* v1.1.0: flagship Museum Map redesign and instant selected-pin panel. */
.gmr-atlas-root.gmr-atlas-flagship {
    --atlas-ivory: #f4ead8;
    --atlas-ivory-soft: #fff8ec;
    --atlas-panel: rgba(255, 250, 241, 0.94);
    --atlas-espresso: #1f1711;
    --atlas-espresso-2: #312218;
    --atlas-gold: #c69a3f;
    --atlas-gold-soft: rgba(198, 154, 63, 0.18);
    --atlas-line: rgba(31, 23, 17, 0.12);
    --atlas-shadow: 0 22px 58px rgba(31, 23, 17, 0.16);
    border-radius: 30px;
    background:
        radial-gradient(circle at 8% 0%, rgba(198,154,63,0.16), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(31,23,17,0.12), transparent 32%),
        linear-gradient(180deg, #fffaf1 0%, #f6ecdc 58%, #efe1cb 100%);
}

.gmr-atlas-flagship .gmr-atlas-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 118px;
    gap: 18px;
    padding: clamp(22px, 4vw, 42px);
    background:
        linear-gradient(135deg, rgba(255,250,241,0.95), rgba(239,225,203,0.72)),
        radial-gradient(circle at 72% 20%, rgba(198,154,63,0.22), transparent 30%);
}

.gmr-atlas-flagship .gmr-atlas-kicker {
    padding: 9px 13px;
    border-color: rgba(198,154,63,0.38);
    background: rgba(255,255,255,0.62);
    color: #876320;
    letter-spacing: 0.13em;
}

.gmr-atlas-flagship .gmr-atlas-hero h1,
.gmr-atlas-flagship .gmr-atlas-hero h2 {
    margin: 16px 0 10px;
    max-width: 840px;
    color: var(--atlas-espresso);
    font-size: clamp(31px, 4.8vw, 58px);
    line-height: 0.98;
    letter-spacing: -0.052em;
    font-weight: 950;
}

.gmr-atlas-flagship .gmr-atlas-hero p {
    max-width: 760px;
    color: rgba(31,23,17,0.72);
    font-size: clamp(15px, 1.42vw, 18px);
    line-height: 1.58;
}

.gmr-atlas-flagship .gmr-atlas-stat-row {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 720px;
}

.gmr-atlas-flagship .gmr-atlas-stat-row span {
    justify-content: space-between;
    min-height: 48px;
    padding: 10px 13px;
    border-radius: 18px;
    background: rgba(255,255,255,0.58);
    border: 1px solid rgba(31,23,17,0.1);
}

.gmr-atlas-flagship .gmr-atlas-hero-mark {
    min-height: 124px;
    opacity: 0.95;
}

.gmr-atlas-flagship .gmr-atlas-hero-mark::before {
    width: 116px;
    height: 116px;
}

.gmr-atlas-flagship .gmr-atlas-hero-mark::after {
    width: 74px;
    height: 74px;
}

.gmr-atlas-flagship .gmr-atlas-hero-mark span {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 32px;
}

.gmr-atlas-flagship .gmr-atlas-shell {
    padding: clamp(14px, 2.5vw, 28px);
}

.gmr-atlas-flagship .gmr-atlas-controls {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) minmax(0, 2fr) auto;
    align-items: end;
    gap: 12px;
    margin-bottom: 14px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255,250,241,0.78);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 42px rgba(31,23,17,0.08);
}

.gmr-atlas-flagship .gmr-atlas-filter-grid {
    margin: 0;
    grid-template-columns: repeat(4, minmax(110px, 1fr));
    gap: 9px;
}

.gmr-atlas-flagship .gmr-atlas-controls input,
.gmr-atlas-flagship .gmr-atlas-controls select {
    min-height: 44px;
    border-radius: 14px;
    background: rgba(255,255,255,0.74);
}

.gmr-atlas-flagship .gmr-atlas-result-line {
    min-width: 170px;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-self: stretch;
}

.gmr-atlas-flagship .gmr-atlas-result-line > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.58);
    border: 1px solid rgba(31,23,17,0.09);
    color: rgba(31,23,17,0.68);
    font-size: 13px;
}

.gmr-atlas-flagship .gmr-atlas-result-line b {
    margin-right: 4px;
    color: var(--atlas-espresso);
    font-weight: 950;
}

.gmr-atlas-flagship .gmr-atlas-result-line button {
    min-height: 42px;
    padding: 9px 16px;
    border-radius: 999px;
    background: #1f1711;
    color: #fff5e6;
    box-shadow: 0 10px 24px rgba(31,23,17,0.16);
}

.gmr-atlas-flagship .gmr-atlas-map-wrap {
    isolation: isolate;
    height: clamp(340px, 43vw, 610px);
    min-height: 0;
    max-height: 640px;
    border-radius: 30px;
    border: 1px solid rgba(31,23,17,0.18);
    background: #b8d8df;
    box-shadow: 0 26px 70px rgba(31,23,17,0.18);
}

.gmr-atlas-flagship .gmr-atlas-map {
    height: 100%;
    min-height: 0;
    max-height: none;
    background: #b8d8df !important;
}

.gmr-atlas-map-caption {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 650;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    pointer-events: none;
}

.gmr-atlas-map-caption span,
.gmr-atlas-map-caption strong {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,250,241,0.86);
    border: 1px solid rgba(31,23,17,0.1);
    box-shadow: 0 10px 24px rgba(31,23,17,0.09);
    color: #1f1711;
    font-size: 12px;
    line-height: 1;
}

.gmr-atlas-map-caption span {
    color: #876320;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gmr-atlas-map-caption strong {
    font-weight: 850;
}

.gmr-atlas-selected-panel[hidden] {
    display: none !important;
}

.gmr-atlas-selected-panel {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 920;
    width: min(390px, calc(100% - 36px));
    pointer-events: none;
}

.gmr-atlas-selected-panel.is-open {
    pointer-events: auto;
}

.gmr-atlas-selected-card {
    position: relative;
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    border-radius: 24px;
    border: 1px solid rgba(198,154,63,0.34);
    background:
        radial-gradient(circle at 12% 0%, rgba(198,154,63,0.18), transparent 34%),
        rgba(255,250,241,0.96);
    box-shadow: 0 24px 58px rgba(31,23,17,0.24);
    backdrop-filter: blur(14px);
}

.gmr-atlas-selected-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(31,23,17,0.12);
    border-radius: 999px;
    background: rgba(255,255,255,0.72);
    color: #1f1711;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.gmr-atlas-selected-media,
.gmr-atlas-selected-media img,
.gmr-atlas-selected-media .gmr-atlas-card-placeholder {
    display: block;
    width: 116px;
    height: 116px;
}

.gmr-atlas-selected-media img,
.gmr-atlas-selected-media .gmr-atlas-card-placeholder {
    object-fit: cover;
    border-radius: 18px;
    background: #efe3d0;
    box-shadow: 0 12px 24px rgba(31,23,17,0.12);
}

.gmr-atlas-selected-body {
    min-width: 0;
    padding-right: 24px;
}

.gmr-atlas-selected-label {
    display: inline-flex;
    margin-bottom: 6px;
    color: #876320;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.gmr-atlas-selected-card h3 {
    margin: 0 0 6px;
    color: #1f1711;
    font-size: 22px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.gmr-atlas-selected-card h3 a {
    color: #1f1711;
    text-decoration: none;
}

.gmr-atlas-selected-meta {
    margin: 0 0 11px;
    color: rgba(31,23,17,0.66);
    font-size: 13px;
    font-weight: 850;
}

.gmr-atlas-selected-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.gmr-atlas-selected-actions a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(31,23,17,0.12);
    background: rgba(255,255,255,0.66);
    color: #1f1711 !important;
    font-size: 12px;
    font-weight: 950;
    text-align: center;
    text-decoration: none !important;
}

.gmr-atlas-selected-actions .gmr-atlas-selected-primary {
    background: #1f1711;
    border-color: #1f1711;
    color: #fff5e6 !important;
}

.gmr-atlas-flagship .leaflet-control-zoom {
    border: 0 !important;
    box-shadow: 0 12px 28px rgba(31,23,17,0.18) !important;
}

.gmr-atlas-flagship .leaflet-control-zoom a {
    background: rgba(255,250,241,0.92) !important;
    color: #1f1711 !important;
    border-color: rgba(31,23,17,0.1) !important;
}

.gmr-atlas-flagship .gmr-atlas-mobile-list,
.gmr-atlas-flagship .gmr-atlas-mobile-list.is-selection,
.gmr-atlas-flagship .gmr-atlas-mobile-list:not(.is-selection) {
    display: none !important;
}

@media (max-width: 1180px) {
    .gmr-atlas-flagship .gmr-atlas-controls {
        grid-template-columns: 1fr;
    }
    .gmr-atlas-flagship .gmr-atlas-result-line {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

@media (max-width: 720px) {
    .gmr-atlas-root.gmr-atlas-flagship {
        border-radius: 22px;
    }
    .gmr-atlas-flagship .gmr-atlas-hero {
        grid-template-columns: 1fr;
        padding: 20px 16px 18px;
    }
    .gmr-atlas-flagship .gmr-atlas-hero h1,
    .gmr-atlas-flagship .gmr-atlas-hero h2 {
        margin-top: 14px;
        font-size: clamp(29px, 9.8vw, 40px);
        line-height: 1.02;
        letter-spacing: -0.045em;
    }
    .gmr-atlas-flagship .gmr-atlas-hero p {
        font-size: 15px;
        line-height: 1.52;
    }
    .gmr-atlas-flagship .gmr-atlas-stat-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .gmr-atlas-flagship .gmr-atlas-stat-row span {
        min-height: 42px;
        width: 100%;
        border-radius: 16px;
    }
    .gmr-atlas-flagship .gmr-atlas-shell {
        padding: 12px;
    }
    .gmr-atlas-flagship .gmr-atlas-controls {
        padding: 12px;
        border-radius: 20px;
        gap: 10px;
    }
    .gmr-atlas-flagship .gmr-atlas-filter-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .gmr-atlas-flagship .gmr-atlas-result-line {
        grid-template-columns: 1fr;
    }
    .gmr-atlas-flagship .gmr-atlas-result-line button {
        width: 100%;
    }
    .gmr-atlas-flagship .gmr-atlas-map-wrap {
        height: clamp(224px, 50vw, 300px);
        min-height: 0;
        max-height: 300px;
        border-radius: 23px;
    }
    .gmr-atlas-map-caption {
        top: 10px;
        left: 10px;
        right: 10px;
    }
    .gmr-atlas-map-caption strong {
        display: none;
    }
    .gmr-atlas-selected-panel {
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: auto;
    }
    .gmr-atlas-selected-card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
        border-radius: 20px;
    }
    .gmr-atlas-selected-close {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        font-size: 19px;
    }
    .gmr-atlas-selected-media,
    .gmr-atlas-selected-media img,
    .gmr-atlas-selected-media .gmr-atlas-card-placeholder {
        width: 72px;
        height: 72px;
        border-radius: 14px;
    }
    .gmr-atlas-selected-body {
        padding-right: 22px;
    }
    .gmr-atlas-selected-label {
        display: none;
    }
    .gmr-atlas-selected-card h3 {
        font-size: 16px;
        line-height: 1.12;
        margin-bottom: 4px;
    }
    .gmr-atlas-selected-meta {
        margin-bottom: 7px;
        font-size: 12px;
        line-height: 1.25;
    }
    .gmr-atlas-selected-actions {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    .gmr-atlas-selected-actions a {
        min-height: 32px;
        padding: 6px 8px;
        font-size: 11px;
    }
    .gmr-atlas-flagship .leaflet-control-zoom {
        margin-top: 48px !important;
    }
}

@media (max-width: 430px) {
    .gmr-atlas-flagship .gmr-atlas-filter-grid {
        grid-template-columns: 1fr;
    }
    .gmr-atlas-selected-card {
        grid-template-columns: 64px minmax(0, 1fr);
    }
    .gmr-atlas-selected-media,
    .gmr-atlas-selected-media img,
    .gmr-atlas-selected-media .gmr-atlas-card-placeholder {
        width: 64px;
        height: 64px;
    }
    .gmr-atlas-selected-card h3 {
        font-size: 15px;
    }
}

/* v1.1.1: flagship top experience and map-first mobile layout. */
.gmr-atlas-root.gmr-atlas-flagship {
    border: 1px solid rgba(31, 23, 17, 0.08);
    box-shadow: 0 24px 90px rgba(31, 23, 17, 0.10), inset 0 1px 0 rgba(255,255,255,0.82);
}

.gmr-atlas-flagship .gmr-atlas-hero {
    grid-template-columns: minmax(0, 1fr) 92px;
    padding: clamp(18px, 3.4vw, 34px);
    border-bottom: 0;
}

.gmr-atlas-flagship .gmr-atlas-kicker {
    min-height: 38px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 28px rgba(31, 23, 17, 0.06);
}

.gmr-atlas-flagship .gmr-atlas-hero h1,
.gmr-atlas-flagship .gmr-atlas-hero h2 {
    max-width: 720px;
    margin: 14px 0 9px;
    font-size: clamp(32px, 4.2vw, 52px);
    line-height: .98;
}

.gmr-atlas-flagship .gmr-atlas-hero p {
    max-width: 690px;
    font-size: clamp(15px, 1.28vw, 17px);
    line-height: 1.5;
}

.gmr-atlas-flagship .gmr-atlas-stat-row {
    display: flex;
    flex-wrap: wrap;
    max-width: none;
    margin-top: 16px;
}

.gmr-atlas-flagship .gmr-atlas-stat-row span {
    min-height: 40px;
    border-radius: 999px;
    padding: 8px 12px;
}

.gmr-atlas-flagship .gmr-atlas-hero-mark {
    min-height: 92px;
}

.gmr-atlas-flagship .gmr-atlas-hero-mark::before {
    width: 88px;
    height: 88px;
}

.gmr-atlas-flagship .gmr-atlas-hero-mark::after {
    width: 56px;
    height: 56px;
}

.gmr-atlas-flagship .gmr-atlas-hero-mark span {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 28px;
}

.gmr-atlas-flagship .gmr-atlas-shell {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 0;
}

.gmr-atlas-flagship .gmr-atlas-map-wrap {
    order: 1;
    height: clamp(390px, 56vw, 670px);
    max-height: 700px;
    border-radius: 32px;
    border-color: rgba(31, 23, 17, 0.22);
    box-shadow: 0 30px 86px rgba(31,23,17,0.20), 0 0 0 8px rgba(255,250,241,0.58);
}

.gmr-atlas-flagship .gmr-atlas-controls {
    order: 2;
    margin: 4px 0 0;
    padding: 12px;
    border-radius: 22px;
    grid-template-columns: minmax(220px, .95fr) minmax(0, 1.8fr) minmax(145px, .55fr);
    box-shadow: 0 14px 34px rgba(31,23,17,0.07);
}

.gmr-atlas-flagship .gmr-atlas-controls label {
    font-size: 10px;
    letter-spacing: .08em;
}

.gmr-atlas-flagship .gmr-atlas-controls input,
.gmr-atlas-flagship .gmr-atlas-controls select {
    min-height: 40px;
    border-radius: 13px;
    font-size: 14px;
}

.gmr-atlas-flagship .gmr-atlas-filter-grid {
    grid-template-columns: repeat(4, minmax(100px, 1fr));
}

.gmr-atlas-map-caption {
    top: 12px;
    left: 12px;
    right: 12px;
}

.gmr-atlas-map-caption span,
.gmr-atlas-map-caption strong {
    min-height: 32px;
    background: rgba(255,250,241,0.88);
    backdrop-filter: blur(10px);
}

.gmr-atlas-map-caption span {
    color: #76551d;
    letter-spacing: .09em;
}

.gmr-atlas-flagship .gmr-atlas-seo {
    padding-top: clamp(18px, 3vw, 34px);
}

.gmr-atlas-flagship .gmr-atlas-section-head h2 {
    font-size: clamp(24px, 3vw, 38px);
    max-width: 760px;
}

@media (max-width: 1180px) {
    .gmr-atlas-flagship .gmr-atlas-controls {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .gmr-atlas-root.gmr-atlas-flagship {
        border-radius: 20px;
    }

    .gmr-atlas-flagship .gmr-atlas-hero {
        padding: 18px 14px 14px;
    }

    .gmr-atlas-flagship .gmr-atlas-hero-mark {
        display: none;
    }

    .gmr-atlas-flagship .gmr-atlas-hero h1,
    .gmr-atlas-flagship .gmr-atlas-hero h2 {
        margin-top: 12px;
        font-size: clamp(30px, 8.9vw, 38px);
        line-height: 1;
    }

    .gmr-atlas-flagship .gmr-atlas-hero p {
        font-size: 14px;
        line-height: 1.45;
    }

    .gmr-atlas-flagship .gmr-atlas-stat-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .gmr-atlas-flagship .gmr-atlas-stat-row span {
        display: grid;
        gap: 2px;
        justify-items: center;
        min-height: 54px;
        padding: 8px 6px;
        border-radius: 16px;
        font-size: 11px;
        text-align: center;
    }

    .gmr-atlas-flagship .gmr-atlas-stat-row strong {
        display: block;
        font-size: 18px;
    }

    .gmr-atlas-flagship .gmr-atlas-shell {
        gap: 12px;
        padding: 0 10px 12px;
    }

    .gmr-atlas-flagship .gmr-atlas-map-wrap {
        height: clamp(360px, 88vw, 430px);
        max-height: 430px;
        border-radius: 24px;
        box-shadow: 0 22px 58px rgba(31,23,17,0.18), 0 0 0 5px rgba(255,250,241,0.62);
    }

    .gmr-atlas-flagship .gmr-atlas-controls {
        padding: 11px;
        border-radius: 20px;
        gap: 9px;
    }

    .gmr-atlas-flagship .gmr-atlas-filter-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .gmr-atlas-flagship .gmr-atlas-result-line {
        grid-template-columns: 1fr auto;
        gap: 8px;
    }

    .gmr-atlas-flagship .gmr-atlas-result-line > span,
    .gmr-atlas-flagship .gmr-atlas-result-line button {
        min-height: 38px;
        font-size: 12px;
    }

    .gmr-atlas-flagship .gmr-atlas-result-line button {
        width: auto;
        padding: 8px 12px;
    }

    .gmr-atlas-map-caption strong {
        display: none;
    }

    .gmr-atlas-map-caption span {
        min-height: 30px;
        padding: 7px 10px;
        font-size: 10px;
    }

    .gmr-atlas-selected-panel {
        left: 8px;
        right: 8px;
        bottom: 8px;
        width: auto;
    }

    .gmr-atlas-selected-card {
        border-radius: 18px;
        box-shadow: 0 18px 44px rgba(31,23,17,0.26);
    }

    .gmr-atlas-flagship .leaflet-control-zoom {
        margin-top: 46px !important;
    }
}

@media (max-width: 430px) {
    .gmr-atlas-flagship .gmr-atlas-filter-grid {
        grid-template-columns: 1fr;
    }

    .gmr-atlas-flagship .gmr-atlas-map-wrap {
        height: 390px;
    }
}
