/*
Theme Name: Amixel Cloud
Description: Tema WordPress para empresa de cloud computing e VPS baseado no layout Amixel
Version: 1.0
Author: Amixel Team
*/

:root {
    --primary-color: #003d7a;
    --secondary-color: #0056b3;
    --accent-color: #007bff;
    --dark-bg: #0a0e27;
    --gradient-primary: linear-gradient(135deg, #003d7a 0%, #0056b3 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: #f8f9fa;
    padding-top: 0 !important; /* Garante que não há padding do body que interfira */
    max-width: 100vw;
    width: 100%;
}

/* Prevenir scroll horizontal globalmente */
html {
    overflow-x: hidden;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
}

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
    z-index: 9999 !important; /* Garante que o navbar fique sempre no topo */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    min-height: 70px; /* Altura mínima do navbar */
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    text-decoration: none;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Navbar Toggler (Hamburger Menu) */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    background: transparent;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    display: none; /* Escondido por padrão */
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler:hover {
    background: rgba(0, 0, 0, 0.1);
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

/* Forçar exibição do botão hambúrguer em telas pequenas */
@media (max-width: 991.98px) {
    .navbar-toggler {
        display: block !important;
    }
}

/* Menu collapse animation */
.navbar-collapse {
    transition: all 0.3s ease;
}

/* Mobile menu styles */
@media (max-width: 991.98px) {
    /* Prevenir scroll horizontal */
    body {
        overflow-x: hidden;
    }
    
    .navbar {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar .container {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }
    
    .navbar-toggler {
        display: block !important;
        border: 2px solid var(--primary-color);
        background: white;
        padding: 0.4rem 0.6rem;
        border-radius: 8px;
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(0, 61, 122, 0.25);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23003d7a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        width: 1.2em;
        height: 1.2em;
    }
    
    .navbar-collapse {
        background: white;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        padding: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 0;
        width: 100%;
    }
    
    .nav-item {
        margin: 0.5rem 0;
        width: 100%;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        color: var(--primary-color) !important;
        font-weight: 600;
        display: block;
        width: 100%;
    }
    
    .nav-link:hover {
        color: var(--accent-color) !important;
        background: rgba(0, 123, 255, 0.1);
        border-radius: 5px;
    }
    
    .navbar-nav .ms-3 {
        margin-left: 0 !important;
        margin-top: 1rem;
        width: 100%;
    }
    
    .navbar-nav .btn {
        width: 100%;
        margin-top: 0.5rem;
        max-width: 100%;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(165deg, var(--dark-bg) 0%, var(--primary-color) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px; /* Espaço para navbar fixo */
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.btn-primary-custom {
    background: white;
    color: var(--primary-color);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
    background: #f8f9fa;
    color: var(--primary-color);
}

.btn-outline-custom {
    color: white;
    border: 2px solid white;
    padding: 13px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: transparent;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: white;
}

.feature-card {
    padding: 40px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 30px;
    color: white;
}

/* Pricing Cards */
.pricing-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.pricing-card.featured {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge-popular {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent-color);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: 600;
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 20px 0;
}

.price small {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    color: white;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.stat-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin: 20px 0;
}

.testimonial-card .stars {
    color: #ffc107;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 60px 0 30px;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px; /* Mais espaço no mobile para navbar */
        min-height: calc(100vh - 20px); /* Ajuste para altura total */
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Mobile específico para telas muito pequenas */
@media (max-width: 480px) {
    /* Garantir que não há overflow horizontal */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .navbar {
        min-height: 80px; /* Altura maior no mobile */
        padding: 0.5rem 10px;
        width: 100%;
        max-width: 100vw;
    }
    
    .navbar .container {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
        max-width: calc(100% - 60px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .navbar-toggler {
        padding: 0.3rem 0.5rem;
        font-size: 0.9rem;
        min-width: 44px;
        height: 44px;
    }
    
    .navbar-toggler-icon {
        width: 1em;
        height: 1em;
    }
    
    .navbar-collapse {
        margin-top: 0.5rem;
        padding: 0.8rem;
        width: 100%;
        max-width: 100%;
    }
    
    .nav-link {
        font-size: 0.95rem;
        padding: 0.6rem 0.8rem;
    }
    
    .hero-section {
        padding-top: 120px; /* Ainda mais espaço para smartphones */
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        word-wrap: break-word;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        word-wrap: break-word;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
        max-width: 100%;
    }
}

/* Botão Fixo para Planos */
.fixed-plans-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fixed-plans-button.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.btn-plans-fixed {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 6px 25px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-plans-fixed::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;
}

.btn-plans-fixed:hover::before {
    left: 100%;
}

.btn-plans-fixed:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.6);
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
}

.btn-plans-fixed:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-plans-fixed i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-plans-fixed:hover i {
    transform: scale(1.2) rotate(15deg);
}

.btn-plans-fixed span {
    white-space: nowrap;
    font-weight: 800;
}

/* Animação de pulso mais chamativa */
@keyframes call-to-action-pulse {
    0% {
        box-shadow: 0 6px 25px rgba(40, 167, 69, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 35px rgba(40, 167, 69, 0.7);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 6px 25px rgba(40, 167, 69, 0.4);
        transform: scale(1);
    }
}

.btn-plans-fixed.pulse {
    animation: call-to-action-pulse 2s infinite;
}

/* Responsive para mobile */
@media (max-width: 768px) {
    .fixed-plans-button {
        bottom: 15px;
        left: 15px;
    }
    
    .btn-plans-fixed {
        padding: 12px 18px;
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .btn-plans-fixed span {
        font-size: 0.8rem;
    }
    
    .btn-plans-fixed i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .fixed-plans-button {
        bottom: 10px;
        left: 10px;
    }
    
    .btn-plans-fixed {
        padding: 10px 16px;
        font-size: 0.75rem;
        gap: 6px;
    }
    
    .btn-plans-fixed span {
        font-size: 0.7rem;
    }
    
    .btn-plans-fixed i {
        font-size: 0.9rem;
    }
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

/* WordPress specific styles */
.wp-block-group {
    margin-bottom: 0;
}

.wp-block-columns {
    margin-bottom: 0;
}

/* Customizer styles */
.customize-partial-edit-shortcut {
    display: none;
}

/* Self-Hosted Apps Section Styles */
.app-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.app-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.app-card:hover .app-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 61, 122, 0.3);
}

.app-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.app-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tag {
    background: #f8f9fa;
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.app-card:hover .tag {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.app-benefits {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-top: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1rem;
}

.benefit-item i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.benefit-item h6 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.benefit-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive adjustments for apps section */
@media (max-width: 768px) {
    .app-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .app-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .app-benefits {
        padding: 2rem 1rem;
    }
    
    .benefit-item {
        margin-bottom: 2rem;
    }
}

/* Migration Section Styles */
.migration-content {
    padding: 2rem 0;
}

.migration-benefits {
    margin-top: 2rem;
}

.benefit-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.benefit-row:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 1.2rem;
    color: white;
}

.benefit-text h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.benefit-text p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.migration-process {
    padding: 2rem 0;
}

.process-steps {
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.step:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content h6 {
    color: white;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.migration-cta {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.migration-cta h4 {
    font-size: 1.8rem;
    font-weight: 700;
}

.migration-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Responsive adjustments for migration section */
@media (max-width: 768px) {
    .benefit-row {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .benefit-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .migration-cta {
        padding: 2rem 1rem;
    }
    
    .migration-cta h4 {
        font-size: 1.5rem;
    }
    
    .migration-cta .d-flex {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .migration-cta .btn {
        width: 100%;
    }
}

/* ========================================
   SINGLE POST & PAGE - NOVO DESIGN LIMPO
======================================== */

/* Hero Section */
.amixel-page-hero,
.amixel-post-hero {
    background: linear-gradient(135deg, #003d7a 0%, #0056b3 100%);
    padding-top: 180px !important; /* Espaço para navbar fixo Bootstrap + padding */
    padding-bottom: 60px;
    margin-top: 0 !important;
    color: white;
    position: relative;
}

.amixel-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.amixel-breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.amixel-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.amixel-breadcrumb a:hover {
    opacity: 0.7;
}

.amixel-breadcrumb span {
    margin: 0 8px;
}

.amixel-page-hero h1,
.amixel-post-hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    color: white;
}

.amixel-post-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.amixel-post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.amixel-post-meta i {
    opacity: 0.8;
}

/* Content Section */
.amixel-page-content,
.amixel-post-content {
    padding: 60px 0;
    background: #f8f9fa;
}

.amixel-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.amixel-featured-img {
    width: 100%;
    overflow: hidden;
}

.amixel-featured-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.amixel-content {
    padding: 50px;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.amixel-content h1,
.amixel-content h2,
.amixel-content h3,
.amixel-content h4 {
    color: #003d7a;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.amixel-content h2 {
    font-size: 32px;
    border-bottom: 3px solid #e9ecef;
    padding-bottom: 10px;
}

.amixel-content h3 {
    font-size: 24px;
}

.amixel-content p {
    margin-bottom: 20px;
}

.amixel-content ul,
.amixel-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.amixel-content li {
    margin-bottom: 10px;
}

.amixel-content a {
    color: #007bff;
    text-decoration: underline;
}

.amixel-content a:hover {
    color: #0056b3;
}

.amixel-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.amixel-content blockquote {
    border-left: 4px solid #007bff;
    background: #f8f9fa;
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
}

/* Post Footer */
.amixel-post-footer {
    padding: 30px 50px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.amixel-terms {
    display: flex;
    align-items: center;
    gap: 10px;
}

.amixel-terms strong {
    color: #003d7a;
}

.amixel-terms i {
    color: #007bff;
}

.amixel-terms a {
    color: #007bff;
    text-decoration: none;
}

.amixel-terms a:hover {
    text-decoration: underline;
}

/* Post Navigation */
.amixel-post-nav {
    padding: 30px 50px;
    background: #f8f9fa;
}

.amixel-post-nav .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.amixel-post-nav a {
    flex: 1;
    padding: 20px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.amixel-post-nav a:hover {
    border-color: #007bff;
    transform: translateY(-2px);
}

.amixel-post-nav .nav-subtitle {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.amixel-post-nav .nav-title {
    display: block;
    font-weight: 700;
    color: #003d7a;
}

/* Comments */
.amixel-comments {
    padding: 50px;
    border-top: 1px solid #e9ecef;
}

/* Pagination */
.amixel-pagination {
    display: flex;
    gap: 10px;
    margin: 30px 0;
}

.amixel-pagination a,
.amixel-pagination span {
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 4px;
    text-decoration: none;
    color: #003d7a;
}

.amixel-pagination a:hover {
    background: #007bff;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .amixel-page-hero,
    .amixel-post-hero {
        padding-top: 120px; /* Espaço para navbar em mobile */
        padding-bottom: 40px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .amixel-page-hero h1,
    .amixel-post-hero h1 {
        font-size: 32px;
    }
    
    .amixel-post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .amixel-content {
        padding: 30px 20px;
        font-size: 16px;
    }
    
    .amixel-content h2 {
        font-size: 24px;
    }
    
    .amixel-featured-img img {
        height: 250px;
    }
    
    .amixel-post-footer {
        padding: 20px;
        flex-direction: column;
    }
    
    .amixel-post-nav {
        padding: 20px;
    }
    
    .amixel-post-nav .nav-links {
        flex-direction: column;
    }
    
    .amixel-comments {
        padding: 30px 20px;
    }
}

/* OLD STYLES BELOW (KEEP FOR BACKWARDS COMPATIBILITY) */
/* Single Post and Page Styles */
.single-hero, .page-hero {
    background: linear-gradient(135deg, #003d7a 0%, #0056b3 100%);
    color: white;
    padding: 8rem 0 5rem 0; /* Espaço para header fixo */
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.single-hero-decoration, .page-hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.decoration-circle:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.decoration-circle:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
}

.single-breadcrumb, .page-breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.single-breadcrumb a, .page-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.single-breadcrumb a:hover, .page-breadcrumb a:hover {
    opacity: 0.7;
}

.single-breadcrumb .separator, .page-breadcrumb .separator {
    margin: 0 0.5rem;
    opacity: 0.6;
}

.single-hero-content, .page-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.single-title, .page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-excerpt {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
    line-height: 1.6;
}

.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.meta-item i {
    color: white;
    font-size: 1.1rem;
}

.single-content, .page-content {
    padding: 4rem 0;
    background: #f8f9fa;
}

.single-article, .page-article {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 3rem;
}

.single-featured-image, .page-featured-image {
    margin: 0;
    overflow: hidden;
    position: relative;
}

.single-featured-image::after, .page-featured-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, white, transparent);
    pointer-events: none;
}

.single-featured-image img, .page-featured-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.single-featured-image:hover img, .page-featured-image:hover img {
    transform: scale(1.05);
}

.single-body, .page-body {
    padding: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.single-body h1, .single-body h2, .single-body h3, .single-body h4, .single-body h5, .single-body h6,
.page-body h1, .page-body h2, .page-body h3, .page-body h4, .page-body h5, .page-body h6 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.single-body h2, .page-body h2 {
    font-size: 2rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.single-body h3, .page-body h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.single-body p, .page-body p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.single-body ul, .single-body ol, .page-body ul, .page-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.single-body li, .page-body li {
    margin-bottom: 0.5rem;
}

.single-body blockquote, .page-body blockquote {
    border-left: 4px solid var(--accent-color);
    background: #f8f9fa;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.single-body img, .page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.single-body a, .page-body a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.single-body a:hover, .page-body a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.single-footer {
    padding: 2rem 3rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.post-categories h6, .post-tags h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.categories-list, .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.categories-list a, .tags-list a {
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.categories-list a:hover, .tags-list a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    color: white;
}

/* Author Box */
.author-box {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem 0;
    border: 1px solid #dee2e6;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.author-info {
    flex: 1;
}

.author-name {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.author-bio {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Post Navigation */
.post-navigation {
    margin: 3rem 0;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.nav-post {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 2px solid transparent;
}

.nav-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
    text-decoration: none;
    color: inherit;
}

.nav-post i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.nav-previous {
    justify-content: flex-start;
}

.nav-next {
    justify-content: flex-end;
}

.nav-content {
    display: flex;
    flex-direction: column;
}

.nav-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.nav-title {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1.3;
}

.comments-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 3rem;
    margin-top: 3rem;
}

/* Page Links */
.page-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.page-links-title {
    font-weight: 700;
    color: var(--primary-color);
}

.page-links span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 5px;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.page-links a span:hover {
    background: var(--accent-color);
    color: white;
}

/* Responsive adjustments for single and page */
@media (max-width: 768px) {
    .single-hero, .page-hero {
        padding: 6rem 0 3rem 0;
    }
    
    .decoration-circle {
        display: none;
    }
    
    .single-title, .page-title {
        font-size: 2rem;
    }
    
    .single-meta {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    .meta-item {
        justify-content: center;
        font-size: 0.85rem;
    }
    
    .single-body, .page-body {
        padding: 2rem 1.5rem;
        font-size: 1rem;
    }
    
    .single-body h2, .page-body h2 {
        font-size: 1.5rem;
    }
    
    .single-footer {
        padding: 1.5rem;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .post-navigation .nav-links {
        flex-direction: column;
    }
    
    .nav-post {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .nav-next {
        flex-direction: column-reverse;
    }
    
    .comments-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .single-featured-image img, .page-featured-image img {
        height: 250px;
    }
    
    .single-breadcrumb, .page-breadcrumb {
        font-size: 0.8rem;
    }
}