/* Региональный каталог — портал */

.geo-region {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.geo-region__hero {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 900px) {
    .geo-region__hero {
        grid-template-columns: 1fr 280px;
        align-items: start;
    }
}

.geo-region__title {
    margin: 0 0 .35rem;
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    line-height: 1.15;
}

.geo-region__lead {
    margin: 0;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 62ch;
}

.geo-region__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: .9rem;
}

.geo-region__add-btn {
    white-space: nowrap;
}

.geo-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .65rem;
}

@media (min-width: 480px) {
    .geo-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

.geo-stat {
    padding: .85rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--color-border, rgba(255, 255, 255, .08));
}

.geo-stat__value {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text, #e8edf4);
}

.geo-stat__label {
    display: block;
    margin-top: .2rem;
    font-size: .75rem;
    color: var(--color-muted);
    line-height: 1.3;
}

.geo-search {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    align-items: flex-end;
}

.geo-search .form-group {
    flex: 1;
    min-width: 200px;
    margin: 0;
}

.geo-catalog-toolbar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.geo-catalog-toolbar__row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: flex-end;
}

.geo-catalog-toolbar__row--search {
    align-items: stretch;
}

@media (min-width: 640px) {
    .geo-catalog-toolbar__row--search {
        align-items: flex-end;
    }
}

.geo-catalog-toolbar__field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 160px;
}

.geo-catalog-toolbar__field--grow {
    flex: 1 1 220px;
}

.geo-catalog-toolbar__label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-muted);
}

.geo-catalog-toolbar__input,
.geo-catalog-toolbar__select {
    width: 100%;
    min-width: 0;
}

.geo-catalog-toolbar__submit {
    align-self: flex-end;
}

.geo-catalog-toolbar__active {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--color-muted);
    line-height: 1.5;
}

.geo-catalog-toolbar__active span {
    display: inline-block;
    margin: 0.15rem 0.35rem 0.15rem 0;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border, rgba(255, 255, 255, 0.08));
    color: var(--color-text, #e8edf4);
}

.geo-section__title {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.geo-section__hint {
    margin: -.5rem 0 1rem;
    font-size: .875rem;
    color: var(--color-muted);
}

.geo-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1rem;
}

.geo-section__head .geo-section__title {
    margin: 0;
}

.geo-section__count {
    font-size: .8125rem;
    color: var(--color-muted);
    white-space: nowrap;
}

.geo-region__section + .geo-region__section,
.geo-region__section {
    margin-top: 0;
}

.geo-objects {
    display: grid;
    gap: .85rem;
}

