/* =========================================
   EVENT DETAIL STYLING (Standard Grav Style)
   ========================================= */

/* Zurück Link */
.btn-back-text {
    text-decoration: none;
    color: #999;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}
.btn-back-text:hover {
    color: #FF6B6B;
}

/* Meta-Box (Die Karte mit den Infos) */
.event-meta-box {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
    border-radius: 8px;
    border-left: 5px solid #FF6B6B; 
    
    padding: 2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto; 
}

.event-meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.meta-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.5;
}
.meta-item:last-child { margin-bottom: 0; }

.meta-icon {
    margin-right: 15px;
    font-size: 1.3rem;
    min-width: 30px;
    text-align: center;
}

.highlight-notice {
    color: #d68e00; 
    font-weight: 500;
}

/* Inhalt */
.event-body {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

/* Kalender Integration */
.calendar-btn-wrapper {
    position: relative;
    background: rgba(233, 30, 99, 0.08);
    border-radius: 8px;
    padding: 8px 10px;
    transition: background 0.3s;
    cursor: pointer;
    /* border-left: 3px solid #e91e63; */
}
.calendar-btn-wrapper:hover {
    background: rgba(233, 30, 99, 0.15);
}
.calendar-trigger {
    color: #e91e63;
    font-weight: bold;
    display: inline-block;
}
/* Dropdown Menü */
.calendar-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px; /* Optischer Abstand */
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 999;
    min-width: 220px;
    overflow: visible; /* Wichtig für die unsichtbare Brücke */
}

/* DIE LÖSUNG FÜR DAS VERSCHWINDEN: Unsichtbare Brücke */
.calendar-options::before {
    content: '';
    position: absolute;
    top: -10px; /* Reicht bis über den Abstand hoch */
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.calendar-btn-wrapper:hover .calendar-options {
    display: block;
}
.calendar-options a {
    display: block;
    padding: 10px 15px;
    color: #444;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.2;
}
.calendar-options a:hover {
    background: #f9f9f9;
    color: #e91e63;
}
.calendar-options a:last-child {
    border-bottom: none;
}
.calendar-options i {
    width: 20px;
    text-align: center;
    margin-right: 5px;
    color: #888;
}
