/* ============================================
   PORTAL INDIANÓPOLIS - MG
   CSS Principal
   ============================================ */

/* Variables */
:root {
    --primary: #1a5f7a;
    --primary-dark: #134b61;
    --secondary: #57c5b6;
    --accent: #f39c12;
    --danger: #e74c3c;
    --success: #27ae60;
    --dark: #2c3e50;
    --gray: #7f8c8d;
    --light-gray: #ecf0f1;
    --white: #ffffff;
    --bg: #f5f6fa;

    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.top-bar-right a {
    color: var(--white);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-right a:hover {
    color: var(--secondary);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

.search-box {
    flex: 1;
    max-width: 400px;
    display: flex;
    background: var(--light-gray);
    border-radius: 50px;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    background: transparent;
    font-size: 0.95rem;
    outline: none;
}

.search-box button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--primary-dark);
}

.menu-toggle {
    display: none;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    border-radius: var(--radius);
    font-size: 1.2rem;
    cursor: pointer;
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-nav {
    background: var(--primary);
    position: sticky;
    top: 80px;
    z-index: 999;
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.nav-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    padding: 15px 20px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-list a:hover,
.nav-list a.active {
    background: rgba(255,255,255,0.1);
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px 2px 0 0;
}

.btn-anuncie {
    background: var(--accent) !important;
    border-radius: var(--radius);
    margin-left: 10px;
}

.btn-anuncie:hover {
    background: #e67e22 !important;
}

/* ============================================
   BREAKING NEWS
   ============================================ */
.breaking-news {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius);
    margin: 20px 0;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.breaking-label {
    background: var(--danger);
    color: var(--white);
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.breaking-text {
    flex: 1;
    padding: 0 20px;
    font-weight: 500;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    margin-bottom: 30px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
}

.hero-main {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.hero-main:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.hero-main:hover .hero-image img {
    transform: scale(1.05);
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--white);
}

.category-badge.cidade { background: var(--primary); }
.category-badge.saude { background: #27ae60; }
.category-badge.esporte { background: #9b59b6; }
.category-badge.educacao { background: #3498db; }
.category-badge.economia { background: #f39c12; }
.category-badge.policia { background: #e74c3c; }
.category-badge.politica { background: #8e44ad; }
.category-badge.regiao { background: #1abc9c; }

.hero-content {
    padding: 25px;
}

.hero-content h1 {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--dark);
}

.hero-content p {
    color: var(--gray);
    margin-bottom: 15px;
}

.meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--gray);
}

.meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-secondary {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    flex: 1;
}

.hero-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.hero-card a {
    display: flex;
    height: 100%;
}

.hero-card img {
    width: 120px;
    height: 100%;
    object-fit: cover;
}

.hero-card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-card-content .category-badge {
    position: static;
    display: inline-block;
    width: fit-content;
    margin-bottom: 8px;
}

.hero-card-content h3 {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ============================================
   BANNER AD
   ============================================ */
.banner-ad {
    margin: 30px 0;
}

.ad-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ad-placeholder i {
    font-size: 2rem;
    opacity: 0.8;
}

.ad-placeholder span {
    font-weight: 600;
}

.ad-placeholder small {
    opacity: 0.7;
}

.ad-placeholder.vertical {
    padding: 60px 30px;
}

/* ============================================
   CONTENT GRID
   ============================================ */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

/* Section Block */
.section-block {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.section-header h2 {
    font-size: 1.3rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.ver-mais {
    color: var(--primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.ver-mais:hover {
    color: var(--secondary);
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 20px;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-item a {
    display: flex;
    gap: 20px;
}

.news-item img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.news-content {
    flex: 1;
}

.news-content .category-badge {
    position: static;
    display: inline-block;
    margin-bottom: 8px;
}

.news-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: var(--transition);
}

.news-item:hover h3 {
    color: var(--primary);
}

.news-content p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* Jobs Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.job-card {
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.job-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.job-card.featured {
    background: linear-gradient(135deg, #e8f4f8, #d4edda);
    border-color: var(--success);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.job-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.job-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.job-badge.urgente {
    background: var(--danger);
    color: var(--white);
}

.job-badge.destaque {
    background: var(--success);
    color: var(--white);
}

.job-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.job-card .company,
.job-card .salary {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-card .salary {
    color: var(--success);
    font-weight: 600;
}

.btn-job {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-job:hover {
    background: var(--primary-dark);
}

/* Classifieds Grid */
.classifieds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.classified-card {
    background: var(--light-gray);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.classified-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.classified-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.classified-content {
    padding: 15px;
}

.classified-type {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.classified-type.imoveis {
    background: #3498db;
    color: var(--white);
}

.classified-type.veiculos {
    background: #e74c3c;
    color: var(--white);
}

.classified-type.servicos {
    background: #f39c12;
    color: var(--white);
}

.classified-content h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.classified-content .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 12px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #25d366;
    color: var(--white);
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #128c7e;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-block {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.sidebar-block .section-header {
    margin-bottom: 15px;
    padding-bottom: 12px;
}

.sidebar-block .section-header h2 {
    font-size: 1.1rem;
}

/* Guia Comercial Cards */
.empresa-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.empresa-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--light-gray);
    border-radius: var(--radius);
    align-items: center;
    position: relative;
}

.empresa-card.premium {
    background: linear-gradient(135deg, #fff9e6, #fff3cd);
    border: 1px solid var(--accent);
}

.premium-badge {
    position: absolute;
    top: -8px;
    right: 10px;
    background: var(--accent);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 700;
}

.empresa-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius);
}

.empresa-card h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.empresa-card .categoria {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 8px;
}

.btn-whatsapp-sm {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    background: #25d366;
    color: var(--white);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.btn-ver-guia {
    display: block;
    text-align: center;
    margin-top: 15px;
    padding: 12px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-ver-guia:hover {
    background: var(--primary-dark);
}

/* Sidebar Ad */
.sidebar-ad {
    border-radius: var(--radius);
    overflow: hidden;
}

/* Eventos List */
.eventos-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.evento-item {
    display: flex;
    gap: 15px;
    padding: 12px;
    background: var(--light-gray);
    border-radius: var(--radius);
    transition: var(--transition);
}

.evento-item:hover {
    background: #e8f4f8;
}

.evento-data {
    width: 50px;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    padding: 8px 5px;
}

.evento-data .dia {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

.evento-data .mes {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
}

.evento-info h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.evento-info p {
    font-size: 0.8rem;
    color: var(--gray);
}

.btn-ver-mais {
    display: block;
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    background: var(--light-gray);
    color: var(--primary);
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-ver-mais:hover {
    background: var(--primary);
    color: var(--white);
}

/* Social Block */
.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
}

.social-btn.facebook { background: #1877f2; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.whatsapp { background: #25d366; }
.social-btn.youtube { background: #ff0000; }

.social-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Newsletter Block */
.newsletter-block {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: var(--white);
    text-align: center;
}

.newsletter-block h3 {
    margin-bottom: 8px;
}

.newsletter-block p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #e67e22;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 50px 0 0;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--secondary);
}

.footer-col p {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
}

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

.footer-col ul a {
    color: #bdc3c7;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #bdc3c7;
}

.contact-info i {
    color: var(--secondary);
}

.btn-anuncie-footer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 12px 25px;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-anuncie-footer:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* ============================================
   FLOATING ELEMENTS
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

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

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-block {
        flex: 1;
        min-width: 300px;
    }

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

@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .search-box {
        order: 3;
        max-width: 100%;
        flex: 1 0 100%;
        margin-top: 15px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary);
        padding-top: 60px;
        transition: var(--transition);
        z-index: 9999;
    }

    .main-nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list a {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-secondary {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .hero-card {
        min-width: 280px;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .classifieds-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        flex-direction: column;
    }

    .sidebar-block {
        min-width: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-main {
        font-size: 1.1rem;
    }

    .logo-sub {
        font-size: 0.75rem;
    }

    .hero-content h1 {
        font-size: 1.3rem;
    }

    .section-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .news-item a {
        flex-direction: column;
    }

    .news-item img {
        width: 100%;
        height: 180px;
    }

    .social-buttons {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .back-to-top {
        bottom: 80px;
        right: 20px;
    }
}

/* ============================================
   PAGES STYLES (Shared)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 40px 0;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    opacity: 0.9;
}

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

/* Category Filter */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.filter-btn {
    padding: 8px 16px;
    background: var(--light-gray);
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    background: var(--white);
    border-radius: var(--radius);
    font-weight: 500;
    transition: var(--transition);
}

.pagination a:hover,
.pagination span.active {
    background: var(--primary);
    color: var(--white);
}

/* Overlay for mobile menu */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    z-index: 9998;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}
