.atn-section {
    overflow: hidden;
}

.atn-map-stage {
    display: flex;
    flex-direction: column;
    max-width: 1600px;
    overflow: hidden;
    background: #eaf7f7;
    box-shadow: 0 18px 50px rgba(5, 55, 79, 0.12);
}

.atn-map-viewport {
    position: relative;
    height: 390px;
    min-height: 390px;
    background: #d7eeee;
}

.atn-map-canvas,
.atn-map-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.atn-map-canvas {
    visibility: hidden;
}

.atn-map-stage.is-ready .atn-map-canvas {
    visibility: visible;
}

.atn-map-stage.is-ready .atn-map-fallback {
    display: none;
}

.atn-map-fallback {
    display: grid;
    place-items: center;
    overflow: hidden;
}

.atn-map-fallback::after {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(255, 255, 255, 0.12);
}

.atn-map-fallback-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.atn-map-status {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    max-width: calc(100% - 2rem);
    margin: 0;
    padding: 0.65rem 0.9rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 5px 18px rgba(5, 55, 79, 0.16);
    color: #0a4875;
    font-family: "brandon-grotesque", sans-serif;
    font-size: 0.95rem;
}

.atn-category-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    order: 2;
    z-index: 4;
    gap: 0.45rem;
    margin: 0;
    padding: 0.75rem;
    border-top: 1px solid rgba(10, 79, 125, 0.1);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -8px 22px rgba(5, 55, 79, 0.1);
}

.atn-category-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0.45rem 0.4rem;
    border: 2px solid #c8dde6;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(4, 46, 72, 0.08);
    color: #0a4f7d;
    cursor: pointer;
    font-family: "brandon-grotesque", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.atn-category-button svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3.5;
}

.atn-category-button:hover {
    border-color: #7fb5c5;
    background: #eef8f8;
}

.atn-category-button:focus-visible {
    outline: 3px solid #0bb1ad;
    outline-offset: 2px;
    box-shadow: 0 0 0 5px rgba(11, 177, 173, 0.2);
}

.atn-category-button.is-active {
    border-color: #0a4f7d;
    background: #0a4f7d;
    box-shadow: 0 5px 13px rgba(4, 46, 72, 0.2);
    color: #fff;
}

.atn-category-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.atn-category-card {
    display: block;
    order: 3;
    z-index: 3;
    margin: 0 1rem 1.25rem;
    background: #f7f9fa;
    box-shadow: 0 12px 30px rgba(5, 55, 79, 0.18);
    text-align: left;
}

.atn-category-panel:not(.is-active) {
    display: none;
}

.atn-category-image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

@media (max-width: 576px) {
    .atn-category-image {
        display: none;
    }
}

.atn-category-copy {
    padding: 1.4rem 1.35rem 0.85rem;
    text-align: center;
}

.atn-category-copy h3 {
    margin: 0 0 0.65rem;
    color: #0a4f7d;
    font-family: "brandon-grotesque", sans-serif;
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    font-weight: 400;
    line-height: 1;
}

.atn-category-copy p {
    margin: 0;
    color: #33404a;
    font-family: "brandon-grotesque", sans-serif;
    font-size: 1.05rem;
    line-height: 1.5;
}

.atn-place-list-wrap {
    padding: 0 1.35rem 1.35rem;
}

.atn-place-list-heading {
    margin: 0 0 0.45rem;
    color: #0a4875;
    font-family: "brandon-grotesque", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.atn-place-list {
    display: grid;
    gap: 0.45rem 1rem;
    margin: 0;
    padding-left: 1.4rem;
    color: #0bb1ad;
    text-align: left;
}

.atn-place-link {
    color: #0a4875;
    font-family: "brandon-grotesque", sans-serif;
    font-size: 1rem;
    line-height: 1.25;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 0.2em;
}

.atn-place-link:hover,
.atn-place-link:focus-visible,
.atn-place-link.is-active {
    color: #087f7c;
    text-decoration-color: currentColor;
}

.atn-place-link:focus-visible {
    outline: 3px solid rgba(11, 177, 173, 0.35);
    outline-offset: 3px;
}

.atn-poi-marker {
    position: relative;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #0a4f7d;
    box-shadow: 0 4px 12px rgba(4, 46, 72, 0.32);
    color: #fff;
    font: 600 0.85rem/1 "brandon-grotesque", sans-serif;
    transition: transform 150ms ease, background-color 150ms ease;
}

.atn-poi-marker::after {
    position: absolute;
    bottom: -5px;
    width: 10px;
    height: 10px;
    content: "";
    background: inherit;
    transform: rotate(45deg);
    z-index: -1;
}

.atn-poi-marker.is-active {
    background: #0bb1ad;
    transform: scale(1.16);
}

.atn-place-card {
    position: absolute;
    right: 56px;
    bottom: 38px;
    left: 12px;
    z-index: 7;
    padding: 0.9rem 2.7rem 0.95rem 1rem;
    border: 1px solid rgba(10, 79, 125, 0.14);
    border-left: 5px solid #0bb1ad;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 30px rgba(4, 46, 72, 0.24);
    color: #24313a;
    font-family: "brandon-grotesque", sans-serif;
    text-align: left;
}

.atn-place-card[hidden] {
    display: none;
}

.atn-place-card-close {
    position: absolute;
    top: 0.5rem;
    right: 0.55rem;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #0a4f7d;
    cursor: pointer;
    font: 400 1.55rem/1 sans-serif;
}

.atn-place-card-close:hover,
.atn-place-card-close:focus-visible {
    background: #e8f5f5;
}

.atn-place-card-close:focus-visible {
    outline: 3px solid #0bb1ad;
    outline-offset: 1px;
}

.atn-place-card-meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.55rem;
}

