/*!
 * Politicando Times - Main Stylesheet (Desktop)
 * Version: 1.0
 */

/* Reset e Base */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html, body { 
    font-family: Georgia, 'Times New Roman', serif; 
    color: #111; 
    background: #fff;
    line-height: 1.4;
    scroll-behavior: smooth;
}

a { 
    color: #0b5394; 
    text-decoration: none; 
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover { 
    text-decoration: underline; 
    color: #083c6b;
}

img { 
    max-width: 100%; 
    height: auto; 
    display: block;
}

/* Estilos para o menu top-bar-center */
.top-bar-center span a {
    color: #000000 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.top-bar-center span a:hover,
.top-bar-center span a:focus {
    color: #000000 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    text-decoration-thickness: 1px !important;
}

/* Utilitários */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 1.5em;
}

.wp-caption-text {
    font-size: 0.9em;
    color: #666;
    text-align: center;
    margin-top: 0.5em;
    font-style: italic;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
    transition: opacity 0.5s ease;
}

#preloader .segment {
    transition: background 0.3s ease;
}

/* Header Styles */
.account-link a i {
    margin-right: 6px;
    font-size: 16px;
    vertical-align: middle;
    color: #000;
}

.search-icon i {
    color: #000;
    font-size: 18px;
    cursor: pointer;
    vertical-align: middle;
    transition: color 0.3s ease;
}

.search-icon:hover i {
    color: #0b5394;
}

/* Top Bar */
.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 18px;
    font-size: 13px;
    border-bottom: 1px solid #e3e3e3;
}

.top-bar-left { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}

.top-bar-center { 
    display: flex; 
    gap: 20px; 
    font-weight: 500;
}

.top-bar-center a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar-center a:hover {
    color: #0b5394;
}

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

/* Second Bar */
.second-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    font-size: 14px;
}

.date-section { 
    display: flex; 
    gap: 15px; 
    align-items: center; 
}

.today-paper { 
    font-weight: 500; 
}

.logo { 
    font-size: 24px; 
    font-weight: bold; 
    text-align: center; 
    letter-spacing: 1px; 
}

.stock-info { 
    font-size: 13px; 
    color: #666; 
}

/* Main Navigation */
nav.mainnav {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 15px 18px;
    font-size: 15px;
    flex-wrap: wrap;
}

/* Links sempre azuis com underline no hover */
nav.mainnav a {
    color: #0b5394 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    white-space: nowrap;
}

nav.mainnav a:hover,
nav.mainnav a:focus {
    color: #0b5394 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    text-decoration-thickness: 1px !important;
}

/* Container principal */
.container { 
    max-width: 1400px; 
    margin: 18px auto; 
    padding: 0 16px; 
}

/* Sistema de grid grad-system */
.grad-system-session {
    display: flex;
    width: 100%;
    min-height: 200px;
    margin-bottom: 30px;
}

.grad-system-9 {
    flex: 9;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.grad-system-3 {
    flex: 3;
    padding: 10px;
}

.grad-system-6 {
    flex: 6;
    padding: 10px;
}

.grad-system-separator {
    width: 1px;
    background-color: #e3e3e3;
    margin: 0 5px;
}

/* Linha com grad-system-3 | grad-system-6 */
.grad-system-line {
    display: flex;
    width: 100%;
    min-height: 60px;
}

.grad-system-line-separator {
    width: 1px;
    background-color: #e3e3e3;
    margin: 0 5px;
}

/* Estrutura da matéria */
.materia-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.materia-imagem {
    width: 100%;
    height: 400px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    overflow: hidden;
    position: relative;
}

.materia-imagem-bloco {
    width: 100%;
    height: auto;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    overflow: hidden;
    position: relative;
}

.materia-imagem img,
.materia-imagem-bloco img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.materia-imagem:hover img,
.materia-imagem-bloco:hover img {
    transform: scale(1.05);
}

.materia-titulo {
    font-weight: bold;
    font-size: 22px;
    line-height: 1.3;
    color: #111;
    margin: 0;
}

.materia-subtitulo {
    font-size: 16px;
    line-height: 1.4;
    color: #444;
    margin: 0;
}

/* Sessão de Matérias em Horizontal - 4 MATÉRIAS */
.materias-horizontal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 10px 0;
    margin-bottom: 30px;
    width: 100%;
}

.materia-horizontal-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease;
}