@media (min-width: 720px) {
    .geo-objects {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.geo-objects--compact {
    gap: .65rem;
}

@media (min-width: 720px) {
    .geo-objects--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.geo-object-card {
    border: 1px solid var(--color-border, rgba(255, 255, 255, .08));
    border-radius: 12px;
    background: rgba(255, 255, 255, .02);
    overflow: hidden;
    transition: border-color .15s, background .15s;
}

.geo-object-card:hover {
    border-color: rgba(94, 207, 138, .35);
    background: rgba(94, 207, 138, .04);
}

.geo-object-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.geo-object-card__media {
    aspect-ratio: 16 / 9;
    background: #0f1720;
}

.geo-object-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.geo-object-card__media--placeholder {
    background: linear-gradient(145deg, #15202b 0%, #0f1720 100%);
    position: relative;
}

.geo-object-card__media--placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .35;
    background: radial-gradient(circle at 30% 40%, rgba(94, 207, 138, .25), transparent 55%);
}

.geo-object-card__media--settlement.geo-object-card__media--placeholder::after {
    background: radial-gradient(circle at 30% 40%, rgba(96, 165, 250, .25), transparent 55%);
}

.geo-object-card__media--memory-site.geo-object-card__media--placeholder::after {
    background: radial-gradient(circle at 30% 40%, rgba(251, 191, 36, .28), transparent 55%);
}

.geo-object-card__body {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1rem 1.05rem 1.05rem;
    flex: 1;
}

.geo-object-card__type {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--color-accent);
}

.geo-object-card__title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
}

.geo-object-card__meta {
    margin: 0;
    font-size: .8125rem;
    color: var(--color-muted);
}

.geo-object-card__meta--address {
    line-height: 1.55;
}

.geo-object-card__lead {
    margin: .15rem 0 0;
    font-size: .8125rem;
    line-height: 1.55;
    color: var(--color-muted);
}

.geo-object-card__title a {
    color: inherit;
    text-decoration: none;
}

.geo-object-card__title a:hover {
    color: var(--color-accent);
}

.geo-object-card__media-link {
    display: block;
    color: inherit;
}

.geo-object-card__place {
    color: var(--color-muted);
    text-decoration: none;
}

.geo-object-card__place:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.geo-object-card__action {
    margin-top: auto;
    padding-top: .55rem;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
}

.geo-object-card__action:hover {
    text-decoration: underline;
}

.geo-object-card--compact .geo-object-card__body {
    padding: .85rem 1rem;
}

.geo-settlement-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.geo-settlement-list__item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem .85rem;
    border-radius: 10px;
    border: 1px solid var(--color-border, rgba(255, 255, 255, .08));
    background: rgba(255, 255, 255, .02);
    color: inherit;
    transition: border-color .15s, background .15s;
}

.geo-settlement-list__item:hover {
    border-color: rgba(94, 207, 138, .35);
    background: rgba(94, 207, 138, .04);
}

.geo-settlement-list__name {
    font-weight: 600;
}

.geo-settlement-list__meta {
    font-size: .8125rem;
    color: var(--color-muted);
    text-align: right;
}

.geo-region__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.geo-map-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border, rgba(255, 255, 255, .08));
    background: #0f1720;
    position: relative;
    z-index: 0;
    isolation: isolate;
}

#geo-region-map {
    height: 340px;
    width: 100%;
}

.geo-map-wrap--compact #geo-region-map {
    height: 220px;
}

.geo-map-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    isolation: isolate;
    contain: layout paint;
}

.geo-map-wrap.geo-map-wrap--preview {
    overflow: hidden;
    border: none;
    background: #0f1720;
}

.geo-map-wrap--preview #cemetery-catalog-map,
.geo-map-wrap--preview .leaflet-container {
    height: 180px !important;
    width: 100% !important;
}

@media (min-width: 768px) {
    .geo-map-wrap--preview #cemetery-catalog-map,
    .geo-map-wrap--preview .leaflet-container {
        height: 240px !important;
    }
}

.geo-map-preview .leaflet-pane,
.geo-map-preview .leaflet-control-container {
    z-index: 1;
}

.geo-map-preview .leaflet-container {
    background: #0f1720;
}

.geo-map-preview__overlay {
    position: absolute;
    inset: 0;
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(180deg, rgba(10, 15, 13, .08) 0%, rgba(10, 15, 13, .62) 100%);
    transition: background .15s ease;
}

.geo-map-preview__overlay:hover {
    background: linear-gradient(180deg, rgba(10, 15, 13, .18) 0%, rgba(10, 15, 13, .72) 100%);
}

.geo-map-preview__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: rgba(94, 207, 138, .18);
    border: 1px solid rgba(94, 207, 138, .35);
}

.geo-map-preview__title {
    font-size: 1rem;
    font-weight: 600;
}

.geo-map-preview__hint {
    font-size: .8125rem;
    opacity: .85;
}

#cemetery-catalog-map {
    width: 100%;
}

#cemetery-catalog-map .leaflet-control-attribution {
    display: none !important;
}

@media (min-width: 768px) {
    #geo-region-map {
        height: 420px;
    }

    .geo-map-wrap--compact #geo-region-map {
        height: 260px;
    }
}

