/* Variáveis e Reset */
:root {
    --primary-color: #0f0f0f;
    --secondary-color: #1e293b;
    --accent-color: #f59e0b;
    --text-color: #334155;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --container-width: 1200px;
}
* { box-sizing: border-box; }
body {
    line-height: 1.6;
    background-color: var(--light-bg);
}
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}
/* Header */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* CSS para o HEADER HERO (dentro do slider) */
/* Header Hero DENTRO do slider */
.hero-slider {
    position: relative;
}
.hero-header-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
    transition: all 0.3s ease;
}
.hero-header-container.header-scrolled {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 0;
}
.hero-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Logo no header hero */
.hero-header-container .site-branding {
    flex-shrink: 0;
}
.hero-header-container .site-title a {
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
}
/* Navegação no header hero */
.hero-main-navigation {
    display: flex;
    align-items: center;
}
.hero-primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.hero-primary-menu li {
    margin-left: 30px;
}
.hero-primary-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: opacity 0.3s;
    padding: 5px 0;
    position: relative;
}
.hero-primary-menu a:hover {
    opacity: 0.8;
}
.hero-primary-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s;
}
.hero-primary-menu a:hover::after {
    width: 100%;
}
/* Botão CTA no header hero */
.hero-header-container .header-cta-button {
    margin-left: 30px;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}
.hero-header-container .header-cta-button:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}
/* Botão menu toggle para header hero */
.hero-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 15px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}
.hero-menu-toggle.active {
    background: rgba(255, 255, 255, 0.2);
}
.hero-menu-toggle .menu-toggle-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    position: relative;
    transition: all 0.3s;
}
.hero-menu-toggle .menu-toggle-icon::before,
.hero-menu-toggle .menu-toggle-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #ffffff;
    left: 0;
    transition: all 0.3s;
}
.hero-menu-toggle .menu-toggle-icon::before {
    top: -8px;
}
.hero-menu-toggle .menu-toggle-icon::after {
    bottom: -8px;
}
.hero-menu-toggle.active .menu-toggle-icon {
    background: transparent;
}
.hero-menu-toggle.active .menu-toggle-icon::before {
    transform: rotate(45deg);
    top: 0;
}
.hero-menu-toggle.active .menu-toggle-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}
/* Menu mobile do header hero */
/* Mobile Navigation */
.hero-mobile-navigation {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999;
    padding-top: 80px;
    overflow-y: auto;
}
.hero-mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}
.hero-mobile-menu li {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}
.hero-mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 600;
    display: block;
    padding: clamp(10px, 2vw, 15px);
    transition: all 0.3s ease;
}
.hero-mobile-menu a:hover {
    color: #0073aa;
}
/* Responsivo para header hero */
@media (max-width: 992px) {
    .hero-header-container {
        padding: 15px 0;
    }
    
    .hero-primary-menu-container {
        display: none;
    }
    
    .hero-header-container .header-cta-button {
        display: none;
    }
    
    .hero-menu-toggle {
        display: flex;
    }
    
    .hero-mobile-navigation {
        display: none;
    }
}
/* Para celulares */
@media (max-width: 768px) {
    .hero-header-container .site-title a {
        font-size: 20px;
    }
    
    .hero-mobile-menu a {
        font-size: 16px;
        padding: 10px 0;
    }
    .hero-slider .slide-content h2 {
        font-size: 1.5rem !important;
        margin-bottom: 0px !important;
        font-weight: 700;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
}
/* CSS para as imagens do slider */
.swiper-slide {
    position: relative;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
}
.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Mostrar imagem desktop por padrão */
.slide-image.desktop-image {
    display: block;
}
.slide-image.mobile-image {
    display: none;
}
/* Overlay do slide */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
}
.slide-content {
    max-width: 800px;
    padding: 40px;
    text-align: center;
    z-index: 2;
}
/* Para dispositivos móveis - trocar as imagens */
@media (max-width: 768px) {
    .swiper-slide {
        min-height: 500px;
    }
    
    .slide-image.desktop-image {
        display: none;
    }
    
    .slide-image.mobile-image {
        display: block;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .slide-content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
}
/* Controlar visibilidade das imagens desktop/mobile */
.swiper-slide {
    position: relative;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
}
.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.3s ease;
}
/* Desktop image - visível apenas em desktop */
.slide-image.desktop-image {
    display: block;
}
/* Mobile image - visível apenas em mobile */
.slide-image.mobile-image {
    display: none;
}
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5); /* Fallback */
}
.slide-content {
    max-width: 800px;
    padding: 40px;
    text-align: center;
    z-index: 2;
}
/* Para dispositivos móveis - trocar as imagens */
@media (max-width: 768px) {
    .swiper-slide {
        min-height: 500px;
    }
    
    .slide-image.desktop-image {
        display: none;
    }
    
    .slide-image.mobile-image {
        display: block;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .slide-content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
}
/* Para dispositivos muito pequenos */
@media (max-width: 480px) {
    .swiper-slide {
        min-height: 400px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
}
.site-title a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 1.5rem;
}
.main-navigation ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.main-navigation li {
    margin-left: 30px;
}
.main-navigation a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
}
.main-navigation a:hover {
    color: var(--primary-color);
}
/* Hero Slider */
.hero-slider {
    height: 600px;
    width: 100%;
}
.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.slide-overlay {
    background: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--white);
}
.slide-content {
    max-width: 60%;
}
.slide-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}
.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}
/* Portfolio Grid */
.portfolio-grid-section {
    padding: 80px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}
.portfolio-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.portfolio-card:hover {
    transform: translateY(-10px);
}
.portfolio-thumbnail {
    position: relative;
    height: 250px;
    overflow: hidden;
}
.portfolio-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.portfolio-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.portfolio-card:hover .portfolio-hover {
    opacity: 1;
}
.view-details {
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--white);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
}
.portfolio-info {
    padding: 20px;
}
.portfolio-title a {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 1.25rem;
}
.portfolio-categories {
    margin-top: 10px;
}
.portfolio-categories span {
    background: #e2e8f0;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 5px;
}
/* Single Project */
.project-header {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0;
    margin-bottom: 40px;
}
.project-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}
.project-featured-image img {
    width: 100%;
    border-radius: 0;
    margin-bottom: 30px;
    height: 100%;
}
.table-of-contents-wrapper{
    border-radius: 0 !important;
}
.project-details-box {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.project-details-box ul {
    list-style: none;
    padding: 0;
}
.project-details-box li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}
.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}
.btn-block {
    display: block;
    text-align: center;
}
/* Footer */
.site-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 0;
    margin-top: 80px;
    text-align: center;
}
/* ============================================
   HEADER PADRÃO (SEM SLIDER/BANNER)
   ============================================ */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Logo Header Padrão */
.site-branding {
    display: flex;
    align-items: center;
}
.custom-logo {
    max-height: 60px;
    width: auto;
}
.site-title a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 800;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}
.site-description {
    margin: 5px 0 0;
    font-size: 14px;
    color: #6c757d;
}
/* Navegação Header Padrão */
.primary-menu-container {
    display: flex;
    align-items: center;
}
.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.primary-menu li {
    margin-left: clamp(15px, 2vw, 30px);
}
.primary-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: clamp(14px, 1.5vw, 16px);
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}
.primary-menu a:hover {
    color: var(--primary-color);
}
.primary-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}
.primary-menu a:hover::after {
    width: 100%;
}
/* CTA Button Header Padrão */
.header-cta-button {
    margin-left: clamp(15px, 2vw, 30px);
    padding: clamp(8px, 2vw, 10px) clamp(15px, 3vw, 25px);
    background: var(--primary-color);
    color: var(--white);
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary-color);
}
.header-cta-button:hover {
    background: transparent;
    color: var(--primary-color);
}
/* Menu Toggle Header Padrão */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: var(--light-bg);
}
.menu-toggle-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    position: relative;
    transition: all 0.3s;
}
.menu-toggle-icon::before,
.menu-toggle-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    left: 0;
    transition: all 0.3s;
}
.menu-toggle-icon::before {
    top: -8px;
}
.menu-toggle-icon::after {
    bottom: -8px;
}
.menu-toggle.active .menu-toggle-icon {
    background: transparent;
}
.menu-toggle.active .menu-toggle-icon::before {
    transform: rotate(45deg);
    top: 0;
}
.menu-toggle.active .menu-toggle-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}
/* Mobile Navigation Header Padrão */
.mobile-navigation {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 999;
    padding-top: 80px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}
.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}
.mobile-menu li {
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}
.mobile-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: clamp(18px, 4vw, 22px);
    font-weight: 600;
    display: block;
    padding: clamp(12px, 2vw, 15px) clamp(20px, 4vw, 30px);
    transition: all 0.3s ease;
    border-radius: 8px;
}
.mobile-menu a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}
.mobile-menu .header-cta-button {
    margin: 20px auto;
    display: inline-block;
    width: auto;
}
/* ============================================
   HEADER HERO (COM SLIDER/BANNER)
   ============================================ */
