/* ARQUIVO: 3colunas.css - Versão Corrigida e Centralizada */
* { 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; }

.col-manchetes {
    flex: 1;
    min-width: 200px;
    height: 8.5cm;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px;
}

.box-destaque, .box-manchete {
    flex: 1;
    width: 100% !important;
    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; }

.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); 
}

/* CORREÇÃO AQUI: Centraliza o player e remove as sobras */
iframe { 
    width: 100%; 
    height: calc(100% - 40px); /* Dá espaço para a barra embaixo */
    border: none; 
    position: absolute; 
    top: 0; 
    left: 0;
}

.custom-controls { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    height: 40px;
    background: rgba(255, 255, 255, 0.95); 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 0 10px; 
    border-top: 1px solid #eee; 
    z-index: 25; 
}
.timer-text { font-size: 10px; font-weight: bold; color: #555; }
.timer-val { color: #ff4500; }
.btn-action { background: #eee; border: 1px solid #ccc; padding: 2px 6px; font-size: 9px; font-weight: bold; cursor: pointer; border-radius: 4px; text-transform: uppercase; }
.btn-skip { background: #ff4500; color: white; border-color: #e03e00; }