/* Bavaria Events - Public Frontend Styles - Horizontal Row Layout */

.bavaria-events-container {
    padding: 40px 0px;
    /* max-width: 1200px; */
    width: 100%;
    margin: 0 auto;
    font-family: "Instrument Sans", Arial, Helvetica, sans-serif;
}

.bavaria-events-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    width: 100%;
}

/* Event Row - ALL ON ONE LINE */
.event-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    text-decoration: none;
    color: inherit;
    padding: 18px 20px !important;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    transition: border-bottom-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    background: transparent !important;
}

.event-row:last-child {
    border-bottom: none;
}

.event-row:hover {
    border-bottom-color: #004fa1;
}

.event-row-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100%;
    gap: 0;
    flex-wrap: nowrap !important;
}

/* Columns - Fixed widths for consistency */
.event-column {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: transparent !important;
}

.event-title-col {
    flex: 0 0 35% !important;
    min-width: 0;
}

.event-date-col {
    flex: 0 0 25% !important;
    min-width: 0;
    gap: 8px;
}

.event-location-col {
    flex: 0 0 25% !important;
    min-width: 0;
    gap: 8px;
}

.event-arrow-col {
    flex: 0 0 15% !important;
    justify-content: flex-end;
    padding-right: 10px;
}

/* Icons */
.event-date-icon,
.event-location-icon {
    font-size: 16px;
    flex-shrink: 0;
    transition: color 0.3s ease;
    color: #004fa1;
}

.event-row:hover .event-date-icon,
.event-row:hover .event-location-icon {
    color: #004fa1;
}

/* Typography */
.event-title {
    font-size: 15px;
    font-weight: 600;
    color: #004fa1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
    background: transparent !important;
}

.event-date,
.event-location {
    font-size: 14px;
    color: #004fa1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
    background: transparent !important;
}

.event-row:hover .event-title,
.event-row:hover .event-date,
.event-row:hover .event-location {
    color: #004fa1;
}

.event-arrow {
    font-size: 18px;
    color: #003562;
    font-weight: bold;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.event-row:hover .event-arrow {
    opacity: 1;
    transform: translateX(3px);
    color: #004fa1;
}

.event-row-divider {
    display: none;
}

/* Loading State */
.bavaria-events-loading {
    padding: 20px;
    text-align: center;
    color: #999;
}

.bavaria-events-notice {
    padding: 15px 20px;
    background: #f0f0f0;
    border-radius: 4px;
    text-align: center;
    color: #666;
}

.bavaria-events-error {
    padding: 15px 20px;
    background: #fdd;
    border: 1px solid #faa;
    border-radius: 4px;
    color: #933;
}

/* Responsive Design */

@media (max-width: 1024px) {
    .event-title-col {
        flex: 0 0 38% !important;
    }

    .event-date-col {
        flex: 0 0 23% !important;
    }

    .event-location-col {
        flex: 0 0 23% !important;
    }

    .event-arrow-col {
        flex: 0 0 16% !important;
    }

    .event-title {
        font-size: 14px;
    }

    .event-date,
    .event-location {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .event-row {
        padding: 14px 12px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        position: relative;
    }

    .event-row-content {
        gap: 8px;
        flex-direction: column !important;
        width: 100%;
    }

    .event-column {
        gap: 6px;
        width: 100%;
    }

    .event-title-col {
        flex: 1 !important;
        width: 100%;
    }

    .event-date-col {
        flex: 1 !important;
        width: 100%;
    }

    .event-location-col {
        flex: 1 !important;
        width: 100%;
    }

    .event-arrow-col {
        position: absolute;
        bottom: 12px;
        right: 12px;
        flex: 0 !important;
        width: auto;
        justify-content: flex-end;
    }

    .event-title {
        font-size: 13px;
    }

    .event-date,
    .event-location {
        font-size: 12px;
    }

    .event-date-icon,
    .event-location-icon {
        font-size: 14px;
    }

    .event-arrow {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .event-row {
        padding: 12px 8px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        position: relative;
    }

    .event-row-content {
        gap: 8px;
        flex-direction: column !important;
        width: 100%;
    }

    .event-column {
        gap: 6px;
        width: 100%;
        flex-direction: row !important;
    }

    .event-title-col {
        flex: 1 !important;
        width: 100%;
    }

    .event-date-col {
        flex: 1 !important;
        width: 100%;
    }

    .event-location-col {
        flex: 1 !important;
        width: 100%;
        display: flex !important;
    }

    .event-arrow-col {
        position: absolute;
        bottom: 12px;
        right: 8px;
        flex: 0 !important;
        width: auto;
        justify-content: flex-end;
    }

    .event-date,
    .event-location {
        font-size: 11px;
    }

    .event-title {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .event-row {
        padding: 10px 6px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        position: relative;
    }

    .event-row-content {
        gap: 8px;
        flex-direction: column !important;
        width: 100%;
    }

    .event-column {
        gap: 6px;
        width: 100%;
        flex-direction: row !important;
    }

    .event-title-col {
        flex: 1 !important;
        width: 100%;
    }

    .event-date-col {
        flex: 1 !important;
        width: 100%;
    }

    .event-location-col {
        flex: 1 !important;
        width: 100%;
        display: flex !important;
    }

    .event-arrow-col {
        position: absolute;
        bottom: 10px;
        right: 6px;
        flex: 0 !important;
        width: auto;
        justify-content: flex-end;
    }

    .event-title {
        font-size: 11px;
    }

    .event-date {
        font-size: 10px;
    }

    .event-date-icon,
    .event-location-icon {
        font-size: 12px;
    }

    .event-arrow {
        font-size: 14px;
    }
}
