/*
Theme Name: Brasil Rondonia News Theme
Theme URI: http://brasilrondonianews.com.br
Author: AI Assistant
Description: Custom theme for Brasil Rondonia News, matching the specific news portal layout.
Version: 1.0.0
*/

:root {
    --primary-color: #0d1b2a; /* Dark Blue */
    --secondary-color: #1b263b; /* Slightly lighter blue */
    --accent-green: #8cb369; /* Logo Green */
    --accent-yellow: #f4d35e; /* Logo Yellow */
    --text-color: #333333;
    --text-muted: #666666;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --border-color: #e5e7eb;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.site-header {
    background-color: var(--primary-color);
    color: var(--white);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.header-main {
    text-align: center;
    padding: 20px 0;
}

.site-logo {
    max-width: 300px;
}

.banner-topo {
    background-color: #e5e7eb;
    color: #9ca3af;
    text-align: center;
    padding: 30px;
    margin: 15px auto;
    max-width: 970px;
    border-radius: 4px;
    font-weight: bold;
}

.main-navigation {
    background-color: var(--primary-color);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.main-navigation a {
    color: var(--white);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    padding: 15px 0;
    display: block;
}

.ticker-wrap {
    background-color: var(--white);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
}

.ticker-label {
    background-color: #2563eb;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 11px;
}

/* Layout */
.site-content {
    padding: 30px 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .site-content {
        grid-template-columns: 1fr;
    }
}

.banner-abaixo-menu {
    background-color: #e5e7eb;
    color: #9ca3af;
    text-align: center;
    padding: 30px;
    margin: 20px 0;
    border-radius: 4px;
    font-weight: bold;
}

/* Home - Destaques */
.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-main {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.hero-main img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.hero-main-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.hero-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.hero-side-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.hero-side-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.hero-side-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

/* Em Alta Grid */
.section-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background-color: var(--accent-green);
    border-radius: 2px;
}

.em-alta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.em-alta-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.em-alta-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.em-alta-content {
    padding: 15px;
}

.em-alta-content h3 {
    font-size: 15px;
    margin: 0 0 10px 0;
}

.category-tag {
    background-color: #2563eb;
    color: white;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.post-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* Mais Noticias List */
.noticias-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.noticia-list-item {
    display: flex;
    gap: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.noticia-list-item img {
    width: 200px;
    height: 150px;
    object-fit: cover;
}

.noticia-list-content {
    padding: 20px;
    flex: 1;
}

.noticia-list-content h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

/* Sidebar */
.sidebar-widget {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.sidebar-banner {
    background-color: #e5e7eb;
    color: #9ca3af;
    text-align: center;
    padding: 40px 0;
    border-radius: 8px;
    font-weight: bold;
    margin-bottom: 30px;
}

.mais-lidas-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mais-lidas-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.mais-lidas-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mais-lidas-number {
    font-size: 24px;
    font-weight: bold;
    color: #2563eb;
}

.mais-lidas-content {
    flex: 1;
}

.mais-lidas-content h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
}

/* Categorias Widget */
.cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

/* Single Post */
.post-header {
    margin-bottom: 20px;
}

.post-header h1 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.post-excerpt {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.post-meta-full {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    margin-bottom: 20px;
}

.post-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.post-featured-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.post-content {
    font-size: 16px;
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-left: 5px solid var(--accent-green);
    padding-left: 15px;
    line-height: 1.3;
}

.post-content h3 {
    font-size: 22px;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--primary-color);
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.post-content blockquote {
    border-left: 4px solid var(--accent-green);
    padding: 20px 25px;
    margin: 30px 0;
    font-size: 19px;
    font-style: italic;
    color: #4b5563;
    background: #f3f4f6;
    border-radius: 0 8px 8px 0;
}

.banner-dentro-artigo {
    background-color: #e5e7eb;
    color: #9ca3af;
    text-align: center;
    padding: 30px;
    margin: 30px 0;
    border-radius: 4px;
    font-weight: bold;
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0 20px 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
}

.newsletter-form button {
    background-color: var(--accent-green);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}