.hero-header-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
}
.hero-header-container.header-scrolled {
    background: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    position: fixed;
    animation: slideDown 0.3s ease;
}
.hero-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Logo Header Hero */
.hero-header-container .site-branding {
    flex-shrink: 0;
}
.hero-header-container .site-title a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(20px, 5vw, 24px);
    font-weight: 700;
}
.hero-header-container .site-description {
    color: rgba(255, 255, 255, 0.8);
}
/* Navegação Header Hero */
.hero-primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.hero-primary-menu li {
    margin-left: clamp(15px, 2vw, 30px);
}
.hero-primary-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(14px, 1.5vw, 16px);
    transition: opacity 0.3s;
    padding: 5px 0;
    position: relative;
}
.hero-primary-menu a:hover {
    opacity: 0.8;
}
.hero-primary-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s;
}
.hero-primary-menu a:hover::after {
    width: 100%;
}
/* CTA Button Header Hero */
.hero-header-container .header-cta-button {
    margin-left: clamp(15px, 2vw, 30px);
    padding: clamp(8px, 2vw, 10px) clamp(15px, 3vw, 25px);
    background: #fff;
    color: #333;    
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}
.hero-header-container .header-cta-button:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
/* Menu Toggle Header Hero */
.hero-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 15px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1001;
}
.hero-menu-toggle .menu-toggle-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: all 0.3s;
}
.hero-menu-toggle .menu-toggle-icon::before,
.hero-menu-toggle .menu-toggle-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #fff;
    left: 0;
    transition: all 0.3s;
}
/* Mobile Navigation Header Hero */
.hero-mobile-navigation {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999;
    padding-top: 80px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}
.hero-mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}
.hero-mobile-menu li {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}
.hero-mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 600;
    display: block;
    padding: clamp(10px, 2vw, 15px);
    transition: all 0.3s ease;
    border-radius: 8px;
}
.hero-mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #0073aa;
}
.hero-mobile-menu .header-cta-button {
    margin: 20px auto;
    display: inline-block;
    width: auto;
    background: var(--primary-color);
    color: #333;
}
.hero-mobile-menu .header-cta-button:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
/* ============================================
   MEDIA QUERIES UNIFICADAS
   ============================================ */
@media (max-width: 992px) {
    /* Ajustes gerais para tablets */
    .primary-menu li,
    .hero-primary-menu li {
        margin-left: 15px;
    }
}
@media (max-width: 768px) {
    /* MOBILE - HEADER PADRÃO */
    .menu-toggle {
        display: flex;
    }
    
    .primary-menu {
        display: none;
    }
    
    .mobile-navigation.active {
        display: block;
    }
    
    .header-cta-button {
        display: none; /* Escondido no mobile, aparece no menu mobile */
    }
    
    /* MOBILE - HEADER HERO */
    .hero-menu-toggle {
        display: flex;
    }
    
    .hero-primary-menu {
        display: none;
    }
    
    .hero-mobile-navigation.active {
        display: block;
    }
    
    .hero-header-container .header-cta-button {
        display: none; /* Escondido no mobile, aparece no menu mobile */
    }
    
    /* Slider ajustes mobile */
    .swiper-slide {
        min-height: clamp(300px, 70vh, 500px);
    }
}
@media (max-width: 480px) {
    /* Mobile pequeno */
    .mobile-navigation,
    .hero-mobile-navigation {
        padding-top: 70px;
    }
    
    .mobile-menu a,
    .hero-mobile-menu a {
        font-size: 18px;
        padding: 12px;
    }
    
    .site-title a {
        font-size: 1.2rem;
    }
}
/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
/* ============================================
   UTILITÁRIOS
   ============================================ */
/* Quando menu mobile está aberto */
body.menu-open {
    overflow: hidden;
}
/* Estado ativo para botões toggle */
.menu-toggle.active,
.hero-menu-toggle.active {
    background: rgba(0, 115, 170, 0.1);
}
/* Classe para quando header está fixo no scroll */
.header-scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
/* ============================================
   COMPATIBILIDADE COM HTML EXISTENTE
   ============================================ */
/* Garantir que os headers usem o mesmo sistema */
.site-header .container,
.hero-header-container .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}
/* Top Header Bar (se existir) */
.top-header-bar {
    background-color: #f8f9fa;
    color: #6c757d;
    padding: 8px 0;
    font-size: 14px;
}
.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
/* Ajuste para quando há top header */
body.has-top-header .site-header {
    position: relative;
}
body.has-top-header .hero-header-container {
    top: 40px; /* altura do top header */
}
/* Top Header Bar */
.top-header-bar {
    background-color: #f8f9fa;
    color: #6c757d;
    padding: 8px 0;
    font-size: 14px;
}
.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.header-contact-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.contact-item i {
    color: #007bff;
}
.header-top-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}
.top-menu {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.top-menu a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s;
}
.top-menu a:hover {
    color: #007bff;
}
.social-menu {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.social-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    transition: all 0.3s;
}
.social-menu a:hover {
    background-color: #007bff;
    color: white;
}
/* Main Header */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-branding {
    display: flex;
    align-items: center;
}
.custom-logo {
    max-height: 60px;
    width: auto;
}
.site-title-wrapper h1 {
    margin: 0;
    font-size: 24px;
}
.site-title a {
    color: #333;
    text-decoration: none;
}
.site-description {
    margin: 5px 0 0;
    font-size: 14px;
    color: #6c757d;
}
/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
}
.primary-menu-container ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.primary-menu-container a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.primary-menu-container a:hover {
    color: #007bff;
}
.header-cta-button {
    background-color: #007bff;
    color: white;
    padding: 8px 20px; 
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}
.header-cta-button:hover {
    background-color: #0056b3;
}
/* Menu Toggle for Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}
/* ============================================
   HEADER HERO LAYOUT
   ============================================ */
/* Container principal para header hero + slider */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    overflow: hidden;
}
/* Header posicionado sobre o slider */
.hero-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background-color: transparent;
}
.hero-header .container {
    position: relative;
    z-index: 1001;
}
.hero-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Slider ajustado para não cobrir o header */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
}
/* Ajuste do conteúdo do slide para considerar o header */
.hero-slider .slide-content {
    padding-top: 120px; /* Espaço para o header */
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* Header com fundo ao rolar */
.hero-header.header-scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* Navegação do header hero */
.hero-header .main-navigation {
    display: flex;
    align-items: center;
}
.hero-header .primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.hero-header .primary-menu li {
    margin: 0 15px;
    position: relative;
}
.hero-header .primary-menu > li > a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}
.hero-header .primary-menu > li > a:hover {
    color: #f0f0f0;
}
.hero-header .primary-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0073aa;
    transition: width 0.3s ease;
}
.hero-header .primary-menu > li > a:hover::after {
    width: 100%;
}
.hero-header .header-cta-button {
    background: #0073aa;
    color: white;
    padding: 10px 25px;    
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #0073aa;
}
.hero-header .header-cta-button:hover {
    background: transparent;
    color: #0073aa;
}
/* Logo no header hero */
.hero-header .site-branding .custom-logo {
    max-height: 50px;
    width: auto;
}
.hero-header .site-title a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
}
.hero-header .site-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: 5px;
}
/* Menu toggle no header hero */
.hero-header .menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin-left: 15px;
}
.hero-header .menu-toggle-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: white;
    position: relative;
    transition: background-color 0.3s ease;
}
.hero-header .menu-toggle-icon::before,
.hero-header .menu-toggle-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    left: 0;
    transition: transform 0.3s ease;
}
.hero-header .menu-toggle-icon::before {
    top: -8px;
}
.hero-header .menu-toggle-icon::after {
    bottom: -8px;
}
.hero-header .menu-toggle.active .menu-toggle-icon {
    background-color: transparent;
}
.hero-header .menu-toggle.active .menu-toggle-icon::before {
    transform: rotate(45deg);
    top: 0;
}
.hero-header .menu-toggle.active .menu-toggle-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}
/* ============================================
   RESPONSIVE - HEADER HERO
   ============================================ */
@media (max-width: 992px) {
    .hero-header .primary-menu li {
        margin: 0 10px;
    }
    
    .hero-header .primary-menu > li > a {
        font-size: 15px;
    }
    
    .hero-header .header-cta-button {
        padding: 8px 20px;
        margin-left: 15px;
    }
}
@media (max-width: 768px) {
    .hero-header-container {
        flex-wrap: wrap;
    }
    
    .hero-header .site-branding {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .hero-header .main-navigation {
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
    
    .hero-header .primary-menu-container {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 20px;
    }
    
    .hero-header .primary-menu-container.active {
        display: block;
    }
    
    .hero-header .primary-menu {
        flex-direction: column;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 20px;
        border-radius: 8px;
    }
    
    .hero-header .primary-menu li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .hero-header .primary-menu > li > a {
        display: block;
        padding: 10px;
        font-size: 16px;
    }
    
    .hero-header .primary-menu > li > a::after {
        display: none;
    }
    
    .hero-header .header-cta-button {
        margin-left: 0;
        margin-top: 10px;
        display: block;
        text-align: center;
    }
    
    .hero-header .menu-toggle {
        display: block;
    }
    
    /* Ajuste do slider para mobile */
    .hero-slider,
    .hero-slider-wrapper {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-slider .slide-content {
        padding-top: 100px;
        min-height: calc(80vh - 100px);
    }
}
@media (max-width: 576px) {
    .hero-slider,
    .hero-slider-wrapper {
        height: 70vh;
        min-height: 400px;
    }
    
    .hero-slider .slide-content {
        padding-top: 90px;
        min-height: calc(70vh - 90px);
    }
    
    .hero-header {
        padding: 15px 0;
    }
    
    .hero-header.header-scrolled {
        padding: 10px 0;
    }
}
/* ============================================
   SLIDER OVERLAY & CONTENT
   ============================================ */
.hero-slider .swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-slider .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
}
.hero-slider .slide-content {
    width: 100%;
    color: white;
    text-align: left;
}
.hero-slider .slide-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero-slider .slide-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.hero-slider .btn-primary {
    background-color: #0073aa;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 0 !important;
}
.hero-slider .btn-primary:hover {
    background-color: transparent;
    color: #0073aa;
}

.blog-section .section-btn{
    border-radius: 0;
    background: var(--primary-color) !important;
    color: var(--white) !important;
}
/* ============================================
   NAVIGATION CONTROLS
   ============================================ */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.6);
}
.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}
.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: white;
    opacity: 0.5;
}
.hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: #0073aa;
}
/* ============================================
   SINGLE POST STYLES
   ============================================ */
