/*
Theme Name: Noticiário 24H
Theme URI: https://www.agecodigocriativo.com.br
Author: Raphael Pinhiero
Author URI: https://www.agecodigocriativo.com.br
Description: Tema personalizado para o portal de notícias Noticiário 24H. Design limpo, rápido e focado na leitura.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: noticiario24h
Tags: noticias, blog, notícias, responsivo, acessibilidade, desempenho, leitura, minimalista

This theme is designed for optimal reading experience and performance.
*/

/* Mensagem de login para comentários */
.not-logged-in-message {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    border: 1px solid #e9ecef;
}

.not-logged-in-message .comment-reply-title {
    color: var(--color-primary);
    margin: 0 auto 1.5rem auto;
    font-size: 1.5rem;
    text-align: center;
    width: 100%;
    display: block;
}

.not-logged-in-message .login-prompt p {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.not-logged-in-message .login-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.not-logged-in-message .button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.not-logged-in-message .login-button {
    background-color: var(--color-primary);
    color: white;
    border: 2px solid var(--color-primary);
}

.not-logged-in-message .login-button:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

.not-logged-in-message .register-button {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.not-logged-in-message .register-button:hover {
    background-color: rgba(217, 4, 41, 0.1);
    transform: translateY(-2px);
}

/* Menu do Usuário */
.user-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.user-welcome {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.user-links {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
}

.user-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.user-links a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.user-links .separator {
    margin: 0 8px;
    color: #ddd;
}

.logout-link {
    color: var(--color-text-light);
}

.reset-password-link {
    color: var(--color-text-light);
}

/* Reset and base styles */
:root {
    --color-primary: #0A2342;
    --color-accent: #D90429;
    --color-bg: #FFFFFF;
    --color-bg-alt: #f5f7fa;
    --color-text: #333333;
    --color-text-light: #666666;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    --container-width: 1200px;
    --content-width: 800px;
    --spacing-unit: 1rem;
}

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

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 20px;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: var(--spacing-unit);
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-unit);
}

a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
    margin-left: 2px;
}

a:hover,
a:focus {
    text-decoration: underline;
}

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.site-content {
    padding: calc(var(--spacing-unit) * 2) 0;
    min-height: calc(100vh - 200px);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 2);
}

.page-header {
    margin-bottom: calc(var(--spacing-unit) * 2);
    padding-bottom: var(--spacing-unit);
    border-bottom: 3px solid var(--color-accent);
}

.page-title {
    color: var(--color-primary);
    font-size: 2.5rem;
    margin: 0;
}

/* Estilo para o título da página de busca */
.search-results .page-title {
    color: #2c3e50 !important;
    font-size: 1.85rem;
    margin: 0 0 2rem 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafc 100%);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--color-accent);
    transition: all 0.3s ease;
}

.search-results .page-title:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.search-results .page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(13, 110, 253, 0.03) 0%, rgba(13, 110, 253, 0) 100%);
    z-index: 0;
}

.search-results .page-title span {
    color: var(--color-accent) !important;
    font-weight: 700;
    position: relative;
    z-index: 1;
    background: rgba(13, 110, 253, 0.08);
    padding: 0.15rem 0.7rem;
    border-radius: 20px;
    margin-left: 0.5rem;
    display: inline-block;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

.search-results .page-title:hover span {
    background: rgba(13, 110, 253, 0.12);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Top Header Bar */
.top-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0d2a4a 100%);
    color: white;
    padding: calc(var(--spacing-unit) * 1.5) 0;
}

.site-branding {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.site-title a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.site-title a:hover {
    opacity: 0.9;
    text-decoration: none;
}

.site-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0.5rem 0 0 0;
}

/* Categories Navigation */
.categories-navigation {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0d2a4a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: none;
    position: relative;
    z-index: 990;
}

.categories-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0.8;
}

.categories-navigation.toggled {
    display: block;
}

.categories-menu-wrapper {
    position: relative;
    overflow: hidden;
}

.categories-menu {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.categories-menu .menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.categories-menu .menu-item:last-child {
    border-bottom: none;
}

.categories-menu .menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.categories-menu .menu-item:hover::before {
    left: 100%;
}

.categories-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    background: transparent;
    letter-spacing: 0.02em;
}

.categories-menu a:hover {
    color: white;
    text-decoration: none;
    padding-left: 2.2rem;
    background: rgba(217, 4, 41, 0.15);
}

.categories-menu .current-menu-item a {
    color: white;
    background: rgba(217, 4, 41, 0.2);
    padding-left: 2.2rem;
    font-weight: 700;
}

.categories-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 65%;
    background: linear-gradient(to bottom, var(--color-accent), #ff3b5c);
    border-radius: 0 4px 4px 0;
    transition: width 0.3s ease;
    box-shadow: 2px 0 8px rgba(217, 4, 41, 0.3);
}

.categories-menu a:hover::after,
.categories-menu .current-menu-item a::after {
    width: 5px;
}

/* Removido o estilo da contagem de categorias */

.menu-item-more {
    background: rgba(217, 4, 41, 0.2);
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.menu-item-more a {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    justify-content: center;
    gap: 0.5rem;
}

.menu-item-more a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding-left: 1.5rem;
    transform: translateY(-2px);
}

.menu-item-more .arrow {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    font-weight: bold;
}

.menu-item-more a:hover .arrow {
    transform: translateX(8px);
}

/* Menu Toggle Button */
.menu-toggle {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.75rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    height: 20px;
    justify-content: center;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Main content */
.content-area {
    width: 100%;
}

/* Posts grid */
.posts-grid {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 1.5);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.post-card {
    background: white;
    border: 1px solid #e8ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--color-accent);
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
}

.post-thumbnail-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail-img {
    transform: scale(1.05);
}

.post-content {
    padding: calc(var(--spacing-unit) * 1.5);
}

.entry-title {
    font-size: 1.4rem;
    margin: 0 0 0.75rem;
    line-height: 1.3;
    font-weight: 700;
}

.entry-title a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.entry-meta {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.entry-meta a {
    color: var(--color-text-light);
    text-decoration: none;
}

.entry-meta a:hover {
    color: var(--color-accent);
}

.entry-summary {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--color-primary);
    text-decoration: none;
    transform: translateX(3px);
}

.read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(3px);
}

/* Single post */
.single .entry-header {
    margin-bottom: var(--spacing-unit);
}

.single .entry-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.single .entry-meta {
    margin-bottom: var(--spacing-unit);
}

.single .post-thumbnail {
    margin-bottom: var(--spacing-unit);
    height: auto;
    max-height: 500px;
}

.entry-content {
    max-width: var(--content-width);
    margin: 0 auto;
    line-height: 1.7;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0d2a4a 100%);
    color: white;
    padding: calc(var(--spacing-unit) * 3) 0 calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 4);
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 2);
    padding-bottom: calc(var(--spacing-unit) * 2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget-area .widget-title {
    color: white;
    font-size: 1.1rem;
}

.footer-widget-area .widget-title::after {
    background: var(--color-accent);
}

.footer-widget-area .widget a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-widget-area .widget a:hover {
    color: white;
}

.site-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-unit);
    font-size: 0.875rem;
}

.site-info a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.site-info a:hover {
    color: white;
}