#geo-region-map .leaflet-control-attribution {
    display: none !important;
}

.geo-grid {
    display: grid;
    gap: .65rem;
}

@media (min-width: 560px) {
    .geo-grid--2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .geo-grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.geo-card-link {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: .85rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--color-border, rgba(255, 255, 255, .08));
    transition: border-color .15s, background .15s;
}

.geo-card-link:hover {
    border-color: var(--color-accent, #3b82f6);
    background: rgba(59, 130, 246, .06);
}

.geo-card-link__name {
    font-weight: 600;
    font-size: .95rem;
    color: var(--color-text, #e8edf4);
}

.geo-card-link__meta {
    font-size: .8rem;
    color: var(--color-muted);
}

.geo-badge {
    display: inline-block;
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .15rem .5rem;
    border-radius: 20px;
    background: rgba(59, 130, 246, .1);
    border: 1px solid rgba(59, 130, 246, .2);
    color: #93c5fd;
    vertical-align: middle;
    margin-left: .4rem;
}

.geo-municipality {
    margin-bottom: 1.5rem;
}

.geo-municipality:last-child {
    margin-bottom: 0;
}

.geo-municipality__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .5rem;
    margin-bottom: .75rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--color-border, rgba(255, 255, 255, .08));
}

.geo-municipality__name {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.geo-municipality__type {
    font-size: .78rem;
    color: var(--color-muted);
}

.geo-index {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.geo-index__letter {
    margin: 0 0 .5rem;
    font-size: .85rem;
    font-weight: 700;
    color: var(--color-muted);
    letter-spacing: .08em;
}

.geo-index__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .35rem;
}

@media (min-width: 560px) {
    .geo-index__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .geo-index__list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.geo-index__list a {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    padding: .45rem .65rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: .9rem;
    color: var(--color-text, #e8edf4);
    transition: background .15s;
}

.geo-index__list a:hover {
    background: rgba(255, 255, 255, .04);
}

.geo-index__list .muted {
    font-size: .78rem;
    white-space: nowrap;
}

.geo-arch-note {
    font-size: .875rem;
    line-height: 1.55;
    color: var(--color-muted);
    padding: 1rem 1.1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .02);
    border: 1px dashed var(--color-border, rgba(255, 255, 255, .1));
}

.geo-arch-note strong {
    color: var(--color-text, #e8edf4);
}

.geo-empty {
    padding: 1.25rem;
    text-align: center;
    color: var(--color-muted);
    font-size: .9rem;
}

/* Городской лендинг */
.geo-city {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.geo-city__hero {
    padding: 1.25rem 1.35rem;
}

.geo-city__title {
    margin: 0 0 .35rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.15;
}

.geo-city__region {
    margin: 0 0 .5rem;
    font-size: .9rem;
}

.geo-city__lead {
    margin: 0;
    color: var(--color-muted);
    font-size: .95rem;
    line-height: 1.55;
    max-width: 58ch;
}

.geo-create-bar {
    margin: 0 0 1.25rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(94, 207, 138, 0.28);
    background: linear-gradient(135deg, rgba(94, 207, 138, 0.08) 0%, rgba(15, 23, 42, 0.55) 100%);
}

.geo-create-bar__inner {
    display: grid;
    gap: 1rem;
}

.geo-create-bar__title {
    margin: 0 0 .35rem;
    font-size: 1.05rem;
}

.geo-create-bar__lead {
    margin: 0;
    color: var(--color-muted);
    font-size: .9rem;
    line-height: 1.55;
    max-width: 52ch;
}

.geo-create-bar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: center;
}

.geo-create-bar__btn-main {
    min-height: 44px;
}

.geo-city__empty-region {
    margin-top: .75rem;
}

.geo-city__empty {
    text-align: center;
    padding: 1.5rem 1.25rem;
}

.geo-city__empty-title {
    margin: 0 0 .75rem;
    font-size: 1.05rem;
}

.geo-city__empty-body {
    margin: 0 auto 1.15rem;
    max-width: 46ch;
    line-height: 1.65;
}

.geo-city__empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
}

/* Лендинг муниципального района */
.geo-municipality-page {
    padding-bottom: 2rem;
}

.geo-municipality-hero {
    position: relative;
    margin: 0 0 1.75rem;
    padding: 2rem 0 2.25rem;
    background: linear-gradient(135deg, #0f1720 0%, #15202b 45%, #0d1318 100%);
    border-bottom: 1px solid var(--color-border, rgba(255, 255, 255, .08));
    overflow: hidden;
}

.geo-municipality-hero--has-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--geo-municipality-hero-image);
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(.42);
    transform: scale(1.04);
}

.geo-municipality-hero--has-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 12, 16, .92) 0%, rgba(8, 12, 16, .72) 55%, rgba(8, 12, 16, .35) 100%);
}

