#map-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 235px);
}

@media (max-width: 1024px) {
    #map-container {
        position: relative;
        width: 100%;
        height: calc(100vh - 377px) !important;
        z-index: 1;
    }
}

@media (max-width: 768px) {
    #map-container {
        position: relative;
        width: 100%;
        height: calc(100vh - 377px) !important;
        z-index: 1;
    }
}

.map-info {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #e2241c;
    padding: .5rem 1.5rem .5rem 1.5rem;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 1rem;
    z-index: 997;
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.map-text {
    font-weight: 400 !important;
    font-size: 1rem;
    margin-right: 1rem;
    line-height: 1.5;
    vertical-align: top;
    color: #fff;
}

.locate-btn {
    margin-left: 10px;
    padding: .4rem 1.5rem .2rem !important;
    font-weight: 600 !important;
    font-style: normal !important;
    background: #fff !important;
    color: #666666 !important;
    border: 1px solid #fff !important;
    border-radius: 30px;
    cursor: pointer;
}

.locate-btn span {
    font-weight: 500;
    font-style: normal;
    padding-left: 3px;
}

.locate-btn:hover {
    background: #666666 !important;
    color: #fff !important;
    border: 1px solid #666666 !important;
}

.locate-btn .eicon-map-pin {
    color: #666666;
    font-size: 16px;
}

.locate-btn:hover .eicon-map-pin {
    color: #ffffff;
}

.cluster-icon {
    background-image: url('/wp-content/plugins/detail-locator/assets/img/cluster.svg');
    text-align: center;
}

.cluster-icon-text {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 7px;
}

.leaflet-popup-content {
    width: 301px !important;
    margin: 20px 20px 20px 7px !important;
}

.leaflet-popup-content h3 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: bold;
}

.leaflet-popup-content p {
    margin: 0 0 5px;
    font-size: 14px;
    color: #555;
}

.leaflet-popup-content a {
    display: inline-block;
    margin-top: 5px;
    color: #e2241c;
    font-weight: 500;
    text-decoration: none;
}

.leaflet-popup-content a:hover {
    text-decoration: underline;
}

.leaflet-container a.leaflet-popup-close-button {
    padding: 6px 24px 0 0;
    color: #e2241c;
}


.leaflet_d_container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.leaflet_d_container>div>.leaflet_stadt {
    font-weight: 700;
    margin-bottom: .25rem;
    margin-top: .25rem;
    color: #666666;
    font-size: .75rem;
    text-transform: uppercase;
}

.leaflet_d_container>div>.leaflet_title {
    font-weight: 900;
    margin-bottom: 1rem;
    margin-top: 0;
    color: #666666;
    font-size: 1.5rem;
    line-height: 1.2;
    font-style: italic;
}

.leaflet_d_container>div>.leaflet_language {
    font-weight: 400;
    margin-bottom: .25rem;
    margin-top: .25rem;
    color: #666666;
    font-size: .75rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.leaflet_d_container>div>.leaflet_language svg {
    height: 12.5px;
}

.leaflet_d_container>div>.leaflet_d_button a {
    display: inline-block;
    width: 11px;
    height: 18px;
    color: #666666;
}

.leaflet_d_container>div>.leaflet_d_button a svg path {
    fill: #666666;
}


#beratungsstellen-info .info-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.leafData .leafDesc-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #666666;
    font-style: italic;
}

.leafData .leafDesc-title p {
    font-size: 1.55rem;
    font-weight: 600;
    color: #666666;
}

.leafData .leafDesc-content,
.leafData .leafDesc-footer {
    font-size: 1rem;
    font-weight: 400;
    color: #666666;
}