.single-post-article {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}
.entry-header {
    margin-bottom: 30px;
}
/* Breadcrumbs */
.breadcrumbs {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}
.breadcrumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.breadcrumbs li {
    margin-right: 5px;
    display: flex;
    align-items: center;
}
.breadcrumbs li:not(:last-child)::after {
    content: '›';
    margin-left: 5px;
    color: #999;
}
.breadcrumbs a {
    color: #0073aa;
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}
/* ============================================
   SINGLE POST LAYOUT
   ============================================ */
.single-layout {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.content-area {
    padding: 0 15px;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}
.sidebar-area {
    padding: 0 15px;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}
/* Container principal */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
/* Ajuste para mobile */
@media (max-width: 992px) {
    .content-area {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .sidebar-area {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}
/* Widgets na sidebar */
.widget-area {
    position: sticky;
    top: 30px;
}
.widget {
    margin-bottom: 30px;
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}
.widget-title {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
    color: #333;
}
.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.widget li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.widget li:last-child {
    border-bottom: none;
}
.widget a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}
.widget a:hover {
    color: #0073aa;
}
/* Widget específico: Posts Recentes */
.widget_recent_entries li {
    display: flex;
    align-items: center;
    gap: 15px;
}
.widget_recent_entries .post-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.widget_recent_entries .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.widget_recent_entries .post-info {
    flex: 1;
}
.widget_recent_entries .post-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}
.widget_recent_entries .post-date {
    font-size: 12px;
    color: #666;
}
/* Widget específico: Categorias */
.widget_categories li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.widget_categories .post-count {
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    color: #666;
}
/* Widget específico: Busca */
.widget_search .search-form {
    position: relative;
}
.widget_search input[type="search"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
.widget_search button[type="submit"] {
    position: absolute;
    right: 5px;
    top: 5px;
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}
/* Widget específico: Tags */
.tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-cloud-link {
    display: inline-block;
    padding: 6px 12px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px !important;
    transition: all 0.3s ease;
}
.tag-cloud-link:hover {
    background: #0073aa;
    color: white;
    transform: translateY(-2px);
}
/* Widget específico: Sobre */
.widget_text {
    text-align: center;
}
.widget_text .textwidget {
    line-height: 1.6;
    color: #666;
}
/* Responsividade */
@media (max-width: 768px) {
    .single-post-article {
        padding: 20px;
    }
    
    .widget {
        padding: 20px;
    }
    
    .widget-area {
        position: static;
    }
}
/* Adicione estas classes se estiver usando Bootstrap */
.col-lg-8 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
@media (min-width: 992px) {
    .col-lg-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    
    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}
/* ============================================
   ARCHIVE TEMPLATE - ADVANCED UX/UI
   ============================================ */
/* Archive Hero */
.archive-hero {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
    margin-bottom: 60px;
}
.archive-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.archive-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.archive-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}
.archive-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    min-width: 120px;
    transition: transform 0.3s ease, background 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}
.stat-item i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}
.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}
/* Animated Background */
.archive-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.bg-particle {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 20s infinite linear;
}
.bg-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}
.bg-particle:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: -5s;
    width: 150px;
    height: 150px;
}
.bg-particle:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
    width: 80px;
    height: 80px;
}
.bg-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}
/* Archive Controls */
.archive-controls {
    background: #f8f9fa;
    padding: 30px 0;
    margin-bottom: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}
.controls-grid {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 30px;
    align-items: center;
}
.view-toggle {
    display: flex;
    gap: 10px;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.view-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.view-btn.active,
.view-btn:hover {
    background: #0073aa;
    color: white;
    transform: translateY(-2px);
}
.sort-options {
    display: flex;
    align-items: center;
    gap: 15px;
}
.sort-label {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.sort-select {
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: white;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    min-width: 200px;
    transition: all 0.3s ease;
}
.sort-select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0,115,170,0.1);
}
.archive-search {
    position: relative;
    min-width: 300px;
}
.archive-search .search-field {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}
.archive-search .search-field:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0,115,170,0.1);
}
.archive-search .search-submit {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
}
.filter-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
.filter-toggle:hover {
    background: #005a87;
    transform: translateY(-2px);
}
/* Filters Panel */
.filters-panel {
    margin-top: 30px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    display: none;
}
.filters-panel.active {
    display: block;
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.filter-group {
    margin-bottom: 20px;
}
.filter-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
}
.filter-options::-webkit-scrollbar {
    width: 6px;
}
.filter-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}
.filter-options::-webkit-scrollbar-thumb {
    background: #0073aa;
    border-radius: 3px;
}
.filter-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}
.filter-option:hover,
.filter-option.active {
    background: #0073aa;
    color: white;
    transform: translateX(5px);
}
.tag-option {
    display: inline-flex;
    margin: 5px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: calc(0.8rem + var(--tag-size) / 100);
}
.author-option {
    display: flex;
    align-items: center;
    gap: 10px;
}
.author-avatar-small img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.author-info {
    flex: 1;
}
.author-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
}
.author-count {
    display: block;
    font-size: 12px;
    color: #666;
}
.filter-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
/* Posts Container */
.posts-container {
    display: grid;
    gap: 30px;
    margin-bottom: 60px;
    transition: all 0.3s ease;
}
/* Grid View */
.posts-container[data-view="grid"] {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}
/* List View */
.posts-container[data-view="list"] {
    grid-template-columns: 1fr;
}
.posts-container[data-view="list"] .post-card {
    display: flex;
    flex-direction: row;
    max-width: 100%;
}
.posts-container[data-view="list"] .card-image {
    flex: 0 0 300px;
    max-width: 300px;
}
.posts-container[data-view="list"] .card-content {
    flex: 1;
}
/* Masonry View */
.posts-container[data-view="masonry"] {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 10px;
}
.posts-container[data-view="masonry"] .post-card {
    grid-row-end: span 20;
}
/* Post Cards */
.post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card-image:hover img {
    transform: scale(1.05);
}
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,115,170,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.card-image:hover .image-overlay {
    opacity: 1;
}
.overlay-content {
    color: white;
    text-align: center;
}
.overlay-content i {
    font-size: 2rem;
    margin-bottom: 10px;
}
.no-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}
.card-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}
.post-card:hover .card-actions {
    opacity: 1;
    transform: translateX(0);
}
.action-btn {
    width: 36px;
    height: 36px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.action-btn:hover {
    background: #0073aa;
    color: white;
    transform: scale(1.1);
}
.reading-time {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-categories {
    margin-bottom: 15px;
}
.category-tag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--category-color, #0073aa);
    color: white;
    font-size: 0.8rem;
    border-radius: 20px;
    text-decoration: none;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}
.category-tag:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}
.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}
.card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}
.card-title a:hover {
    color: #0073aa;
}
.card-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}
/* Meta Information */
.card-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.card-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.author-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.author-info {
    flex: 1;
}
.author-name {
    display: block;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}
.post-date {
    display: block;
    font-size: 0.8rem;
    color: #888;
}
.card-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.stat {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #888;
    font-size: 0.9rem;
}
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}
.tag-link {
    display: inline-block;
    padding: 4px 10px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}
.tag-link:hover {
    background: #0073aa;
    color: white;
    transform: translateY(-2px);
}
/* Progress Bar */
.progress-container {
    margin: 20px 0;
}
.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #333;
}
.progress-bar {
    height: 6px;
    background: #f8f9fa;
    border-radius: 3px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0073aa, #00b4d8);
    border-radius: 3px;
    transition: width 1s ease-in-out;
}
/* Read More Button */
.card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}
.card-read-more:hover {
    background: #005a87;
    transform: translateX(5px);
    gap: 15px;
}
/* No Posts Found */
.no-posts-found {
    grid-column: 1 / -1;
    padding: 60px 20px;
    text-align: center;
}
.empty-state {
    max-width: 500px;
    margin: 0 auto;
}
.empty-state-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 3rem;
}
.empty-state h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}
.empty-state p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}
.empty-state-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}
/* Pagination */
.archive-pagination {
    margin: 60px 0;
}
.traditional-pagination {
    margin-bottom: 40px;
}
.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
    transform: translateY(-2px);
}
.pagination .prev,
.pagination .next {
    padding: 0 20px;
    width: auto;
}
.load-more-container {
    text-align: center;
    margin: 40px 0;
}
.btn-load-more {
    padding: 15px 40px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}