.geo-municipality-hero__container {
    position: relative;
    z-index: 1;
}

.geo-municipality-hero__grid {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 900px) {
    .geo-municipality-hero__grid {
        grid-template-columns: minmax(0, 1fr) 280px;
    }
}

.geo-municipality-hero__title {
    margin: 0 0 .4rem;
    font-family: var(--font-serif, Georgia, serif);
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    line-height: 1.1;
    font-weight: 600;
}

.geo-municipality-hero__region {
    margin: 0 0 .65rem;
    font-size: .95rem;
}

.geo-municipality-hero__region a {
    color: var(--color-accent, #5ecf8a);
    text-decoration: none;
}

.geo-municipality-hero__region a:hover {
    text-decoration: underline;
}

.geo-municipality-hero__lead {
    margin: 0 0 1.1rem;
    max-width: 52ch;
    color: rgba(232, 237, 244, .82);
    font-size: .98rem;
    line-height: 1.6;
}

.geo-municipality-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.geo-municipality-pill {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 118px;
    padding: .75rem .9rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(6px);
}

.geo-municipality-pill__icon {
    font-size: 1.1rem;
    line-height: 1;
}

.geo-municipality-pill__value {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.1;
}

.geo-municipality-pill__label {
    font-size: .72rem;
    color: var(--color-muted);
    line-height: 1.25;
}

.geo-municipality-hero__map-wrap {
    position: relative;
    z-index: 0;
    isolation: isolate;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(94, 207, 138, .25);
    box-shadow: 0 0 24px rgba(94, 207, 138, .12);
    background: #0f1720;
}

/* Leaflet panes use z-index up to 1000 globally — keep geo maps inside their box */
.geo-settlement-page .leaflet-pane,
.geo-municipality-page .leaflet-pane,
.geo-region-page .leaflet-container,
.geo-settlement-page .leaflet-container,
.geo-municipality-page .leaflet-container,
.geo-region-page .leaflet-container {
    z-index: auto !important;
}

.geo-settlement-page .leaflet-pane,
.geo-municipality-page .leaflet-pane,
.geo-region-page .leaflet-pane {
    z-index: 1 !important;
}

.geo-settlement-page .leaflet-top,
.geo-settlement-page .leaflet-bottom,
.geo-municipality-page .leaflet-top,
.geo-municipality-page .leaflet-bottom,
.geo-region-page .leaflet-top,
.geo-region-page .leaflet-bottom,
.geo-settlement-page .leaflet-control-container,
.geo-municipality-page .leaflet-control-container,
.geo-region-page .leaflet-control-container {
    z-index: 2 !important;
}

.geo-settlement-page .leaflet-popup-pane,
.geo-municipality-page .leaflet-popup-pane,
.geo-region-page .leaflet-popup-pane {
    z-index: 3 !important;
}

.geo-municipality-hero__map {
    height: 180px;
    width: 100%;
}

.geo-municipality-body {
    margin-top: 0;
}

.geo-municipality-layout {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 960px) {
    .geo-municipality-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        align-items: start;
    }
}

