#locations-map {
    border: 2px solid #ff8700;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin-bottom: 2em;
    font-family: 'Source Sans Pro', Arial, sans-serif;
}

.tx-tugcgn-locations h1,
.tx-tugcgn-locations h2 {
    color: #ff8700;
    font-size: 2rem;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    font-weight: bold;
}

#map-consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(240, 240, 240, 0.95);
    z-index: 1000;
    border: 2px solid #ff8700;
    border-radius: 2px;
}

.map-consent-content {
    max-width: 500px;
    padding: 20px;
    text-align: center;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-consent-content h3 {
    color: #ff8700;
    margin-top: 0;
}

#enable-map-btn {
    margin-top: 15px;
    background-color: #ff8700;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#enable-map-btn:hover {
    background-color: #e67a00;
}

.custom-marker-icon {
    position: relative;
    width: 48px;
    height: 48px;
}

.custom-marker-icon .marker-svg {
    width: 100%;
    height: 100%;
}

.event-counter {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff8700;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 1px solid white;
    z-index: 10;
}

.events-list {
    margin: 2em 0 0 0;
    padding: 0;
    max-width: 100%;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    list-style: none;
}

.events-list li {
    margin-left: 0;
}

.event-accordion {
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    margin-bottom: 1em;
    overflow: hidden;
    transition: background 0.2s;
    cursor: pointer;
    display: flex;
    align-items: stretch;
    min-height: 74px;
    position: relative;
}

.event-accordion.open,
.event-accordion:focus-within {
    background: #f7fafd;
}

.event-datebox {
    min-width: 90px;
    background: #f4f4f4;
    text-align: center;
    padding: 0.5em 0.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
    font-size: 1em;
    border-radius: 2px 0 0 5px;
}

.event-datebox .event-day {
    font-size: 24px;
    line-height: 1.1;
    font-weight: bold;
    letter-spacing: 0.08em;
    color: #313130;
}

.event-datebox .event-month {
    text-transform: uppercase;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 0.05em;
    color: #ff8700;
}

.event-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 0.6em 1em 0.6em 1em;
    justify-content: center;
}

.event-controls {
    display: flex;
    align-items: center;
    padding-left: 1em;
    padding-right: 1em;
    order: -1;
}

.show-on-map-btn {
    height: 50px;
    cursor: pointer;
    padding: 0.6em 1.2em;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    font-size: 11px;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
    order: 1;
    margin-right: 1em;
    margin-top: auto;
    margin-bottom: auto;
    box-shadow: 0 2px 4px rgba(255, 135, 0, 0.2);
}

.show-on-map-btn:hover {
    background: #c95e02;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 135, 0, 0.3);
}

.show-on-map-btn:active {
    transform: translateY(0);
    background: #ed6d05;
    box-shadow: 0 2px 4px rgba(255, 135, 0, 0.2);
}

.event-title {
    font-weight: bold;
    color: #313130;
    font-size: 16px;
    margin-bottom: 0.3em;
}

.event-location {
    color: #515151;
    font-size: 14px;
    margin-bottom: 0.1em;
}

.event-time {
    color: #8c8c8c;
    font-size: 12px;
}

.accordion-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: #ff8700;
    font-size: 1.2em;
    order: -1;
    transform: rotate(90deg);
}

.event-accordion.open .accordion-arrow {
    transform: rotate(0deg);
    color: #8c8c8c;
}

.event-details-panel {
    display: none;
    background: #f7fafd;
    padding: 1em 2em 1em 100px;
    margin-bottom: 2em;
    font-size: 14px;
    color: #444;
    border-top: 1px solid #eee;
}

.event-accordion.open + .event-details-panel {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px);}
    to { opacity: 1; transform: translateY(0);}
}

@media (max-width: 600px) {
    .event-accordion {
        flex-direction: column;
        min-height: unset;
    }
    .event-datebox {
        border-right: none;
        border-bottom: 1px solid #eee;
        flex-direction: row;
        justify-content: flex-start;
        padding: 0.5em 1em;
    }
    .event-details-panel {
        padding-left: 1em;
    }

    .show-on-map-btn {
        font-size: 0.8em;
        padding: 0.4em 0.8em;
    }
}
