/* ============================================
   NOFIS BLOG - Identidade Visual SaaS Moderna
   ============================================ */

/* ============================================
   CORREÇÃO GLOBAL: Remover text-transform capitalize
   Sobrescreve todas as regras do style.css
   ============================================ */
body,
body *,
body *::before,
body *::after {
    text-transform: none !important;
}

body p:first-letter,
body h1:first-letter,
body h2:first-letter,
body h3:first-letter,
body h4:first-letter,
body h5:first-letter,
body h6:first-letter,
p:first-letter,
h1:first-letter,
h2:first-letter,
h3:first-letter,
h4:first-letter,
h5:first-letter,
h6:first-letter {
    text-transform: none !important;
}

/* Variáveis de Cores - Modernize Vue.js AdminMart Style */
:root {
    --color-primary: #4E75FF;
    --color-primary-dark: #3D5CE6;
    --color-primary-light: #6B8AFF;
    --color-primary-soft: #EEF2FF;
    --color-secondary: #49BEFF;
    --color-success: #13DEB9;
    --color-warning: #FFAE1F;
    --color-error: #FA896B;
    --color-info: #539BFF;
    --color-text-primary: #2A3547;
    --color-text-secondary: #5A6A85;
    --color-text-muted: #8492A6;
    --color-border: #E5EAEF;
    --color-bg: #FFFFFF;
    --color-surface: #FFFFFF;
    --color-white: #FFFFFF;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-text-primary);
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 50%, #F1F5F9 100%);
    background-attachment: fixed;
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 120px; /* altura do header (100px) + espaçamento (20px) */
    font-weight: 400;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(78, 117, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(78, 117, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    body {
        padding-top: 90px; /* altura do header mobile (70px) + espaçamento (20px) */
    }
}

/* Tipografia - Modernize Style */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.4;
    margin-bottom: 1rem;
    text-transform: none !important;
}

h1:first-letter,
h2:first-letter,
h3:first-letter,
h4:first-letter,
h5:first-letter,
h6:first-letter {
    text-transform: none !important;
}

h1 {
    font-size: 36px;
    font-weight: 600;
}

h2 {
    font-size: 28px;
    font-weight: 600;
}

h3 {
    font-size: 22px;
    font-weight: 600;
}

h4 {
    font-size: 18px;
    font-weight: 600;
}

h5 {
    font-size: 16px;
    font-weight: 600;
}

p {
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

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

a:hover {
    color: var(--color-primary-dark);
}

/* Container e Layout */
.container-fluid {
    max-width: 1364px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 0 20px;
    }
}

/* ============================================
   HEADER - Modernize Style
   ============================================ */
.header {
    background: #2A3547 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    padding: 0;
    height: auto !important;
    min-height: 80px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
    position: relative;
}

/*.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4E75FF 0%, #6B8AFF 50%, #4E75FF 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}*/

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

.header.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

/*.header-area {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: space-between;*/
/*    height: 80px;*/
/*    padding: 0 32px;*/
/*    position: relative;*/
/*    z-index: 1;*/
/*}*/

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 6px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Header sempre dark - sempre mostrar logo claro */
.logo .logo-dark {
    display: none !important;
}

.logo .logo-white {
    display: block !important;
    max-height: 32px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: filter 0.3s ease;
}

.logo img {
    max-height: 32px;
    width: auto;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: filter 0.3s ease;
}

.logo:hover .logo-white,
.logo:hover img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.logo a {
    font-size: 0;
    line-height: 1;
}

.logo a img {
    vertical-align: middle;
}

.logo a::after {
    content: "Blog";
    font-size: 24px;
    font-weight: 550;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
    color: #2A3547;
    display: inline-block;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    vertical-align: middle;
}

.logo:hover a::after {
    color: var(--color-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.search-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(78, 117, 255, 0.15) !important;
    border: 2px solid rgba(78, 117, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    position: relative;
    overflow: hidden;
}

.search-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 18px;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9) !important;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.search-icon:hover {
    background: linear-gradient(135deg, #4E75FF 0%, #6B8AFF 100%);
    color: #FFFFFF;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(78, 117, 255, 0.4);
    border-color: #4E75FF;
}


.btn-subscribe {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 11px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    border: none;
    min-width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-subscribe:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

@media (max-width: 991px) {
    .no-mobile {
        display: none !important;
    }
}

.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

/* ============================================
   HERO SECTION - Modernize Style
   ============================================ */
.blog-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: 40px 0 50px;
    margin-bottom: 30px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

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

.blog-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 24px;
}

.blog-hero h1 {
    font-size: 48px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-transform: none !important;
}

.blog-hero h1:first-letter {
    text-transform: none !important;
}

.blog-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 1.7;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   CATEGORIES SECTION - Modernize Style
   ============================================ */
.categories {
    margin-bottom: 60px;
    padding: 0;
}

.categories-area {
    padding: 0;
}

.categories-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    min-width: 200px;
    flex: 0 1 auto;
    cursor: pointer;
}

.category-item::before {
    display: none;
}

.category-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    background: var(--color-primary-soft);
}

.category-item .image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
    background: var(--color-primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.category-item:hover .image {
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.category-item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-item p {
    margin: 0;
    font-weight: 500;
    color: var(--color-text-primary);
    font-size: 15px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: space-between;
}

.category-item:hover p {
    color: var(--color-text-primary);
}

.category-item p span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 10px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 13px;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-sm);
}

.category-item:hover p span {
    background: var(--color-primary-dark);
    transform: scale(1.1);
}

/* ============================================
   POST CARDS - Modernize Style
   ============================================ */
.section-feature-1 {
    padding: 60px 0 100px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFC 100%);
    position: relative;
}

.section-feature-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(78, 117, 255, 0.08) 0%, transparent 100%);
    pointer-events: none;
}

.section-title {
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 24px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 2px;
}

.section-title h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-primary);
    letter-spacing: -0.01em;
    line-height: 1.3;
    text-transform: none !important;
}

.section-title h3:first-letter {
    text-transform: none !important;
}

.section-title p {
    color: var(--color-text-secondary);
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
}

.post-card {
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFC 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.post-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.post-card:hover::after {
    opacity: 1;
}

/* Espaçamento específico para posts em grid - Artigos Recentes */
.theiaStickySidebar .row .col-lg-6,
.theiaStickySidebar .row .col-md-6 {
    margin-bottom: 50px !important;
}

/* Garantir espaçamento nas colunas com post-card */
.col-lg-6 .post-card,
.col-md-6 .post-card {
    margin-bottom: 0;
}

/* Classe mb-6 customizada para garantir espaçamento */
.mb-6 {
    margin-bottom: 50px !important;
}

.post-card:hover {
    box-shadow: 0 12px 40px rgba(78, 117, 255, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.post-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--color-primary-soft) 0%, #F0F4FF 100%);
}

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

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

.post-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-card-category {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
    text-decoration: none;
    width: fit-content;
    transition: all 0.3s ease;
}

.post-card-category:hover {
    background: #4E75FF !important;
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 117, 255, 0.4);
}

.post-card-title {
    margin-bottom: 12px;
}

.post-card-title h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    letter-spacing: -0.01em;
    text-transform: none !important;
}

.post-card-title h3:first-letter {
    text-transform: none !important;
}

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

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

.post-card-excerpt {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--color-text-secondary);
    padding-top: 16px;
    border-top: 1px solid var(--color-divider);
    margin-top: auto;
}

.post-card-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-card-meta-item img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.post-card-date {
    color: var(--color-text-secondary);
    font-weight: 400;
}

.post-card-link {
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.post-card-link:hover {
    color: var(--color-primary-dark);
    gap: 12px;
}

/* Post List Style (para páginas de categoria/busca) */
.post-list-modern {
    background: var(--color-surface);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    display: flex;
    gap: 24px;
    transition: all 0.3s ease;
}

.post-list-modern:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--color-primary);
}

.post-list-modern-image {
    width: 280px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-primary-soft);
}

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