.btn-load-more:hover:not(:disabled) {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,115,170,0.3);
}
.btn-load-more:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.infinite-scroll-progress {
    max-width: 300px;
    margin: 30px auto;
}
.progress-tracker {
    height: 4px;
    background: #f8f9fa;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}
.progress-tracker .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0073aa, #00b4d8);
    width: 0%;
    transition: width 0.3s ease;
}
.progress-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
}
/* Archive Sidebar */
.archive-sidebar {
    background: #f8f9fa;
    padding: 60px 0;
    margin-top: 60px;
    border-radius: 15px;
}
.sidebar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.sidebar-widget {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}
.widget-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}
/* Popular Posts Widget */
.popular-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.popular-post-link {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.popular-post-link:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}
.popular-post-image {
    position: relative;
    flex: 0 0 80px;
}
.popular-post-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}
.popular-rank {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 25px;
    height: 25px;
    background: #0073aa;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}
.popular-post-content {
    flex: 1;
}
.popular-post-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #333;
}
.popular-post-meta {
    font-size: 0.8rem;
    color: #888;
}
/* Newsletter Widget */
.newsletter-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}
.newsletter-form .form-group {
    margin-bottom: 15px;
}
.newsletter-email {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}
.newsletter-email:focus {
    outline: none;
    border-color: #0073aa;
}
.btn-block {
    width: 100%;
}
.privacy-notice {
    font-size: 0.8rem;
    color: #888;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
/* Social Widget */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-link.facebook { background: #3b5998; }
.social-link.twitter { background: #1da1f2; }
.social-link.instagram { background: #e1306c; }
.social-link.linkedin { background: #0077b5; }
.social-link.youtube { background: #ff0000; }
.social-link.github { background: #333; }
.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
/* Modals */
.quick-view-modal,
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}
.quick-view-modal.active,
.share-modal.active {
    display: block;
}
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}
.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalAppear 0.3s ease;
}
@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
}
.modal-close:hover {
    background: #0073aa;
    color: white;
    transform: rotate(90deg);
}
.quick-view-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.quick-view-details h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}
.quick-view-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: #888;
    font-size: 0.9rem;
}
.quick-view-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}
.quick-view-actions {
    display: flex;
    gap: 15px;
}
.share-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #333;
}
.share-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
}
/* Loading State */
.archive-loading {
    text-align: center;
    padding: 60px;
}
.loading-spinner .spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Responsive Design */
@media (max-width: 1200px) {
    .controls-grid {
        grid-template-columns: auto 1fr auto;
    }
    
    .archive-search {
        min-width: 250px;
    }
}
@media (max-width: 992px) {
    .archive-title {
        font-size: 2.5rem;
    }
    
    .controls-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .view-toggle {
        justify-content: center;
    }
    
    .sort-options {
        justify-content: center;
    }
    
    .archive-search {
        min-width: 100%;
    }
    
    .filter-toggle {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .posts-container[data-view="list"] .post-card {
        flex-direction: column;
    }
    
    .posts-container[data-view="list"] .card-image {
        flex: 0 0 200px;
        max-width: 100%;
    }
    
    .quick-view-content {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .archive-hero {
        padding: 60px 0;
    }
    
    .archive-title {
        font-size: 2rem;
    }
    
    .archive-stats {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 15px;
    }
    
    .posts-container[data-view="grid"],
    .posts-container[data-view="masonry"] {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-container {
        width: 95%;
        padding: 20px;
    }
}
@media (max-width: 576px) {
    .archive-title {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .posts-container[data-view="grid"],
    .posts-container[data-view="masonry"] {
        grid-template-columns: 1fr;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .empty-state-actions {
        flex-direction: column;
    }
    
    .quick-view-actions {
        flex-direction: column;
    }
}
/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .archive-controls {
        background: #1a1a1a;
    }
    
    .view-toggle,
    .sort-select,
    .archive-search .search-field {
        background: #2a2a2a;
        border-color: #3a3a3a;
        color: #e0e0e0;
    }
    
    .filters-panel,
    .sidebar-widget,
    .post-card {
        background: #2a2a2a;
        color: #e0e0e0;
    }
    
    .filter-title,
    .card-title a,
    .popular-post-title {
        color: #e0e0e0;
    }
    
    .card-excerpt,
    .empty-state p {
        color: #b0b0b0;
    }
    
    .filter-option {
        background: #3a3a3a;
        color: #e0e0e0;
    }
    
    .modal-container {
        background: #2a2a2a;
        color: #e0e0e0;
    }
}
/* Print Styles */
@media print {
    .archive-controls,
    .archive-sidebar,
    .card-actions,
    .view-toggle,
    .filter-toggle {
        display: none;
    }
    
    .post-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .posts-container {
        display: block;
    }
}
/* Categories */
.entry-categories {
    margin-bottom: 15px;
}
.category-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: #0073aa;
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}
.category-badge:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}
/* Title */
.entry-title {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #333;
}
/* Meta */
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}
.meta-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}
.meta-item i {
    margin-right: 8px;
    color: #0073aa;
}
.author-avatar img {
    border-radius: 50%;
    margin-right: 10px;
}
.author-name a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
}
.author-name a:hover {
    color: #0073aa;
}
.view-count {
    font-weight: 600;
}
.edit-link a {
    color: #666;
    text-decoration: none;
}
.edit-link a:hover {
    color: #0073aa;
}
/* Featured Image */
.entry-featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}
.featured-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.featured-image:hover {
    transform: scale(1.02);
}
.featured-image-caption {
    text-align: center;
    font-style: italic;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    padding: 0 20px;
}
/* Entry Content */
.entry-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #222;
}
.entry-content p {
    margin-bottom: 25px;
}
.entry-content blockquote {
    border-left: 4px solid #0073aa;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
    font-size: 20px;
}
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.entry-content ul,
.entry-content ol {
    margin-bottom: 25px;
    padding-left: 30px;
}
.entry-content li {
    margin-bottom: 10px;
}
.entry-content table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
}
.entry-content table th,
.entry-content table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}
.entry-content table th {
    background-color: #f8f9fa;
    font-weight: 600;
}
.entry-content pre {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 30px 0;
}
.entry-content code {
    background-color: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}
/* Page Links */
.page-links {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}
.page-links-title {
    font-weight: 600;
    margin-right: 10px;
}
.page-number {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    background-color: white;
    border-radius: 4px;
}
.page-number:hover {
    background-color: #0073aa;
    color: white;
}
/* Tags */
.entry-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}
.post-tags {
    margin-bottom: 30px;
}
.tags-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
}
.tags-title i {
    margin-right: 10px;
    color: #0073aa;
}
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag-link {
    display: inline-block;
    padding: 6px 15px;
    background-color: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}
.tag-link:hover {
    background-color: #0073aa;
    color: white;
}
/* Share Buttons */
.post-share {
    margin-bottom: 40px;
}
.share-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
}
.share-title i {
    margin-right: 10px;
    color: #0073aa;
}
.share-buttons {
    display: flex;
    gap: 10px;
}
.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}
.share-button.facebook {
    background-color: #3b5998;
}
.share-button.twitter {
    background-color: #1da1f2;
}
.share-button.linkedin {
    background-color: #0077b5;
}
.share-button.whatsapp {
    background-color: #25d366;
}
.share-button.copy-link {
    background-color: #6c757d;
    border: none;
    cursor: pointer;
}
.share-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.copy-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.copy-link:hover .copy-tooltip {
    opacity: 1;
    visibility: visible;
}
/* Post Navigation */
.post-navigation {
    margin: 40px 0;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}
.navigation-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
}
.navigation-title i {
    margin-right: 10px;
    color: #0073aa;
}
.navigation-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.nav-link {
    display: block;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}
.nav-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #0073aa;
}
.nav-direction {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.nav-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}
.nav-date {
    font-size: 12px;
    color: #999;
}
/* Author Box */
.author-box {
    display: flex;
    gap: 30px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 40px 0;
    align-items: center;
}
.author-avatar-large img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
}
.author-info {
    flex: 1;
}
.author-name {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}
.author-name a {
    color: inherit;
    text-decoration: none;
}
.author-name a:hover {
    color: #0073aa;
}
.author-bio {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}
.author-social {
    display: flex;
    gap: 10px;
}
.author-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: white;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}
.author-social-link:hover {
    background-color: #0073aa;
    color: white;
    transform: translateY(-2px);
}
/* Related Posts */
.related-posts {
    margin: 60px 0;
}
.related-posts-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
    display: flex;
    align-items: center;
}
.related-posts-title i {
    margin-right: 10px;
    color: #0073aa;
}
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.related-post {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}
.related-post-image {
    display: block;
    overflow: hidden;
}
.related-post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.related-post:hover .related-post-image img {
    transform: scale(1.05);
}
.related-post-content {
    padding: 20px;
}
.related-post-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}
.related-post-title a {
    color: #333;
    text-decoration: none;
}
.related-post-title a:hover {
    color: #0073aa;
}
.related-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 12px;
    color: #666;
}
.related-post-meta i {
    margin-right: 5px;
    color: #0073aa;
}
.related-post-excerpt {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}
/* ============================================
   PAGINATION STYLES
   ============================================ */
