/* Reset de segurança para evitar transbordamento lateral */
* {
    box-sizing: border-box;
    max-width: 100%;
}

:root {
    --primary: #2563eb;
    --text: #1f2937;
    --bg: #f9fafb;
    --white: #ffffff;
}

body { font-family: 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); margin: 0;
overflow-x: hidden;  width: 100%; }

.container, .article-container { display: block; width: 100%;  margin: 0 auto; padding: 15px; }

/* Header */
header { background: var(--white); padding: 20px; text-align: center; border-bottom: 1px solid #ddd; }
nav a { margin: 0 15px; text-decoration: none; color: var(--primary); font-weight: bold; }

/* Grid de Cards */
.post-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 25px; 
    margin-top: 20px;
}
.post-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.post-card img { width: 100%; height: 200px; object-fit: cover; }
.post-content { padding: 15px; }

/* Página de Artigo */
.article-container { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.article-body { line-height: 1.8; font-size: 1.1rem; 
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    margin-left: 0;
    display: block;
}

.featured-image { border-radius: 8px; margin-bottom: 20px; 
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    margin-left: 0;
    display: block;
}


.ilustra-image {max-width: 600px;}
.ilustra-image-250 {max-width: 250px; max-height: 150px;}


/* Estilo para AdSense Placeholder */
.ad-placeholder { 
    background: #ebebeb; 
    color: #888; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 20px 0;
    border: 1px dashed #ccc;
}
.header-ad { height: 90px; }
.in-article-ad { height: 250px; }
.sidebar-ad { height: 600px; }

footer {
    background: var(--white);
    padding: 40px 20px;
    text-align: center; /* Centraliza o texto */
    border-top: 1px solid #ddd;
    margin-top: 50px;
    width: 100%;
}

footer p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.fatores-list {
    list-style: none; /* Remove as bolinhas padrão */
    padding: 0;
    margin: 20px 0;
}

.fatores-list li {
    background: #fff;
    margin-bottom: 10px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-radius: 0 8px 8px 0;
    transition: transform 0.2s;
}



.fatores-list li strong {
    color: #2563eb;
    display: block; /* Faz o título ficar em cima do texto no mobile */
    margin-bottom: 5px;
}

.table-container {
    margin: 30px 0;
    overflow-x: auto; /* Permite rolar lateralmente no celular */
    width: 100%;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
}

.led-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.led-table thead {
    background-color: #2563eb;
    color: #ffffff;
    text-align: left;
}

.led-table th, .led-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #edf2f7;
}

.led-table tbody tr:nth-of-type(even) {
    background-color: #f8fafc;
}

.led-table tbody tr:hover {
    background-color: #f1f5f9;
}

.table-note {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 10px;
    font-style: italic;
}

.texto-miudo {
    font-size: 0.9rem; /* Isso equivale a 75% do tamanho do parágrafo */
    color: #333333;       /* Opcional: uma cor mais clara para dar menos ênfase */
}

.table-info{
    font-size: 1em;

}

.table-info-75{
    font-size: 0.75em;

}

.table-info-70{
    margin-left: 0;
    font-size: 0.7em;
}

/* Ajuste para telas pequenas */
@media (max-width: 600px) {
    .led-table th, .led-table td {
        padding: 10px;
        font-size: 0.75rem;
        max-width: 85%;
    }
    .led-table{max-width: 90%; }

    .featured-image { width: 90%; border-radius: 8px; margin-bottom: 20px; margin-left: 2px; }
    .ilustra-image {max-width: 350px;}

    .table-info{font-size: 0.5em;}
    .table-info-75{font-size: 0.75em;}
    .table-info-70{font-size: 0.7em;}
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .article-container { grid-template-columns: 1fr; }
    .sidebar { order: 2; }
}

