/* Specific styles for the event posters */

.postertitle {
    font-family: Orbitron;
    font-size: 2vw;
    text-align: left;
    font-weight: bold;
}

.postertext {
    font-family: BrunoAce;
    font-size: 1.5vw;
    text-align: left;
}

.postertexttime {
    font-family: BrunoAce;
    font-size: 1vw;
    text-align: left;
}

/* Responsive poster styles */
@media screen and (max-width: 768px) {
    .postertitle {
        font-size: 5vw;
    }
    
    .postertext {
        font-size: 4vw;
    }
    
    .postertexttime {
        font-size: 3.5vw;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .postertitle {
        font-size: 3vw;
    }
    
    .postertext {
        font-size: 2.5vw;
    }
    
    .postertexttime {
        font-size: 2vw;
    }
}

/* --- Next Event Poster Floating Panel --- */
#next-event-poster-container {
    position: fixed;
    right: 50px;
    bottom: 100px;
    width: 27.5vw;
    max-width: 460px;
    min-width: 260px;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
    height: auto;
}
#next-event-poster-inner {
    background: rgba(0,0,0,0.7);
    border: 2px solid goldenrod;
    border-radius: 10px;
    box-shadow: 0 0 18px #000a;
    padding: 15px;
    width: 100%;
    height: auto;
    overflow: visible;
    display: block;
    pointer-events: auto;
}
#poster-content {
    width: 100%;
    height: 100%;
    position: relative;
}
#poster-content img, #poster-content svg {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
@media (max-width: 900px) {
    #next-event-poster-container {
        display: none !important;
    }
    #next-event-poster-inner {
        border-radius: 18px 18px 0 0;
    }
}