.pagination-wrapper {
    margin: 60px 0;
    text-align: center;
}
.pagination-wrapper .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 16px;
    background-color: white;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.pagination-wrapper .page-numbers:hover {
    background-color: #0073aa;
    color: white;
    border-color: #0073aa;
}
.pagination-wrapper .current {
    background-color: #0073aa;
    color: white;
    border-color: #0073aa;
}
.pagination-wrapper .dots {
    border: none;
    background: none;
}
.pagination-info {
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}
/* Infinite Scroll */
.infinite-scroll-container {
    text-align: center;
    margin: 40px 0;
}
.load-more-button {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.load-more-button:hover:not(:disabled) {
    background-color: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}
.load-more-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
.loading-spinner {
    margin-top: 20px;
}
.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Numbered Pagination */
.numbered-pagination {
    margin: 40px 0;
}
.pagination-list {
    display: flex;
    list-style: none;
    justify-content: center;
    margin: 0;
    padding: 0;
    gap: 5px;
}
.page-item.active .page-link {
    background-color: #0073aa;
    color: white;
    border-color: #0073aa;
}
.page-link {
    display: block;
    padding: 8px 16px;
    background-color: white;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.page-link:hover {
    background-color: #0073aa;
    color: white;
    border-color: #0073aa;
}
/* ============================================
   COMMENTS STYLES
   ============================================ */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}
.comments-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}
.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.comment-body {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}
.comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.comment-author {
    display: flex;
    align-items: center;
    flex: 1;
}
.comment-author img {
    border-radius: 50%;
    margin-right: 15px;
}
.comment-author .fn {
    font-weight: 600;
    color: #333;
}
.comment-metadata {
    color: #666;
    font-size: 14px;
}
.comment-content {
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}
.reply-link {
    display: inline-block;
    padding: 6px 15px;
    background-color: white;
    color: #0073aa;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}
.reply-link:hover {
    background-color: #0073aa;
    color: white;
}
/* Comment Form */
.comment-form {
    margin-top: 40px;
}
.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}
.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
}
.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}
.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}
.comment-form-cookies-consent input {
    width: auto;
}
.comment-form-cookies-consent label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 14px;
}
.comment-form .submit {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.comment-form .submit:hover {
    background-color: #005a87;
}
/* ============================================
   SIDEBAR STYLES
   ============================================ */
.widget-area {
    padding-left: 30px;
}
.widget {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.widget-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
}
.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.widget li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.widget li:last-child {
    border-bottom: none;
}
.widget a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}
.widget a:hover {
    color: #0073aa;
}
.widget_search input[type="search"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}
.widget_categories .children {
    margin-left: 20px;
    margin-top: 10px;
}
.widget_recent_posts .post-date {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}
.widget_tag_cloud .tag-cloud-link {
    display: inline-block;
    padding: 4px 10px;
    background-color: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    margin: 0 5px 5px 0;
    font-size: 14px !important;
    transition: all 0.3s ease;
}
.widget_tag_cloud .tag-cloud-link:hover {
    background-color: #0073aa;
    color: white;
}
/* ============================================
   RESPONSIVE - SINGLE POST
   ============================================ */
@media (max-width: 992px) {
    .widget-area {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .single-post-article {
        padding: 30px;
    }
    
    .entry-title {
        font-size: 2rem;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-social {
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .single-post-article {
        padding: 20px;
    }
    
    .entry-title {
        font-size: 1.75rem;
    }
    
    .entry-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .navigation-links {
        grid-template-columns: 1fr;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
}
@media (max-width: 576px) {
    .entry-title {
        font-size: 1.5rem;
    }
    
    .entry-content {
        font-size: 16px;
    }
    
    .comment-form input,
    .comment-form textarea {
        font-size: 14px;
    }
}
/* Responsive */
@media (max-width: 768px) {
    .top-header-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-contact-info {
        justify-content: center;
    }
    
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .primary-menu-container ul {
        flex-direction: column;
        display: none;
    }
    
    .primary-menu-container ul.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
}
/* Menu Toggle Button */
.menu-toggle {
    display: none;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    position: relative;
    cursor: pointer;
    padding: 0;
}
.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.menu-toggle span:first-child {
    top: 6px;
}
.menu-toggle span:nth-child(2) {
    top: 13px;
}
.menu-toggle span:last-child {
    top: 20px;
}
.menu-toggle.active span:first-child {
    transform: rotate(45deg);
    top: 13px;
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:last-child {
    transform: rotate(-45deg);
    top: 13px;
}
/* Header Scroll Effect */
.header-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    animation: slideDown 0.3s ease;
}
/* Hero Header Styles */
.hero-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}
.hero-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Hero Header Navigation */
.hero-header .main-navigation {
    display: flex;
    align-items: center;
}
.hero-header .primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.hero-header .primary-menu li {
    margin: 0 15px;
}
.hero-header .primary-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.hero-header .primary-menu a:hover {
    color: #f0f0f0;
}
.hero-header .header-cta-button {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 0;
    text-decoration: none;
    margin-left: 20px;
    transition: background 0.3s ease;
}
.hero-header .header-cta-button:hover {
    background: #005a87;
}
/* Slider in Hero Header */
.hero-slider .hero-header ~ .swiper-wrapper {
    margin-top: 80px;
}
/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}
.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}
.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.btn-secondary {
    background: white;
    color: #667eea;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}
/* Adicione isso no seu style.css */
.swiper-slide {
    position: relative;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
}
.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Desktop image - visível apenas em desktop */
.slide-image.desktop-image {
    display: block;
}
/* Mobile image - visível apenas em mobile */
.slide-image.mobile-image {
    display: none;
}
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5); /* Fallback */
}
.slide-content {
    max-width: 800px;
    padding: 40px;
    text-align: center;
    z-index: 2;
}
/* Para dispositivos móveis - trocar as imagens */
@media (max-width: 768px) {
    .swiper-slide {
        min-height: 500px;
    }
    
    .slide-image.desktop-image {
        display: none;
    }
    
    .slide-image.mobile-image {
        display: block;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .slide-content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
}
/* Para dispositivos muito pequenos */
@media (max-width: 480px) {
    .swiper-slide {
        min-height: 400px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
}
/* Reset e configurações gerais do formulário */
.wpcf7-form {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: #333;
    line-height: 1.6;
}
/* Container dos campos */
.wpcf7-form p {
    margin-bottom: 1.5rem;
    position: relative;
}
/* Labels */
.wpcf7-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #2d3748;
    transition: color 0.2s ease;
}
.wpcf7-form label:hover {
    color: #4a5568;
}
/* Campos de input e textarea */
.wpcf7-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
    box-sizing: border-box;
}
.wpcf7-form-control:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
    background-color: #f8fafc;
}
.wpcf7-form-control:hover:not(:focus) {
    border-color: #cbd5e0;
}
/* Campos obrigatórios */
.wpcf7-form-control.wpcf7-validates-as-required {
    background-image: none;
    position: relative;
}
/* Input específicos */
.wpcf7-form-control[type="text"],
.wpcf7-form-control[type="email"] {
    height: 48px;
}
.wpcf7-form-control.wpcf7-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}
/* Placeholder styling */
.wpcf7-form-control::placeholder {
    color: #a0aec0;
    opacity: 1;
}
/* Botão de submit */
.wpcf7-submit {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    position: relative;
    overflow: hidden;
}
.wpcf7-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.25);
}
.wpcf7-submit:active:not(:disabled) {
    transform: translateY(0);
}
.wpcf7-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
/* Spinner */
.wpcf7-spinner {
    position: absolute;
    margin-left: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.wpcf7-submit:disabled ~ .wpcf7-spinner {
    opacity: 1;
}
/* Container dos campos ocultos */
.hidden-fields-container {
    display: none;
}
/* Campos anti-spam (Akismet) */
.akismet-fields-container {
    display: none !important;
}
/* Mensagens de resposta */
.wpcf7-response-output {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin: 1.5rem 0 0 0;
    border-width: 1px;
    font-size: 0.95rem;
    display: none;
}
.wpcf7-response-output.wpcf7-validation-errors,
.wpcf7-response-output.wpcf7-mail-sent-ng {
    background-color: #fed7d7;
    border-color: #fc8181;
    color: #c53030;
}
.wpcf7-response-output.wpcf7-mail-sent-ok {
    background-color: #c6f6d5;
    border-color: #68d391;
    color: #22543d;
}
/* Validação de erros */
.wpcf7-not-valid-tip {
    color: #e53e3e;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}
.wpcf7-form-control.wpcf7-not-valid {
    border-color: #fc8181;
    background-color: #fff5f5;
}
.wpcf7-form-control.wpcf7-not-valid:focus {
    box-shadow: 0 0 0 3px rgba(252, 129, 129, 0.15);
}
/* Efeitos de foco para acessibilidade */
.wpcf7-form-control:focus-visible {
    outline: 2px solid #4299e1;
    outline-offset: 2px;
}
/* Responsividade */
@media (max-width: 768px) {
    .wpcf7-form {
        padding: 1rem;
    }
    
    .wpcf7-form-control {
        padding: 0.625rem 0.875rem;
    }
    
    .wpcf7-submit {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
}
@media (max-width: 480px) {
    .wpcf7-form label {
        font-size: 0.9rem;
    }
    
    .wpcf7-form-control {
        font-size: 0.95rem;
    }
}
/* Animações suaves */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.wpcf7-form p {
    animation: fadeIn 0.3s ease-out forwards;
}
.wpcf7-form p:nth-child(1) { animation-delay: 0.1s; }
.wpcf7-form p:nth-child(2) { animation-delay: 0.2s; }
.wpcf7-form p:nth-child(3) { animation-delay: 0.3s; }
.wpcf7-form p:nth-child(4) { animation-delay: 0.4s; }
.wpcf7-form p:nth-child(5) { animation-delay: 0.5s; }
/* Indicador visual de campo obrigatório */
.wpcf7-form-control.wpcf7-validates-as-required::after {
    content: '*';
    color: #e53e3e;
    margin-left: 0.25rem;
    font-weight: bold;
}
/* Container do formulário para melhor espaçamento */
.wpcf7-form.init {
    max-width: 600px;
    margin: 0 auto;
}
/* ============================================
   PAGE TEMPLATE STYLES - CORRIGIDO
   ============================================ */
/* Container adjustments */
.container-wide {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}
/* Page Header with Banner */
.page-featured-header {
    position: relative;
    overflow: hidden;
    max-height: 30vh; /* Maximum 30% of viewport height */
    min-height: 200px; /* Minimum height */
    margin-bottom: 2rem;
}
.page-banner {
    position: relative;
    width: 100%;
    height: 30vh; /* Fixed height based on viewport */
    max-height: 400px; /* Maximum absolute height */
    min-height: 200px;
}
.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 2;
}
.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 3;
    color: #fff;
}
/* Breadcrumbs in Banner */
.page-breadcrumbs {
    margin-bottom: 1.5rem;
}
.page-breadcrumbs .breadcrumb-nav {
    font-size: 0.9rem;
}
.page-breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}
.page-breadcrumbs a:hover {
    color: #fff;
    text-decoration: underline;
}
.page-breadcrumbs .breadcrumb_last {
    color: #fff;
    opacity: 0.8;
    font-weight: 500;
}
/* Page Header Content */
.page-header-content {
    max-width: 800px;
}
.page-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.page-subtitle {
    font-size: 1.3rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
}
/* Page Meta */
.page-meta {
    margin-top: 2rem;
}
.edit-link .post-edit-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}
.edit-link .post-edit-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
/* Simple Header (no image) */
.simple-header {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 2rem;
}
.simple-header .page-title {
    color: #1a202c;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: none;
}
.simple-header .page-subtitle {
    color: #4a5568;
    font-size: 1.4rem;
    opacity: 1;
}
/* Page Content */
.page-content {
    padding: 0 0 4rem 0;
}
.page-layout-wrapper {
    width: 100%;
}
.page-layout {
    display: grid;
    gap: 3rem;
    width: 100%;
    align-items: start;
}
.page-layout.full-width {
    grid-template-columns: 1fr;
    max-width: 1000px;
    margin: 0 auto;
}
.page-layout.content-sidebar {
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    max-width: 1320px;
    margin: 0 auto;
}
.page-layout.sidebar-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    max-width: 1320px;
    margin: 0 auto;
}
/* Main Content Area */
.page-content-main {
    min-width: 0; /* Prevents grid blowout */
}
/* Page Article */
.page-article {
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}
/* Sidebar Area */
.page-sidebar {
    min-width: 0; /* Prevents grid blowout */
    position: sticky;
    top: 2rem;
    align-self: start;
}
/* Entry Content */
.entry-content {
    line-height: 1.8;
    color: #4a5568;
    font-size: 1.1rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.entry-content > * {
    margin-bottom: 1.75rem;
}
.entry-content > *:first-child {
    margin-top: 0;
}
.entry-content > *:last-child {
    margin-bottom: 0;
}
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #1a202c;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
    font-weight: 700;
}
.entry-content h2 {
    font-size: 2rem;
    border-bottom: 3px solid #4299e1;
    padding-bottom: 0.75rem;
    position: relative;
}
.entry-content h2:before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #4299e1;
    border-radius: 3px;
}
.entry-content h3 {
    font-size: 1.75rem;
    border-left: 4px solid #4299e1;
    padding-left: 1rem;
}
.entry-content h4 {
    font-size: 1.5rem;
    color: #2d3748;
}
.entry-content h5 {
    font-size: 1.25rem;
    color: #4a5568;
}
.entry-content h6 {
    font-size: 1.1rem;
    color: #718096;
}
.entry-content p {
    margin-bottom: 1.75rem;
    line-height: 1.9;
}
.entry-content p strong {
    color: #2d3748;
    font-weight: 600;
}
.entry-content p em {
    color: #4a5568;
    font-style: italic;
}
.entry-content ul,
.entry-content ol {
    padding-left: 2rem;
    margin-bottom: 1.75rem;
}
.entry-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}
.entry-content ul li {
    position: relative;
    padding-left: 1.5rem;
}
.entry-content ul li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4299e1;
    font-weight: bold;
    font-size: 1.2rem;
}
.entry-content ol {
    counter-reset: item;
}
.entry-content ol li {
    counter-increment: item;
    padding-left: 1.5rem;
}
.entry-content ol li:before {
    content: counter(item) '.';
    position: absolute;
    left: 0;
    color: #4299e1;
    font-weight: bold;
}
.entry-content blockquote {
    border-left: 4px solid #4299e1;
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    font-style: italic;
    color: #2d3748;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border-radius: 0 12px 12px 0;
    position: relative;
    font-size: 1.2rem;
    line-height: 1.7;
}
.entry-content blockquote:before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #4299e1;
    opacity: 0.2;
    font-family: Georgia, serif;
}
.entry-content blockquote p {
    margin: 0;
    position: relative;
    z-index: 1;
}
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}
.entry-content img.alignleft {
    float: left;
    margin: 0.5rem 2rem 1rem 0;
    max-width: 50%;
}
.entry-content img.alignright {
    float: right;
    margin: 0.5rem 0 1rem 2rem;
    max-width: 50%;
}
.entry-content img.aligncenter {
    display: block;
    margin: 2rem auto;
}
.entry-content figure {
    margin: 2.5rem 0;
    text-align: center;
}
.entry-content figure img {
    margin: 0;
}
.entry-content figcaption {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #718096;
    font-style: italic;
    text-align: center;
}
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.entry-content table th,
.entry-content table td {
    padding: 1rem 1.25rem;
    border: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}