.geo-municipality-main {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

.geo-municipality-section {
    margin: 0;
}

.geo-map-wrap--municipality #geo-municipality-map,
.geo-map-wrap--municipality #geo-settlement-map {
    height: 360px;
}

@media (min-width: 768px) {
    .geo-map-wrap--municipality #geo-municipality-map,
    .geo-map-wrap--municipality #geo-settlement-map {
        height: 420px;
    }
}

#geo-municipality-map .leaflet-control-attribution,
#geo-municipality-hero-map .leaflet-control-attribution,
#geo-settlement-map .leaflet-control-attribution,
#geo-settlement-hero-map .leaflet-control-attribution {
    display: none !important;
}

.geo-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: .75rem 0 0;
    padding: 0;
    list-style: none;
    font-size: .8125rem;
    color: var(--color-muted);
}

.geo-map-legend__dot {
    display: inline-block;
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
    margin-right: .35rem;
    vertical-align: middle;
}

.geo-map-legend__dot--settlement {
    background: #60a5fa;
}

.geo-map-legend__dot--cemetery {
    background: #5ecf8a;
}

.geo-map-legend__dot--memory {
    background: #c084fc;
}

.geo-map-places-wrap {
    margin: 1rem 0 0;
    border-radius: 12px;
    border: 1px solid rgba(42, 61, 50, .55);
    background: rgba(8, 14, 12, .45);
    overflow: hidden;
}

.geo-map-places__head {
    margin: 0;
    padding: .5rem .85rem;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--color-muted);
    border-bottom: 1px solid rgba(42, 61, 50, .45);
}

.geo-map-places {
    margin: 0;
    padding: 0;
    list-style: none;
}

.geo-map-places__item {
    border-bottom: 1px solid rgba(42, 61, 50, .35);
}

.geo-map-places__item:last-child {
    border-bottom: 0;
}

.geo-map-places__link {
    display: grid;
    grid-template-columns: .5rem minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .65rem .75rem;
    padding: .62rem .85rem;
    color: inherit;
    text-decoration: none;
    transition: background .14s ease;
}

.geo-map-places__link:hover {
    background: rgba(94, 207, 138, .07);
}

.geo-map-places__link:focus-visible {
    outline: 2px solid rgba(94, 207, 138, .65);
    outline-offset: -2px;
}

.geo-map-places__dot {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: #5ecf8a;
    box-shadow: 0 0 0 2px rgba(94, 207, 138, .18);
}

.geo-map-places__item--settlement .geo-map-places__dot {
    background: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, .2);
}

.geo-map-places__item--memory .geo-map-places__dot {
    background: #c084fc;
    box-shadow: 0 0 0 2px rgba(192, 132, 252, .2);
}

.geo-map-places__name {
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.35;
    min-width: 0;
}

.geo-map-places__kind {
    justify-self: end;
    font-size: .6875rem;
    font-weight: 500;
    line-height: 1.2;
    padding: .2rem .5rem;
    border-radius: 999px;
    white-space: nowrap;
    color: rgba(148, 163, 184, .95);
    background: rgba(15, 23, 42, .55);
    border: 1px solid rgba(255, 255, 255, .06);
}

.geo-map-places__item--cemetery .geo-map-places__kind {
    color: #86efac;
    border-color: rgba(94, 207, 138, .22);
    background: rgba(94, 207, 138, .08);
}

.geo-map-places__item--settlement .geo-map-places__kind {
    color: #93c5fd;
    border-color: rgba(96, 165, 250, .22);
    background: rgba(96, 165, 250, .08);
}

.geo-map-places__item--memory .geo-map-places__kind {
    color: #d8b4fe;
    border-color: rgba(192, 132, 252, .22);
    background: rgba(192, 132, 252, .08);
}