.materia-horizontal-item:hover {
    transform: translateY(-5px);
}

.materia-miniatura {
    width: 100%;
    height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    overflow: hidden;
    position: relative;
}

.materia-miniatura img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.materia-miniatura:hover img {
    transform: scale(1.1);
}

.materia-horizontal-titulo {
    font-weight: bold;
    font-size: 16px;
    line-height: 1.3;
    color: #111;
    margin: 0;
}

.materia-horizontal-subtitulo {
    font-size: 14px;
    line-height: 1.4;
    color: #444;
    margin: 0;
}

/* Sistema de abas personalizado 01 */
.news-tabs-01,
.news-tabs-02 {
    width: 100%;
    margin: 40px 0;
    padding: 0 20px;
}

/* Cor dos links sempre preta */
.news-categories a,
.news-categories a:visited,
.news-categories a:active,
.tab-link-01,
.tab-link-02 {
    color: #000;
    text-decoration: none;
}

.news-categories a:hover,
.tab-link-01:hover,
.tab-link-02:hover {
    color: #000;
    text-decoration: underline;
}

.news-categories {
    margin: 60px auto;
    padding: 0 20px;
    max-width: 1400px;
}

.section-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    color: #111;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    text-align: center;
}

.category-column {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.category-column:hover {
    transform: translateY(-4px);
}

.category-name {
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.category-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

.main-news .news-title {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 5px;
}

.main-news .news-subtitle {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
}

.other-news {
    list-style: none;
    padding: 0;
    margin: 0;
}

.other-news li {
    margin-bottom: 8px;
}

.other-news li a {
    text-decoration: none;
    color: #000;
    font-size: 15px;
    transition: opacity 0.3s;
}

.other-news li a:hover {
    opacity: 0.7;
}

/* Tabs */
.tabs-01,
.tabs-02 {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 5px;
    justify-content: center;
    overflow-x: auto;
}

.tab-link-01,
.tab-link-02 {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    padding: 5px 0;
    cursor: pointer;
    transition: color 0.3s;
    white-space: nowrap;
    border: none;
    background: none;
}

.tab-link-01.active,
.tab-link-02.active {
    font-weight: bold;
    text-decoration: underline;
}

.tab-link-01:hover,
.tab-link-02:hover {
    color: #555;
}

.tab-content-01,
.tab-content-02 {
    display: none;
    padding: 10px 0;
    animation: fadeIn 0.3s ease;
}

.tab-content-01.active,
.tab-content-02.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Sessão Carrossel Tradicional */
.carrossel-session {
    margin: 40px 0;
    width: 100%;
}

.carrossel-header {
    text-align: right;
    margin-bottom: 20px;
}

.carrossel-header strong {
    font-size: 16px;
}

.carrossel-header hr {
    border: none;
    height: 1px;
    background-color: #000;
    margin: 2px 0;
}

.carrossel-container {
    position: relative;
    width: 100%;
}

.carrossel {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carrossel::-webkit-scrollbar {
    display: none;
}

.carrossel-item {
    flex: 0 0 auto;
    width: calc(25% - 14px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.carrossel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #ddd;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #111;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    font-weight: bold;
    border: none;
}

.carrossel-btn:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateY(-50%) scale(1.05);
}

.carrossel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carrossel-btn.prev {
    left: 10px;
}

.carrossel-btn.next {
    right: 10px;
}

.carrossel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Sessão Opinião dos Colunistas */
.opiniao-session {
    margin: 40px 0;
    width: 100%;
}

.opiniao-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.opiniao-titulo-section {
    text-align: right;
    flex: 1;
}

.opiniao-titulo-section strong {
    font-size: 16px;
}

.opiniao-titulo-section hr {
    border: none;
    height: 1px;
    background-color: #000;
    margin: 2px 0;
}

.opiniao-navegacao {
    display: flex;
    gap: 10px;
    margin-left: 20px;
    align-items: center;
}

.opiniao-btn {
    background: transparent;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    color: #111;
    transition: all 0.3s ease;
    font-weight: bold;
    padding: 0;
    border-radius: 50%;
}

.opiniao-btn:hover {
    color: #0b5394;
    transform: scale(1.1);
    background: rgba(11, 83, 148, 0.1);
}

.opiniao-btn:active {
    transform: scale(0.95);
}

.opiniao-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: scale(1);
    color: #999;
    background: transparent;
}

.opiniao-container {
    position: relative;
    width: 100%;
}

.opiniao-carrossel {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.opiniao-carrossel::-webkit-scrollbar {
    display: none;
}

.opiniao-item {
    flex: 0 0 auto;
    width: calc(20% - 15px);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: transparent;
    border: none;
    min-height: auto;
    transition: transform 0.3s ease;
}

.opiniao-item:hover {
    transform: translateY(-2px);
}

.opiniao-conteudo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.opiniao-colunista {
    font-weight: bold;
    font-size: 14px;
    color: #0b5394;
    margin: 0;
    line-height: 1.2;
}

.opiniao-titulo {
    font-weight: bold;
    font-size: 15px;
    line-height: 1.3;
    color: #111;
    margin: 0;
}

.opiniao-data {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.opiniao-foto {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    overflow: hidden;
    flex-shrink: 0;
}

.opiniao-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carrossel de Vídeos */
.carrossel_img_vid_container {
    max-width: 100%;
    margin: 0 auto;
}

.carrossel_img_vid_header {
    text-align: center;
    margin-bottom: 30px;
}

.carrossel_img_vid_title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 700;
}

.carrossel_img_vid_subtitle {
    font-size: 1rem;
    color: #666;
}

.carrossel_img_vid_main {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.carrossel_img_vid_carrossel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
    background: transparent;
}

.carrossel_img_vid_carrossel::-webkit-scrollbar {
    display: none;
}

.carrossel_img_vid_item {
    flex: 0 0 auto;
    width: 300px;
    height: 530px;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
    position: relative;
    transition: transform 0.3s ease;
    scroll-snap-align: start;
    border: none;
    box-shadow: none;
}

.carrossel_img_vid_item:hover {
    transform: translateY(-2px);
}

.carrossel_img_vid_video_container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.carrossel_img_vid_video_container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.carrossel_img_vid_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    border-radius: 0 0 12px 12px;
}

.carrossel_img_vid_info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.carrossel_img_vid_platform {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    align-self: flex-start;
}

.carrossel_img_vid_youtube {
    background-color: #FF0000;
    color: white;
}

.carrossel_img_vid_facebook {
    background-color: #1877F2;
    color: white;
}

.carrossel_img_vid_video_title {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: white;
}

.carrossel_img_vid_stats {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.carrossel_img_vid_btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.carrossel_img_vid_btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carrossel_img_vid_btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.carrossel_img_vid_prev {
    left: 5px;
}

.carrossel_img_vid_next {
    right: 5px;
}

.carrossel_img_vid_btn svg {
    width: 20px;
    height: 20px;
    fill: #333;
}

.carrossel_img_vid_instructions {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #666;
}

.carrossel_img_vid_scroll_indicator {
    text-align: center;
    margin-top: 10px;
    color: #888;
    font-size: 0.75rem;
}

/* Iframe responsivo */
.iframe-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin-bottom: 15px;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Menu Mobile - Escondido no desktop */
.mobile-menu-toggle,
.mobile-menu,
.menu-overlay {
    display: none;
}

/* Footer Styles */
footer {
    background: #fff;
    padding: 40px 20px;
    margin-top: 0px;
    font-family: Georgia, 'Times New Roman', serif;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Layout responsivo para as colunas */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column {
    margin-bottom: 20px;
}

.footer-title {
    color: #111;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #444;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #0b5394;
}

/* Newsletter */
.footer-newsletter {
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
    padding: 30px 0;
    margin-bottom: 30px;
}

.newsletter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.newsletter-text h3 {
    color: #111;
    font-size: 18px;
    margin-bottom: 10px;
}

.newsletter-text p {
    color: #444;
    font-size: 14px;
    margin: 0;
}

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

.newsletter-form input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    background: #fff;
    color: #111;
    border-radius: 4px;
    min-width: 250px;
    font-family: inherit;
}

.newsletter-form button {
    padding: 10px 20px;
    background: #0b5394;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
    font-family: inherit;
}

.newsletter-form button:hover {
    background: #083c6b;
}

/* Rodapé inferior */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #444;
    font-size: 14px;
}

.footer-links-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links-bottom a {
    color: #444;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links-bottom a:hover {
    color: #0b5394;
}

/* Botão Carregar Mais */
.load-more-container {
    text-align: center;
    margin: 40px 0;
}

.load-more-btn {
    padding: 12px 30px;
    background: #0b5394;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #083c6b;
    transform: translateY(-2px);
}

.load-more-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Estados de loading */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Animações suaves para o preloader */
@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

#preloader {
    animation: pulse 2s infinite;
}

/* Otimização de carregamento de imagens críticas */
img[src*="banner_01.jpg"] {
    content-visibility: auto;
    background: #f8f8f8;
}

/* Melhorar performance de rolagem */
.container {
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

/* Single Post Styles */
.single-article {
    max-width: 100%;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 30px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
}

.article-content {
    line-height: 1.7;
    font-size: 16px;
}

.article-content p {
    margin-bottom: 1.5em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin: 2em 0 1em 0;
    color: #111;
}

.article-content blockquote {
    border-left: 4px solid #0b5394;
    padding-left: 20px;
    margin: 2em 0;
    font-style: italic;
    color: #555;
}

.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e3e3e3;
}

.post-tags {
    margin-bottom: 30px;
}

.tags-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-lista a {
    background: #f0f0f0;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tags-lista a:hover {
    background: #0b5394;
    color: white;
    text-decoration: none;
}

.post-share {
    margin-top: 30px;
}

.post-share h4 {
    margin-bottom: 15px;
    color: #111;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-buttons a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.share-facebook {
    background: #1877F2;
    color: white;
}

.share-twitter {
    background: #1DA1F2;
    color: white;
}

.share-whatsapp {
    background: #25D366;
    color: white;
}

.share-buttons a:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

/* Related Posts */
.related-posts {
    margin: 50px 0;
    padding-top: 30px;
    border-top: 1px solid #e3e3e3;
}

.related-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #111;
    text-align: center;
}