.post-list-modern:hover .post-list-modern-image img {
    transform: scale(1.08);
}

.post-list-modern-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-list-modern-category {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
    width: fit-content;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-list-modern-category:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-1px);
}

.post-list-modern-title h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    text-transform: none !important;
}

.post-list-modern-title h3:first-letter {
    text-transform: none !important;
}

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

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

.post-list-modern-excerpt {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
    flex-grow: 1;
}

.post-list-modern-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--color-text-secondary);
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}

.post-list-modern-link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.post-list-modern-link:hover {
    gap: 12px;
    color: #3d5ce6;
}

/* ============================================
   SIDEBAR
   ============================================ */
/*.oredoo-sidebar {*/
/*    padding-left: 48px;*/
/*}*/

.widget {
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFC 100%);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.widget::before {
    display: none;
}

.widget:hover {
    box-shadow: 0 8px 30px rgba(78, 117, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.widget-title {
    margin-bottom: 24px;
    padding-bottom: 6px;
    border-bottom: 3px solid var(--color-primary);
    position: relative;
}

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

.widget-title h5 {
    font-size: 19px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
    letter-spacing: -0.01em;
    text-transform: none !important;
}

/* Sidebar Search */
.widget-search form {
    display: flex;
    gap: 0;
    position: relative;
}

.widget-search input {
    flex: 1;
    padding: 12px 48px 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    height: 44px;
    line-height: 1.5;
    background: var(--color-surface);
    color: var(--color-text-primary);
}

.widget-search input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.widget-search .btn-submit {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 0;
    width: 44px;
    height: 44px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.widget-search .btn-submit:hover {
    background: var(--color-primary-dark);
}

.widget-search .btn-submit i {
    font-size: 18px;
    line-height: 1;
}

/* Sidebar Categories - Padrão Modernize */
.widget-categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.widget-categories .category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(90deg, #FFFFFF 0%, #FAFBFC 100%);
    border: 2px solid var(--color-border);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.widget-categories .category-item::before {
    display: none;
}

.widget-categories .category-item:hover {
    background: linear-gradient(90deg, var(--color-primary-soft) 0%, #F0F4FF 100%);
    transform: translateX(0);
    box-shadow: 0 4px 12px rgba(78, 117, 255, 0.15);
}

.widget-categories .category-item .image {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.widget-categories .category-item:hover .image {
    border-color: var(--color-border);
}

.widget-categories .category-item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-categories .category-item p {
    margin: 0;
    font-weight: 500;
    color: var(--color-text-primary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: space-between;
}

.widget-categories .category-item p span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 12px;
    font-weight: 600;
    font-size: 11px;
    line-height: 1;
    transition: all 0.3s ease;
}

.widget-categories .category-item:hover p span {
    background: var(--color-primary-dark);
}

/* Popular Posts */
.widget-popular-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.small-post {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.small-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.small-post-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background: var(--color-primary-soft);
    border: 1px solid var(--color-border);
}

.small-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sobrescreve regras do style.css para padronizar formato do contador */
.widget-popular-posts .small-post .small-post-image .nb,
.widget-popular-posts .small-post .nb,
.small-post-image .nb {
    position: absolute !important;
    top: 4px !important;
    left: 4px !important;
    background: var(--color-primary-dark) !important;
    color: var(--color-white) !important;
    min-width: 24px !important;
    width: auto !important;
    height: 24px !important;
    padding: 0 8px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all 0.3s ease !important;
    content: none !important;
    text-align: center !important;
    z-index: 9 !important;
}

.widget-popular-posts .small-post:hover .small-post-image .nb,
.widget-popular-posts .small-post:hover .nb,
.small-post:hover .small-post-image .nb {
    background: #475569 !important;
}

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

.small-post-content p {
    margin: 0 0 6px 0;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Sobrescreve regras do style.css para padronizar fonte */
.widget-popular-posts .small-post .small-post-content p,
.small-post-content p {
    font-size: 14px !important;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    margin-bottom: 6px !important;
}

.widget-popular-posts .small-post .small-post-content p a,
.small-post-content p a,
.small-post-content a {
    color: var(--color-text-primary) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    display: inline !important;
    background-image: none !important;
    margin-bottom: 0 !important;
}

.widget-popular-posts .small-post .small-post-content p a:hover,
.small-post-content p a:hover,
.small-post-content a:hover {
    color: var(--color-primary) !important;
    background-size: 0% 100% !important;
}

.small-post-content small {
    color: var(--color-text-muted);
    font-size: 12px;
    font-weight: 400;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Tags */
.widget-tags ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Estilo de botão para tags */
.widget-tags ul li,
.widget-tags li {
    display: inline-block !important;
    margin: 0 6px 8px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    text-transform: none !important;
}

.widget-tags ul li a,
.widget-tags li a {
    display: inline-block !important;
    padding: 6px 12px !important;
    background: #F1F5F9 !important;
    color: #64748B !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    text-transform: none !important;
}

.widget-tags ul li a:hover,
.widget-tags li a:hover {
    background: #E2E8F0 !important;
    color: #475569 !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    border-color: #CBD5E1 !important;
}

/* Sidebar Social */
.widget-stay-connected {
    margin-top: 0;
}

.widget-stay-connected .list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.widget-stay-connected .list a {
    text-decoration: none;
    display: block;
}

.widget-stay-connected .item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    transition: opacity 0.2s ease;
}

.widget-stay-connected .item:hover {
    opacity: 0.85;
}

.widget-stay-connected .item i {
    font-size: 18px;
    color: #FFFFFF;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.widget-stay-connected .item p {
    margin: 0;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 14px;
}

/* ============================================
   POST SINGLE PAGE
   ============================================ */
.post-single {
    padding: 30px 0;
}

.post-single-image {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 48px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.post-single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-single-body {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.post-single-title h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
    text-transform: none !important;
}

.post-single-title h1:first-letter {
    text-transform: none !important;
}

.post-single-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.post-single-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.post-single-meta-item img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-border);
}

.post-single-meta-item a {
    color: var(--color-text-primary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dark .post-single-meta-item a {
    color: #FFF;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-single-meta-item a:hover {
    color: var(--color-primary);
}

.post-single-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-primary);
    margin-bottom: 40px;
    max-width: 100%;
    width: 100%;
}

.post-single-content * {
    max-width: 100%;
}

.post-single-content p {
    margin-bottom: 1.75rem;
    max-width: 100%;
}

.post-single-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--color-text-primary);
}

.post-single-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--color-text-primary);
}

.post-single-content h4 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: var(--color-text-primary);
}

.post-single-content ul,
.post-single-content ol {
    margin-bottom: 1.75rem;
    padding-left: 2rem;
}

.post-single-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.post-single-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: 20px;
    margin: 2rem 0;
    font-style: italic;
    color: var(--color-text-secondary);
    background: var(--color-primary-soft);
    padding: 20px;
    border-radius: 8px;
}

.post-single-content code {
    background: var(--color-primary-soft);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--color-primary);
    font-weight: 500;
}

.post-single-content pre {
    background: #2A3547;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
    border: 1px solid var(--color-border);
}

.post-single-content pre code {
    background: transparent;
    padding: 0;
    color: #E2E8F0;
}

.post-single-content p {
    margin-bottom: 1.5rem;
}

.post-single-content h2,
.post-single-content h3,
.post-single-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
}

.post-single-bottom {
    padding: 32px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
}

.post-single-tags {
    margin-bottom: 0;
    width: 100%;
}

.post-single-tags p {
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 12px;
    font-size: 15px;
}

.post-single-tags ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.post-single-tags li a {
    display: inline-block;
    padding: 6px 12px;
    background: #F1F5F9 !important;
    color: #64748B !important;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0 !important;
}

.post-single-tags li a:hover {
    background: #E2E8F0 !important;
    color: #475569 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-color: #CBD5E1 !important;
}

.post-single-social {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 0;
    justify-content: flex-start;
}

.post-single-social p {
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
    font-size: 15px;
}