.footer-navigation ul {
    display: flex;
    gap: calc(var(--spacing-unit) * 1.5);
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-navigation a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-navigation a:hover {
    color: white;
}

.copyright {
    opacity: 0.7;
}

@media (min-width: 768px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-info {
        text-align: left;
    }
}

/* Sidebar */
.widget-area {
    margin-top: 20px;
    background: white;
    border-radius: 12px;
    padding: calc(var(--spacing-unit) * 1.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e8ecef;
    height: fit-content;
    position: sticky;
    top: calc(var(--spacing-unit) * 6);
}

/* Widgets */
.widget {
    margin-bottom: calc(var(--spacing-unit) * 2);
    padding-bottom: calc(var(--spacing-unit) * 1.5);
    border-bottom: 1px solid #f0f2f5;
}

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

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li {
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    position: relative;
}

.widget li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.widget a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.widget a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.post-count {
    background: var(--color-bg-alt);
    color: var(--color-text-light);
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    margin-left: 0.5rem;
    font-weight: 500;
}

/* Buttons */
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    background-color: var(--color-accent);
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    padding: 0.5rem 1rem;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background-color: #b8001f;
    text-decoration: none;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: none;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.5rem;
    width: 100%;
}

/* Responsive styles */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .categories-navigation {
        display: block !important;
    }

    .categories-menu {
        flex-direction: row;
        padding: 0;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        justify-content: center;
    }

    .categories-menu::-webkit-scrollbar {
        display: none;
    }

    .categories-menu .menu-item {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        flex-shrink: 0;
        position: relative;
    }

    .categories-menu .menu-item:last-child {
        border-right: none;
    }

    .categories-menu a {
        padding: 1.2rem 1.8rem;
        white-space: nowrap;
        font-size: 0.95rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        transition: all 0.3s ease;
    }

    .categories-menu a:hover,
    .categories-menu .current-menu-item a {
        padding-left: 1.8rem;
        background: rgba(217, 4, 41, 0.15);
        color: white;
    }

    .categories-menu .menu-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 3px;
        background: var(--color-accent);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .categories-menu .menu-item:hover::after,
    .categories-menu .current-menu-item::after {
        width: 70%;
    }

    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-branding {
        flex-wrap: nowrap;
    }

    .site-title {
        font-size: 2.2rem;
    }
}

@media (min-width: 1024px) {
    .categories-navigation {
        background: linear-gradient(135deg, var(--color-primary) 0%, #0d2a4a 100%);
    }

    .categories-menu a {
        padding: 1.2rem 2rem;
        font-size: 1rem;
        position: relative;
        overflow: hidden;
    }

    .categories-menu a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
        transition: left 0.5s ease;
        z-index: 1;
    }

    .categories-menu a:hover::before {
        left: 100%;
    }

    .categories-menu a:hover,
    .categories-menu .current-menu-item a {
        padding-left: 2rem;
    }

    .category-count {
        transform: scale(1);
        transition: all 0.3s ease;
    }

    .categories-menu a:hover .category-count {
        transform: scale(1.1);
        background: var(--color-accent);
    }

    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-wrapper {
        grid-template-columns: 1fr 320px;
        gap: calc(var(--spacing-unit) * 3);
    }

    .site-main {
        grid-column: 1;
    }

    .widget-area {
        grid-column: 2;
    }
}

