/* Ana sayfa featured: ısı haritası + üst üste iki kutu */

.body-index-page .featured-section {
    padding-top: 1.25rem !important;
}

.featured-section .fs-grid-wrapper {
    grid-template-areas: "main" "cards";
}

@media (min-width: 992px) {
    .featured-section .fs-grid-wrapper {
        height: var(--fs-height-desktop);
        grid-template-columns: 1.45fr 1fr;
        grid-template-rows: 1fr;
        grid-template-areas: "main cards";
    }
}

.featured-section .area-sub-bottom {
    grid-area: cards;
}

.featured-section .sub-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
}

@media (max-width: 991.98px) {
    .featured-section .area-main {
        width: 100%;
        aspect-ratio: 16 / 10;
        min-height: 300px;
    }

    .featured-section .area-sub-bottom {
        width: 100%;
        height: auto;
    }

    .featured-section .sub-grid {
        aspect-ratio: auto;
        min-height: 360px;
    }
}

.fs-home-map {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #082f45;
    overflow: hidden;
    font-family: "Sora", "Segoe UI", sans-serif;
}

.fs-home-map__head {
    flex-shrink: 0;
    padding: 0.65rem 0.75rem 0.4rem;
    background: rgba(8, 47, 69, 0.98);
}

.fs-home-map__title {
    margin: 0;
    font-size: clamp(1.05rem, 1.6vw, 1.28rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #fff;
}

.fs-home-map__subtitle {
    margin: 0.2rem 0 0;
    font-size: clamp(0.78rem, 1.1vw, 0.9rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.72);
}

.fs-home-map__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    padding: 0.5rem 0.65rem;
    background: rgba(8, 47, 69, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    flex-shrink: 0;
    z-index: 2;
}

.fs-home-map .wx-map-tabs,
.wx-map-tabs--scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.wx-map-tabs--scroll {
    -webkit-overflow-scrolling: touch;
}

.fs-home-map .wx-map-tab {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    cursor: pointer;
    flex: 0 0 auto;
    white-space: nowrap;
}

.fs-home-map .wx-map-tab.is-active {
    background: #0284c7;
    color: #fff;
}

.fs-home-map__full {
    margin-left: auto;
    color: #7dd3fc;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.fs-home-map__full:hover {
    color: #fff;
    text-decoration: underline;
}

.fs-home-map .wx-map-status {
    margin-left: 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    width: 100%;
    order: 5;
}

.fs-home-map__stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    overflow: hidden;
    background: #0b3a55;
}

.fs-home-map__stage .wx-map-canvas,
.fs-home-map__stage #wxMap {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
    background: #0b3a55;
}

.fs-home-map__stage .wx-map-legend {
    left: 0.65rem;
    bottom: 0.65rem;
    min-width: 130px;
    padding: 0.5rem 0.65rem;
}

.fs-home-map__stage .wx-map-hover {
    top: 0.65rem;
    right: 0.65rem;
    min-width: 120px;
    padding: 0.55rem 0.7rem;
    font-size: 0.8rem;
}

.fs-home-map #wxMap {
    cursor: default;
}

.fs-home-map #wxMap.is-interactive {
    cursor: grab;
}

.fs-home-map #wxMap.is-interactive.leaflet-drag-target {
    cursor: grabbing;
}

.fs-home-map .leaflet-control-attribution {
    background: rgba(8, 47, 69, 0.75) !important;
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 9px !important;
}

.fs-home-map .leaflet-control-zoom a {
    width: 28px;
    height: 28px;
    line-height: 28px;
    background-color: rgba(8, 47, 69, 0.95);
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.fs-home-map .leaflet-control-zoom a:hover {
    background-color: #0284c7;
    color: #fff;
}

@media (max-width: 991.98px) {
    .fs-home-map .wx-map-status {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .fs-home-map__toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
    }

    .fs-home-map__toolbar .wx-map-tabs {
        order: 1;
        width: 100%;
        max-width: none;
    }

    .fs-home-map__full {
        order: 2;
        margin-left: 0;
        align-self: flex-start;
    }
}
