/* 
 * Vibrações Theme - Frontend CSS
 * Baseado no layout original fornecido
 */

:root {
    --primary: #0f7167;
    --secondary: #8116b6;
    --accent: #ff9800;
    --light: #f8f9fa;
    --dark: #333;
    --text: #444;
    --card: #fff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Modo Escuro */
body.dark-mode {
    --light: #1c1c1c;
    --dark: #f8f9fa;
    --text: #ddd;
    --card: #2b2b2b;
    background-color: #121212;
    color: var(--text);
}

/* Reset e Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Roboto', sans-serif;
    transition: background-color 0.4s ease, color 0.4s ease;
}

body {
    color: var(--text);
    line-height: 1.6;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: var(--secondary) !important;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    color: #FFF;
}

/*.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}*/

.logo {
    max-height: 70px;
}

/* Menu de Navegação */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    font-weight: bold;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent);
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background-color: #0d7268;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Seções */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: var(--text);
}

/* Cards de Categorias */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: var(--card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.category-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category-content {
    padding: 25px;
}

.category-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Cards de Artigos */
.artigos-section {
    background-color: #c22033;
}

.artigos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.artigo-card {
    background-color: var(--card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.artigo-img {
    height: 180px;
    background-color: var(--card-color);
    overflow: hidden;
}

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

.artigo-content {
    padding: 25px;
}

.artigo-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: gray;
    margin-bottom: 10px;
}

.categoria {
    background-color: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.artigo-content h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.artigo-content h3 a {
    color: inherit;
    text-decoration: none;
}

/* Seção Ajuda */
.ajuda-section {
    background-color: #ffc107;
    background-image: url('../images/fundo-maos.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: #333;
    text-align: center;
    position: relative;
}

.ajuda-section h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #e91e63;
    margin-bottom: 40px;
    display: inline-block;
    background: white;
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.ajuda-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.ajuda-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    overflow: hidden;
    text-align: left;
    max-width: 520px;
    flex: 1 1 480px;
}

.ajuda-card img {
    width: 45%;
    object-fit: cover;
    height: 100%;
}

.ajuda-card-content {
    padding: 30px;
}

.ajuda-card-content h3 {
    color: #e91e63;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--light);
    padding: 70px 0;
    text-align: center;
    margin-top: 40px;
}

body.dark-mode .newsletter-section {
    background: #1c1c1c;
}

.newsletter-container h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    padding: 14px 18px;
    flex: 1;
    min-width: 250px;
    border-radius: 30px;
    border: 2px solid var(--primary);
    font-size: 1rem;
    outline: none;
    background: white;
}

body.dark-mode .newsletter-form input {
    background: #2b2b2b;
    border-color: #0d7268;
    color: #ddd;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #7b1fa2, #8e24aa);
    color: white;
    padding: 60px 0 30px;
    position: relative;
}

body.dark-mode footer {
    background: linear-gradient(135deg, #311b92, #4527a0);
    color: #ddd;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: inherit;
    text-decoration: none;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-parceiros {
    text-align: center;
    margin: 30px 0;
}

.footer-parceiros img {
    max-width: 250px;
    height: auto;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Botão WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    background-color: #25d366;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn img {
    width: 38px;
    height: 38px;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

.mobile-menu-container {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    z-index: 999;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

body.dark-mode .mobile-menu-container {
    background: #1c1c1c;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
}

.mobile-nav-menu li {
    margin: 10px 0;
}

.mobile-nav-menu a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: var(--text);
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .ajuda-card {
        flex-direction: column;
    }
    
    .ajuda-card img {
        width: 100%;
        height: 200px;
    }
    
    .categories-grid,
    .artigos-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Carrossel */
.carousel-container {
    position: relative;
    padding: 0 50px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Utilitários */
.text-center {
    text-align: center;
}

.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}
/* ===== HEADER ATUALIZADO ===== */

/* Header principal */
header {
    background-color: var(--secondary) !important;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/*.header-container {
    min-height: 80px;
}*/

/* Logo */
.logo {
    max-height: 70px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Menu Desktop */
.nav-menu {
    margin: 0;
    padding: 0;
}

.nav-menu .nav-item {
    list-style: none;
}

.nav-menu .nav-link {
    color: white !important;
    font-weight: bold;
    text-decoration: none;
    padding: 0.5rem 0 !important;
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu .nav-link:hover {
    color: var(--accent) !important;
    transform: translateY(-2px);
}

.nav-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.nav-menu .nav-link:hover::after {
    transform: scaleX(1);
}

/* Botão Menu Mobile */
.mobile-menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    line-height: 1;
    padding: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.mobile-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.mobile-menu-btn:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Offcanvas Mobile */
.offcanvas {
    background-color: var(--light);
    transition: transform 0.3s ease-in-out;
}

body.dark-mode .offcanvas {
    background-color: #2b2b2b;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.dark-mode .offcanvas-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.offcanvas-title a {
    color: inherit;
    text-decoration: none;
}

.offcanvas-title img {
    max-height: 40px;
}

.offcanvas-body .nav {
    gap: 0.5rem;
}

.offcanvas-body .nav-link {
    color: var(--text);
    padding: 0.75rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

body.dark-mode .offcanvas-body .nav-link {
    color: #ddd;
}

.offcanvas-body .nav-link:hover {
    background-color: var(--primary);
    color: white !important;
    transform: translateX(5px);
}

/* Botão Toggle Tema */
.theme-toggle {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(15deg);
}

.theme-toggle:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

#theme-toggle-mobile {
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

#theme-toggle-mobile:hover {
    background-color: var(--primary);
    color: white;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1030;
    background-color: #25d366;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 3px solid white;
}

body.dark-mode .whatsapp-btn {
    border-color: #2b2b2b;
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-btn img {
    width: 32px;
    height: 32px;
}

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 0;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text);
    opacity: 0.5;
    padding: 0 0.5rem;
}

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

.breadcrumb-item a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text);
    opacity: 0.7;
}

/* Responsividade */
@media (max-width: 767.98px) {
    /*.header-container {
        min-height: 70px;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }*/
    
    .logo {
        max-height: 50px;
    }
    
    .mobile-menu-btn {
        font-size: 1.5rem;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn img {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 575.98px) {
    .header-container {
        min-height: 60px;
    }
    
    .logo {
        max-height: 50px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn img {
        width: 24px;
        height: 24px;
    }
}

/* Header scrolled */
header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Acessibilidade */
.nav-link:focus-visible,
.mobile-menu-btn:focus-visible,
.theme-toggle:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Estado ativo para touch devices */
@media (hover: none) and (pointer: coarse) {
    .nav-link:active {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }
    
    .theme-toggle:active {
        transform: scale(0.95);
    }
    
    .mobile-menu-btn:active {
        transform: rotate(90deg);
    }
}

/* Transição para modo escuro */
body.dark-mode header {
    background-color: #222 !important;
}

body.dark-mode .nav-menu .nav-link {
    color: #ddd !important;
}

body.dark-mode .mobile-menu-btn {
    color: #ddd;
}

/* Animações */
@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

header {
    animation: slideInDown 0.3s ease;
}

/* Prevenir scroll quando offcanvas aberto */
body.offcanvas-open {
    overflow: hidden;
}
/* ===== SECÇÃO AJUDA ===== */
.ajuda-section {
    background-color: #ffc107;
    background-image: url('../images/fundo-maos.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: #333;
}

.ajuda-section h2 {
    font-size: 2rem;
    font-weight: 900;
    color: #e91e63;
    margin-bottom: 40px;
    display: inline-block;
    background: white;
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.ajuda-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
}

.ajuda-card:hover {
    transform: translateY(-5px);
}

.ajuda-card-content h3 {
    color: #e91e63;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.ajuda-card-content p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.ajuda-card-content strong {
    font-size: 1.1rem;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
    background: var(--light);
    padding: 70px 0;
    text-align: center;
}

.newsletter-container h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.newsletter-form .form-control {
    border: 2px solid var(--primary);
    border-radius: 30px;
    padding: 12px 20px;
    font-size: 1rem;
}

.newsletter-form .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb, 15, 113, 103), 0.25);
    border-color: var(--primary);
}

.newsletter-form .btn {
    border-radius: 30px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
}

/* Modo escuro */
body.dark-mode .newsletter-section {
    background: #1c1c1c;
}

body.dark-mode .newsletter-form .form-control {
    background: #2b2b2b;
    border-color: var(--primary);
    color: #ddd;
}

/* Responsividade */
@media (max-width: 767.98px) {
    .ajuda-section {
        padding: 60px 0;
    }
    
    .ajuda-card .row {
        flex-direction: column;
    }
    
    .ajuda-card .col-md-6 {
        width: 100%;
    }
    
    .ajuda-card img {
        height: 200px;
        object-fit: cover;
    }
    
    .newsletter-section {
        padding: 50px 0;
    }
}
/* Archive Page */
.page-title {
    color: var(--primary);
    margin-bottom: 1rem;
}

.archive-description {
    color: var(--text);
    font-size: 1.1rem;
}

.artigos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Paginação */
.pagination-wrapper {
    text-align: center;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-wrapper .page-numbers li {
    margin: 0 5px;
}

.pagination-wrapper .page-numbers a,
.pagination-wrapper .page-numbers span {
    display: inline-block;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    min-width: 45px;
}

.pagination-wrapper .page-numbers a:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination-wrapper .page-numbers .current {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination-wrapper .page-numbers .dots {
    background-color: transparent;
    border: none;
    padding-left: 0;
    padding-right: 0;
}

/* Responsividade */
@media (max-width: 767.98px) {
    .artigos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pagination-wrapper .page-numbers a,
    .pagination-wrapper .page-numbers span {
        padding: 8px 12px;
        min-width: 40px;
    }
}
/* =========================================================================
   SINGLE POST STYLES - Vibrações
   ========================================================================= */

/* Breadcrumb */
.breadcrumb-navigation {
    padding: 15px 0;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text);
}

/* Post Hero */
.post-hero {
    background-size: cover !important;
    background-position: center !important;
    color: white;
    padding: 80px 0 40px;
    margin-bottom: 50px;
    position: relative;
}

.post-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.post-category-badge {
    margin-bottom: 20px;
}

.category-tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.post-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: white;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 25px;
}

.author-avatar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar img {
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.author-name {
    font-size: 1rem;
}

.meta-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.meta-details span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.meta-details i {
    font-size: 1rem;
}

/* Post Content */
.post-content-wrapper {
    padding: 40px 0;
}

.single-post-article {
    background: var(--card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    padding: 40px;
    margin-bottom: 40px;
}

.featured-image-container {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.featured-image-container:hover .featured-image {
    transform: scale(1.02);
}

.image-caption {
    text-align: center;
    font-style: italic;
    color: #666;
    padding: 10px;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 20px;
}

.entry-content h2 {
    font-size: 1.8rem;
}

.entry-content h3 {
    font-size: 1.5rem;
}

.entry-content p {
    margin-bottom: 25px;
}

.entry-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 30px;
    margin: 40px 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--dark);
    background: var(--light);
    padding: 30px;
    border-radius: 0 10px 10px 0;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 25px;
    padding-left: 30px;
}

.entry-content li {
    margin-bottom: 10px;
}

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

.entry-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.entry-content a:hover {
    border-bottom-color: var(--primary);
}

/* Tags */
.post-tags {
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 40px 0;
}

.tags-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.tag-item {
    display: inline-block;
    background: var(--light);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.tag-item:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    border-color: var(--primary);
}

.tag-item span {
    color: var(--primary);
    margin-right: 3px;
}

.tag-item:hover span {
    color: white;
}

/* =========================================================================
   SOCIAL SHARE BUTTONS - LADO A LADO
   ========================================================================= */

.social-share-section {
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 40px 0;
}

.share-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* GRID PARA OS BOTÕES - FICA LADO A LADO */
.social-share-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    width: 100%;
}

/* Estilo para cada botão de compartilhamento */
.social-share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    min-height: 80px;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

/* Efeito hover mais suave */
.social-share-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Efeito de brilho no hover */
.social-share-btn::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: 0.5s;
}

.social-share-btn:hover::before {
    left: 100%;
}

/* Ícones */
.social-share-btn i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

/* Texto abaixo do ícone */
.share-label {
    font-size: 0.75rem;
    font-weight: 500;
    display: block;
    line-height: 1.2;
}

/* Cores específicas para cada plataforma */
.share-facebook { background-color: #3b5998 !important; }
.share-twitter { background-color: #1da1f2 !important; }
.share-whatsapp { background-color: #25d366 !important; }
.share-linkedin { background-color: #0077b5 !important; }
.share-pinterest { background-color: #bd081c !important; }
.share-email { background-color: #666666 !important; }

/* Efeitos hover específicos */
.share-facebook:hover { background-color: #2d4373 !important; }
.share-twitter:hover { background-color: #0c85d0 !important; }
.share-whatsapp:hover { background-color: #1da851 !important; }
.share-linkedin:hover { background-color: #005582 !important; }
.share-pinterest:hover { background-color: #9c0716 !important; }
.share-email:hover { background-color: #4d4d4d !important; }

/* Responsividade - Reduz para 3 por linha em mobile */
@media (max-width: 768px) {
    .social-share-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .social-share-btn {
        padding: 12px 8px;
        min-height: 70px;
    }
    
    .social-share-btn i {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }
    
    .share-label {
        font-size: 0.7rem;
    }
}

/* Responsividade - 2 por linha em telas muito pequenas */
@media (max-width: 480px) {
    .social-share-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .social-share-btn {
        min-height: 65px;
        padding: 10px 6px;
    }
}

/* Versão alternativa - Linha horizontal sem grid */
.social-share-horizontal {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f5f5f5;
}

.social-share-horizontal::-webkit-scrollbar {
    height: 6px;
}

.social-share-horizontal::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px;
}

.social-share-horizontal::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.social-share-horizontal .social-share-btn {
    flex: 0 0 auto;
    min-width: 90px;
    padding: 12px 8px;
}

/* Para modo escuro */
body.dark-mode .social-share-section {
    border-color: #444;
}

body.dark-mode .share-title {
    color: #eee;
}

body.dark-mode .social-share-horizontal::-webkit-scrollbar-track {
    background: #333;
}

body.dark-mode .social-share-horizontal::-webkit-scrollbar-thumb {
    background: #555;
}

/* Animação de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-share-grid,
.social-share-horizontal {
    animation: fadeInUp 0.5s ease-out;
}

/* Tooltip para mostrar o nome da rede ao passar mouse */
.social-share-btn {
    position: relative;
}

.social-share-btn .tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    pointer-events: none;
    z-index: 100;
}

.social-share-btn .tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

.social-share-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Alternativa: layout em linha com rotação */
.social-share-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.social-share-inline .social-share-btn {
    flex: 0 0 auto;
    flex-direction: row;
    padding: 10px 15px;
    min-height: auto;
    border-radius: 25px;
    gap: 8px;
}

.social-share-inline .social-share-btn i {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.social-share-inline .share-label {
    font-size: 0.85rem;
}
/* Author Box */
.author-box {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: var(--light);
    border-radius: 15px;
    margin: 40px 0;
    align-items: center;
}

.author-avatar-large img {
    border-radius: 50%;
    border: 3px solid var(--primary);
    width: 100px;
    height: 100px;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.author-name a {
    color: inherit;
    text-decoration: none;
}

.author-name a:hover {
    color: var(--primary);
}

.author-bio {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 15px;
}

.author-social {
    display: flex;
    gap: 15px;
}

.author-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.author-social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Post Navigation */
.post-navigation {
    padding: 40px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 40px 0;
}

.nav-post {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 100px;
}

.nav-post:hover {
    background: var(--light);
    transform: translateX(5px);
}

.nav-post.prev-post {
    text-align: left;
}

.nav-post.next-post {
    text-align: right;
    flex-direction: row-reverse;
}

.nav-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0 20px;
}

.nav-content {
    flex: 1;
}

.nav-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-title {
    font-size: 1.1rem;
    color: var(--dark);
    margin: 0;
    line-height: 1.4;
}

/* Related Posts */
.related-posts {
    margin: 60px 0;
}

.related-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.related-post-card {
    background: var(--card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.related-post-image {
    display: block;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.related-post-title a {
    color: inherit;
    text-decoration: none;
}

.related-post-title a:hover {
    color: var(--primary);
}

.related-post-meta {
    font-size: 0.85rem;
    color: #666;
}

/* Sidebar */
.sidebar {
    padding-left: 30px;
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--card);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    background-color: #ffffff;
    border-top: 4px solid var(--primary);
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Newsletter Widget */
.newsletter-widget p {
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 30px;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--primary);
    outline: none;
}

.newsletter-form .btn {
    width: 100%;
    padding: 12px;
    border-radius: 30px;
}

/* Categories Widget */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.categories-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.categories-list a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.category-name {
    flex: 1;
}

.category-count {
    background: var(--light);
    color: var(--text);
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 0.8rem;
}

.categories-list a:hover .category-count {
    background: var(--primary);
    color: white;
}

/* Popular Posts */
.popular-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popular-post-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.popular-post-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

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

.popular-post-item:hover .popular-post-image img {
    transform: scale(1.1);
}

.popular-post-content {
    flex: 1;
}

.popular-post-title {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.popular-post-title a {
    color: var(--dark);
    text-decoration: none;
}

.popular-post-title a:hover {
    color: var(--primary);
}

.popular-post-meta {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    gap: 10px;
}

/* Tags Widget */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud-item {
    display: inline-block;
    padding: 5px 12px;
    background: var(--light);
    color: var(--text);
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.tag-cloud-item:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Comments */
.comments-area {
    margin-top: 60px;
}

.comments-title,
.comment-reply-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--dark);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.comment {
    background: var(--card);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

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

.comment-author img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.comment-author .fn {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 600;
}

.comment-metadata {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

.comment-content {
    color: var(--text);
    line-height: 1.7;
}

.comment-reply-link {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.comment-reply-link:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.comment-form {
    background: var(--card);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.comment-form .submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form .submit:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* Dark Mode */
body.dark-mode .single-post-article,
body.dark-mode .sidebar-widget,
body.dark-mode .related-post-card,
body.dark-mode .comment,
body.dark-mode .comment-form {
    background: #2b2b2b;
    color: #ddd;
}

body.dark-mode .post-tags,
body.dark-mode .social-share-section,
body.dark-mode .post-navigation {
    border-color: #444;
}

body.dark-mode .category-tag {
    color: white;
}

body.dark-mode .nav-label {
    color: #aaa;
}

body.dark-mode .nav-title {
    color: #eee;
}

body.dark-mode .tags-title,
body.dark-mode .share-title,
body.dark-mode .related-title,
body.dark-mode .widget-title {
    color: #eee;
}

body.dark-mode .author-box {
    background: #333;
}

body.dark-mode .tag-item,
body.dark-mode .tag-cloud-item {
    background: #333;
    color: #ddd;
    border-color: #444;
}

body.dark-mode .tag-item:hover,
body.dark-mode .tag-cloud-item:hover {
    background: var(--primary);
    color: white;
}

body.dark-mode .author-social-link {
    background: #333;
    color: #ddd;
}

body.dark-mode .newsletter-form input,
body.dark-mode .comment-form input,
body.dark-mode .comment-form textarea {
    background: #333;
    border-color: #444;
    color: #ddd;
}

body.dark-mode .categories-list a {
    color: #ddd;
}

body.dark-mode .category-count {
    background: #333;
    color: #ddd;
}

body.dark-mode .popular-post-title a {
    color: #ddd;
}

/* Responsividade */
@media (max-width: 992px) {
    .post-title {
        font-size: 2.2rem;
    }
    
    .sidebar {
        padding-left: 0;
        margin-top: 50px;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .meta-details {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .post-hero {
        padding: 60px 0 30px;
    }
    
    .post-title {
        font-size: 1.8rem;
    }
    
    .single-post-article {
        padding: 25px;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .nav-post {
        padding: 15px;
    }
    
    .nav-title {
        font-size: 1rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .post-title {
        font-size: 1.5rem;
    }
    
    .meta-details {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .entry-content {
        font-size: 1rem;
    }
    
    .social-share-buttons {
        justify-content: center;
    }
    
    .tags-list {
        justify-content: center;
    }
}
.categories-list-container {
    padding: 50px 0;
}

.categories-list-container .category-card {
    background-color: var(--card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.categories-list-container .category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.categories-list-container .category-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.categories-list-container .category-content {
    padding: 25px;
}

.categories-list-container .category-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.categories-list-container .category-content p {
    margin-bottom: 15px;
    color: var(--text);
}

.categories-list-container .category-count {
    display: inline-block;
    background: var(--light);
    color: var(--text);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.categories-list-container .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.categories-list-container .btn:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
}