@media (min-width: 1200px) {
    .categories-navigation {
        background: linear-gradient(135deg, var(--color-primary) 0%, #0d2a4a 100%);
    }

    .categories-menu {
        justify-content: center;
        max-width: 1200px;
        margin: 0 auto;
    }

    .categories-menu .menu-item {
        flex: 0 0 auto;
    }

    .categories-menu a {
        padding: 1.3rem 2.2rem;
        font-size: 1.05rem;
        font-weight: 600;
    }

    .categories-menu .menu-item::after {
        height: 4px;
        bottom: -1px;
    }

    .category-count {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }

    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Accessibility */
.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 !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

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

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

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

/* Clearings */
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}

/* Print styles */
@media print {
    body {
        background: none !important;
        color: #000;
        font-size: 12pt;
    }

    .site-header,
    .site-footer,
    .comments-area,
    .post-navigation,
    .widget-area,
    .edit-link,
    .page-links {
        display: none;
    }

    .site {
        max-width: 100%;
        margin: 0;
        padding: 1em;
    }

    .entry-title {
        font-size: 24pt;
    }

    a {
        text-decoration: underline;
    }

    .entry-content a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        font-weight: normal;
    }

    .entry-content a[href^="#"]:after {
        content: "";
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: calc(var(--spacing-unit) * 3) 0;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #e8ecef;
    border-radius: 8px;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.page-numbers.prev,
.page-numbers.next {
    padding: 0.5rem 1.5rem;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: var(--spacing-unit);
}

.search-field {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e8ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-field:focus {
    outline: none;
    border-color: var(--color-accent);
}

.search-submit {
    padding: 0.75rem 1.5rem;
    background: var(--color-accent);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-submit:hover {
    background: #b8001f;
}

/* Entry Footer */
.entry-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f2f5;
    font-size: 0.875rem;
}

.cat-links,
.tags-links {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

.cat-links a,
.tags-links a {
    background: var(--color-bg-alt);
    color: var(--color-text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.cat-links a:hover,
.tags-links a:hover {
    background: var(--color-accent);
    color: white;
    text-decoration: none;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card {
    animation: fadeInUp 0.6s ease forwards;
}

.post-card:nth-child(2) {
    animation-delay: 0.1s;
}

.post-card:nth-child(3) {
    animation-delay: 0.2s;
}

.post-card:nth-child(4) {
    animation-delay: 0.3s;
}

.post-card:nth-child(5) {
    animation-delay: 0.4s;
}

.post-card:nth-child(6) {
    animation-delay: 0.5s;
}

/* Improved Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Better Mobile Experience */
@media (max-width: 767px) {
    .site-header {
        padding: var(--spacing-unit) 0;
        background-color: #0A2342;
    }

    .site-title {
        font-size: 1.5rem;
    }

    .site-branding {
        gap: var(--spacing-unit);
    }

    .post-card {
        margin-bottom: var(--spacing-unit);
    }

    .entry-title {
        font-size: 1.2rem;
    }

    .widget-area {
        margin-top: calc(var(--spacing-unit) * 2);
        position: static;
    }

    .site-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --color-bg: #1a1a1a;
        --color-bg-alt: #2a2a2a;
        --color-text: #e0e0e0;
        --color-text-light: #b0b0b0;
    }

    .post-card {
        background: #2a2a2a;
        border-color: #404040;
    }

    .widget-area {
        background: #2a2a2a;
        border-color: #404040;
    }

    .search-field {
        background: #2a2a2a;
        border-color: #404040;
        color: var(--color-text);
    }
}

/*
 Enhanced Keyboard Navigation */
.using-keyboard *:focus {
    outline: 3px solid var(--color-accent) !important;
    outline-offset: 2px !important;
}

/* Search Field Enhancement */
.search-field.has-content {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.1);
}

/* Smooth Transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Enhanced Post Card Hover Effects */
.post-card {
    position: relative;
    overflow: hidden;
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.post-card:hover::before {
    left: 100%;
}

/* Improved Mobile Menu Animation */
.main-navigation {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.main-navigation.toggled {
    max-height: 500px;
}

.hamburger-line {
    transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #b8001f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Better Typography Hierarchy */
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    position: relative;
}

.entry-content h2::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: var(--color-accent);
    border-radius: 2px;
}

/* Enhanced Blockquotes */
.entry-content blockquote {
    border-left: 4px solid var(--color-accent);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: var(--color-bg-alt);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    position: relative;
}

.entry-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--color-accent);
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-family: Georgia, serif;
    opacity: 0.3;
}

/* Code Blocks */
.entry-content pre,
.entry-content code {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.entry-content pre {
    padding: 1rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.entry-content code {
    padding: 0.2rem 0.4rem;
    font-size: 0.9em;
}

.entry-content pre code {
    padding: 0;
    border: none;
    background: none;
}

/* Categories Menu Mobile Enhancements */
@media (max-width: 767px) {
    .categories-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, var(--color-primary) 0%, #0a1c33 100%);
        backdrop-filter: blur(15px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        max-height: 80vh;
        overflow-y: auto;
        border-radius: 0 0 12px 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-top: none;
        z-index: 1000;
    }

    .categories-navigation.toggled {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .categories-menu a {
        font-size: 1.1rem;
        padding: 1.4rem 1.5rem;
        font-weight: 600;
    }

    .categories-menu a:hover {
        background: rgba(217, 4, 41, 0.15);
        padding-left: 2.2rem;
    }

    .categories-menu .current-menu-item a {
        background: rgba(217, 4, 41, 0.2);
    }

    .category-count {
        background: rgba(255, 255, 255, 0.15);
        color: white;
        padding: 0.3rem 0.8rem;
        border-radius: 30px;
        font-size: 0.8rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .categories-menu a:hover .category-count,
    .categories-menu .current-menu-item a .category-count {
        background: var(--color-accent);
        transform: scale(1.1);
        box-shadow: 0 2px 10px rgba(217, 4, 41, 0.4);
    }

    .menu-item-more {
        background: rgba(217, 4, 41, 0.2);
        margin-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0 0 12px 12px;
    }

    .menu-item-more a {
        background: transparent;
        padding: 1.5rem;
        font-weight: 700;
        color: white;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-size: 0.9rem;
    }

    .menu-item-more a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }

    /* Smooth scroll for mobile menu */
    .categories-navigation {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Add subtle animation to menu items */
    .categories-menu .menu-item {
        opacity: 0;
        transform: translateX(-20px);
        animation: slideInLeft 0.3s ease forwards;
    }

    .categories-navigation.toggled .categories-menu .menu-item:nth-child(1) {
        animation-delay: 0.05s;
    }

    .categories-navigation.toggled .categories-menu .menu-item:nth-child(2) {
        animation-delay: 0.1s;
    }

    .categories-navigation.toggled .categories-menu .menu-item:nth-child(3) {
        animation-delay: 0.15s;
    }

    .categories-navigation.toggled .categories-menu .menu-item:nth-child(4) {
        animation-delay: 0.2s;
    }

    .categories-navigation.toggled .categories-menu .menu-item:nth-child(5) {
        animation-delay: 0.25s;
    }

    .categories-navigation.toggled .categories-menu .menu-item:nth-child(6) {
        animation-delay: 0.3s;
    }

    /* Improved mobile menu toggle button */
    .menu-toggle {
        background: rgba(255, 255, 255, 0.15);
        border: 2px solid rgba(255, 255, 255, 0.25);
        border-radius: 8px;
        padding: 0.8rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .menu-toggle:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: scale(1.05);
    }

    .hamburger-line {
        width: 24px;
        height: 2px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .categories-navigation.toggled .categories-menu .menu-item:nth-child(7) {
        animation-delay: 0.4s;
    }

    .categories-navigation.toggled .categories-menu .menu-item:nth-child(8) {
        animation-delay: 0.45s;
    }

    .categories-navigation.toggled .categories-menu .menu-item:nth-child(9) {
        animation-delay: 0.5s;
    }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Desktop Menu Enhancements */
@media (min-width: 768px) {
    .categories-navigation {
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .categories-menu {
        position: relative;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 0;
    }

    .categories-menu::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    }

    /* Reset mobile styles for desktop */
    .categories-menu .menu-item {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        flex-shrink: 0;
    }

    .categories-menu .menu-item:last-child {
        border-right: none;
    }

    .categories-menu a {
        padding: 1rem 1.5rem;
        white-space: nowrap;
        font-size: 0.9rem;
        letter-spacing: 0.03em;
    }

    .categories-menu a:hover,
    .categories-menu .current-menu-item a {
        padding-left: 1.5rem;
        background: rgba(217, 4, 41, 0.15);
    }

    /* Desktop hover effect */
    .categories-menu .menu-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 3px;
        background: var(--color-accent);
        transition: all 0.3s ease;
        transform: translateX(-50%);
        box-shadow: 0 0 8px rgba(217, 4, 41, 0.5);
    }

    .categories-menu .menu-item:hover::after,
    .categories-menu .current-menu-item::after {
        width: 80%;
    }

    /* Reset the vertical indicator for desktop */
    .categories-menu a::after {
        display: none;
    }

    /* Smooth scroll for horizontal menu */
    .categories-menu {
        scroll-behavior: smooth;
        padding-bottom: 0;
        overflow-x: auto;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE and Edge */
    }

    .categories-menu::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    /* Special styling for "Todas as Categorias" on desktop */
    .menu-item-more {
        background: none;
        margin-top: 0;
        border-top: none;
        border-bottom: none;
    }

    .menu-item-more a {
        color: var(--color-accent);
        background: rgba(217, 4, 41, 0.1);
        border-radius: 0;
        padding: 1rem 1.5rem;
    }

    .menu-item-more a:hover {
        background: rgba(217, 4, 41, 0.2);
        transform: none;
    }
}

/* Enhanced Focus States for Categories Menu */
.categories-menu a:focus {
    outline: 3px solid var(--color-accent);
    outline-offset: -3px;
    background: rgba(217, 4, 41, 0.2);
}

/* Loading state for categories */
.categories-menu.loading .menu-item {
    opacity: 0.5;
    pointer-events: none;
}

.categories-menu.loading .menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

/*
 Ajustes para o menu com muitas categorias */
@media (max-width: 767px) {
    .categories-navigation {
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Melhorar a visualização em dispositivos móveis */
    .categories-menu a {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Adicionar cores diferentes para cada categoria para melhor visualização */
    .categories-menu .menu-item:nth-child(8n+1) a:hover {
        background: rgba(217, 4, 41, 0.15);
    }

    .categories-menu .menu-item:nth-child(8n+2) a:hover {
        background: rgba(25, 118, 210, 0.15);
    }

    .categories-menu .menu-item:nth-child(8n+3) a:hover {
        background: rgba(76, 175, 80, 0.15);
    }

    .categories-menu .menu-item:nth-child(8n+4) a:hover {
        background: rgba(255, 152, 0, 0.15);
    }

    .categories-menu .menu-item:nth-child(8n+5) a:hover {
        background: rgba(156, 39, 176, 0.15);
    }

    .categories-menu .menu-item:nth-child(8n+6) a:hover {
        background: rgba(0, 150, 136, 0.15);
    }

    .categories-menu .menu-item:nth-child(8n+7) a:hover {
        background: rgba(121, 85, 72, 0.15);
    }

    .categories-menu .menu-item:nth-child(8n+8) a:hover {
        background: rgba(63, 81, 181, 0.15);
    }
}

@media (min-width: 768px) {

    /* Melhorar a visualização em desktop */
    .categories-menu {
        flex-wrap: nowrap;
        flex-direction: row;
        overflow-x: auto;
        padding: 0 10px;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    }

    .categories-menu::-webkit-scrollbar {
        height: 4px;
    }

    .categories-menu::-webkit-scrollbar-track {
        background: transparent;
    }

    .categories-menu::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }

    .categories-menu .menu-item {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        flex-shrink: 0;
    }

    .categories-menu .menu-item:last-child {
        border-right: none;
    }

    .categories-menu a {
        padding: 1rem 1.5rem;
        white-space: nowrap;
        font-size: 0.9rem;
    }

    /* Indicadores coloridos para cada categoria */
    .categories-menu .menu-item:nth-child(8n+1)::after {
        background: linear-gradient(to right, #D90429, #ef233c);
    }

    .categories-menu .menu-item:nth-child(8n+2)::after {
        background: linear-gradient(to right, #1976D2, #42a5f5);
    }

    .categories-menu .menu-item:nth-child(8n+3)::after {
        background: linear-gradient(to right, #4CAF50, #81c784);
    }

    .categories-menu .menu-item:nth-child(8n+4)::after {
        background: linear-gradient(to right, #FF9800, #ffb74d);
    }

    .categories-menu .menu-item:nth-child(8n+5)::after {
        background: linear-gradient(to right, #9C27B0, #ba68c8);
    }

    .categories-menu .menu-item:nth-child(8n+6)::after {
        background: linear-gradient(to right, #009688, #4db6ac);
    }

    .categories-menu .menu-item:nth-child(8n+7)::after {
        background: linear-gradient(to right, #795548, #a1887f);
    }

    .categories-menu .menu-item:nth-child(8n+8)::after {
        background: linear-gradient(to right, #3F51B5, #7986cb);
    }
}

/* Tooltip para descrição da categoria */
.categories-menu a {
    position: relative;
}

.categories-menu a::before {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: normal;
    max-width: 250px;
    width: max-content;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    pointer-events: none;
}

.categories-menu a::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    pointer-events: none;
}

.categories-menu a:hover::before,
.categories-menu a:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 10px);
}

/* Botõe
s de navegação para o menu de categorias */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.prev-button {
    left: 5px;
}

.next-button {
    right: 5px;
}

.nav-button.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Ajustes para o menu com muitas categorias */
@media (min-width: 768px) {
    .categories-menu {
        padding: 0 40px;
        /* Espaço para os botões de navegação */
    }
}

/* Ajustes para o menu de categorias usando wp_list_categories */
.categories-menu .current-cat {
    background: rgba(217, 4, 41, 0.1);
}

.categories-menu .current-cat>a {
    color: var(--color-accent);
    font-weight: 700;
}

/* Remover marcadores de lista */
.categories-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Ajustar espaçamento para subcategorias */
.categories-menu .children {
    margin-left: 1rem;
}

/* Garantir que os links ocupem toda a largura do item */
.categories-menu li a {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
}

/* Esti
los para páginas de categoria */
.category-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0d2a4a 100%);
    color: white;
    padding: calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 2);
    border-radius: 12px;
    margin-bottom: calc(var(--spacing-unit) * 3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.category-title,
.archive-title,
.page-title {
    font-size: 1.75rem;
    /* Reduzido de 2rem */
    margin: 0 0 0.6rem 0;
    /* Margem reduzida */
    font-weight: 800;
    position: relative;
    z-index: 1;
    color: #ffffff !important;
    /* Forçando cor branca */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    /* Melhorando a legibilidade */
}

.category-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
    display: inline-block;
}

.category-description {
    font-size: 0.9rem;
    /* Reduzido de 1rem */
    opacity: 0.9;
    margin-bottom: 1rem;
    /* Reduzido de 1.25rem */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    /* Espaçamento mais compacto */
    position: relative;
    z-index: 1;
}

.category-meta {
    position: relative;
    z-index: 1;
}

.posts-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Grid de posts da categoria */
.category-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.category-post-card {
    background: white;
    border-radius: 14px;
    /* Reduzido de 16px */
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    /* Sombra mais sutil */
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.post-thumbnail-wrapper {
    position: relative;
    overflow: hidden;
    height: 190px;
    /* Reduzido de 220px */
}

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

.category-post-card:hover .post-thumbnail-img {
    transform: scale(1.05);
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-post-card:hover .post-overlay {
    opacity: 1;
}

.read-more-overlay {
    color: white;
    font-weight: 600;
    padding: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.post-content-wrapper {
    padding: calc(var(--spacing-unit) * 1.2);
    /* Reduzido de 1.5 */
}

.category-post-card .entry-title {
    font-size: 1.05rem;
    /* Reduzido de 1.2rem */
    line-height: 1.25;
    /* Mais compacto */
    margin: 0 0 0.6rem 0;
    /* Margem reduzida */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.category-post-card .entry-title a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-post-card .entry-title a:hover {
    color: var(--color-accent);
}

.category-post-card .entry-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.date-icon,
.author-icon {
    margin-right: 0.25rem;
}

.category-post-card .entry-summary {
    color: var(--color-text);
    font-size: 0.85rem;
    /* Reduzido de 0.95rem */
    line-height: 1.4;
    /* Mais compacto */
    margin-bottom: 1rem;
    /* Reduzido de 1.25rem */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more-btn:hover {
    background: #b8001f;
    transform: translateX(3px);
    text-decoration: none;
    color: white;
}

.read-more-arrow {
    transition: transform 0.3s ease;
}

.read-more-btn:hover .read-more-arrow {
    transform: translateX(3px);
}

/* Hero Section */
.hero-section {
    margin: 2rem 0 3rem;
    padding: 0 15px;
}

.hero-section .container {
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Layout da seção de destaques */
.featured-container {
    display: flex;
    flex-direction: column;
    margin: 0 0 2rem;
    padding: 0;
    width: 100%;
    max-width: 100%;
    position: relative;
    margin-left: 0;
    margin-right: 0;
}

/* Card Principal Grande */
.main-feature {
    width: 100%;
    min-height: auto;
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    margin: 0 0 1.5rem;
    padding: 0 0 1.5rem;
    border-bottom: 1px solid #eee;
}

/* Container para os cards menores */
.secondary-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Cards Secundários Menores */
.secondary-post {
    width: 100%;
    min-height: auto;
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    margin: 0;
    padding: 0;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.hero-post {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.hero-post-link {
    display: block;
    text-decoration: none;
    color: #fff;
    height: 100%;
}

.hero-post-thumbnail {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.main-feature .hero-post-thumbnail {
    height: 450px;
    margin-bottom: 1rem;
}

.secondary-post .hero-post-thumbnail {
    height: 200px;
    margin-bottom: 0.75rem;
}

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

.hero-post:hover .hero-post-img {
    transform: scale(1.02);
}

.hero-post-overlay {
    position: relative;
    padding: 1rem 0;
    background: transparent;
    z-index: 1;
    display: block;
    color: #333;
}

.main-feature .hero-post-overlay {
    padding: 1.5rem 0 0;
}

.secondary-post .hero-post-overlay {
    padding: 1rem 0 0;
}

.hero-post-category {
    display: inline-block;
    color: #e74c3c;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.5rem;
    text-decoration: none;
    font-family: Arial, sans-serif;
}

.main-feature .hero-post-title {
    font-size: 2.2rem;
    margin: 0 0 0.75rem;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    display: inline-block;
    border-radius: 4px;
    margin-left: 1rem;
    margin-right: 1rem;
}

@media (max-width: 1024px) {
    .main-feature .hero-post-title {
        font-size: 1.8rem;
    }
}

.secondary-post .hero-post-title {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    line-height: 1.4;
    font-weight: 600;
    color: #fff;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    padding: 0.4rem 0.8rem;
    background-color: rgba(0, 0, 0, 0.5);
    display: inline-block;
    border-radius: 4px;
    margin-left: 0.8rem;
    margin-right: 0.8rem;
}

@media (max-width: 1024px) {
    .secondary-post .hero-post-title {
        font-size: 1.1rem;
    }
}

.hero-post-meta {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #777;
    margin: 0;
    font-family: Arial, sans-serif;
}

.hero-post-meta time {
    margin-right: 1rem;
}

.read-more {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: var(--color-accent);
    color: white;
    text-decoration: none;
}

/* Grid para os cards menores */
.hero-grid-secondary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Responsividade */
@media (max-width: 1024px) {
    .main-feature .hero-post-title {
        font-size: 1.8rem;
    }

    .secondary-feature .hero-post-title {
        font-size: 1.1rem;
    }

    .hero-post-overlay {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .main-feature {
        min-height: 450px;
    }

    .secondary-post {
        min-height: 250px;
    }

    .secondary-posts {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .main-feature .hero-post-title {
        font-size: 1.5rem;
    }

    .secondary-feature .hero-post-title {
        font-size: 1.1rem;
    }

    .hero-post-overlay {
        padding: 1.2rem;
    }

    .hero-post-category {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
        margin-bottom: 0.5rem;
    }

    .hero-post-meta {
        font-size: 0.8rem;
    }
}

/* Página sem posts */
.no-posts-found {
    text-align: center;
    padding: calc(var(--spacing-unit) * 4);
    background: var(--color-bg-alt);
    border-radius: 12px;
}

.no-posts-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-posts-found h2 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.no-posts-found p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.back-home-btn {
    display: inline-flex;
    align-items: center;
    background: var(--color-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-home-btn:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

/* Paginação customizada */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: calc(var(--spacing-unit) * 3) 0;
    flex-wrap: wrap;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #e8ecef;
    border-radius: 8px;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.page-numbers.prev,
.page-numbers.next {
    padding: 0.5rem 1.5rem;
    font-weight: 700;
}

.nav-prev-icon,
.nav-next-icon {
    font-weight: bold;
}

/* Responsividade */
@media (min-width: 768px) {
    .category-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .category-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: calc(var(--spacing-unit) * 2.5);
    }

    .post-thumbnail-wrapper {
        height: 280px;
    }
}

@media (min-width: 1200px) {
    .category-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Es
tilos para páginas de arquivo */
.archive-header {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 2);
    border-radius: 12px;
    margin-bottom: calc(var(--spacing-unit) * 3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.archive-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="archive-grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23archive-grid)"/></svg>');
    opacity: 0.3;
}

.archive-title {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.archive-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
    display: inline-block;
}

.archive-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.archive-meta {
    position: relative;
    z-index: 1;
}

/* Melhorias para dispositivos móveis */
@media (max-width: 767px) {

    .category-header,
    .archive-header {
        padding: calc(var(--spacing-unit) * 2);
        margin-bottom: calc(var(--spacing-unit) * 2);
    }

    .category-title,
    .archive-title {
        font-size: 2rem;
    }

    .category-posts-grid {
        gap: var(--spacing-unit);
    }

    .post-thumbnail-wrapper {
        height: 200px;
    }

    .category-post-card .entry-title {
        font-size: 1.2rem;
    }

    .pagination {
        gap: 0.25rem;
    }

    .page-numbers {
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Ocultar meta informações nos cards das páginas de categoria e arquivo */
.category-post-card .posted-on,
.category-post-card .byline,
.category-post-card .comments-link,
.category-post-card .cat-links,
.category-post-card .tags-links,
.category-post-card .entry-meta {
    display: none !important;
}

/* Ocultar meta informações que podem aparecer no excerpt */
.category-posts-grid .posted-on,
.category-posts-grid .byline,
.category-posts-grid .comments-link,
.category-posts-grid .cat-links,
.category-posts-grid .tags-links,
.category-posts-grid .entry-meta {
    display: none !important;
}

/* Ocultar qualquer span com essas classes específicas */
.category-post-card span.posted-on,
.category-post-card span.byline,
.category-post-card span.comments-link,
.category-post-card span.cat-links,
.category-post-card span.tags-links {
    display: none !important;
}

/* Ocultar também em páginas de arquivo */
.archive .category-post-card .posted-on,
.archive .category-post-card .byline,
.archive .category-post-card .comments-link,
.archive .category-post-card .cat-links,
.archive .category-post-card .tags-links,
.archive .category-post-card .entry-meta {
    display: none !important;
}

/* Ocultar comentários da página index */
#block-4>div>div {
    display: none;
}

/* Comments Section */
.post-comments-section {
    margin-top: calc(var(--spacing-unit) * 2);
    padding: calc(var(--spacing-unit) * 1.5);
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--color-accent);
}

.comments-area {
    max-width: 100%;
}

.comments-title {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-unit);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-accent);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: calc(var(--spacing-unit) * 1.5) 0;
}

.comment-list .comment {
    background: white;
    border-radius: 6px;
    padding: var(--spacing-unit);
    margin-bottom: var(--spacing-unit);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 3px solid #e9ecef;
}

.comment-list .comment:hover {
    border-left-color: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.comment-author {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.comment-meta {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.comment-content {
    line-height: 1.6;
    color: #495057;
}

.comment-reply-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: var(--color-accent);
    color: white;
    border-radius: 4px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.3s ease;
}

.comment-reply-link:hover {
    background: #c82333;
    text-decoration: none;
}

.comment-form {
    background: white;
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: 8px;
    margin-top: calc(var(--spacing-unit) * 1.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comment-form h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-unit);
    font-size: 1.25rem;
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-primary);
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.comment-form textarea:focus,
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.1);
}

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

.form-submit {
    margin-top: var(--spacing-unit);
}

.submit {
    background: var(--color-accent);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 4, 41, 0.3);
}

/* Estilos para a área de redes sociais no rodapé */
.social-widgets {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0d2a4a 100%);
    padding: 2rem 0 2.5rem;
    margin: 0;
    border: none;
    text-align: center;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.social-title {
    color: white;
    font-size: 1.5rem;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
}

.social-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 3px;
}

.social-widgets::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), #ff9a9e, #fad0c4, #fad0c4, #ff9a9e, var(--color-accent));
    background-size: 400% 400%;
    animation: gradient 8s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 0 auto;
    padding: 1.5rem 0 0.5rem;
    list-style: none;
    max-width: 800px;
}

.social-widget .widget-title {
    color: white;
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.social-widget .widget-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 3px;
}

.social-widget a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 12px;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.social-widget a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.social-widget a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-widget a:hover::before {
    transform: scale(1);
}

.social-widget a i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-widget a:hover i {
    transform: rotate(10deg) scale(1.2);
}

/* Cores específicas para cada rede social com gradiente */
.social-widget a[href*="facebook.com"] { 
    background: linear-gradient(135deg, #3b5998 0%, #2d4373 100%); 
}
.social-widget a[href*="facebook.com"]:hover { 
    background: linear-gradient(135deg, #4c70ba 0%, #3b5998 100%);
}

.social-widget a[href*="twitter.com"],
.social-widget a[href*="x.com"] { 
    background: linear-gradient(135deg, #1da1f2 0%, #1a8cd8 100%);
}
.social-widget a[href*="twitter.com"]:hover,
.social-widget a[href*="x.com"]:hover { 
    background: linear-gradient(135deg, #4ab4f4 0%, #1da1f2 100%);
}

.social-widget a[href*="instagram.com"] { 
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    background-size: 400% 400%;
    animation: gradient 8s ease infinite;
}

.social-widget a[href*="youtube.com"] { 
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}
.social-widget a[href*="youtube.com"]:hover { 
    background: linear-gradient(135deg, #ff3333 0%, #ff0000 100%);
}

.social-widget a[href*="linkedin.com"] { 
    background: linear-gradient(135deg, #0077b5 0%, #005582 100%);
}
.social-widget a[href*="linkedin.com"]:hover { 
    background: linear-gradient(135deg, #0095e8 0%, #0077b5 100%);
}

.social-widget a[href*="whatsapp.com"],
.social-widget a[href*="wa.me"] { 
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}
.social-widget a[href*="whatsapp.com"]:hover,
.social-widget a[href*="wa.me"]:hover { 
    background: linear-gradient(135deg, #5fe08a 0%, #25d366 100%);
}

/* Responsividade */
/* Efeito de pulso sutil nos ícones */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.social-widget a:hover {
    animation: pulse 1s ease infinite;
}

/* Efeito de brilho ao passar o mouse */
.social-widget a::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg) translate(-30%, 100%);
    transition: all 0.6s ease;
    opacity: 0;
}

.social-widget a:hover::after {
    transform: rotate(45deg) translate(30%, -100%);
    opacity: 1;
}

/* Responsividade */
@media (max-width: 1024px) {
    .footer-social-icons {
        gap: 1.2rem;
        padding: 1.2rem 0 0.5rem;
    }
    
    .social-widget a {
        width: 46px;
        height: 46px;
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .social-widgets {
        padding: 2rem 1rem;
    }
    
    .social-widget .widget-title {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    
    .footer-social-icons {
        gap: 0.8rem;
        padding: 1rem 0 0;
    }
    
    .social-widget a {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .social-widgets {
        padding: 1.5rem 0.5rem;
    }
    
    .social-widget .widget-title {
        font-size: 1.2rem;
        letter-spacing: 1px;
        margin-bottom: 1rem;
    }
    
    .footer-social-icons {
        gap: 0.6rem;
        padding: 0.8rem 0.5rem 0;
    }
    
    .social-widget a {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        border-radius: 10px;
    }
    
    .social-widget a:hover {
        transform: translateY(-3px) scale(1.05);
    }
}

.no-comments {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: calc(var(--spacing-unit) * 2);
    background: #f8f9fa;
    border-radius: 6px;
    margin: var(--spacing-unit) 0;
}

/* Comments Navigation */
.comment-navigation {
    margin: calc(var(--spacing-unit) * 1.5) 0;
    text-align: center;
}

.comment-navigation a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-primary);
    color: white;
    border-radius: 4px;
    margin: 0 0.25rem;
    text-decoration: none;
    transition: background 0.3s ease;
}

.comment-navigation a:hover {
    background: var(--color-accent);
    text-decoration: none;
}

/* Responsive adjustments for comments */
@media (max-width: 768px) {
    .post-comments-section {
        margin-top: var(--spacing-unit);
        padding: var(--spacing-unit);
    }

    .comment-form {
        padding: var(--spacing-unit);
    }

    .comments-title {
        font-size: 1.25rem;
    }
}

/* Adicion
ar espaçamento entre o título de resposta e o link cancelar */
#cancel-comment-reply-link {
    margin-left: 1rem !important;
    padding-left: 1rem !important;
    border-left: 1px solid #ddd;
}

/* Espaçamento para o formulário de resposta */
.comment-respond h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comment-respond h3 #cancel-comment-reply-link {
    font-size: 0.875rem;
    font-weight: normal;
    margin-left: auto;
}

/* Estilos para links de autenticação no header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.user-welcome {
    color: rgba(255, 255, 255, 0.9);
}

.logout-link {
    color: white;
    text-decoration: none;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.logout-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.login-link, .register-link {
    color: white;
    text-decoration: none;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.login-link {
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.register-link {
    background: var(--color-accent);
    border: 1px solid var(--color-accent);
}

.register-link:hover {
    background: #c1001d;
    border-color: #c1001d;
}

@media (max-width: 767px) {
    .header-actions {
        gap: 0.5rem;
    }
    
    .user-welcome {
        display: none;
    }
    
    .auth-links {
        gap: 0.25rem;
    }
    
    .login-link, .register-link, .logout-link {
        padding: 0.2rem 0.5rem;
        font-size: 0.8rem;
    }
}

/* Estilos para os ícones de redes sociais */
.social-media-widget {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.social-media-widget:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.social-media-widget .widget-title {
    font-size: 1.2rem;
    color: #333;
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-primary, #2563eb);
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-media-icons {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.social-icon {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    color: #2d3748;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateX(8px);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.social-icon:hover::before {
    opacity: 0.4;
    width: 6px;
}

.social-icon svg {
    width: 22px;
    height: 22px;
    margin-right: 14px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.1);
}

.social-icon .social-text {
    font-size: 0.95rem;
    font-weight: 500;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Cores específicas para cada rede social */
.social-icon.facebook { 
    border-left-color: #1877f2;
    color: #1877f2;
}

.social-icon.instagram { 
    border-left-color: #e1306c;
    color: #e1306c;
}

.social-icon.twitter { 
    border-left-color: #1da1f2;
    color: #1da1f2;
}

.social-icon.youtube { 
    border-left-color: #ff0000;
    color: #ff0000;
}

.social-icon.whatsapp { 
    border-left-color: #25d366;
    color: #25d366;
}

/* Efeito hover específico para cada rede social */
.social-icon.facebook:hover { 
    background-color: rgba(24, 119, 242, 0.08);
    color: #1877f2;
}

.social-icon.instagram:hover { 
    background: linear-gradient(45deg, rgba(225, 48, 108, 0.08), rgba(253, 29, 29, 0.08), rgba(131, 58, 180, 0.08));
    color: #e1306c;
}

.social-icon.twitter:hover { 
    background-color: rgba(29, 161, 242, 0.08);
    color: #1da1f2;
}

.social-icon.youtube:hover { 
    background-color: rgba(255, 0, 0, 0.08);
    color: #ff0000;
}

.social-icon.whatsapp:hover { 
    background-color: rgba(37, 211, 102, 0.08);
    color: #25d366;
}

/* Responsividade */
@media (max-width: 1024px) {
    .social-media-widget {
        padding: 1.25rem;
    }
    
    .social-icon {
        padding: 0.75rem 1rem;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
        margin-right: 12px;
    }
    
    .social-icon .social-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .social-media-icons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .social-icon {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem 0.75rem;
        width: calc(50% - 0.5rem);
        border-left: none;
        border-top: 3px solid transparent;
    }
    
    .social-icon::before {
        width: 100%;
        height: 3px;
        top: auto;
        bottom: 0;
    }
    
    .social-icon:hover {
        transform: translateY(-3px);
    }
    
    .social-icon svg {
        margin: 0 0 8px 0;
    }
    
    .social-icon .social-text {
        font-size: 0.85rem;
    }
    
    /* Ajustes específicos para cada rede social no mobile */
    .social-icon.facebook { border-top-color: #1877f2; }
    .social-icon.instagram { border-top-color: #e1306c; }
    .social-icon.twitter { border-top-color: #1da1f2; }
    .social-icon.youtube { border-top-color: #ff0000; }
    .social-icon.whatsapp { border-top-color: #25d366; }
}

@media (max-width: 480px) {
    .social-media-widget {
        margin: 1rem 0;
        padding: 1rem;
    }
    
    .social-media-widget .widget-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .social-icon {
        padding: 0.8rem 0.5rem;
        width: calc(50% - 0.4rem);
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
        margin-bottom: 6px;
    }
    
    .social-icon .social-text {
        font-size: 0.8rem;
    }
}

/* Efeito de carregamento suave */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-icon {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.social-icon:nth-child(1) { animation-delay: 0.1s; }
.social-icon:nth-child(2) { animation-delay: 0.2s; }
.social-icon:nth-child(3) { animation-delay: 0.3s; }
.social-icon:nth-child(4) { animation-delay: 0.4s; }
.social-icon:nth-child(5) { animation-delay: 0.5s; }
/* Bo
tões de Compartilhamento Social */
.social-share-buttons {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.social-share-buttons .share-title {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Cores específicas para cada rede social */
.share-button.whatsapp {
    background: #25D366;
    color: white;
}

.share-button.whatsapp:hover {
    background: #128C7E;
    color: white;
}

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

.share-button.twitter:hover {
    background: #0d8bd9;
    color: white;
}

.share-button.linkedin {
    background: #0077B5;
    color: white;
}

.share-button.linkedin:hover {
    background: #005885;
    color: white;
}

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

.share-button.facebook:hover {
    background: #166fe5;
    color: white;
}

.share-button.copy-link {
    background: #6c757d;
    color: white;
}

.share-button.copy-link:hover {
    background: #545b62;
    color: white;
}

.share-button.copy-link.copied {
    background: #28a745;
    color: white;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .social-share-buttons {
        margin: 1.5rem 0;
        padding: 1.25rem;
    }
    
    .social-share-buttons .share-title {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 1.25rem;
    }
    
    .share-buttons {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .share-button {
        padding: 0.65rem 0.85rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    
    .share-button svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 600px) {
    .social-share-buttons {
        padding: 1rem;
        margin: 1.25rem 0;
        border-radius: 12px;
    }
    
    .social-share-buttons .share-title {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .share-buttons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        justify-items: center;
    }
    
    .share-button {
        width: 100%;
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
        justify-content: center;
        border-radius: 10px;
        min-height: 44px; /* Mínimo recomendado para touch */
    }
    
    .share-button svg {
        width: 18px;
        height: 18px;
    }
    
    /* Botão de copiar link ocupa duas colunas na última linha */
    .share-button.copy-link {
        grid-column: 2 / 4;
    }
}

@media (max-width: 480px) {
    .social-share-buttons {
        padding: 0.75rem;
        margin: 1rem 0;
        background: #ffffff;
        border: 2px solid #e9ecef;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .social-share-buttons .share-title {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        color: #333;
        font-weight: 700;
    }
    
    .share-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        justify-items: stretch;
    }
    
    .share-button {
        width: 100%;
        padding: 0.75rem 0.25rem;
        font-size: 0.75rem;
        justify-content: center;
        border-radius: 8px;
        min-height: 48px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .share-button svg {
        width: 20px;
        height: 20px;
        margin-bottom: 2px;
    }
    
    /* Layout em coluna para cada botão */
    .share-button {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    /* Mostrar texto em dispositivos pequenos mas com estilo diferente */
    .share-button span {
        display: block;
        font-size: 0.65rem;
        line-height: 1;
    }
    
    .share-button.copy-link span {
        display: block;
    }
    
    /* Botão de copiar link ocupa toda a largura na última linha */
    .share-button.copy-link {
        grid-column: 1 / -1;
        margin-top: 0.25rem;
    }
    
    /* Efeitos hover mais sutis em mobile */
    .share-button:hover {
        transform: none;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }
    
    /* Efeito de toque para mobile */
    .share-button:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

@media (max-width: 360px) {
    .social-share-buttons {
        margin: 0.75rem 0;
        padding: 0.5rem;
    }
    
    .social-share-buttons .share-title {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .share-buttons {
        gap: 0.4rem;
    }
    
    .share-button {
        padding: 0.6rem 0.2rem;
        min-height: 44px;
        font-size: 0.7rem;
    }
    
    .share-button svg {
        width: 18px;
        height: 18px;
    }
    
    .share-button span {
        font-size: 0.6rem;
    }
}/*
 Melhorias adicionais para dispositivos móveis */
@media (max-width: 768px) {
    /* Melhor área de toque */
    .share-button {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        touch-action: manipulation;
    }
    
    /* Feedback visual melhorado para toque */
    .share-button:active {
        opacity: 0.8;
    }
}

/* Estilos específicos para orientação paisagem em mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .social-share-buttons {
        padding: 0.75rem 1rem;
    }
    
    .share-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .share-button {
        flex: 0 1 auto;
        min-width: 120px;
        padding: 0.5rem 0.75rem;
    }
    
    .share-button.copy-link {
        grid-column: unset;
        margin-top: 0;
    }
}

/* Melhorias para acessibilidade em mobile */
@media (max-width: 480px) {
    .share-button:focus {
        outline: 3px solid #007cba;
        outline-offset: 2px;
    }
    
    .share-button:focus:not(:focus-visible) {
        outline: none;
    }
    
    .share-button:focus-visible {
        outline: 3px solid #007cba;
        outline-offset: 2px;
    }
}

/* Animações suaves para mobile */
@media (max-width: 480px) {
    .share-button {
        transition: all 0.15s ease-out;
    }
    
    .share-button.copied {
        animation: pulse-success 0.6s ease-out;
    }
}

@keyframes pulse-success {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Otimizações para telas muito pequenas */
@media (max-width: 320px) {
    .social-share-buttons {
        margin: 0.5rem 0;
        padding: 0.4rem;
        border-radius: 8px;
    }
    
    .social-share-buttons .share-title {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .share-buttons {
        gap: 0.3rem;
    }
    
    .share-button {
        padding: 0.5rem 0.15rem;
        min-height: 40px;
        font-size: 0.65rem;
        border-radius: 6px;
    }
    
    .share-button svg {
        width: 16px;
        height: 16px;
    }
    
    .share-button span {
        font-size: 0.55rem;
    }
}

/* ========================================
   NEWSLETTER WIDGET - DESIGN MODERNO
   ======================================== */

/* Container principal do newsletter */
.newsletter-widget {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    border-radius: 20px !important;
    padding: 3rem 2.5rem !important;
    margin: 3rem auto !important;
    max-width: 1140px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 20px 40px rgba(30, 60, 114, 0.3) !important;
}

/* Efeito de brilho sutil */
.newsletter-widget::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent) !important;
}

/* Título do newsletter */
.newsletter-widget .newsletter-title {
    color: #ffffff !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important;
    text-align: center !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* Descrição do newsletter */
.newsletter-widget .newsletter-description {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
    font-weight: 400 !important;
}

/* Container do formulário */
.newsletter-widget .tnp-subscription {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 15px !important;
    padding: 2rem !important;
    margin: 0 !important;
}

/* Campos do formulário */
.newsletter-widget .tnp-field {
    margin-bottom: 1.5rem !important;
    position: relative !important;
}

/* Labels dos campos */
.newsletter-widget .tnp-field label {
    display: block !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Inputs de texto e email */
.newsletter-widget .tnp-field input[type="text"],
.newsletter-widget .tnp-field input[type="email"] {
    width: 100% !important;
    padding: 1rem 1.25rem !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #2c3e50 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-weight: 500 !important;
}

/* Focus nos inputs */
.newsletter-widget .tnp-field input[type="text"]:focus,
.newsletter-widget .tnp-field input[type="email"]:focus {
    outline: none !important;
    border-color: #ffffff !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
}

/* Placeholder dos inputs */
.newsletter-widget .tnp-field input::placeholder {
    color: #7f8c8d !important;
    opacity: 0.8 !important;
    font-weight: 400 !important;
}

/* Botão de inscrição */
.newsletter-widget .tnp-submit {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 1.25rem 3rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    width: auto !important;
    margin: 1rem auto 0 auto !important;
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4) !important;
}

/* Efeito hover no botão */
.newsletter-widget .tnp-submit:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.5) !important;
}

/* Efeito active no botão */
.newsletter-widget .tnp-submit:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4) !important;
}

/* Efeito de ondulação no botão */
.newsletter-widget .tnp-submit::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 0 !important;
    height: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translate(-50%, -50%) !important;
    transition: width 0.6s, height 0.6s !important;
}

.newsletter-widget .tnp-submit:active::before {
    width: 300px !important;
    height: 300px !important;
}

/* Checkbox de privacidade */
.newsletter-widget .tnp-privacy {
    margin-top: 1.5rem !important;
    padding: 1rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    text-align: center !important;
}

.newsletter-widget .tnp-privacy label {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-weight: 400 !important;
}

.newsletter-widget .tnp-privacy input[type="checkbox"] {
    margin-right: 0.75rem !important;
    margin-top: 0.25rem !important;
    transform: scale(1.2) !important;
    accent-color: #e74c3c !important;
}

.newsletter-widget .tnp-privacy a {
    color: #ffffff !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    transition: color 0.3s ease !important;
}

.newsletter-widget .tnp-privacy a:hover {
    color: #f39c12 !important;
}

/* Mensagens de feedback */
.newsletter-widget .tnp-message {
    padding: 1.25rem !important;
    margin: 1.5rem 0 !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    text-align: center !important;
    backdrop-filter: blur(10px) !important;
}

.newsletter-widget .tnp-message.tnp-message-success {
    background: rgba(46, 204, 113, 0.2) !important;
    color: #ffffff !important;
    border: 2px solid rgba(46, 204, 113, 0.5) !important;
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.2) !important;
}

.newsletter-widget .tnp-message.tnp-message-error {
    background: rgba(231, 76, 60, 0.2) !important;
    color: #ffffff !important;
    border: 2px solid rgba(231, 76, 60, 0.5) !important;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.2) !important;
}

/* Layout desktop - formulário em linha */
@media (min-width: 992px) {
    .newsletter-widget {
        padding: 3.5rem 4rem !important;
    }
    
    .newsletter-widget .newsletter-title {
        font-size: 2.5rem !important;
    }
    
    .newsletter-widget .newsletter-description {
        font-size: 1.2rem !important;
        margin-bottom: 2.5rem !important;
    }
    
    .newsletter-widget .tnp-subscription {
        padding: 2.5rem !important;
    }
    
    /* Layout em linha apenas para email */
    .newsletter-widget .tnp-subscription .tnp-field:last-of-type {
        display: flex !important;
        gap: 1rem !important;
        align-items: flex-end !important;
        margin-bottom: 1.5rem !important;
    }
    
    .newsletter-widget .tnp-subscription .tnp-field:last-of-type > div:first-child {
        flex: 1 !important;
    }
    
    .newsletter-widget .tnp-submit {
        width: auto !important;
        margin: 0 auto !important;
        padding: 1.25rem 2.5rem !important;
        flex-shrink: 0 !important;
        display: block !important;
    }
}

/* Tablet */
@media (max-width: 991px) and (min-width: 768px) {
    .newsletter-widget {
        padding: 2.5rem 2rem !important;
    }
    
    .newsletter-widget .newsletter-title {
        font-size: 2.2rem !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .newsletter-widget {
        margin: 2rem auto !important;
        padding: 2rem 1.5rem !important;
        border-radius: 15px !important;
    }
    
    .newsletter-widget .newsletter-title {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
    }
    
    .newsletter-widget .newsletter-description {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .newsletter-widget .tnp-subscription {
        padding: 1.5rem !important;
        border-radius: 12px !important;
    }
    
    .newsletter-widget .tnp-field {
        margin-bottom: 1.25rem !important;
    }
    
    .newsletter-widget .tnp-field input[type="text"],
    .newsletter-widget .tnp-field input[type="email"] {
        padding: 0.875rem 1rem !important;
        font-size: 0.95rem !important;
    }
    
    .newsletter-widget .tnp-submit {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
        width: auto !important;
        margin: 1rem auto 0 auto !important;
        display: block !important;
    }
    
    .newsletter-widget .tnp-privacy {
        padding: 0.75rem !important;
        margin-top: 1.25rem !important;
    }
    
    .newsletter-widget .tnp-privacy label {
        font-size: 0.85rem !important;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .newsletter-widget {
        margin: 1.5rem auto !important;
        padding: 1.5rem 1rem !important;
    }
    
    .newsletter-widget .newsletter-title {
        font-size: 1.6rem !important;
    }
    
    .newsletter-widget .tnp-subscription {
        padding: 1.25rem !important;
    }
}

/* Fallback quando plugin não está ativo */
.newsletter-fallback {
    text-align: center !important;
    padding: 3rem 2rem !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border-radius: 15px !important;
    border: 2px dashed #dee2e6 !important;
}

.newsletter-fallback p:first-child {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%) !important;
    color: #856404 !important;
    padding: 1.5rem !important;
    border: 1px solid #ffeaa7 !important;
    border-radius: 10px !important;
    margin-bottom: 1.5rem !important;
    font-weight: 600 !important;
}

.newsletter-fallback a {
    display: inline-block !important;
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%) !important;
    color: white !important;
    padding: 1rem 2rem !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 8px 25px rgba(0, 124, 186, 0.3) !important;
}

.newsletter-fallback a:hover {
    background: linear-gradient(135deg, #005a87 0%, #004065 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 35px rgba(0, 124, 186, 0.4) !important;
    color: white !important;
}/* Es
tilos adicionais para compatibilidade com Newsletter Plugin */

/* Oculta elementos desnecessários do plugin */
.newsletter-widget .tnp-field .tnp-field-button {
    display: none !important;
}

/* Estiliza campos específicos do plugin */
.newsletter-widget input[name="ne"] {
    width: 100% !important;
    padding: 1rem 1.25rem !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #2c3e50 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-weight: 500 !important;
}

.newsletter-widget input[name="ne"]:focus {
    outline: none !important;
    border-color: #ffffff !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
}

/* Estiliza campos de nome se existirem */
.newsletter-widget input[name="nn"],
.newsletter-widget input[name="ns"] {
    width: 100% !important;
    padding: 1rem 1.25rem !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #2c3e50 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-weight: 500 !important;
}

.newsletter-widget input[name="nn"]:focus,
.newsletter-widget input[name="ns"]:focus {
    outline: none !important;
    border-color: #ffffff !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
}

/* Estiliza botão específico do plugin */
.newsletter-widget input[type="submit"] {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 1.25rem 3rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    width: 100% !important;
    margin-top: 1rem !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4) !important;
}

.newsletter-widget input[type="submit"]:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.5) !important;
}

/* Remove estilos padrão do plugin que podem conflitar */
.newsletter-widget .tnp-subscription table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: none !important;
}

.newsletter-widget .tnp-subscription td {
    padding: 0 !important;
    border: none !important;
    background: none !important;
    vertical-align: top !important;
}

.newsletter-widget .tnp-subscription tr {
    background: none !important;
    border: none !important;
}

/* Ajustes para layout em tabela do plugin */
.newsletter-widget .tnp-subscription table td:first-child {
    padding-bottom: 1.5rem !important;
}

.newsletter-widget .tnp-subscription table td:last-child {
    padding-top: 1rem !important;
}

/* Responsividade específica para tabela do plugin */
@media (min-width: 992px) {
    .newsletter-widget .tnp-subscription table {
        display: table !important;
    }
    
    .newsletter-widget .tnp-subscription tr {
        display: table-row !important;
    }
    
    .newsletter-widget .tnp-subscription td {
        display: table-cell !important;
        vertical-align: middle !important;
        padding-right: 1rem !important;
    }
    
    .newsletter-widget .tnp-subscription td:first-child {
        width: 70% !important;
        padding-bottom: 0 !important;
    }
    
    .newsletter-widget .tnp-subscription td:last-child {
        width: 30% !important;
        padding-top: 0 !important;
        padding-right: 0 !important;
    }
    
    .newsletter-widget input[type="submit"] {
        width: auto !important;
        margin-top: 0 !important;
        padding: 1.25rem 2.5rem !important;
    }
}

/* Animação de carregamento para o botão */
.newsletter-widget .tnp-submit.loading,
.newsletter-widget input[type="submit"].loading {
    position: relative !important;
    color: transparent !important;
}

.newsletter-widget .tnp-submit.loading::after,
.newsletter-widget input[type="submit"].loading::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 20px !important;
    height: 20px !important;
    margin: -10px 0 0 -10px !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-top: 2px solid #ffffff !important;
    border-radius: 50% !important;
    animation: newsletter-spin 1s linear infinite !important;
}

@keyframes newsletter-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Melhorias de acessibilidade */
.newsletter-widget *:focus {
    outline: 2px solid #ffffff !important;
    outline-offset: 2px !important;
}

.newsletter-widget input:focus {
    outline: none !important;
}

/* Suporte para modo escuro */
@media (prefers-color-scheme: dark) {
    .newsletter-widget {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
    }
}/* Central
ização adicional para o formulário de newsletter */
.newsletter-widget {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Garante que o conteúdo interno também fique centralizado */
.newsletter-widget .newsletter-content {
    max-width: 100% !important;
    text-align: center !important;
}

/* Centraliza o formulário do plugin Newsletter */
.newsletter-widget .tnp-subscription {
    max-width: 600px !important;
    margin: 0 auto !important;
}

/* Ajustes para diferentes tamanhos de container */
@media (min-width: 1200px) {
    .newsletter-widget {
        max-width: 1140px !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .newsletter-widget {
        max-width: 960px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .newsletter-widget {
        max-width: 720px !important;
    }
}

@media (max-width: 767px) {
    .newsletter-widget {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}/*
 Centralização específica para botões do plugin Newsletter */
.newsletter-widget input[type="submit"] {
    width: auto !important;
    margin: 1rem auto 0 auto !important;
    display: block !important;
}

/* Centralização do container do botão se existir */
.newsletter-widget .tnp-field-button {
    text-align: center !important;
}

/* Centralização para diferentes estruturas do plugin */
.newsletter-widget form > div:last-child,
.newsletter-widget .tnp-subscription > div:last-child {
    text-align: center !important;
}

/* Garante que o texto da privacidade fique branco em todas as situações */
.newsletter-widget .tnp-privacy,
.newsletter-widget .tnp-privacy *,
.newsletter-widget .tnp-privacy label,
.newsletter-widget .tnp-privacy span {
    color: #ffffff !important;
}

/* Mantém os links da privacidade visíveis */
.newsletter-widget .tnp-privacy a {
    color: #ffffff !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

.newsletter-widget .tnp-privacy a:hover {
    color: #f39c12 !important;
}

/* Responsividade para a centralização do botão */
@media (max-width: 767px) {
    .newsletter-widget input[type="submit"] {
        width: 100% !important;
        max-width: 300px !important;
        margin: 1rem auto 0 auto !important;
    }
}

@media (max-width: 480px) {
    .newsletter-widget input[type="submit"] {
        width: 100% !important;
        max-width: 250px !important;
        padding: 0.875rem 1.5rem !important;
        font-size: 0.95rem !important;
    }
}