/* ==========================================================================
   CAPITOL MOVIE PLUGIN - FOYER MONITOR OVERRIDES
   ========================================================================== */

html, body.monitor-foyer-display {
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden !important; 
    background: #050505;
    display: flex;
    flex-direction: column;
}

.monitor-hall-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    padding: 40px 20px;
    box-sizing: border-box;
    border-bottom: 3px solid var(--color-grau01);
}

.monitor-hall-section:last-child {
    border-bottom: none;
}

.monitor-hall-title {
    color: var(--color-blau01) !important;
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 30px 0;
    letter-spacing: 2px;
}

.monitor-grid {
    justify-content: center !important; 
    gap: 30px !important;
    align-items: stretch;
    flex-wrap: nowrap !important; /* Verhindert Umbrüche, hält alles in einer Reihe */
}

/* Kacheln und Platzhalter - Komplett eckig */
.monitor-tile {
    width: 220px !important; 
    flex-shrink: 0; /* Verhindert das Stauchen der Kacheln */
    border-radius: 0 !important; /* Eckiger Look */
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);
    padding: 12px !important;
    justify-content: flex-start !important;
    background: var(--color-grau01);
    display: flex;
    flex-direction: column;
}

/* Der leere Platzhalter (nimmt nur den Platz ein, ist aber unsichtbar) */
.monitor-placeholder {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border: none !important;
}

.monitor-tile .capitol_movie-movie-poster {
    flex: 1; 
    min-height: 0; 
    border-radius: 0 !important; /* Eckiger Look */
    overflow: hidden;
}

.monitor-tile .capitol_movie-movie-poster img {
    border-radius: 0 !important;
}

.monitor-movie-title {
    color: var(--color-text-weiss, #ffffff);
    font-size: 1.2rem;
    font-weight: bold;
    margin: 12px 0 8px 0;
    text-align: center;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.monitor-einklinker {
    font-size: 0.9rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 0 !important; /* Eckiger Look */
    margin-bottom: 10px !important;
    text-align: center;
    text-transform: uppercase;
}

.monitor-btn {
    width: 100% !important; 
    font-size: 1.6rem !important; 
    font-weight: bold;
    padding: 10px 0 !important;
    background: var(--color-schwarz) !important;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0 !important; /* Eckiger Look */
    cursor: default;
    display: block;
    text-align: center;
}