.leafData .leafDesc-content ul,
.leafData .leafDesc-footer ul {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.leafData .leafDesc-content ul li,
.leafData .leafDesc-footer ul li {
    display: flex;
    align-items: center;
    list-style-type: none;
    padding: 0 0 5px 0;
}

.leafData .leafDesc-content ul li span.first,
.leafData .leafDesc-footer ul li span.first {
    position: relative;
    display: flex;
    justify-content: center;
    padding-right: 5px;
    min-width: 32px;
}

.leafData .leafDesc-content ul li span.last,
.leafData .leafDesc-footer ul li span.last {
    padding-left: 10px;
    flex: 1;
}

.leafData .leafDesc-content ul li span.last a,
.leafData .leafDesc-footer ul li span.last a {
    color: #666666;
    font-weight: 500;
    text-decoration: underline;
}

.leafData .leafDesc-content ul li span.last a:hover,
.leafData .leafDesc-footer ul li span.last a:hover {
    color: #697de7;
}

.leafData .leafDesc-button a {
    display: inline-block;
    padding: 10px 20px;
    background: #666666;
    color: #fff;
    font-weight: 400;
    font-size: 16px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 20px;
    transition: all .3s;
}

.leafData .leafDesc-button a:hover {
    background: #697de7;
}



@media (max-width: 1024px) {
    .map-info {
        left: 0;
        position: absolute;
        width: 90%;
        margin: 0 5%;
        z-index: 10000;
        transform: translateX(0);
        top: unset;
        bottom: 30px;
        display: flex;
        flex-direction: row;
        align-items: space-between;
        flex-wrap: nowrap;
    }

    .map-text {
        font-size: .65rem;
        margin-right: .5rem;
        margin-left: .5rem;
        line-height: 1.4;
        text-align: center;
    }

.locate-btn {
        margin-left: 10px;
        padding: .02rem 0rem .05rem !important;
        font-weight: 600 !important;
        font-style: normal !important;
        background: #fff !important;
        color: #666666 !important;
        border: 1px solid #fff !important;
        border-radius: 30px;
        cursor: pointer;
        width: 101px;
        font-size: .75rem;
        text-align: center;
}
}

@media (max-width: 768px) {
    .leafData .leafDesc-title h2 {
        font-size: 1.5rem;
        margin-bottom: .5rem;
    }

    .leafData .leafDesc-title p {
        font-size: 1rem;
        line-height: 1.2rem;
    }

    .leafData .leafDesc-content ul,
    .leafData .leafDesc-footer ul {
        margin: 10px 0;
    }

    .leafData .leafDesc-button a {
        margin-top: 0px;
        width: 100%;
        text-align: center;
    }
}


#detail-locator-map {
    width: 100%;
    height: 676px;
    /* istediğin yüksekliği ver */
    min-height: 400px;
}

#dl-locator-wrapper {
    display: flex;
    flex-direction: row;
    gap: 0;
}

#dl-location-list {
    width: 30%;
    max-height: 676px;
    height: 100%;
    border-right: 1px solid #ddd;
    padding: 10px;
}

#map-container {
    flex: 1;
    position: relative;
}


#dl-locator-wrapper {
    display: flex;
    height: auto;
    border: 1px solid #ddd;
    width: calc(100vw - 10px);
    max-width: 100vw;
    position: relative;
    left: 50%; 
    right: 50%;
    margin-left: -50vw;      
    margin-right: -50vw;
    box-sizing: border-box;
}
@media (min-width: 992px) {
    #dl-locator-wrapper {
        height: 100%;
        max-height: 678px;
    }
}



#dl-location-list {
    width: 30%;
    overflow-y: hidden;
    background: #fff;
    border-right: 1px solid #ddd;
    padding: 10px;
}

#dl-location-map {
    width: 70%;
}

#dl-list-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 530px;
    overflow-y: auto;
    padding: 10px 0;
}

.dl-filter {
    background: #ededed;
    padding: 10px;
    border-radius: 10px;
}


.dl-filter-zip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.dl-field {
    display: flex;
    flex-direction: column;
    min-width: 100px;
    /* çok dar kalmasın */
}

#dl-location-list label {
    font-weight: bold;
    font-size: 12px;
    /* label küçültüldü */
    margin-bottom: 5px;
}

