/*! SVG Türkiye Haritası | CSS | Türkha Teması Renk Paleti (#1e3a5f, #5b9bd5, #e11d48) */
.turkey-map-container {
    position: relative;
    max-width: 980px;
    width: 100%;
    height: auto;
    margin: 10px auto 0 auto;
    padding: 18px 16px 12px 16px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
    border: 1px solid #dbeafe;
    border-radius: 14px;
}

.turkey-map-container .switch-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 8px;
}

.turkey-map-container .switch-container .text {
    display: inline-block;
    padding: 0 4px;
    color: #1e3a5f;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 20px;
}

.turkey-map-container .switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
    flex-shrink: 0;
}

.turkey-map-container .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.turkey-map-container .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    -webkit-transition: .35s;
    transition: .35s;
    box-shadow: inset 0 1px 3px rgba(15, 30, 50, 0.15);
}

.turkey-map-container .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    -webkit-transition: .35s;
    transition: .35s;
    box-shadow: 0 1px 3px rgba(15, 30, 50, 0.25);
}

.turkey-map-container input:checked + .slider {
    background: linear-gradient(135deg, #1e3a5f 0%, #5b9bd5 100%);
}

.turkey-map-container input:focus + .slider {
    box-shadow: 0 0 0 2px rgba(91, 155, 213, 0.35);
}

.turkey-map-container input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

.turkey-map-container .slider.round {
    border-radius: 34px;
}

.turkey-map-container .slider.round:before {
    border-radius: 50%;
}

.turkey-map-container .map {
    width: 100%;
    position: relative;
}

.turkey-map-container .map svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(30, 58, 95, 0.10));
}

/* Yüzer Haber Popup Kartı (c:\xampp\htdocs\kha\turkiye Stili) — Seçilen İl Üzerinde Yüzer, Fare İle Sürüklenmez, Tıklandığında Detay Sayfasını Açar */
.turkey-map-container .il-isimleri {
    display: none;
    width: 395px;
    max-width: 92vw;
    position: absolute;
    z-index: 35;
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-top: 3px solid #1e3a5f;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 25px 2px rgba(0, 0, 0, 0.22);
    -moz-box-shadow: 0 0 25px 2px rgba(0, 0, 0, 0.22);
    box-shadow: 0 0 25px 2px rgba(0, 0, 0, 0.22);
    line-height: 20px;
    padding: 13px 15px 18px 15px;
    transition: top 0.18s ease, left 0.18s ease, right 0.18s ease;
}

/* Alt Progress Bar — Türkha Lacivert -> Açık Mavi -> Kırmızı Geçişli */
.turkey-map-container .il-isimleri .progressbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #e2e8f0;
    overflow: hidden;
    border-bottom-left-radius: 9px;
    border-bottom-right-radius: 9px;
}

.turkey-map-container .il-isimleri .progressbar .bar {
    width: 1%;
    height: 5px;
    background: linear-gradient(90deg, #1e3a5f 0%, #5b9bd5 55%, #e11d48 100%);
    -webkit-border-bottom-left-radius: 9px;
    -moz-border-radius-bottomleft: 9px;
    border-bottom-left-radius: 9px;
    transition: width 0.1s linear;
}

.turkey-map-container .il-isimleri a {
    text-decoration: none;
    color: #1e293b;
}

.turkey-map-container .il-isimleri .popup {
    display: flex;
    align-items: flex-start;
    width: 100%;
    height: auto;
    gap: 12px;
}

.turkey-map-container .il-isimleri .popup .image-link {
    flex-shrink: 0;
    display: block;
}

.turkey-map-container .il-isimleri .popup .image {
    display: block;
    width: 84px;
    height: 84px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    border: 1px solid #dbeafe;
    overflow: hidden;
    background-color: #eff6ff;
    box-shadow: 0 2px 6px rgba(30, 58, 95, 0.10);
}

.turkey-map-container .il-isimleri .popup .image img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    display: block;
}

.turkey-map-container .il-isimleri .popup .content {
    flex: 1;
    min-width: 0;
}

/* Konum Başlığı ve Türkha Konum İkonu */
.turkey-map-container .il-isimleri .popup .content .news-location {
    color: #1e3a5f;
    font-size: 17px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 800;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.25;
}

.turkey-map-container .il-isimleri .popup .content a:hover .news-location {
    color: #e11d48;
}

.turkey-map-container .il-isimleri .popup .content .news-location .turkha-pin-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 1px 2px rgba(225, 29, 72, 0.25));
}