.geo-map-places__chevron {
    display: flex;
    color: rgba(148, 163, 184, .55);
    transition: transform .14s ease, color .14s ease;
}

.geo-map-places__link:hover .geo-map-places__chevron {
    color: rgba(94, 207, 138, .85);
    transform: translateX(2px);
}

@media (min-width: 640px) {
    .geo-map-places__link {
        grid-template-columns: .5rem minmax(0, 1fr) auto auto;
        padding: .55rem .9rem;
    }

    .geo-map-places__name {
        font-size: .8125rem;
    }
}

@media (max-width: 480px) {
    .geo-map-places__link {
        grid-template-columns: .5rem minmax(0, 1fr) auto;
        grid-template-areas:
            "dot name chevron"
            "dot kind chevron";
        row-gap: .25rem;
    }

    .geo-map-places__dot { grid-area: dot; align-self: center; }
    .geo-map-places__name { grid-area: name; }
    .geo-map-places__kind {
        grid-area: kind;
        justify-self: start;
    }
    .geo-map-places__chevron { grid-area: chevron; align-self: center; }
}

.geo-section__link {
    font-size: .8125rem;
    color: var(--color-accent);
    text-decoration: none;
    white-space: nowrap;
}

.geo-section__link:hover {
    text-decoration: underline;
}

.geo-object-card__type--cemetery {
    color: #5ecf8a;
}

.geo-object-card__type--settlement {
    color: #93c5fd;
}

.geo-object-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1rem;
    margin: .25rem 0 0;
    padding: 0;
}

.geo-object-card__stat {
    margin: 0;
}

.geo-object-card__stat dt {
    margin: 0;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--color-muted);
}

.geo-object-card__stat dd {
    margin: .1rem 0 0;
    font-size: .8125rem;
    font-weight: 600;
}

.geo-municipality-sidebar {
    min-width: 0;
}

.geo-municipality-about__text {
    margin: 0 0 1rem;
    font-size: .875rem;
    line-height: 1.65;
    color: var(--color-muted);
}

.geo-municipality-about__stats {
    margin: 0 0 1rem;
    padding: 0;
}

.geo-municipality-about__row {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    padding: .45rem 0;
    border-bottom: 1px solid var(--color-border, rgba(255, 255, 255, .06));
    font-size: .875rem;
}

.geo-municipality-about__row:last-child {
    border-bottom: 0;
}

.geo-municipality-about__row dt {
    margin: 0;
    color: var(--color-muted);
}

.geo-municipality-about__row dd {
    margin: 0;
    font-weight: 600;
}

.geo-municipality-about__thumb {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #0f1720;
}

.geo-pagination {
    margin-top: 1.25rem;
    padding: 1rem 1.1rem 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.geo-pagination__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .85rem;
}

@media (min-width: 640px) {
    .geo-pagination__nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.geo-pagination__summary {
    margin: 0;
    font-size: .8125rem;
    line-height: 1.45;
    color: var(--color-muted);
    text-align: center;
}

.geo-pagination__summary strong {
    color: #e2e8f0;
    font-weight: 600;
}

.geo-pagination__pages {
    display: flex;
    gap: .35rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.geo-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 .65rem;
    border-radius: 9px;
    border: 1px solid rgba(148, 163, 184, .16);
    background: rgba(255, 255, 255, .03);
    color: #cbd5e1;
    font-size: .8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
}

.geo-pagination__item.is-active .geo-pagination__link {
    background: #5ecf8a;
    border-color: #5ecf8a;
    color: #052e16;
    font-weight: 700;
}

.geo-pagination__item:not(.is-disabled):not(.is-active) .geo-pagination__link:hover {
    background: rgba(94, 207, 138, .12);
    border-color: rgba(94, 207, 138, .35);
    color: #9ee4b8;
}

.geo-pagination__item.is-disabled .geo-pagination__link {
    opacity: .35;
    cursor: not-allowed;
}

.geo-municipality-about__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