.post-single-social ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

.post-single-social li a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.post-single-social li a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Author Box */
.post-single-author {
    background: var(--color-surface);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.authors-info {
    display: flex;
    gap: 24px;
}

.authors-info .image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.authors-info .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.authors-info .content {
    flex: 1;
}

.authors-info .content h4 {
    margin-bottom: 8px;
}

.authors-info .content h4 a {
    color: var(--color-text-primary);
    text-decoration: none;
}

.authors-info .content h4 a:hover {
    color: var(--color-primary);
}

.authors-info .content p {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.authors-info .social-media ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
}

.authors-info .social-media li a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    color: var(--color-text-secondary);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.authors-info .social-media li a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Comments */
.post-single-comments {
    margin-bottom: 48px;
}

.post-single-comments h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
}

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

.comment-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border);
}

.comment-item:first-child {
    padding-top: 0;
}

.comment-item .d-flex {
    display: flex;
    gap: 16px;
}

.comment-item img {
    width: 48px;
    height: 48px;
    border-radius: 50% !important;
    object-fit: cover;
    flex-shrink: 0;
}

.comments.replies .comment-item img {
    width: 48px;
    height: 48px;
    border-radius: 50% !important;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-item .content {
    flex: 1;
}

.comment-item .meta {
    margin-bottom: 8px;
}

.comment-item .meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.comment-item .meta li {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.comment-item .meta li a {
    color: var(--color-text-primary);
    font-weight: 500;
    text-decoration: none;
}

.comment-item .meta li a:hover {
    color: var(--color-primary);
}

.comment-item .meta .badge {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.comment-item p {
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.comment-item .btn-reply {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.comment-item .btn-reply:hover {
    opacity: 0.8;
}

.comments.replies {
    margin-top: 16px;
    padding-left: 32px;
    border-left: 2px solid var(--color-border);
}

/* Comment Form */
.comments-form {
    background: var(--color-surface);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.comments-form h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
}

.comments-form .form-group {
    margin-bottom: 20px;
}

.comments-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--color-surface);
    color: var(--color-text-primary);
}

.comments-form .form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-soft);
}

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

.btn-custom {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 11px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.btn-custom:hover {
    background: var(--color-primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #22C55E;
}

.alert-danger {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #EF4444;
}

/* ============================================
   SECTION HEADING
   ============================================ */
.section-heading {
    background: linear-gradient(135deg, var(--color-primary-soft) 0%, rgba(238, 242, 255, 0.5) 100%);
    /*padding: 80px 0 60px;*/
    margin-bottom: 50px;
    border-radius: 0;
}

.section-heading-2-title h1,
.section-heading-2-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.section-heading-2-title .links {
    color: var(--color-text-secondary);
    font-size: 14px;
    margin: 0;
}

.section-heading-2-title .links a {
    color: var(--color-primary);
    text-decoration: none;
}

.section-heading-2-title .links a:hover {
    text-decoration: underline;
}

/* ============================================
   FEATURED POSTS CAROUSEL
   ============================================ */
.blog-home4 {
    margin-bottom: 60px;
}

/* Espaçamento do carrossel em resoluções intermediárias (tablet) */
@media (min-width: 768px) and (max-width: 991px) {
    .blog-home4 {
        margin-bottom: 60px !important;
    }

    .blog-home4 .owl-carousel {
        margin-bottom: 40px !important;
    }

    /* Garantir espaçamento após o carrossel */
    .blog-home4 + *,
    .blog-home4 ~ * {
        margin-top: 40px !important;
    }
}

/* Garantir espaçamento em resoluções específicas como 887px */
@media (min-width: 800px) and (max-width: 1000px) {
    .blog-home4 {
        margin-bottom: 60px !important;
        padding-bottom: 20px;
    }

    .blog-home4 .owl-carousel {
        margin-bottom: 40px !important;
    }

    /* Garantir que elementos após o blog-home4 tenham espaçamento */
    .blog-home4 + .section-feature-1,
    .blog-home4 ~ .section-feature-1,
    .blog-home4 + section,
    .blog-home4 ~ section {
        margin-top: 40px !important;
        padding-top: 20px !important;
    }
}

.blog-item {
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px var(--color-shadow);
}

.blog-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    padding: 40px;
}

.post-overly-content {
    max-width: 800px;
}

.post-overly-content .entry-cat {
    margin-bottom: 16px;
}

.post-overly-content .entry-cat a {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.post-overly-content .entry-cat a:hover {
    background: #3d5ce6;
    transform: translateY(-1px);
}

.post-overly-content .entry-title {
    margin-bottom: 16px;
}

.post-overly-content .entry-title a {
    color: var(--color-white);
    font-size: 32px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.3;
    transition: all 0.2s ease;
}

.post-overly-content .entry-title a:hover {
    opacity: 0.9;
}

.post-overly-content .entry-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.post-overly-content .entry-meta li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.post-overly-content .entry-meta li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.2s ease;
}

.post-overly-content .entry-meta li a:hover {
    color: var(--color-white);
}

/* ============================================
   PAGINATION - Modernize Style
   ============================================ */
.pagination {
    margin: 40px 0;
    text-align: center;
}

.pagination-area {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

/* Garantir que a paginação custom esteja centralizada */
.pagination-area .pagination-list {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.pagination-area .pagination-list ul {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination li {
    display: inline-block;
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    color: var(--color-text-primary);
}

.pagination li a {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
}

.pagination li a:hover {
    background: var(--color-primary-soft);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination li span {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

/* Pagination List - Corrigir cores no modo claro */
.pagination-list {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.pagination-list ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.pagination-list ul li {
    display: inline-block;
    margin: 0;
}

.pagination-list ul li a,
.pagination-list ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    color: var(--color-text-primary) !important;
}

.pagination-list ul li a:hover {
    background: var(--color-primary-soft) !important;
    border-color: var(--color-primary) !important;
    color: var(--color-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 117, 255, 0.2);
}

.pagination-list ul li a.active,
.pagination-list ul li span.active {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(78, 117, 255, 0.3);
}

.pagination-list ul li span:not(.active) {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    color: var(--color-text-secondary) !important;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ============================================
   FOOTER - Modernize Style
   ============================================ */
.footer {
    background: #2A3547;
    color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-area-content {
    padding-bottom: 40px;
}

.footer .menu h6 {
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 16px;
}

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

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

.footer .menu ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer .menu ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer .menu ul li a:hover {
    color: var(--color-white);
    padding-left: 4px;
}

.footer .logo-white {
    max-height: 50px;
    margin-bottom: 16px;
}

/* Footer Contact - ícones de contato */
.footer-contact li a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact li a i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li a:hover i {
    color: var(--color-primary);
}

/* Footer Social - redes sociais */
.footer-social li a {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.footer-social li a i {
    font-size: 18px;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Cores específicas de cada rede social no footer */
.footer-social li a.social-facebook i {
    color: #1877F2;
}

.footer-social li a.social-facebook:hover i {
    color: #0D5FDB;
    transform: scale(1.2);
}

.footer-social li a.social-twitter i {
    color: #1DA1F2;
}

.footer-social li a.social-twitter:hover i {
    color: #0D8BD9;
    transform: scale(1.2);
}

.footer-social li a.social-instagram i {
    color: #E4405F;
}

.footer-social li a.social-instagram:hover i {
    color: #C13584;
    transform: scale(1.2);
}

.footer-social li a.social-linkedin i {
    color: #0077B5;
}

.footer-social li a.social-linkedin:hover i {
    color: #005885;
    transform: scale(1.2);
}

.footer-social li a.social-youtube i {
    color: #FF0000;
}

.footer-social li a.social-youtube:hover i {
    color: #CC0000;
    transform: scale(1.2);
}

.footer-social li a.social-whatsapp i {
    color: #25D366;
}

.footer-social li a.social-whatsapp:hover i {
    color: #128C7E;
    transform: scale(1.2);
}

.footer-social li a.social-tiktok i {
    color: #000000;
}

.footer-social li a.social-tiktok:hover i {
    color: #FE2C55;
    transform: scale(1.2);
}

.footer-social li a.social-pinterest i {
    color: #BD081C;
}

.footer-social li a.social-pinterest:hover i {
    color: #8B0614;
    transform: scale(1.2);
}

/* Fallback para outras redes sociais */
.footer-social li a:not(.social-facebook):not(.social-twitter):not(.social-instagram):not(.social-linkedin):not(.social-youtube):not(.social-whatsapp):not(.social-tiktok):not(.social-pinterest) i {
    color: rgba(255, 255, 255, 0.7);
}

.footer-social li a:not(.social-facebook):not(.social-twitter):not(.social-instagram):not(.social-linkedin):not(.social-youtube):not(.social-whatsapp):not(.social-tiktok):not(.social-pinterest):hover i {
    color: var(--color-primary);
    transform: scale(1.1);
}

/* Footer Copyright - layout melhorado */
.footer-area-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-area-copyright .copyright-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-area-copyright .copyright-logo img {
    max-height: 32px;
    /*filter: brightness(0) invert(1);*/
    opacity: 0.8;
}

.footer-area-copyright .copyright-text p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 14px;
}

.footer-area-copyright .copyright-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-area-copyright .copyright-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.footer-area-copyright .copyright-links a:hover {
    color: var(--color-white);
}

.footer-area-copyright .copyright-links span {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive Footer - Mobile */
@media (max-width: 768px) {
    /* Author Box Mobile */
    .post-single-author {
        padding: 24px 16px;
        margin-bottom: 30px;
        border-radius: 16px;
    }

    .authors-info {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 20px;
    }

    .authors-info .image {
        width: 100px;
        height: 100px;
        margin: 0 auto;
        flex-shrink: 0;
    }

    .authors-info .image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .authors-info .content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .authors-info .content h4 {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 12px;
        text-align: center;
    }

    .authors-info .content h4 a {
        color: var(--color-text-primary);
        text-decoration: none;
    }

    .authors-info .content p {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.6;
        text-align: center;
        color: var(--color-text-secondary);
        max-width: 100%;
    }

    .authors-info .social-media {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .authors-info .social-media ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .authors-info .social-media li {
        margin: 0;
    }

    .authors-info .social-media li a {
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--color-bg);
        color: var(--color-text-secondary);
        border-radius: 8px;
        transition: all 0.2s ease;
        font-size: 16px;
    }

    .authors-info .social-media li a:hover {
        background: var(--color-primary);
        color: var(--color-white);
        transform: translateY(-2px);
    }

    .footer-area-content {
        padding-bottom: 30px;
    }

    .footer .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer .menu {
        margin-bottom: 32px;
        text-align: center;
    }

    .footer .menu h6 {
        font-size: 16px;
        margin-bottom: 12px;
        color: var(--color-white);
    }

    .footer .menu ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .footer .menu ul li {
        margin-bottom: 0;
    }

    .footer .menu ul li a {
        font-size: 14px;
        padding: 4px 0;
        justify-content: center;
    }

    .footer .menu ul li a:hover {
        padding-left: 0;
        transform: translateX(0);
        color: var(--color-primary);
    }

    /* Espaçamento entre seções no mobile */
    .footer .row > div {
        margin-bottom: 32px;
    }

    .footer .row > div:last-child {
        margin-bottom: 0;
    }

    /* Footer Contact - Mobile */
    .footer-contact li a {
        justify-content: center;
        font-size: 13px;
        word-break: break-word;
    }

    .footer-contact li a i {
        flex-shrink: 0;
    }

    /* Footer Social - Mobile */
    .footer-social li a {
        justify-content: center;
        font-size: 14px;
    }

    /* Footer Copyright - Mobile */
    .footer-area-copyright {
        padding: 20px 0;
    }

    .footer-area-copyright .copyright-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-area-copyright .copyright-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .footer-area-copyright .copyright-logo img {
        max-height: 24px;
    }

    .footer-area-copyright .copyright-logo span {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.6);
        display: block;
        width: 100%;
        margin-top: 8px;
    }

    .footer-area-copyright .copyright-text {
        display: none;
    }

    .footer-area-copyright .copyright-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 8px;
    }

    .footer-area-copyright .copyright-links a {
        font-size: 12px;
        padding: 4px 8px;
    }

    .footer-area-copyright .copyright-links span {
        display: none;
    }
}

/* Footer Tablet */
@media (min-width: 769px) and (max-width: 991px) {
    .footer {
        padding-top: 50px;
    }

    .footer-area-content {
        padding-bottom: 35px;
    }

    .footer .menu {
        margin-bottom: 24px;
    }

    .footer-area-copyright .copyright-content {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    /*.oredoo-sidebar {*/
    /*    margin-top: 60px;*/
    /*    padding-left: 0;*/
    /*}*/
    .post-list-modern {
        flex-direction: column;
        padding: 24px;
        gap: 24px;
    }

    .post-list-modern-image {
        width: 100%;
        height: 240px;
    }

    /* Author Box Tablet */
    .post-single-author {
        padding: 28px 24px;
    }

    .authors-info {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 20px;
    }

    .authors-info .image {
        width: 90px;
        height: 90px;
        margin: 0 auto;
    }

    .authors-info .content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .authors-info .content h4 {
        font-size: 20px;
        margin-bottom: 12px;
        text-align: center;
    }

    .authors-info .content p {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.6;
        text-align: center;
    }

    .authors-info .social-media ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .authors-info .social-media li a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .blog-hero {
        padding: 80px 0 60px;
        margin-bottom: 60px;
    }

    .blog-hero h1 {
        font-size: 40px;
    }

    .blog-hero p {
        font-size: 18px;
    }

    .section-title h3 {
        font-size: 28px;
    }

    .post-single-title h1 {
        font-size: 32px;
    }

    .post-list-modern-title h3 {
        font-size: 24px;
    }
}

@media (max-width: 991px) {
    /* Menu Mobile - Corrigir largura que ultrapassa */
    .logo img {
        max-height: 28px;
    }

    .logo a::after {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 0 16px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .blog-hero {
        padding: 60px 0 48px;
        margin-bottom: 48px;
    }

    .blog-hero h1 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .blog-hero p {
        font-size: 16px;
    }

    .section-title {
        margin-bottom: 32px;
    }

    .section-title h3 {
        font-size: 24px;
    }

    .post-card {
        border-radius: 16px;
    }

    .post-card-image {
        height: 220px;
    }

    .post-card-body {
        padding: 20px;
    }

    .post-card-title h3 {
        font-size: 20px;
    }

    .post-single-image {
        height: 250px;
        border-radius: 12px;
    }

    .post-single-title h1 {
        font-size: 28px;
    }

    .comments.replies {
        padding-left: 16px;
    }

    .categories {
        margin-bottom: 48px;
    }

    .section-feature-1 {
        padding: 0 0 48px 0;
    }
}

/* ============================================
   LOADER - Cor Primária
   ============================================ */
.loader-element:before {
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%) !important;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.loader {
    background-color: var(--color-surface) !important;
}

.loader-element {
    background: var(--color-primary-ultra-soft) !important;
    height: 3px !important;
    border-radius: 2px;
    overflow: hidden;
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* ============================================
   DARK MODE SUPPORT - Modernize Style
   ============================================ */
.dark {
    background-color: #1A1D29 !important;
    color: rgba(255, 255, 255, 0.9);
    background: #1A1D29 !important;
}

.dark body {
    background: #1A1D29 !important;
    background-image: none !important;
    background-color: #1A1D29 !important;
}

.dark body::before {
    display: none !important;
}

.dark .section-feature-1 {
    background: #1A1D29 !important;
    background-image: none !important;
}

.dark .section-feature-1::before {
    display: none !important;
}

.dark .post-card {
    background: #252B3B !important;
    background-image: none !important;
}

.dark .widget {
    background: #252B3B !important;
    background-image: none !important;
}

.dark .widget-categories .category-item {
    background: #252B3B !important;
    background-image: none !important;
}

.dark :root {
    --color-bg: #1A1D29;
    --color-surface: #252B3B;
    --color-text-primary: rgba(255, 255, 255, 0.9);
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-text-muted: rgba(255, 255, 255, 0.5);
    --color-border: rgba(255, 255, 255, 0.1);
}

/* Header sempre em modo dark - não muda com dark mode do site */
.header {
    background: #2A3547 !important;
}

.dark .header {
    background: #2A3547 !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.header::before {
    background: linear-gradient(90deg, #4E75FF 0%, #6B8AFF 50%, #4E75FF 100%);
}

.dark .header::before {
    background: linear-gradient(90deg, #4E75FF 0%, #6B8AFF 50%, #4E75FF 100%);
}

/* Logo sempre claro no header dark */
.logo a::after {
    color: #FFFFFF !important;
}

.dark .logo a::after {
    color: #FFFFFF !important;
}

.logo:hover a::after {
    color: #6B8AFF !important;
}

.dark .logo:hover a::after {
    color: #6B8AFF !important;
}

@media (max-width: 991px) {
    /* Navbar toggler sempre claro no header dark */
    /*.navbar-toggler {*/
    /*    border-color: #4E75FF !important;*/
    /*    background: rgba(78, 117, 255, 0.15) !important;*/
    /*}*/
    .navbar-toggler:hover {
        background: rgba(78, 117, 255, 0.3) !important;
    }

    .navbar-toggler-icon,
    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        background: #6B8AFF !important;
    }

    .navbar-toggler:hover .navbar-toggler-icon,
    .navbar-toggler:hover .navbar-toggler-icon::before,
    .navbar-toggler:hover .navbar-toggler-icon::after {
        background: #FFFFFF !important;
    }

    .dark .navbar-toggler {
        border-color: #4E75FF !important;
        background: rgba(78, 117, 255, 0.15) !important;
    }

    .dark .navbar-toggler:hover {
        background: rgba(78, 117, 255, 0.3) !important;
    }

    .dark .navbar-toggler-icon,
    .dark .navbar-toggler-icon::before,
    .dark .navbar-toggler-icon::after {
        background: #6B8AFF !important;
    }

    .dark .navbar-toggler:hover .navbar-toggler-icon,
    .dark .navbar-toggler:hover .navbar-toggler-icon::before,
    .dark .navbar-toggler:hover .navbar-toggler-icon::after {
        background: #FFFFFF !important;
    }
}

.dark .blog-hero {
    background: linear-gradient(135deg, #4E75FF 0%, #6B8AFF 100%);
}

.dark .section-heading {
    background: #252B3B !important;
    background-image: none !important;
}

.dark .post-card,
.dark .widget,
.dark .post-list-modern,
.dark .post-single-author,
.dark .authors .authors-info,
.dark .comments-form {
    background: #252B3B !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .post-card::after,
.dark .widget::before {
    display: none !important;
}

.dark .post-card-title a,
.dark .post-list-modern-title a,
.dark .post-single-title h1,
.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6 {
    color: #F1F5F9;
}

.dark .post-card-excerpt,
.dark .post-list-modern-excerpt,
.dark .post-single-content,
.dark p,
.dark .post-card-date,
.dark .post-list-modern-meta,
.dark .post-single-meta-item {
    color: #CBD5E1;
}

/* Garantir que todo o texto dentro do conteúdo seja legível no dark mode */
.dark .post-single-content p,
.dark .post-single-content div,
.dark .post-single-content span,
.dark .post-single-content article,
.dark .post-single-content section {
    color: #E2E8F0 !important;
}

/* Headings no dark mode */
.dark .post-single-content h1,
.dark .post-single-content h2,
.dark .post-single-content h3,
.dark .post-single-content h4,
.dark .post-single-content h5,
.dark .post-single-content h6 {
    color: #F1F5F9 !important;
}

/* Listas no dark mode */
.dark .post-single-content ul,
.dark .post-single-content ol {
    color: #E2E8F0 !important;
}

.dark .post-single-content li {
    color: #E2E8F0 !important;
}

/* Links no dark mode */
.dark .post-single-content a {
    color: #60A5FA !important;
}

.dark .post-single-content a:hover {
    color: #93C5FD !important;
}

/* Texto com cores inline ou estilos específicos - sobrescrever cores escuras */
.dark .post-single-content [style*="color: #"],
.dark .post-single-content [style*="color:#"],
.dark .post-single-content [style*="color: rgb"],
.dark .post-single-content [style*="color:rgba"],
.dark .post-single-content [style*="Color: #"],
.dark .post-single-content [style*="Color:#"] {
    color: #E2E8F0 !important;
}

/* Garantir que elementos com classes de cor sejam sobrescritos */
.dark .post-single-content .text-dark,
.dark .post-single-content .text-black,
.dark .post-single-content [class*="text-dark"],
.dark .post-single-content [class*="text-black"],
.dark .post-single-content [class*="color-dark"],
.dark .post-single-content [class*="color-black"] {
    color: #E2E8F0 !important;
}

/* Tabelas no dark mode */
.dark .post-single-content table {
    color: #E2E8F0 !important;
}

.dark .post-single-content table td,
.dark .post-single-content table th {
    color: #E2E8F0 !important;
    border-color: #475569 !important;
}

.dark .post-single-content table thead th {
    color: #F1F5F9 !important;
    background-color: rgba(51, 65, 85, 0.5) !important;
}

/* Strong e emphasis no dark mode */
.dark .post-single-content strong,
.dark .post-single-content b {
    color: #F1F5F9 !important;
}

.dark .post-single-content em,
.dark .post-single-content i {
    color: #CBD5E1 !important;
}

/* Sobrescrever cores escuras específicas que podem estar inline */
.dark .post-single-content [style*="color: #000"],
.dark .post-single-content [style*="color:#000"],
.dark .post-single-content [style*="color: #333"],
.dark .post-single-content [style*="color:#333"],
.dark .post-single-content [style*="color: #444"],
.dark .post-single-content [style*="color:#444"],
.dark .post-single-content [style*="color: #555"],
.dark .post-single-content [style*="color:#555"],
.dark .post-single-content [style*="color: #666"],
.dark .post-single-content [style*="color:#666"],
.dark .post-single-content [style*="color: #777"],
.dark .post-single-content [style*="color:#777"],
.dark .post-single-content [style*="color: rgb(0"],
.dark .post-single-content [style*="color:rgb(0"],
.dark .post-single-content [style*="color: rgba(0"],
.dark .post-single-content [style*="color:rgba(0"] {
    color: #E2E8F0 !important;
}

.dark .post-card-category,
.dark .post-list-modern-category {
    background: rgba(78, 117, 255, 0.2);
    color: #6B8AFF;
}

.dark .post-card-category:hover,
.dark .post-list-modern-category:hover {
    background: #4E75FF;
    color: #FFFFFF;
}

.dark .category-item {
    background: #1E293B;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.4),
    0 4px 5px 0 rgba(0, 0, 0, 0.3),
    0 1px 10px 0 rgba(0, 0, 0, 0.2);
}

.dark .category-item::before {
    display: none !important;
}

.dark .category-item:hover {
    box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.4),
    0 16px 24px 2px rgba(0, 0, 0, 0.3),
    0 6px 30px 5px rgba(0, 0, 0, 0.2);
}

.dark .category-item:active {
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.4),
    0 8px 10px 1px rgba(0, 0, 0, 0.3),
    0 3px 14px 2px rgba(0, 0, 0, 0.2);
}

.dark .category-item .image {
    background: rgba(78, 117, 255, 0.2);
}

.dark .category-item:hover .image {
    background: #4E75FF;
}

.dark .category-item p {
    color: #E2E8F0;
}

.dark .category-item:hover p {
    color: #F1F5F9;
}

.dark .category-item p span {
    background: #4E75FF;
    color: #FFFFFF;
}

.dark .category-item:hover p span {
    background: #3D5CE6;
}

.dark .widget-categories .category-item p span {
    background: var(--color-primary);
    color: #FFFFFF;
}

.search-icon {
    color: rgba(255, 255, 255, 0.9) !important;
}

.dark .search-icon {
    color: rgba(255, 255, 255, 0.9) !important;
}

.search-icon:hover {
    color: #FFFFFF !important;
}

.dark .search-icon:hover {
    color: #FFFFFF !important;
}

.dark .widget-title h5 {
    color: #F1F5F9;
}

.dark .widget-search input,
.dark .widget-search form input,
.dark .widget-search form input[type="search"] {
    background: #252B3B !important;
    background-color: #252B3B !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.dark .widget-search input:focus {
    border-color: #4E75FF !important;
    background: #252B3B !important;
    box-shadow: 0 0 0 3px rgba(78, 117, 255, 0.2) !important;
}

.dark .widget-search .btn-submit {
    background: #4E75FF;
    border-left-color: rgba(255, 255, 255, 0.2);
}

.dark .widget-search .btn-submit:hover {
    background: #3D5CE6;
}

.dark .widget-categories .category-item {
    background: #252B3B !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .widget-categories .category-item::before {
    display: none !important;
}

.dark .widget-categories .category-item:hover {
    background: rgba(78, 117, 255, 0.1);
    border-color: #4E75FF;
}

.dark .widget-categories .category-item .image {
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .widget-categories .category-item:hover .image {
    border-color: #4E75FF;
}

.dark .widget-categories .category-item p {
    color: #F1F5F9;
}

.dark .widget-categories .category-item:hover p {
    color: #F1F5F9;
}

.dark .widget-categories .category-item p span {
    background: #64748B;
    color: #FFFFFF;
}

.dark .widget-categories .category-item:hover p span {
    background: #475569;
}

.dark .small-post-content a,
.dark .widget-popular-posts .small-post .small-post-content p a,
.dark .widget-popular-posts .small-post .small-post-content a,
.dark .small-post-content p a {
    color: #FFFFFF !important;
    font-weight: 500;
}

.dark .small-post-content a:hover,
.dark .widget-popular-posts .small-post .small-post-content p a:hover,
.dark .widget-popular-posts .small-post .small-post-content a:hover,
.dark .small-post-content p a:hover {
    color: #4E75FF !important;
}

.dark .small-post-content small {
    color: #94A3B8;
}

.dark .small-post-image .nb {
    background: #64748B;
    color: #FFFFFF;
}

.dark .small-post:hover .small-post-image .nb {
    background: #475569;
}

.dark .widget-tags ul li a,
.dark .widget-tags li a {
    background: #334155 !important;
    color: #CBD5E1 !important;
    border-color: #475569 !important;
}

.dark .widget-tags ul li a:hover,
.dark .widget-tags li a:hover {
    background: #475569 !important;
    color: #F1F5F9 !important;
    border-color: #64748B !important;
}

.dark .post-single-tags li a {
    background: #334155 !important;
    color: #CBD5E1 !important;
    border-color: #475569 !important;
}

.dark .post-single-tags li a:hover {
    background: #475569 !important;
    color: #F1F5F9 !important;
    border-color: #64748B !important;
}

.dark .post-single-social li a {
    background: rgba(78, 117, 255, 0.15);
    color: #6B8AFF;
}

.dark .post-single-social li a:hover {
    background: #4E75FF;
    color: #FFFFFF;
}

.dark .post-single-meta {
    border-color: #334155;
}

.dark .post-single-bottom {
    border-color: #334155;
}

.dark .comment-item {
    border-color: #334155;
}

.dark .comment-item .meta li {
    color: #94A3B8;
}

.dark .comment-item .meta li a {
    color: #F1F5F9;
}

.dark .comment-item p {
    color: #E2E8F0;
}

.dark .comments-form .form-control {
    background: #0F172A;
    border-color: #334155;
    color: #E2E8F0;
}

.dark .comments-form .form-control:focus {
    border-color: #4E75FF;
    background: #1E293B;
}

.dark .pagination li a {
    background: #2A3447;
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.dark .pagination li a:hover {
    background: rgba(78, 117, 255, 0.15);
    border-color: #4E75FF;
    color: #6B8AFF;
}

.dark .pagination li span {
    background: #4E75FF;
    color: #FFFFFF;
    border-color: #4E75FF;
    box-shadow: var(--shadow-sm);
}

.dark .section-heading-2-title .links {
    color: #94A3B8;
}

.dark .section-heading-2-title .links a {
    color: #93C5FD;
}

.dark .post-card-link,
.dark .post-list-modern-link {
    color: #93C5FD;
}

.dark .post-card-link:hover,
.dark .post-list-modern-link:hover {
    color: #60A5FA;
}

.dark .btn-custom {
    background: #4E75FF;
    color: #FFFFFF;
}

.dark .btn-custom:hover {
    background: #3d5ce6;
}

.dark .post-single-content code {
    background: rgba(78, 117, 255, 0.2);
    color: #93C5FD;
}

.dark .post-single-content pre {
    background: #0F172A;
    border-color: #334155;
}

.dark .post-single-content blockquote {
    border-color: #4E75FF;
    color: #CBD5E1;
}

/* Description (para páginas estáticas) */
.description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-primary);
    max-width: 800px;
    margin: 0 auto;
}

.dark .description {
    color: #E2E8F0;
}

.description p {
    margin-bottom: 1.5rem;
}

.description h2,
.description h3,
.description h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.description img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
}

/* Authors Section (página de autor) */
.authors {
    margin-bottom: 48px;
}

.authors .authors-info {
    background: var(--color-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px var(--color-shadow);
    display: flex;
    gap: 24px;
    align-items: center;
}

.authors .authors-info .image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.authors .authors-info .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.authors .authors-info .content h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.authors .authors-info .content p {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.authors .authors-info .social-media ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
}

.authors .authors-info .social-media li a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    color: var(--color-text-secondary);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.authors .authors-info .social-media li a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ============================================
   SIDE CARDS – AO LADO DO CARROSSEL
   ============================================ */

.side-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

/* Card clicável inteiro */
.side-card {
    position: relative;
    display: block;
    width: 100%;
    height: 240px; /* controla a proporção */
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background: #000;
}

.side-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

/* Imagem ocupa tudo */
.side-card-image {
    position: absolute;
    inset: 0;
}

.side-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.side-card:hover .side-card-image img {
    transform: scale(1.08);
}

/* Overlay estilo g1 */
.side-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(15, 23, 42, 0.55) 35%,
        rgba(15, 23, 42, 0.15) 65%,
        rgba(15, 23, 42, 0) 100%
    );
    z-index: 1;
}

/* Conteúdo */
.side-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
}

/* Título */
.side-card-title {
    margin: 0;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   RESPONSIVO
   ============================================ */

@media (max-width: 991px) {
    .side-card {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .side-cards-wrapper {
        margin-top: 24px;
    }

    .side-card {
        height: 200px;
    }

    .side-card-title {
        font-size: 17px;
    }
}

/* ============================================
   SIDE CARDS alinhados com a altura do carrossel
   (carrossel = 500px)
   ============================================ */

.blog-home4 {
    --featured-height: 500px;
    --side-gap: 16px; /* mesmo gap do wrapper */
}

/* no desktop (col-lg) força a coluna direita ter a MESMA altura do carrossel */
@media (min-width: 992px) {
    .blog-home4 .row.g-4 {
        align-items: stretch;
    }

    .blog-home4 .col-lg-4 {
        display: flex;
    }

    .blog-home4 .side-cards-wrapper {
        height: var(--featured-height);
        width: 100%;
    }

    /* cada card ocupa 50% da altura do carrossel (descontando o gap do meio) */
    .blog-home4 .side-card {
        height: calc((var(--featured-height) - var(--side-gap)) / 2);
        flex: 0 0 auto;
    }
}

/* mantém seu tamanho atual no mobile/tablet */
@media (max-width: 991px) {
    .blog-home4 .side-cards-wrapper {
        height: auto;
    }
}

/* ============================================
   FIX DEFINITIVO: Alinhar carrossel + side cards
   ============================================ */

/* Altura única da seção */
.blog-home4 {
    --featured-height: 500px;
}

/* Garante que a row estique tudo */
.blog-home4 .row {
    display: flex;
    align-items: stretch;
}

/* COLUNA ESQUERDA (CARROSSEL) */
.blog-home4 .col-lg-8 {
    display: flex;
}

.blog-home4 .owl-carousel,
.blog-home4 .owl-stage-outer,
.blog-home4 .owl-stage,
.blog-home4 .owl-item,
.blog-home4 .blog-item {
    height: var(--featured-height);
}

/* COLUNA DIREITA (SIDE CARDS) */
.blog-home4 .col-lg-4 {
    display: flex;
}

.side-cards-wrapper {
    display: flex;
    flex-direction: column;
    height: var(--featured-height);
    gap: 16px;
}

/* Cada card ocupa EXATAMENTE 50% */
.side-card {
    flex: 1;
    height: calc(50% - 8px);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Imagem sempre cobre o card */
.side-card-image,
.side-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile: volta ao fluxo normal */
@media (max-width: 991px) {
    .blog-home4 .row {
        display: block;
    }

    .side-cards-wrapper {
        height: auto;
    }

    .side-card {
        height: auto;
    }
}

/* ===============================
   FIX DEFINITIVO – BLOG HERO GRID
   =============================== */

/* A row precisa esticar as colunas */
.blog-home4 .row {
    display: flex;
    align-items: stretch;
}

/* Coluna do carrossel */
.blog-home4 .col-lg-8 {
    display: flex;
}

/* O carrossel ocupa 100% da altura */
.blog-home4 .owl-carousel,
.blog-home4 .owl-stage-outer,
.blog-home4 .owl-stage,
.blog-home4 .owl-item,
.blog-home4 .blog-item {
    height: 100%;
}

/* Garante que o fundo do card não seja cortado */
.blog-home4 .blog-item {
    min-height: 420px; /* ajuste fino se quiser */
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

/* ===============================
   CARDS LATERAIS – ALTURA IGUAL AO CARROSSEL
   =============================== */

.side-cards-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Cada card ocupa exatamente 50% */
.side-card {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Imagem ocupa tudo */
.side-card-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.side-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay elegante */
.side-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.6)
    );
}

/* Conteúdo embaixo */
.side-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
}

.side-card-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

/* ===============================
   MOBILE – vira stack normal
   =============================== */
@media (max-width: 991px) {
    .blog-home4 .row {
        flex-direction: column;
    }

    .side-cards-wrapper {
        height: auto;
    }

    .side-card {
        min-height: 220px;
    }
}

/* ============================================
   HEADER DARK FIXO - REGRAS OBRIGATÓRIAS
   ============================================ */

/* 1️⃣ Modo Dark fixo - Header sempre escuro */
.header,
.header-scroll,
.header-light,
.dark .header,
.dark .header-scroll,
.dark .header-light,
body .header,
body .header-scroll,
body .header-light {
    background: #2A3547 !important;
    background-color: #2A3547 !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
}

/* 2️⃣ Tipografia - Todos os textos brancos */

/* Links do menu - sempre brancos */
.header-navbar .navbar .nav-item .nav-link,
.header-navbar .navbar .nav-item .nav-link:hover,
.header-navbar .navbar .nav-item .nav-link:focus,
.header-navbar .navbar .nav-item .nav-link.active,
.header-navbar .navbar .nav-item .nav-link:active,
.dark .header-navbar .navbar .nav-item .nav-link,
.dark .header-navbar .navbar .nav-item .nav-link:hover,
.dark .header-navbar .navbar .nav-item .nav-link:focus,
.dark .header-navbar .navbar .nav-item .nav-link.active,
.dark .header-navbar .navbar .nav-item .nav-link:active {
    color: #FFFFFF !important;
}

/* Ícones dentro dos links do menu */
.header-navbar .navbar .nav-item .nav-link i,
.header-navbar .navbar .nav-item .nav-link:hover i,
.header-navbar .navbar .nav-item .nav-link:focus i,
.header-navbar .navbar .nav-item .nav-link.active i,
.dark .header-navbar .navbar .nav-item .nav-link i,
.dark .header-navbar .navbar .nav-item .nav-link:hover i,
.dark .header-navbar .navbar .nav-item .nav-link:focus i,
.dark .header-navbar .navbar .nav-item .nav-link.active i {
    color: #FFFFFF !important;
}

/* Underline dos links do menu - branco */
.header-navbar .navbar .nav-item .nav-link:before,
.header-navbar .navbar .nav-item .nav-link:hover:before,
.header-navbar .navbar .nav-item .nav-link.active:before,
.dark .header-navbar .navbar .nav-item .nav-link:before,
.dark .header-navbar .navbar .nav-item .nav-link:hover:before,
.dark .header-navbar .navbar .nav-item .nav-link.active:before {
    background-color: var(--color-primary) !important;
}

/* Logo - texto branco */
.logo a::after,
.logo:hover a::after,
.dark .logo a::after,
.dark .logo:hover a::after {
    color: #FFF !important;
}

/* Ícone de busca - já está branco, mas garantindo */
.search-icon,
.search-icon:hover,
.search-icon:focus,
.dark .search-icon,
.dark .search-icon:hover,
.dark .search-icon:focus {
    color: #FFFFFF !important;
}

.search-icon i,
.search-icon:hover i,
.search-icon:focus i,
.dark .search-icon i,
.dark .search-icon:hover i,
.dark .search-icon:focus i {
    color: #FFFFFF !important;
}

/* Toggle do menu mobile - ícones brancos */
.navbar-toggler-icon,
.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler:hover .navbar-toggler-icon,
.navbar-toggler:hover .navbar-toggler-icon::before,
.navbar-toggler:hover .navbar-toggler-icon::after,
.dark .navbar-toggler-icon,
.dark .navbar-toggler-icon::before,
.dark .navbar-toggler-icon::after,
.dark .navbar-toggler:hover .navbar-toggler-icon,
.dark .navbar-toggler:hover .navbar-toggler-icon::before,
.dark .navbar-toggler:hover .navbar-toggler-icon::after {
    background-color: #FFFFFF !important;
}

/* Theme switch - ícones brancos */
.theme-switch .icon-light,
.theme-switch .icon-dark,
.dark .theme-switch .icon-light,
.dark .theme-switch .icon-dark {
    color: #FFFFFF !important;
}

/* Dropdown toggle arrow - branco */
.header-navbar .navbar .nav-item .dropdown-toggle::after,
.dark .header-navbar .navbar .nav-item .dropdown-toggle::after {
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
}

/* 3️⃣ Espaçamento inferior - 20px entre header e conteúdo */
/* O espaçamento já está aplicado via padding-top do body acima */

/* 4️⃣ Espaçamento horizontal no mobile - header não colado nas bordas */
@media (max-width: 991px) {
    .header .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .header-area {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Garantir que o header-navbar também tenha espaçamento quando aberto */
    .header-navbar {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* 5️⃣ Menu mobile dark - navbar-collapse sempre dark com texto branco */
@media (max-width: 991px) {
    /* Menu mobile - fundo dark */
    .header-navbar {
        background: #2A3547 !important;
        background-color: #2A3547 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }

    .header-navbar .navbar-collapse {
        background-color: #2A3547 !important;
        background: #2A3547 !important;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
        padding: 30px 20px !important;
    }

    /* Links do menu mobile - brancos */
    .header-navbar .navbar .nav-item .nav-link,
    .header-navbar .navbar .nav-item .nav-link:hover,
    .header-navbar .navbar .nav-item .nav-link:focus,
    .header-navbar .navbar .nav-item .nav-link.active,
    .header-navbar .navbar .nav-item .nav-link:active {
        color: #FFFFFF !important;
    }

    /* Ícones dentro dos links do menu mobile */
    .header-navbar .navbar .nav-item .nav-link i,
    .header-navbar .navbar .nav-item .nav-link:hover i,
    .header-navbar .navbar .nav-item .nav-link:focus i,
    .header-navbar .navbar .nav-item .nav-link.active i {
        color: #FFFFFF !important;
    }

    /* Dropdown toggle arrow no mobile - branco */
    .header-navbar .navbar .nav-item .dropdown-toggle::after {
        color: #FFFFFF !important;
    }

    /* Dropdown menu no mobile - dark */
    .header-navbar .navbar .nav-item .dropdown-menu {
        background-color: #1E2533 !important;
        background: #1E2533 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    /* Dropdown items no mobile - texto branco */
    .header-navbar .navbar .nav-item .dropdown-menu .dropdown-item {
        color: #FFFFFF !important;
    }

    .header-navbar .navbar .nav-item .dropdown-menu .dropdown-item:hover,
    .header-navbar .navbar .nav-item .dropdown-menu .dropdown-item.active,
    .header-navbar .navbar .nav-item .dropdown-menu .dropdown-item:focus {
        color: #FFFFFF !important;
        background-color: rgba(255, 255, 255, 0.1) !important;
    }
}

/* Garantir que o header não mude em nenhum breakpoint */
@media (min-width: 576px) {
    .header,
    .header-scroll,
    .header-light {
        background: #2A3547 !important;
    }
}

@media (min-width: 768px) {
    .header,
    .header-scroll,
    .header-light {
        background: #2A3547 !important;
    }
}

@media (min-width: 992px) {
    .header,
    .header-scroll,
    .header-light {
        background: #2A3547 !important;
    }
}

@media (min-width: 1200px) {
    .header,
    .header-scroll,
    .header-light {
        background: #2A3547 !important;
    }
}

.widget-nofis {
    margin-top: 24px;
}

.nofis-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.nofis-title {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.nofis-text {
    font-size: 14px;
    opacity: 0.95;
    margin-bottom: 14px;
}

.nofis-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.nofis-features li {
    font-size: 13px;
    margin-bottom: 6px;
    opacity: 0.95;
}

.nofis-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #ff9800;
    color: #FFF;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.nofis-btn:hover {
    background: #ffa726;
    color: #FFF;
    transform: translateY(-2px);
}

.nofis-footnote {
    display: block;
    margin-top: 10px;
    font-size: 11px;
    opacity: 0.8;
    text-align: center;
}

.nofis-ad {
    margin: 24px 0;
    max-width: 100%;
}

@media (min-width: 992px) {
    .nofis-ad {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Nas sidebars, usa toda a largura disponível */
    .oredoo-sidebar .nofis-ad {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

.nofis-ad-card {
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFC 100%);
    border-radius: 20px;
    padding: 28px;
    color: var(--color-text-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--color-border);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nofis-ad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #ff9800;
    opacity: 1;
}

.nofis-ad-card:hover {
    box-shadow: 0 12px 40px rgba(255, 152, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.nofis-ad-badge {
    display: inline-block;
    background: rgba(255, 152, 0, 0.1);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: #ff9800;
    border: none;
    transition: all 0.3s ease;
}

.nofis-ad-card:hover .nofis-ad-badge {
    background: #ff9800;
    color: var(--color-white);
}

.nofis-ad-card h4 {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 14px;
    color: var(--color-text-primary);
    font-weight: 600;
    letter-spacing: -0.3px;
}

.nofis-ad-card h4 strong {
    color: #ff9800;
    font-weight: 700;
    display: block;
    margin-top: 4px;
}

.nofis-ad-card p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

.nofis-ad-card p strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

.nofis-ad-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.nofis-ad-card ul li {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--color-text-secondary);
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.nofis-ad-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff9800;
    font-weight: 700;
    font-size: 16px;
}

.nofis-ad-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #ff9800;
    color: var(--color-white) !important;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(255, 152, 0, 0.35);
    border: none;
    cursor: pointer;
    letter-spacing: 0.2px;
}

.nofis-ad-btn:hover {
    background: #ff9800;
    opacity: 0.9;
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.45);
}

.nofis-ad-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .nofis-ad-card {
        padding: 20px;
        border-radius: 16px;
    }

    .nofis-ad-card h4 {
        font-size: 20px;
    }

    .nofis-ad-card p {
        font-size: 14px;
    }

    .nofis-ad-card ul li {
        font-size: 13px;
    }

    .nofis-ad-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Modo Dark - Nofis Ad Card */
.dark .nofis-ad-card {
    background: #252B3B !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.dark .nofis-ad-card:hover {
    background: #2A3441 !important;
    box-shadow: 0 12px 40px rgba(255, 152, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dark .nofis-ad-card h4 {
    color: rgba(255, 255, 255, 0.9);
}

.dark .nofis-ad-card h4 strong {
    color: #ff9800;
}

.dark .nofis-ad-card p {
    color: rgba(255, 255, 255, 0.7);
}

.dark .nofis-ad-card p strong {
    color: rgba(255, 255, 255, 0.9);
}

.dark .nofis-ad-card ul li {
    color: rgba(255, 255, 255, 0.7);
}

.dark .nofis-ad-card ul li::before {
    color: #ff9800;
}

.dark .nofis-ad-badge {
    background: rgba(255, 152, 0, 0.15);
    color: #ff9800;
}

.dark .nofis-ad-card:hover .nofis-ad-badge {
    background: #ff9800;
    color: #ffffff;
}

/* ============================================
   ARTIGOS RELACIONADOS
   ============================================ */

.related-posts {
    margin-top: 80px;
    padding: 60px 0;
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
    border-top: 1px solid var(--color-border);
    position: relative;
}

.related-posts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-primary) 100%);
    opacity: 0.3;
}

.related-posts .container-fluid {
    position: relative;
    z-index: 1;
}

.related-posts h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    letter-spacing: -0.02em;
}

.related-posts h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 2px;
}

.related-post-card {
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFC 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.related-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.related-post-card:hover {
    box-shadow: 0 12px 40px rgba(78, 117, 255, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    text-decoration: none;
    color: inherit;
}

.related-post-card:hover::before {
    opacity: 1;
}

.related-post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--color-primary-soft) 0%, #F0F4FF 100%);
}

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

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

.related-post-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-post-content h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 12px 0;
    color: var(--color-text-primary);
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.related-post-card:hover .related-post-content h3 {
    color: var(--color-primary);
}

.related-post-content p {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Dark Mode para Artigos Relacionados */
.dark .related-posts {
    background: linear-gradient(180deg, #252B3B 0%, #1A1D29 100%);
    border-top-color: rgba(255, 255, 255, 0.1);
}

.dark .related-posts h2 {
    color: #F1F5F9;
}

.dark .related-post-card {
    background: #252B3B;
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .related-post-card:hover {
    background: #2A3441;
    box-shadow: 0 12px 40px rgba(78, 117, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dark .related-post-image {
    background: linear-gradient(135deg, rgba(78, 117, 255, 0.1) 0%, rgba(78, 117, 255, 0.05) 100%);
}

.dark .related-post-content h3 {
    color: #F1F5F9;
}

.dark .related-post-card:hover .related-post-content h3 {
    color: var(--color-primary);
}

.dark .related-post-content p {
    color: #CBD5E1;
}

/* Responsividade para Artigos Relacionados */
@media (max-width: 992px) {
    .related-posts {
        margin-top: 60px;
        padding: 40px 0;
    }

    .related-posts h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .related-post-image {
        height: 180px;
    }

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

    .related-post-content h3 {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .related-posts {
        margin-top: 40px;
        padding: 30px 0;
    }

    .related-posts h2 {
        font-size: 24px;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }

    .related-post-image {
        height: 160px;
    }

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

    .related-post-content h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .related-post-content p {
        font-size: 13px;
    }
}