/* Search Results */
.search-results {
    display: grid;
    gap: 30px;
}

.search-result {
    padding: 20px;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.search-result:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.result-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.result-title a {
    color: #111;
    text-decoration: none;
}

.result-title a:hover {
    color: #0b5394;
}

.result-excerpt {
    color: #444;
    line-height: 1.6;
}

.result-meta {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

/* 404 Page */
.error-404 {
    text-align: center;
    padding: 50px 20px;
}

.error-404 .page-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: #111;
}

.error-404 .page-content {
    max-width: 600px;
    margin: 0 auto;
}

.search-form-404 {
    margin: 30px 0;
}

.popular-categories,
.recent-posts {
    margin: 40px 0;
}

.categories-list,
.recent-posts-list {
    list-style: none;
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
}

.categories-list li,
.recent-posts-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e3e3e3;
}

.categories-list a,
.recent-posts-list a {
    color: #444;
    text-decoration: none;
}

.categories-list a:hover,
.recent-posts-list a:hover {
    color: #0b5394;
}

/* Comments */
.comments-area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e3e3e3;
}

.comments-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #111;
}

.comment-list {
    list-style: none;
    margin-bottom: 30px;
}

.comment {
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.comment-author .avatar {
    border-radius: 50%;
}

.comment-metadata {
    font-size: 14px;
    color: #666;
}

.comment-content {
    line-height: 1.6;
}

.comment-respond {
    margin-top: 30px;
}

.comment-reply-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #111;
}

.comment-form {
    display: grid;
    gap: 15px;
}

.comment-form input,
.comment-form textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form .submit {
    background: #0b5394;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.comment-form .submit:hover {
    background: #083c6b;
}

/* Widgets */
.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #111;
    padding-bottom: 10px;
    border-bottom: 2px solid #e3e3e3;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget ul li a {
    color: #444;
    text-decoration: none;
    transition: color 0.3s;
}

.widget ul li a:hover {
    color: #0b5394;
}

/* Calendar Widget */
.widget_calendar table {
    width: 100%;
    border-collapse: collapse;
}

.widget_calendar caption {
    font-weight: bold;
    margin-bottom: 10px;
}

.widget_calendar th,
.widget_calendar td {
    text-align: center;
    padding: 5px;
    border: 1px solid #e3e3e3;
}

.widget_calendar tfoot a {
    color: #0b5394;
    text-decoration: none;
}

/* Search Widget */
.widget_search .search-form {
    display: flex;
}

.widget_search .search-field {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
}

.widget_search .search-submit {
    padding: 8px 15px;
    background: #0b5394;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.widget_search .search-submit:hover {
    background: #083c6b;
}