#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: rgb(254, 102, 0, 0.8);
    padding: 1rem 1.5rem 1rem 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/uploads/2025/02/cluster_icon.svg'); */
    background-image: url('/wp-content/uploads/2025/08/cluster.svg');
    text-align: center;
}
.cluster-icon-text {
    color: #fdf07e;
    font-size: 1.125rem;
    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: #FF5733;
    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: #FF5733;
}


.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: column;
        align-items: stretch;
    }
    .map-text {
        font-size: 1.25rem;
        margin-right: .5rem;
        margin-left: .5rem;
        line-height: 1.4;
        text-align: center;
    }
    .locate-btn {
        margin: 10px 0 0 0
    }
}
@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;
    }
}


/* 📌 Genel container */
#veranstaltungen-liste-container {
    max-width: 852px;
    margin: 0 auto;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

/* 📌 Liste alanı */
#veranstaltungen-liste {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 sütun */
    gap: 20px;
    margin-bottom: 25px;
}

/* 📌 Her bir etkinlik kartı */
.veranstaltung-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.veranstaltung-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* 📌 Başlık */
.veranstaltung-item h3 {
    font-size: 16px;
    margin: 0 0 8px;
    font-weight: 600;
}

.veranstaltung-item h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.veranstaltung-item h3 a:hover {
    color: #FF5733;
}

/* 📌 Stadt alanı */
.veranstaltung-item .stadt {
    font-size: 14px;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.veranstaltung-item .stadt i {
    color: #FF5733;
}

/* 📌 Pagination */
.veranstaltungen-pagination {
    text-align: center;
    margin-top: 20px;
}

.veranstaltungen-pagination .veranstaltungen-page-btn {
    background: #f1f1f1;
    border: none;
    margin: 0 4px;
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.veranstaltungen-pagination .veranstaltungen-page-btn:hover {
    background: #FF5733;
    color: #fff;
}

/* 📌 Aktif sayfa (JS ile eklenebilir) */
.veranstaltungen-pagination .veranstaltungen-page-btn.active {
    background: #FF5733 !important;
    color: #fff !important;
    font-weight: bold;
    border: none;
}