.entry-content table th {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: #fff;
    font-weight: 600;
    border-color: #3182ce;
}
.entry-content table tr:nth-child(even) {
    background-color: #f8fafc;
}
.entry-content table tr:hover {
    background-color: #edf2f7;
}
.entry-content pre,
.entry-content code {
    background: #2d3748;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
}
.entry-content pre {
    padding: 1.5rem;
    overflow-x: auto;
    margin: 2rem 0;
    line-height: 1.6;
}
.entry-content code {
    padding: 0.2rem 0.4rem;
}
.entry-content pre code {
    background: transparent;
    padding: 0;
}
/* Page Links */
.page-links {
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.page-links-title {
    font-weight: 600;
    color: #2d3748;
    margin-right: 1rem;
    font-size: 1.1rem;
}
.page-number {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 42px;
    text-align: center;
}
.page-number:hover {
    background: #4299e1;
    color: #fff;
    border-color: #4299e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(66, 153, 225, 0.3);
}
/* Entry Footer */
.entry-footer {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e2e8f0;
}
/* Last Modified */
.page-modified {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #718096;
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #4299e1;
}
.page-modified i {
    color: #4299e1;
    font-size: 1.1rem;
}
.modified-label {
    font-weight: 600;
    color: #4a5568;
}
/* Page Share */
.page-share {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.share-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.share-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.share-button.facebook {
    background: linear-gradient(135deg, #3b5998 0%, #2d4373 100%);
}
.share-button.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}
.share-button.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005582 100%);
}
.share-button.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
}
.share-button.copy-link {
    background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
    border: none;
    cursor: pointer;
}
.copy-tooltip {
    position: absolute;
    top: -120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #2d3748;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.copy-tooltip:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #2d3748 transparent transparent;
}
.copy-link:hover .copy-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
/* Child Pages Section */
.child-pages-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e2e8f0;
}
.child-pages-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 2rem;
    font-weight: 700;
}
.child-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}
.child-page-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.child-page-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: #4299e1;
}
.child-page-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.child-page-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}
.child-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.child-page-card:hover .child-page-image img {
    transform: scale(1.08);
}
.child-page-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.child-page-title {
    font-size: 1.25rem;
    color: #2d3748;
    margin: 0 0 1rem 0;
    line-height: 1.4;
    font-weight: 600;
}
.child-page-excerpt {
    font-size: 0.95rem;
    color: #718096;
    margin: 0;
    line-height: 1.6;
    flex-grow: 1;
}
/* Page Comments */
.page-comments {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e2e8f0;
}
/* Call to Action Section */
.page-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}
.page-cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100"><path fill="rgba(255,255,255,0.05)" d="M0,0v100h1000V0C1000,0,500,50,0,0z"/></svg>') bottom center/100% auto no-repeat;
}
.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.cta-text {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
    background: #fff;
    color: #667eea;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}
.btn-cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}
.btn-cta:hover {
    background: #f7fafc;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    color: #667eea;
}
.btn-cta:hover:before {
    left: 100%;
}
/* Responsive Design */
@media (max-width: 1200px) {
    .container-wide {
        max-width: 1140px;
        padding: 0 30px;
    }
    
    .page-layout.content-sidebar,
    .page-layout.sidebar-content {
        max-width: 1140px;
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        gap: 2.5rem;
    }
    
    .page-article {
        padding: 2.5rem;
    }
}
@media (max-width: 992px) {
    .container-wide {
        max-width: 960px;
        padding: 0 25px;
    }
    
    .page-layout.content-sidebar,
    .page-layout.sidebar-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 800px;
    }
    
    .page-sidebar {
        position: static;
        order: 2;
    }
    
    .page-content-main {
        order: 1;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .simple-header .page-title {
        font-size: 2.5rem;
    }
    
    .page-article {
        padding: 2rem;
    }
    
    .entry-content h2 {
        font-size: 1.75rem;
    }
    
    .entry-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .child-pages-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}
