

@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source '../**/*.blade.php';
@source '../**/*.js';

@theme {
    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
        'Segoe UI Symbol', 'Noto Color Emoji';
}


/* Estilos base para o layout */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    color: #333;
    
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

h4, h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.col-md-4 h5 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px;
    margin-bottom: 15px;
}

.col-md-4 ul li a {
    text-decoration: none;
    color: #333;
}

.col-md-4 ul li a:hover {
    text-decoration: underline;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.col-md-8 {
    flex: 0 0 72%;
    max-width: 72%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-md-4 {
    flex: 0 0 28%;
    max-width: 28%;
    padding-right: 15px;
    padding-left: 15px;
}

/* Garante que os elementos na coluna lateral ocupem toda a largura */
.col-md-4 > div {
    width: 100%;
}

    
/* Título da seção lateral */
.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 4px;
    color: #212529;
}

/* Card lateral geral */
.sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Item dentro do card */
.sidebar-item {
    padding: 8px 0;
    font-size: 0.95rem;
}

/* Separador entre itens */
.sidebar-item.with-divider {
    border-bottom: 1px solid #e0e0e0;
}

/* Link dentro dos itens */
.sidebar-item a {
    text-decoration: none;
    color: #333;
    display: block;
}

.sidebar-item a:hover {
    text-decoration: underline;
}



.video-iframe {
    width: 100%;
    height: auto;
    max-height: 400px;
    margin-bottom: 10px;
    border-radius: 12px;
    overflow: hidden;
}
/* Isso é importante para o radius funcionar corretamente em iframes */
.video-iframe {
    border: none;
}

/* Botão Veja Mais */
.btn-veja-mais {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    text-align: center;
}

.btn-veja-mais:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.btn-veja-mais:active {
    transform: translateY(0);
}

.section-veja-mais {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Responsividade para telas menores */
@media (max-width: 992px) {
    /* Layout geral */
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Colunas empilhadas */
    .col-md-8,
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Espaçamento ajustado */
    .row.gx-5 {
        --bs-gutter-x: 0;
    }
    
    /* Ajustes para a coluna principal */
    .col-md-8.ps-4 {
        padding-left: 15px !important;
    }
    
    /* Seções de notícias */
    #noticias-recentes,
    #veja-tambem {
        margin-bottom: 20px;
    }
    
    /* Cards laterais */
    .sidebar-card {
        margin-bottom: 20px;
    }
    
    /* Iframe da TV */
    .video-iframe,
    iframe[src*="youtube"],
    iframe[src*="tv"] {
        height: 200px;
    }
    
    /* Página de notícia específica */
    .noticia-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Imagem da notícia */
    .img-fluid {
        max-width: 100%;
        height: auto !important;
    }
    
    /* Compartilhamento */
    .share-buttons {
        flex-wrap: wrap;
    }
    
    .share-btn {
        margin: 5px;
    }
    
    /* Formulário de comentários */
    .comentarios form {
        padding: 0 15px;
    }
    
    /* Botões "Veja mais" */
    .btn-veja-mais {
        width: 35%;
        margin-bottom: 20px;
    }
}

/* Ajustes adicionais para telas muito pequenas */
@media (max-width: 576px) {
    /* Títulos */
    h1, h4, h5 {
        font-size: 1.5rem !important;
    }
    
    .section-title {
        font-size: 1.2rem !important;
    }
    
    /* Iframes */
    .video-iframe,
    iframe[src*="youtube"],
    iframe[src*="tv"] {
        height: 160px;
    }
    
    /* Imagem da notícia */
    .img-fluid {
        height: 250px !important;
    }
    
    /* Menu lateral */
    .menu-lateral {
        width: 100%;
    }
}
