.tk-subelerSpot {
    color: var(--tkd_yaziRengi);
    font-family: GOTHIC;
    font-size: 18pt;
    line-height: 1.5;
    font-weight: bold;
}
.tk-subelerListlemeAlani {
    width:100%;
    max-height: 628px;
    overflow-y:auto;
    overflow-x: hidden;
}
.tk-adresTablosu td {
 vertical-align: top;
}
.tk-adresTablosu tr {
    padding: 10px 0 0 0;
    display: block;
}
.tk-adresTablosu {
    line-height: 1.3;
    border: 0;
    margin-bottom: 50px;
}
    .tk-adresTablosu p {
        line-height: 1.5;
        padding: 0;
        margin: 0;
        font-weight: bold;
        font-size: 12pt;
        color: #a1cb3a;
    }
    .tk-adresTablosu .adres-content,
    .tk-adresTablosu .adres-content p {
        color: var(--tkd_yaziRengi) !important;
        font-weight: normal !important;
        font-size: 11pt !important;
    }
    .tk-adresTablosu i {
        font-size: 20pt;
        color: #a1cb3a;
        padding: 0 15px;
    }

/* NewIndex enhancements moved from inline <style> to external CSS */
.tk-sube-item { cursor: pointer; }
.tk-sube-item .tk-adresTablosu {
  transition: box-shadow .2s ease, transform .2s ease, background-color .2s ease;
  border-radius: 16px;
  padding: 16px 18px; /* symmetric top/bottom */
  background-color: #ffffff;
}
.tk-sube-item:hover .tk-adresTablosu {
  box-shadow: 0 8px 22px rgba(0,0,0,.14);
  transform: translateY(-2px);
  background-color: #ffffff;
}
.tk-sube-item:active .tk-adresTablosu { transform: translateY(-1px); }
.tk-sube-item:focus-within .tk-adresTablosu { box-shadow: 0 0 0 3px rgba(16,185,129,.25); }
@media (hover: none) {
  .tk-sube-item .tk-adresTablosu { transform: none !important; }
}
/* Title cell and row paddings */
.tk-adresTablosu .tk-subelerSpot { padding: 10px; }
.tk-adresTablosu td { padding: 8px 10px; }

/* Select arrow alignment for IL/ILCE */
#il.tk-inputGri, #ilce.tk-inputGri {
  padding-right: 34px;
  background-position: right 8px center !important;
  background-origin: content-box;
}

/* Google Maps InfoWindow close button positioning and size */
.gm-style .gm-ui-hover-effect { 
    width: 32px !important; 
    height: 32px !important;
    position: absolute !important;
    top: 3px !important;
    right: 3px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
}

.gm-style .gm-ui-hover-effect span { 
    width: 20px !important; 
    height: 20px !important;
    margin: 0 !important;
    display: block !important;
}

/* (reverted) no mobile-specific map rules */

@media (max-width: 992px) {
    .tk-subelerListlemeAlani {
        overflow: visible !important;
        max-height: none !important;
    }

    #il.tk-inputGri, #ilce.tk-inputGri {
        position: relative;
        z-index: 1000;
        width: 100%;
    }

    .row.pb-1, .row.pb-3 {
        position: relative;
        overflow: visible !important;
    }

    /* Şube listesi ile harita arasındaki boşluğu azalt */
    .tk-subelerListlemeAlani {
        margin-bottom: 0 !important;
    }
    
    /* Şube listesi container'ının alt boşluğunu azalt */
    .row.py-4.py-lg-4 {
        padding-bottom: 1rem !important;
    }
    
    /* Sol kolonun (şubeler) alt boşluğunu azalt */
    .col-12.col-lg-5.col-xxl-4.d-flex.flex-column {
        margin-bottom: 1rem !important;
    }
    
    /* Harita kolonunun üst boşluğunu azalt */
    .col-12.col-lg-7.col-xxl-8 {
        margin-top: 0 !important;
    }
    
    /* Ana row'un g-5 (gap-5) değerini mobilde azalt */
    .row.pt-4.g-5 {
        gap: 1rem !important;
        row-gap: 1rem !important;
    }

    @media (max-width: 992px) {
        #il.tk-inputGri,
        #ilce.tk-inputGri {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
        }

        .row.pb-1, .row.pb-3 {
            overflow: hidden !important;
            width: 100%;
        }

        .col-12 {
            overflow: hidden !important;
            width: 100%;
        }
    }
    @media (max-width: 992px) {
        .tk-adresTablosu {
            margin-top: 15px !important;
            margin-bottom: 15px !important; /* 50px → 15px */
        }
    }
}