/*
Theme Name: UOL Style Layout
Author: Gemini
Description: Tema limpo estilo portal UOL com header #192324.
Version: 1.0
*/

/* --- RESET BÁSICO --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Roboto', sans-serif; background-color: #f4f4f4; color: #333; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- HEADER --- */
.uol-header {
    background-color: #192324; /* A cor que você pediu */
    color: #fff;
    height: 70px; /* Altura fixa para alinhar */
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

.header-content {
    display: flex;
    justify_content: space-between;
    align-items: center;
    height: 100%;
}

/* --- LOGO --- */
.site-branding {
    flex-shrink: 0;
    margin-right: 30px;
}
/* Ajusta tamanho da logo enviada pelo WP */
.custom-logo {
    max-height: 40px;
    width: auto;
}
.text-logo {
    font-size: 24px;
    font-weight: 700;
    color: #fdb42d; /* Amarelo UOL no texto se não tiver img */
    letter-spacing: -1px;
}

/* --- MENU WORDPRESS --- */
.main-navigation {
    flex-grow: 1; /* Ocupa o espaço central */
}

.uol-menu {
    display: flex;
    gap: 20px;
}

.uol-menu li a {
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.2s;
    padding: 24px 0; /* Aumenta área de clique */
    display: block;
}

.uol-menu li a:hover {
    color: #fdb42d; /* Amarelo destaque */
    border-bottom: 3px solid #fdb42d; /* Linha amarela embaixo */
}

/* --- BUSCA --- */
.header-search {
    flex-shrink: 0;
    width: 250px;
}

.uol-search-form {
    display: flex;
    background: #2d3839;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #444;
}

.search-field {
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px 12px;
    width: 100%;
    outline: none;
    font-size: 14px;
}

.search-field::placeholder { color: #888; }

.search-submit {
    background: #444;
    border: none;
    color: #fff;
    padding: 0 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-submit:hover { background: #fdb42d; color: #000; }

/* --- LAYOUT MOBILE (Simples) --- */
@media (max-width: 768px) {
    .header-content { flex-wrap: wrap; height: auto; padding: 10px 15px; }
    .site-branding { width: 100%; text-align: center; margin: 0 0 10px 0; }
    .main-navigation { width: 100%; order: 3; margin-top: 10px; display: none; /* Escondido por padrão no mobile básico */ }
    .header-search { width: 100%; }
}

/* --- Linha Decorativa --- */
.uol-subheader {
    height: 4px;
    background: linear-gradient(90deg, #fdb42d 0%, #e89d0e 100%);
    width: 100%;
}

.main-content {
    padding: 30px 15px;
    min-height: 60vh;
}