/* ARQUIVO: 3colunas.css - Versão com Corretor de Empilhamento */
* { box-sizing: border-box; }

body { 
    background: #ffffff; 
    margin: 0; 
    padding: 0;
    color: #333; 
    font-family: sans-serif; 
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
    overflow-x: hidden;
}

.ticker-container { 
    width: 100%; 
    height: 45px; 
    background: #f8f9fa; 
    border-bottom: 2px solid #ff4500;
    flex-shrink: 0;
}

.container { 
    display: flex; 
    gap: 15px; 
    padding: 15px; 
    flex-grow: 1; 
    align-items: flex-start;
    justify-content: space-between;
}

.col-logo { flex: 0 0 200px; display: flex; flex-direction: column; gap: 10px; }
.col-logo img { width: 90% !important; height: auto; display: block; margin: 0 auto; }

/* ESTA PARTE ABAIXO CORRIGE O PROBLEMA DE FICAR IMPRENSADO */
.col-manchetes {
    flex: 1;
    min-width: 200px;
    height: 8.5cm;
    display: flex !important;
    flex-direction: column !important; /* Força ficar uma EM CIMA da outra */
    gap: 10px;
}

.box-destaque, .box-manchete {
    flex: 1;
    width: 100% !important; /* Garante que usem a largura toda */
    border-radius: 10px;
    background: #fafafa;
    border: 1px solid #ddd;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px;
}

.box-destaque { border-top: 3px solid #007bff; }
.box-manchete { border-top: 3px solid #ff4500; }

.destaque-media { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.destaque-media img, .destaque-media iframe { max-width: 100%; max-height: 100%; border: none; object-fit: contain; }

.col-player { flex: 1.5; }
.video-box { position: relative; width: 100%; height: 8.5cm; background: #000; border-radius: 10px; overflow: hidden; border: 1px solid #ddd; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
iframe { width: 100%; height: 112%; border: none; position: absolute; top: -2%; }
.custom-controls { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(255, 255, 255, 0.9); display: flex; align-items: center; justify-content: space-between; padding: 5px 10px; border-top: 1px solid #eee; z-index: 25; }
.timer-text { font-size: 11px; font-weight: bold; color: #555; }
.timer-val { color: #ff4500; }
.btn-action { background: #eee; border: 1px solid #ccc; padding: 3px 8px; font-size: 10px; font-weight: bold; cursor: pointer; border-radius: 4px; text-transform: uppercase; }
.btn-skip { background: #ff4500; color: white; border-color: #e03e00; }