.atn-place-card-number {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #0a4f7d;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

.atn-place-card-category,
.atn-place-card-position {
    display: block;
}

.atn-place-card-category {
    color: #0a4875;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1.1;
    text-transform: uppercase;
}

.atn-place-card-position {
    margin-top: 0.15rem;
    color: #64747d;
    font-size: 0.78rem;
}

.atn-place-card h3 {
    margin: 0 0 0.35rem;
    color: #0a4f7d;
    font-family: "brandon-grotesque", sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.08;
}

.atn-place-card p {
    margin: 0 0 0.7rem;
    color: #46545d;
    font-size: 0.88rem;
    line-height: 1.35;
}

.atn-place-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.72rem;
    border-radius: 999px;
    background: #0a4f7d;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

.atn-place-card-link:hover,
.atn-place-card-link:focus-visible {
    background: #087f7c;
    color: #fff;
}

.atn-place-card-link:focus-visible {
    outline: 3px solid #0bb1ad;
    outline-offset: 2px;
}

.atn-noscript-list {
    max-width: 900px;
    margin: 1rem auto;
    padding: 1.5rem;
    background: #fff;
    text-align: left;
}

@media (min-width: 576px) {
    .atn-place-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 359px) {
    .atn-category-button svg {
        display: none;
    }
}

@media (min-width: 768px) {
    .atn-map-stage {
        position: relative;
        display: block;
        height: 740px;
    }

    .atn-map-viewport {
        position: absolute;
        inset: 0;
        height: auto;
        min-height: 0;
    }

    .atn-category-controls {
        position: absolute;
        right: 72px;
        bottom: 36px;
        display: flex;
        grid-template-columns: none;
        gap: 0.5rem;
        margin: 0;
        padding: 0.45rem;
        border: 1px solid rgba(10, 79, 125, 0.12);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 8px 24px rgba(4, 46, 72, 0.18);
    }

    .atn-category-button {
        width: auto;
        height: 42px;
        padding: 0.5rem 0.65rem;
        font-size: 0.78rem;
    }

    .atn-category-card {
        display: block;
        position: absolute;
        top: 44px;
        bottom: 56px;
        left: 44px;
        width: min(430px, 38vw);
        margin: 0;
        overflow: hidden;
    }

    .atn-category-panel {
        display: flex;
        height: 100%;
        flex-direction: column;
    }

    .atn-category-image {
        height: min(255px, 31vh);
        min-height: 205px;
        flex: 0 0 auto;
    }

    .atn-category-copy {
        padding: 1.2rem 1.4rem 0.7rem;
    }

    .atn-category-copy h3 {
        font-size: clamp(1.8rem, 2.45vw, 2.35rem);
    }

    .atn-category-copy p {
        font-size: 1.05rem;
    }

    .atn-place-list-wrap {
        min-height: 0;
        padding: 0 1.4rem 1.3rem;
        overflow-y: auto;
    }

    .atn-place-list {
        grid-template-columns: 1fr;
    }

    .atn-place-card {
        right: 72px;
        bottom: 106px;
        left: auto;
        width: 315px;
    }
}

@media (min-width: 1200px) {
    .atn-map-stage {
        height: 780px;
    }

    .atn-category-card {
        width: 460px;
    }

    .atn-category-controls {
        right: 100px;
        bottom: 40px;
    }

    .atn-place-card {
        right: 100px;
        bottom: 112px;
        width: 340px;
    }

    .atn-category-image {
        height: 270px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .atn-category-button,
    .atn-poi-marker {
        transition: none;
    }
}