.turkey-map-container .il-isimleri .popup .content .news-location .dist-badge {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 10.5px;
    font-weight: 800;
    color: #1e3a5f;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 1px 7px;
    border-radius: 9999px;
    margin-left: 2px;
}

.turkey-map-container .il-isimleri .popup .content .news-title,
.turkey-map-container .il-isimleri .popup .content .haber-title {
    color: #1e293b;
    font-size: 13.5px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 600;
    line-height: 1.38;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.turkey-map-container .il-isimleri .popup .content a:hover .news-title,
.turkey-map-container .il-isimleri .popup .content a:hover .haber-title {
    color: #e11d48;
}

.turkey-map-container .il-isimleri .popup .content .popup-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #f1f5f9;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 800;
}

.turkey-map-container .il-isimleri .popup .content .popup-actions a.act-read {
    color: #e11d48;
}
.turkey-map-container .il-isimleri .popup .content .popup-actions a.act-read:hover {
    color: #be123c;
    text-decoration: underline;
}

.turkey-map-container .il-isimleri .popup .content .popup-actions a.act-city {
    color: #1e3a5f;
}
.turkey-map-container .il-isimleri .popup .content .popup-actions a.act-city:hover {
    color: #5b9bd5;
    text-decoration: underline;
}

/* Türkha Canlı Haber Spikeri (TTS) Rozeti & Ses Dalgası Animasyonu */
.turkha-spiker-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 6px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1e3a5f;
    transition: all 0.18s ease;
    margin-top: 5px;
}
.turkha-spiker-badge[data-gender="male"] {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1e3a5f;
}
.turkha-spiker-badge[data-gender="female"] {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #be123c;
}
.turkha-spiker-badge[data-speaking="1"][data-gender="male"] {
    background: #1e3a5f;
    border-color: #1e3a5f;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(30, 58, 95, 0.25);
}
.turkha-spiker-badge[data-speaking="1"][data-gender="female"] {
    background: #e11d48;
    border-color: #e11d48;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(225, 29, 72, 0.25);
}
.turkha-spiker-badge:hover {
    transform: translateY(-1px);
}
.turkha-spiker-badge .spiker-wave {
    display: none;
    align-items: flex-end;
    gap: 2px;
    height: 10px;
    margin-left: 2px;
}
.turkha-spiker-badge[data-speaking="1"] .spiker-wave {
    display: inline-flex;
}
.turkha-spiker-badge .spiker-wave i {
    display: inline-block;
    width: 2px;
    height: 4px;
    background: currentColor;
    border-radius: 2px;
    animation: turkhaSpikerEq 0.7s ease-in-out infinite alternate;
}
.turkha-spiker-badge .spiker-wave i:nth-child(2) {
    animation-delay: 0.2s;
}
.turkha-spiker-badge .spiker-wave i:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes turkhaSpikerEq {
    0%   { height: 3px; opacity: 0.65; }
    100% { height: 10px; opacity: 1; }
}

.turkha-map-tts-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    border: 1px solid #bfdbfe;
    background: #ffffff;
    color: #1e3a5f;
    transition: all 0.18s ease;
    box-shadow: 0 1px 3px rgba(30, 58, 95, 0.08);
}
.turkha-map-tts-toggle:hover {
    border-color: #1e3a5f;
    background: #f0f7ff;
}
.turkha-map-tts-toggle[data-muted="1"] {
    background: #f8fafc;
    color: #64748b;
    border-color: #cbd5e1;
}

/* Harita İllerinin Türkha Renkleri */
.turkey-map-container #map {
    cursor: pointer;
    fill: #7fa6d0;
}

.turkey-map-container #turkiye g path {
    fill: #7fa6d0;
    stroke: #ffffff;
    stroke-width: 0.85px;
    transition: fill 0.2s ease, stroke-width 0.2s ease;
}

.turkey-map-container #turkiye g:hover path {
    fill: #1e3a5f !important;
}

.turkey-map-container #turkiye g.is-active-city path {
    fill: #e11d48 !important;
    stroke: #ffffff;
    stroke-width: 1.2px;
}

@media screen and (max-width: 768px) {
    .turkey-map-container {
        padding: 12px 10px;
    }
    .turkey-map-container .il-isimleri {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        width: 100%;
        max-width: 100%;
        margin-bottom: 12px;
    }
    .turkey-map-container .il-isimleri .popup .content .news-location {
        font-size: 15.5px;
    }
    .turkey-map-container .il-isimleri .popup .content .news-title,
    .turkey-map-container .il-isimleri .popup .content .haber-title {
        font-size: 13px;
    }
}
