/*
Theme Name: Meu Theme Trader
Theme URI: https://mini-dolar-futuro-wdo.com.br
Author: Edimilson Medeiros Gregorio 
Description: Tema otimizado para anúncios e SEO - Mini Dólar Futuro
Version: 1.0
License: GPL v2
Text Domain: meu-theme-trader
*/

/* ===== RESET ===== */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f4f6f9;
    color: #1a1a2e;
    line-height: 1.6;
}

/* ===== HEADER ===== */
header {
    background: linear-gradient(135deg, #0a1628, #1a2a4a);
    color: #ffd700;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo a {
    color: #ffd700;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffd700;
}

/* ===== CONTAINER ===== */
main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.container-single {
    display: grid;
    grid-template-columns: 72% 25%;
    gap: 25px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.single-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.single-content h1 {
    font-size: 32px;
    color: #0a1628;
    margin-bottom: 15px;
}

.single-content .post-meta {
    color: #777;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.single-content p {
    margin-bottom: 18px;
}

.single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

/* ===== SIDEBAR ===== */
.sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.sidebar h3 {
    color: #0a1628;
    border-bottom: 3px solid #ffd700;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* ===== RODAPÉ ===== */
footer {
    background: #0a1628;
    color: #aaa;
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
    border-top: 3px solid #ffd700;
}

footer a {
    color: #ffd700;
    text-decoration: none;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    .container-single {
        grid-template-columns: 1fr;
    }
    
    header {
        flex-direction: column;
        gap: 10px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    
    .sidebar {
        position: static;
    }
}