#dl-location-list select,
#dl-location-list .dl-field input {
    font-size: 13px !important;
    padding: 6px 6px !important;
    height: 28px !important;
    line-height: 1.2 !important;
    border: 1px solid #ccc !important;
    border-radius: 3px !important;
    box-sizing: border-box !important;
    background: #fff;
}
#dl-location-list select#city-filter {
    display: block;
    width: 100%;
}
.dl-buttons {
    flex-direction: row !important;
    align-items: flex-end;
    gap: 6px;
}

.dl-buttons button {
    font-size: 13px;
    padding: 4px 8px;
    height: 28px;
    line-height: 1.2;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    background: linear-gradient(135deg, #f3362f, #e2241c);
    transition: background 0.25s ease;
    color: #fff;
}

.dl-card-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* sol adres - sağ iletişim */
    gap: 16px;
    margin-bottom: 0;
}

.dl-card-left,
.dl-card-right {
    font-size: 14px;
    color: #444;
}



.dl-location-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 9px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.dl-location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.dl-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin-bottom: 6px;
}

.dl-card-sub {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 6px;
}

.dl-card-body {
    margin-bottom: 14px;
}

.dl-info {
    font-size: 14px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dl-card-sub span,
.dl-info span {
    color: #e2241c;
    width: 18px;
    text-align: center;
}

.dl-card-sub span {
    display: inline-block;
    margin-right: 6px;
}

.dl-info a {
    color: #e2241c;
    text-decoration: none;
}

.dl-info a:hover {
    text-decoration: underline;
}

.dl-card-body .dl-info.dl-hours {
    flex-direction: column;
}

.dl-card-sub .dtcentered,
.dtcentered {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.dl-hours {
    align-items: flex-start;
}

.dl-hours-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    font-size: 13px;
    color: #444;
    width: 100%;
}

.dl-hour-item {
    padding: 2px 6px;
    background: #f5f7fa;
    border-radius: 6px;
    display: inline-block;
}

.dl-card-footer {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.dl-directions-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 30px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, #f3362f, #e2241c);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.25s ease;
}

.dl-directions-btn:hover {
    background: linear-gradient(135deg, #f3362f, #e2241c);
}

.mynaui--envelope {
    display: inline-block;
    width: 24px;
    height: 24px;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m2.357 7.714l6.98 4.654c.963.641 1.444.962 1.964 1.087c.46.11.939.11 1.398 0c.52-.125 1.001-.446 1.964-1.087l6.98-4.654M7.157 19.5h9.686c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.31-1.311c.328-.642.328-1.482.328-3.162V9.3c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311c-.642-.327-1.482-.327-3.162-.327H7.157c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.31 1.311c-.328.642-.328 1.482-.328 3.162v5.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311c.642.327 1.482.327 3.162.327'/%3E%3C/svg%3E");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.mynaui--telephone-call {
    display: inline-block;
    width: 24px;
    height: 24px;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M15.6 14.522c-2.395 2.52-8.504-3.534-6.1-6.064c1.468-1.545-.19-3.31-1.108-4.609c-1.723-2.435-5.504.927-5.39 3.066c.363 6.746 7.66 14.74 14.726 14.042c2.21-.218 4.75-4.21 2.215-5.669c-1.268-.73-3.009-2.17-4.343-.767M14 3a7 7 0 0 1 7 7m-7-3a3 3 0 0 1 3 3'/%3E%3C/svg%3E");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.mynaui--link-one {
    display: inline-block;
    width: 24px;
    height: 24px;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m10.936 8.324l4.38-4.385c1.276-1.276 3.372-1.248 4.683.063c1.31 1.312 1.338 3.41.062 4.686l-3.803 3.807m-8.516-.99L3.94 15.312c-1.277 1.276-1.25 3.374.06 4.686s3.407 1.34 4.683.063l4.38-4.385m-2.065-2.666c-1.311-1.311-1.34-3.41-.063-4.686m2.128 2.603c1.312 1.311 1.34 3.41.063 4.686'/%3E%3C/svg%3E");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.mynaui--map {
    display: inline-block;
    width: 24px;
    height: 24px;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M3 8.593c0-1.527 0-2.29.393-2.735c.139-.159.308-.285.497-.372c1.416-.653 3.272 1.066 4.77 1.013q.297-.011.587-.082c2.184-.535 3.552-3.08 5.798-3.39c1.287-.18 2.7.598 3.904 1.014c.99.342 1.485.513 1.768.92S21 5.91 21 6.99v8.422c0 1.526 0 2.29-.393 2.735a1.5 1.5 0 0 1-.497.371c-1.416.653-3.272-1.065-4.77-1.012a3 3 0 0 0-.587.081c-2.184.535-3.552 3.08-5.798 3.391c-1.281.178-4.847-.75-5.672-1.935C3 18.636 3 18.096 3 17.014zm6-2.052v14.255m6-17.615v14.255'/%3E%3C/svg%3E");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.mynaui--alarm {
    display: inline-block;
    width: 24px;
    height: 24px;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3E%3Cpath d='M3 5.231L6.15 3M21 5.231L17.85 3M20 13a8 8 0 1 1-16 0a8 8 0 0 1 16 0'/%3E%3Cpath d='M12 8.5v5l3 2'/%3E%3C/g%3E%3C/svg%3E");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.mynaui--location-selected {
    display: inline-block;
    width: 24px;
    height: 24px;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3E%3Cpath d='M12.435 16.86a.75.75 0 0 1-.87 0C7.809 14.183 3.822 8.677 7.852 4.698A5.9 5.9 0 0 1 12 3c1.556 0 3.048.61 4.148 1.697c4.03 3.979.043 9.485-3.713 12.164'/%3E%3Cpath d='m6.5 17l-2 4h15l-2-4M12 11a2 2 0 1 0 0-4a2 2 0 0 0 0 4'/%3E%3C/g%3E%3C/svg%3E");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}
.material-symbols-light--fax-outline {
  display: inline-block;
  width: 24px;
  height: 24px;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M5 20.5q-1.042 0-1.77-.73q-.73-.728-.73-1.77v-7q0-1.042.73-1.77Q3.957 8.5 5 8.5q.617 0 1.132.275t.882.725H8.5V4.846h9V9.5H19q1.042 0 1.77.73q.73.728.73 1.77v7.5H7.014q-.368.45-.882.725T5 20.5m0-1q.617 0 1.059-.441Q6.5 18.617 6.5 18v-7q0-.617-.441-1.059Q5.617 9.5 5 9.5t-1.059.441Q3.5 10.383 3.5 11v7q0 .617.441 1.059q.442.441 1.059.441m4.5-10h7V5.846h-7zm-2 9h13V12q0-.617-.441-1.059Q19.617 10.5 19 10.5H7.5zM15 14q.425 0 .713-.288T16 13t-.288-.712T15 12t-.712.288T14 13t.288.713T15 14m3 0q.425 0 .713-.288T19 13t-.288-.712T18 12t-.712.288T17 13t.288.713T18 14m-3 3q.425 0 .713-.288T16 16t-.288-.712T15 15t-.712.288T14 16t.288.713T15 17m3 0q.425 0 .713-.288T19 16t-.288-.712T18 15t-.712.288T17 16t.288.713T18 17m-9 0h4v-5H9zm-1.5 1.5v-8z'/%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

/* Tablet ve küçük cihazlarda */
@media (max-width: 1024px) {
  #dl-locator-wrapper {
    flex-direction: column-reverse;
  }

  #dl-location-list {
    width: 100%;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }

  #map-container {
    width: 100%;
    height: 400px; /* mobilde sabit yükseklik */
  }

  #detail-locator-map {
    height: 400px; /* mobilde küçült */
  }
}

/* Çok küçük ekran (telefon < 480px) */
@media (max-width: 480px) {
  .dl-filter-zip {
    flex-direction: column;
    gap: 6px;
  }

  .dl-field {
    min-width: 100%;
  }

  .dl-buttons {
    justify-content: flex-start;
  }

  .dl-card-content {
    grid-template-columns: 1fr; /* adres ve iletişim alt alta */
  }
}