@media (max-width: 768px) {
    .container-wide {
        padding: 0 20px;
    }
    
    .page-banner {
        height: 25vh;
        min-height: 180px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .simple-header {
        padding: 3rem 0 2rem;
    }
    
    .simple-header .page-title {
        font-size: 2rem;
    }
    
    .page-article {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .entry-content {
        font-size: 1rem;
    }
    
    .entry-content h2 {
        font-size: 1.5rem;
    }
    
    .entry-content h3 {
        font-size: 1.3rem;
    }
    
    .entry-content h4 {
        font-size: 1.2rem;
    }
    
    .entry-content blockquote {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .child-pages-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .btn-cta {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
}
@media (max-width: 576px) {
    .container-wide {
        padding: 0 15px;
    }
    
    .page-banner {
        height: 20vh;
        min-height: 150px;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .page-article {
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .entry-content ul,
    .entry-content ol {
        padding-left: 1.5rem;
    }
    
    .entry-content table th,
    .entry-content table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .page-modified {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .share-buttons {
        gap: 0.5rem;
    }
    
    .share-button {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .page-cta {
        padding: 3rem 0;
    }
}
/* Print Styles */
@media print {
    .page-banner,
    .page-cta,
    .share-buttons,
    .edit-link,
    .page-breadcrumbs,
    .page-sidebar {
        display: none;
    }
    
    .page-article {
        box-shadow: none;
        padding: 0;
        border: none;
    }
    
    .entry-content {
        font-size: 12pt;
        line-height: 1.6;
        color: #000;
    }
    
    .page-title {
        color: #000;
        font-size: 16pt;
        margin-bottom: 1rem;
    }
    
    .entry-content h2,
    .entry-content h3,
    .entry-content h4 {
        color: #000;
        page-break-after: avoid;
    }
    
    .entry-content img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    .entry-content table {
        page-break-inside: avoid;
    }
    
    .page-layout {
        display: block;
    }
}
/* ============================================
   NEWS PAGE STYLES
   ============================================ */
.news-main {
    background: #f8fafc;
}
/* News Hero Section */
.news-hero {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #fff;
    overflow: hidden;
}
.news-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.bg-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite linear;
}
.bg-particle:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}
.bg-particle:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}
.bg-particle:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 30%;
    animation-delay: 10s;
}
.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(66, 153, 225, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(102, 126, 234, 0.3) 0%, transparent 50%);
}
.news-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.news-hero-text {
    max-width: 600px;
}
.news-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.news-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.featured-news-slider .swiper-slide {
    background: transparent;
}
/* News Stats */
.news-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}
.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}
.stat-item i {
    font-size: 1.5rem;
    color: #4299e1;
}
.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}
.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    white-space: nowrap;
}
/* News Hero Search */
.news-hero-search {
    max-width: 500px;
}
.search-input-group {
    position: relative;
    margin-bottom: 1rem;
}
.search-field {
    width: 100%;
    padding: 1.25rem 1.5rem;
    padding-right: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.search-field::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
.search-field:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}
.search-submit {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 60px;
    background: #4299e1;
    border: none;
    border-radius: 0 12px 12px 0;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}
.search-submit:hover {
    background: #3182ce;
}
.search-tips {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
.tip-label {
    font-weight: 600;
    color: #4299e1;
}
/* Featured News Section */
.featured-news-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
}
.section-header {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
}
.section-title {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 2rem;
    color: #2d3748;
    margin: 0;
}
.section-title i {
    color: #4299e1;
}
.section-controls {
    display: flex;
    gap: 0.5rem;
}
.section-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e2e8f0;
    color: #4a5568;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.section-nav:hover {
    background: #4299e1;
    border-color: #4299e1;
    color: #fff;
    transform: translateY(-2px);
}
/* Featured News Slider */
.featured-news-slider {
    position: relative;
    overflow: hidden;
}
.swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease;
}
.swiper-slide {
    /*flex: 0 0 33.333%;*/
    padding: 0 15px;
    box-sizing: border-box;
}
.featured-news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
}
.featured-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.featured-news-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.featured-news-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}
.news-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.featured-news-card:hover .news-thumbnail {
    transform: scale(1.05);
}
.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4299e1 0%, #667eea 100%);
    color: #fff;
    font-size: 3rem;
}
.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(237, 137, 54, 0.3);
}
.featured-news-content {
    padding: 1.75rem;
}
.news-categories {
    margin-bottom: 1rem;
}
.featured-news-content .news-title{
    color: var(--primary-color) !important;
}
.category-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--category-color, #4299e1);
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.category-tag:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.news-title {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    line-height: 1.4;
    color: #2d3748;
}
.news-excerpt {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #718096;
}
.meta-item img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
.author-name {
    font-weight: 600;
    color: #4a5568;
}
.swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #cbd5e0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
    background: #4299e1;
    transform: scale(1.2);
}
/* News Content Section */
.news-content-section {
    padding: 4rem 0;
}
.news-content-wrapper {
    display: grid;
    gap: 3rem;
}
.news-content-wrapper.has-sidebar {
    grid-template-columns: 1fr 350px;
}
.news-content-wrapper.no-sidebar {
    grid-template-columns: 1fr;
}
/* News Filters */
.news-filters {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2.5rem;
}
.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.filters-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    color: #2d3748;
    margin: 0;
}
.clear-filters {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #4a5568;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.clear-filters:hover {
    background: #4299e1;
    border-color: #4299e1;
    color: #fff;
}
.filters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.filter-title {
    font-size: 1rem;
    font-weight: 600;
    color: #4a5568;
    margin: 0;
}
.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.filter-option {
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.filter-option.active {
    background: #4299e1;
    border-color: #4299e1;
    color: #fff;
}
.filter-option:hover:not(.active) {
    background: #edf2f7;
    border-color: #cbd5e0;
}
.filter-count {
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
}
.filter-option.active .filter-count {
    background: rgba(255, 255, 255, 0.3);
}
.sort-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #4a5568;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.sort-select:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}
/* Layout Toggle */
.layout-toggle {
    display: flex;
    gap: 0.5rem;
}
.layout-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    color: #718096;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.layout-btn.active,
.layout-btn:hover {
    background: #4299e1;
    border-color: #4299e1;
    color: #fff;
}
/* News Grid */
.news-grid-container {
    position: relative;
}
.news-grid {
    display: grid;
    gap: 2rem;
    transition: all 0.3s ease;
}
.news-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.news-grid.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.news-grid.list {
    grid-template-columns: 1fr;
}
.news-grid.list .news-card {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    gap: 1.5rem !important;
    align-items: start !important;
}
.news-grid.list .news-card-image {
    height: 200px;
}
.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
}
/* Desabilitar o flex do inner no modo lista */
.news-grid.list .news-card-inner {
    display: contents !important;
}
/* Garantir que a imagem ocupe toda a altura */
.news-grid.list .news-card-image {
    height: auto !important;
    min-height: 200px;
    margin: 0 !important;
}
.news-grid.list .news-card-image .news-image-link {
    display: block;
    height: 100%;
}
.news-grid.list .news-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    position: relative;
}
/* Garantir que o conteúdo fique bem espaçado */
.news-grid.list .news-card-content {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}
/* Responsivo para tablet */
@media (max-width: 992px) {
    .news-grid.list .news-card {
        grid-template-columns: 240px 1fr !important;
        gap: 1.25rem !important;
    }
}
/* Responsivo para mobile - volta para coluna */
@media (max-width: 768px) {
    .news-grid.list .news-card {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    
    .news-grid.list .news-card-image {
        min-height: 200px;
    }
    
    .news-grid.list .news-thumbnail {
        height: 200px;
    }
    
    .news-grid.list .news-card-content {
        padding: 1rem !important;
    }
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}
.news-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.news-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.news-image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}
.news-card:hover .image-overlay {
    opacity: 1;
}
.read-more-text {
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.news-card:hover .read-more-text {
    transform: translateY(0);
}
.news-card-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}
.news-card:hover .news-card-actions {
    opacity: 1;
    transform: translateX(0);
}
.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: #4a5568;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.action-btn:hover {
    background: #4299e1;
    color: #fff;
    transform: scale(1.1);
}
.breaking-badge {
    position: absolute;
    top: 15px;
    left: 15px;
}
.badge-text {
    display: block;
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, #f56565 0%, #c53030 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(197, 48, 48, 0.3);
}
.news-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.news-title {
    font-size: 1.25rem;
    margin: 0.75rem 0;
    line-height: 1.4;
}
.news-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}
.news-title a:hover {
    color: #4299e1;
}
.news-excerpt {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}
.meta-left,
.meta-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #718096;
}
.meta-item.author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
.author-name {
    font-weight: 600;
    color: #4a5568;
}
.meta-item i {
    font-size: 0.9rem;
}
.news-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.tag-link {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    color: #718096;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.tag-link:hover {
    background: #4299e1;
    border-color: #4299e1;
    color: #fff;
}
/* No News Found */
.no-news-found {
    grid-column: 1 / -1;
    padding: 4rem 0;
}
.empty-state {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}
.empty-state-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4299e1 0%, #667eea 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: #fff;
    font-size: 2.5rem;
}
.empty-state h3 {
    font-size: 1.75rem;
    color: #2d3748;
    margin-bottom: 1rem;
}
.empty-state p {
    color: #718096;
    margin-bottom: 2rem;
    line-height: 1.6;
}
/* Loading Spinner */
.news-loading {
    padding: 3rem 0;
    text-align: center;
}
.loading-spinner {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top-color: #4299e1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
/* ============================================
   CORREÇÃO DO META NO LAYOUT LISTA
   ============================================ */
/* Container principal do meta */
.news-grid.list .news-meta {
    display: flex !important;
    justify-content: flex-start; !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
    margin-top: 0.75rem !important;
    padding-top: 0.75rem !important;
    border-top: 1px solid #e2e8f0;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}
/* Lado esquerdo e direito */
.news-grid.list .meta-left,
.news-grid.list .meta-right {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
}
/* Cada item individual */
.news-grid.list .meta-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    font-size: 0.75rem !important;
    color: #718096;
    white-space: nowrap !important;
}
/* Avatar do autor */
.news-grid.list .meta-item.author img {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50%;
    flex-shrink: 0;
}
/* Nome do autor - limitar tamanho */
.news-grid.list .author-name {
    max-width: 100px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: inline-block;
}
/* Data */
.news-grid.list .meta-item.date time {
    white-space: nowrap;
}
/* Ícones */
.news-grid.list .meta-item i {
    font-size: 0.7rem;
    width: 14px;
    flex-shrink: 0;
}
/* ============================================
   RESPONSIVO PARA TELAS MENORES
   ============================================ */
@media (max-width: 768px) {
    .news-grid.list .news-meta {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }
    
    .news-grid.list .meta-left,
    .news-grid.list .meta-right {
        width: 100% !important;
        justify-content: space-between !important;
    }
    
    .news-grid.list .meta-item {
        white-space: nowrap !important;
    }
}
@media (max-width: 480px) {
    .news-grid.list .meta-left,
    .news-grid.list .meta-right {
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }
    
    .news-grid.list .author-name {
        max-width: 80px !important;
    }
    
    .news-grid.list .meta-item {
        font-size: 0.7rem !important;
    }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(0) rotate(180deg); }
    75% { transform: translateY(20px) rotate(270deg); }
}
/* News Pagination */
.news-pagination {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}
.pagination-numbers a,
.pagination-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #4a5568;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.pagination-numbers a:hover {
    background: #4299e1;
    border-color: #4299e1;
    color: #fff;
}
.pagination-numbers .current {
    background: #4299e1;
    border-color: #4299e1;
    color: #fff;
}
.pagination-numbers .prev,
.pagination-numbers .next {
    width: 44px;
    padding: 0;
}
.load-more-container {
    text-align: center;
}
.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #4299e1 0%, #667eea 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-load-more:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(66, 153, 225, 0.3);
}
.btn-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
/* News Sidebar */
.news-sidebar {
    position: sticky;
    top: 2rem;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.sidebar-widget {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.widget-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    color: #2d3748;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}
.widget-title i {
    color: #4299e1;
}
/* Popular News Widget */
.popular-news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.popular-news-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}
.popular-news-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
.popular-news-link {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}
.popular-news-rank {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #4299e1;
    font-size: 0.9rem;
}
.popular-news-item:nth-child(1) .popular-news-rank {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
    color: #fff;
}
.popular-news-item:nth-child(2) .popular-news-rank {
    background: linear-gradient(135deg, #cbd5e0 0%, #a0aec0 100%);
    color: #fff;
}
.popular-news-item:nth-child(3) .popular-news-rank {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: #fff;
}
.popular-news-content {
    flex-grow: 1;
}
.popular-news-title {
    font-size: 0.95rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    color: #2d3748;
    transition: color 0.3s ease;
}
.popular-news-link:hover .popular-news-title {
    color: #4299e1;
}
.popular-news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #718096;
}
.popular-news-meta i {
    margin-right: 0.25rem;
}
/* Categories Widget */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 8px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
}
.category-item:hover {
    background: #4299e1;
    color: #fff;
    transform: translateX(5px);
}
.category-name {
    font-weight: 500;
}
.category-count {
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.1rem 0.5rem;
    border-radius: 10px;
}
.category-item:hover .category-count {
    background: rgba(255, 255, 255, 0.3);
}
/* Tags Widget */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.tag-cloud-link {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
}
.tag-cloud-link:hover {
    background: #4299e1;
    border-color: #4299e1;
    color: #fff;
    transform: translateY(-2px);
}
/* Newsletter Widget */
.newsletter-content p {
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.newsletter-form .form-group {
    margin-bottom: 1rem;
}
.newsletter-email {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.newsletter-email:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}
.btn-block {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #4299e1 0%, #667eea 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(66, 153, 225, 0.3);
}
/* Share Modal */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.share-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}
.modal-container {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8fafc;
    border: none;
    color: #4a5568;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.modal-close:hover {
    background: #4299e1;
    color: #fff;
}
.share-title {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-align: center;
}
.share-options {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
/* Responsive Design */
@media (max-width: 1200px) {
    .news-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .news-hero-search {
        max-width: 100%;
    }
    
    .filters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid.grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 992px) {
    .news-content-wrapper.has-sidebar {
        grid-template-columns: 1fr;
    }
    
    .news-sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .news-title {
        font-size: 2.8rem;
    }
    
    .swiper-slide {
        flex: 0 0 50%;
    }
}
@media (max-width: 768px) {
    .news-hero {
        padding: 3rem 0;
    }
    
    .news-title {
        font-size: 2.2rem;
    }
    
    .news-stats {
        gap: 1rem;
    }
    
    .stat-item {
        flex: 1;
        min-width: 150px;
    }
    
    .swiper-slide {
        flex: 0 0 100%;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid.grid-3,
    .news-grid.grid-2 {
        grid-template-columns: 1fr;
    }
    
    .news-grid.list .news-card {
        grid-template-columns: 1fr;
    }
    
    .news-grid.list .news-card-image {
        height: 200px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .section-controls {
        align-self: flex-end;
    }
}
@media (max-width: 576px) {
    .news-title {
        font-size: 1.8rem;
    }
    
    .news-subtitle {
        font-size: 1.1rem;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 0.5rem);
        min-width: auto;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .meta-left,
    .meta-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .pagination-numbers {
        flex-wrap: wrap;
        justify-content: center;
    }
}
/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: #f8f9fa;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.blog-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}
.blog-card-image {
    height: 200px;
    overflow: hidden;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}
.blog-card-content {
    padding: 25px;
}
.blog-card-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
}
.blog-card-title a {
    color: #333;
    text-decoration: none;
}
.blog-card-title a:hover {
    color: #0073aa;
}
.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}
.blog-card-meta time,
.blog-card-meta .category {
    display: flex;
    align-items: center;
}
.blog-card-meta .category {
    background: #e9ecef;
    padding: 3px 10px;
    border-radius: 15px;
}
.blog-card-excerpt {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}
.blog-card-link {
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}
.blog-card-link:hover {
    text-decoration: underline;
}
/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}
.section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}
/* Header Hero Scroll Effect */
.hero-header {
    background-color: transparent;
    transition: all 0.3s ease;
}
.hero-header.header-scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 10px 0;
}
/* Slider Navigation Control */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    transition: opacity 0.3s ease;
}
.hero-slider .swiper-button-hidden {
    display: none !important;
}
/* Single Slide - Centralizar conteúdo */
.hero-slider .swiper-slide.single-slide .slide-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
/* Ajustes para mobile no header hero */
@media (max-width: 768px) {
    .hero-header .hero-header-container {
        flex-wrap: wrap;
    }
    
    .hero-header .site-branding {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .hero-header .main-navigation {
        width: 100%;
        justify-content: center;
    }
    
    .hero-header .primary-menu {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-header .primary-menu li {
        margin: 5px 0;
    }
}
/* Smooth transitions for slider */
.swiper-slide {
    transition: opacity 0.3s ease;
}
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .primary-menu-container ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .primary-menu-container ul.active {
        right: 0;
    }
    
    .primary-menu-container ul li {
        width: 100%;
    }
    
    .primary-menu-container ul a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #eee;
    }
    
    /* Overlay quando menu está aberto */
    .primary-menu-container ul.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: -1;
    }
}
/* Responsividade */
@media (max-width: 768px) {
    .project-layout {
        grid-template-columns: 1fr;
    }
    .slide-content h2 {
        font-size: 2.5rem;
    }
    .header-container {
        flex-direction: column;
    }
    .main-navigation ul {
        margin-top: 20px;
    }
    .main-navigation li {
        margin: 0 10px;
    }
}
