/* ========================================
   MOBILE.CSS - Sistema Responsivo Elegante
   Oeste Notícias - Template Classic
   ======================================== */

/* ===== BREAKPOINTS =====
   - Mobile: 0-767px
   - Tablet: 768-991px
   - Desktop: 992px+ 
*/

/* ===================================
   1. CONFIGURAÇÕES GLOBAIS MOBILE
   =================================== */

@media (max-width: 991px) {
    /* Fonte base maior para melhor leitura */
    html {
        font-size: 16px;
    }
    
    body {
        overflow-x: hidden;
        -webkit-text-size-adjust: 100%;
    }
    
    /* Container responsivo */
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
    }
    
    .header-container {
        padding: 0 10px;
    }
    
    /* Melhorar scrolling no mobile */
    * {
        -webkit-overflow-scrolling: touch;
    }
}

/* ===================================
   2. HEADER RESPONSIVO
   =================================== */

/* Esconder elementos mobile no desktop */
@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .search-toggle-mobile {
        display: none !important;
    }
    
    .search-form .search-close {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .header-moderno {
        position: sticky;
        top: 0;
        z-index: 9999;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        margin-bottom: 0 !important;
    }
    
    .header-main {
        padding: 6px 0 8px 0;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    /* Data no topo - primeira linha */
    .header-info {
        order: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 4px 0;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }
    
    .header-date {
        font-size: 10px;
        white-space: nowrap;
        font-weight: 500;
        letter-spacing: 0.3px;
    }
    
    .header-cotacao {
        display: none !important;
    }
    
    /* Segunda linha: Menu | Logo | Busca */
    
    /* Menu hambúrguer à esquerda */
    .mobile-menu-toggle {
        display: flex !important;
        order: 1;
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        margin: 0;
    }
    
    .mobile-menu-toggle span {
        width: 20px !important;
        height: 2px !important;
        margin: 3px 0 !important;
    }
    
    /* Logo centralizada */
    .header-logo {
        order: 2;
        flex: 1;
        text-align: center;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .header-logo img {
        max-height: 32px;
        width: auto;
    }
    
    /* Busca à direita */
    .header-actions {
        order: 3;
        flex: 0 0 38px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    
    /* Esconder redes sociais no mobile */
    .header-social {
        display: none !important;
    }
    
    /* Botão de busca mobile */
    .header-search {
        position: relative;
    }
    
    .search-toggle-mobile {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        background: transparent;
        border: none;
        cursor: pointer;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .search-toggle-mobile i {
        font-size: 16px;
        color: #333;
    }
    
    .search-toggle-mobile:active {
        background: rgba(0,0,0,0.05);
    }
    
    /* Formulário de busca expansível */
    .search-form {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 60px;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        display: none;
        align-items: center;
        padding: 0 15px;
        gap: 10px;
        z-index: 10001;
    }
    
    .search-form.active {
        display: flex !important;
    }
    
    .search-form .search-close {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        border-radius: 8px;
        flex-shrink: 0;
    }
    
    .search-form .search-close i {
        font-size: 20px;
        color: #666;
    }
    
    .search-input {
        flex: 1;
        font-size: 16px;
        padding: 10px 15px;
        height: 44px;
        border: 2px solid #e5e5e5;
        border-radius: 8px;
    }
    
    .search-btn {
        width: 44px;
        height: 44px;
        border-radius: 8px;
        flex-shrink: 0;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 10px;
    }
    
    .header-container {
        padding: 0 8px;
    }
    
    .header-main {
        padding: 5px 0 7px 0;
        gap: 5px;
    }
    
    .header-logo img {
        max-height: 28px;
    }
    
    .header-date {
        font-size: 9px;
    }
    
    .header-info {
        padding: 3px 0;
    }
    
    .mobile-menu-toggle,
    .search-toggle-mobile {
        width: 36px !important;
        height: 36px !important;
    }
    
    .search-toggle-mobile i {
        font-size: 15px !important;
    }
    
    /* Footer mais compacto em telas pequenas */
    .footer-clean,
    .footer-moderno {
        padding: 15px 10px 12px !important;
    }
    
    .footer-top {
        gap: 15px !important;
    }
    
    .footer-title {
        font-size: 15px !important;
        margin-bottom: 10px !important;
    }
    
    .footer-about p {
        font-size: 12px !important;
    }
    
    .footer-bottom {
        padding: 10px 0 6px 0 !important;
    }
    
    .social-link {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* ===================================
   3. NAVEGAÇÃO CATEGORIAS
   =================================== */

@media (max-width: 991px) {
    .categorias-section {
        display: none; /* Esconder no mobile, usar menu hamburguer */
    }
    
    /* Menu mobile */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: 2px 0 15px rgba(0,0,0,0.2);
        transition: left 0.3s ease;
        z-index: 10000;
        overflow-y: auto;
    }
    
    .mobile-menu.active {
        left: 0;
    }
    
    .mobile-nav-menu {
        list-style: none;
        padding: 15px 0;
    }
    
    .mobile-nav-link {
        display: block;
        padding: 15px 20px;
        color: #333;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.2s;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-nav-link:active {
        background: #f5f5f5;
    }
    
    /* Overlay do menu */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 9999;
        display: none;
    }
    
    .mobile-menu-overlay.active {
        display: block;
    }
}

/* ===================================
   4. MANCHETE DESTAQUE (24H)
   =================================== */

@media (max-width: 991px) {
    .manchete-destaque {
        padding: 25px 20px !important;
        margin: 10px 0 20px 0 !important;
        border-radius: 8px !important;
    }
    
    .manchete-destaque h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    .manchete-destaque p {
        font-size: 15px !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }
    
    .manchete-destaque .badge {
        font-size: 11px !important;
        padding: 6px 15px !important;
    }
}

@media (max-width: 767px) {
    .manchete-destaque {
        padding: 20px 15px !important;
        margin: 8px 0 15px 0 !important;
    }
    
    .manchete-destaque h2 {
        font-size: 20px !important;
    }
    
    .manchete-destaque p {
        font-size: 14px !important;
    }
}

/* ===================================
   5. SLIDER HERO
   =================================== */

@media (max-width: 991px) {
    .hero-section {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        margin: 8px 0 15px 0 !important;
    }
    
    .hero-main {
        width: 100% !important;
        height: 450px !important;
        min-height: 450px !important;
        margin: 0 !important;
    }
    
    .slider-destaque {
        height: 100% !important;
        min-height: 450px !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }
    
    .slide-item {
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
    }
    
    .slide-item img {
        height: 450px !important;
        object-fit: cover !important;
        width: 100% !important;
    }
    
    .slide-item > div {
        padding: 20px 15px !important;
    }
    
    .slide-item h2 {
        font-size: 22px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5) !important;
    }
    
    .slide-item p {
        font-size: 15px !important;
        line-height: 1.5 !important;
        text-shadow: 0 1px 3px rgba(0,0,0,0.5) !important;
    }
    
    /* Posts laterais em carousel horizontal */
    .hero-side-posts {
        width: 100% !important;
        display: flex !important;
        overflow-x: auto !important;
        gap: 15px !important;
        padding-bottom: 10px !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .hero-side-posts .side-post {
        flex: 0 0 280px !important;
        scroll-snap-align: start;
        margin-bottom: 0 !important;
    }
    
    /* Esconder scrollbar mas manter funcionalidade */
    .hero-side-posts::-webkit-scrollbar {
        height: 4px;
    }
    
    .hero-side-posts::-webkit-scrollbar-thumb {
        background: #ddd;
        border-radius: 2px;
    }
}

@media (max-width: 767px) {
    .hero-main {
        height: 380px !important;
        min-height: 380px !important;
    }
    
    .slider-destaque {
        min-height: 380px !important;
        border-radius: 10px !important;
    }
    
    .slide-item img {
        height: 380px !important;
    }
    
    .slide-item > div {
        padding: 18px 12px !important;
    }
    
    .slide-item h2 {
        font-size: 20px !important;
    }
    
    .slide-item p {
        font-size: 14px !important;
    }
    
    .hero-side-posts .side-post {
        flex: 0 0 250px !important;
    }
}

/* ===================================
   6. LISTAGEM DE POSTS
   =================================== */

@media (max-width: 991px) {
    .content-wrapper,
    .content-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
    }
    
    .main-column {
        width: 100% !important;
        order: 1;
    }
    
    .sidebar {
        width: 100% !important;
        order: 2;
    }
    
    /* Post cards responsivos */
    .post-item,
    .post-card {
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 20px !important;
        padding-bottom: 20px !important;
        border-bottom: 1px solid #e5e5e5 !important;
    }
    
    .post-item > div:first-child {
        width: 100% !important;
        flex: none !important;
        padding: 0 !important;
        margin-bottom: 15px;
    }
    
    .post-item img {
        width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
    }
    
    .post-item > div:last-child {
        width: 100% !important;
        padding: 0 !important;
    }
    
    .post-item h3 {
        font-size: 18px !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
    }
    
    .post-item p {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
    
    .post-category {
        font-size: 11px !important;
        padding: 5px 10px !important;
    }
    
    .post-meta {
        font-size: 12px !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
}

@media (max-width: 767px) {
    .post-item img {
        height: 180px !important;
    }
    
    .post-item h3 {
        font-size: 16px !important;
    }
    
    .post-item p {
        font-size: 13px !important;
    }
}

/* ===================================
   7. SIDEBAR WIDGETS
   =================================== */

@media (max-width: 991px) {
    .widget {
        margin-bottom: 25px !important;
        padding: 20px !important;
        border-radius: 8px !important;
    }
    
    .widget-title {
        font-size: 18px !important;
        margin-bottom: 15px !important;
        padding-bottom: 10px !important;
    }
    
    /* Widget Clima */
    .widget-clima {
        padding: 15px !important;
    }
    
    .clima-header {
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
    }
    
    /* Widget Mais Lidas */
    .most-read-item {
        display: flex !important;
        gap: 12px !important;
        margin-bottom: 15px !important;
        padding: 10px !important;
        background: #f8f9fa !important;
        border-radius: 8px !important;
    }
    
    .most-read-number {
        flex: 0 0 30px !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 14px !important;
    }
    
    .most-read-image {
        flex: 0 0 70px !important;
        width: 70px !important;
        height: 70px !important;
    }
    
    .most-read-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 6px !important;
    }
    
    .most-read-content {
        flex: 1 !important;
    }
    
    .most-read-title {
        font-size: 14px !important;
        line-height: 1.3 !important;
        margin-bottom: 5px !important;
    }
    
    .most-read-category {
        font-size: 10px !important;
        padding: 3px 8px !important;
        margin-bottom: 5px !important;
    }
    
    .most-read-date {
        font-size: 11px !important;
    }
    
    /* Widget Destaque da Cidade */
    .destaque-cidade-item {
        display: flex !important;
        gap: 12px !important;
        margin-bottom: 15px !important;
        padding: 10px !important;
        background: #f8f9fa !important;
        border-radius: 8px !important;
    }
    
    .destaque-cidade-image {
        flex: 0 0 70px !important;
        width: 70px !important;
        height: 70px !important;
    }
    
    .destaque-cidade-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 6px !important;
    }
    
    .destaque-cidade-content {
        flex: 1 !important;
    }
    
    .destaque-cidade-title {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }
    
    .destaque-cidade-category {
        font-size: 10px !important;
        padding: 3px 8px !important;
    }
}

@media (max-width: 767px) {
    .widget {
        padding: 15px !important;
    }
    
    .most-read-item,
    .destaque-cidade-item {
        gap: 10px !important;
        padding: 8px !important;
    }
    
    .most-read-image,
    .destaque-cidade-image {
        flex: 0 0 60px !important;
        width: 60px !important;
        height: 60px !important;
    }
    
    .most-read-title,
    .destaque-cidade-title {
        font-size: 13px !important;
    }
}

/* ===================================
   8. PÁGINA DE POST (INTERNA)
   =================================== */

@media (max-width: 991px) {
    /* Container do post - Largura total */
    .post-container {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }
    
    .content-wrapper {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }
    
    .main-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Header do post */
    .post-header {
        padding: 15px 15px !important;
        margin: 0 !important;
    }
    
    .post-category {
        font-size: 10px !important;
        padding: 5px 12px !important;
        border-radius: 20px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        display: inline-block !important;
        margin-bottom: 10px !important;
    }
    
    .post-title {
        font-size: 26px !important;
        line-height: 1.35 !important;
        margin: 12px 0 15px 0 !important;
        font-weight: 800 !important;
        color: #1a1a1a !important;
    }
    
    .post-resumo {
        font-size: 16px !important;
        line-height: 1.65 !important;
        color: #555 !important;
        margin: 15px 0 !important;
        font-weight: 400 !important;
    }
    
    .post-meta,
    .post-meta-info {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        font-size: 13px !important;
        color: #666 !important;
        margin-top: 15px !important;
        padding-top: 12px !important;
        border-top: 1px solid #e5e5e5 !important;
    }
    
    .post-meta span,
    .post-meta-info span {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
    }
    
    .post-meta i,
    .post-meta-info i {
        font-size: 12px !important;
        opacity: 0.7 !important;
    }
    
    .post-date,
    .post-author,
    .post-views {
        font-size: 12px !important;
    }
    
    /* Imagem destaque */
    .post-image,
    .post-featured-image {
        height: 280px !important;
        margin: 0 0 15px 0 !important;
        border-radius: 0 !important;
        overflow: hidden !important;
    }
    
    .post-image img,
    .post-featured-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
    
    /* Conteúdo do post - Tipografia otimizada para leitura */
    .post-content,
    .post-content-wrapper,
    .article-content {
        padding: 20px 15px !important;
        font-size: 17px !important;
        line-height: 1.75 !important;
        color: #333 !important;
        font-weight: 400 !important;
        background: #fff !important;
    }
    
    .post-content h1,
    .post-content-wrapper h1 {
        font-size: 26px !important;
        line-height: 1.3 !important;
        margin: 30px 0 18px !important;
        font-weight: 800 !important;
        color: #1a1a1a !important;
    }
    
    .post-content h2,
    .post-content-wrapper h2 {
        font-size: 24px !important;
        line-height: 1.35 !important;
        margin: 28px 0 16px !important;
        font-weight: 700 !important;
        color: #1a1a1a !important;
    }
    
    .post-content h3,
    .post-content-wrapper h3 {
        font-size: 21px !important;
        line-height: 1.4 !important;
        margin: 24px 0 14px !important;
        font-weight: 700 !important;
        color: #2a2a2a !important;
    }
    
    .post-content h4,
    .post-content-wrapper h4 {
        font-size: 19px !important;
        line-height: 1.45 !important;
        margin: 20px 0 12px !important;
        font-weight: 600 !important;
        color: #333 !important;
    }
    
    .post-content p,
    .post-content-wrapper p {
        margin-bottom: 20px !important;
        text-align: justify !important;
        hyphens: auto !important;
        -webkit-hyphens: auto !important;
    }
    
    .post-content strong,
    .post-content-wrapper strong {
        font-weight: 700 !important;
        color: #1a1a1a !important;
    }
    
    .post-content em,
    .post-content-wrapper em {
        font-style: italic !important;
    }
    
    .post-content a,
    .post-content-wrapper a {
        color: #ff6b00 !important;
        text-decoration: underline !important;
        word-break: break-word !important;
    }
    
    .post-content ul,
    .post-content ol,
    .post-content-wrapper ul,
    .post-content-wrapper ol {
        margin: 18px 0 20px 20px !important;
        padding-left: 10px !important;
    }
    
    .post-content li,
    .post-content-wrapper li {
        margin-bottom: 12px !important;
        line-height: 1.7 !important;
    }
    
    .post-content img,
    .post-content-wrapper img {
        max-width: 100% !important;
        height: auto !important;
        margin: 25px 0 !important;
        border-radius: 8px !important;
        display: block !important;
    }
    
    .post-content figure,
    .post-content-wrapper figure {
        margin: 25px 0 !important;
    }
    
    .post-content figcaption,
    .post-content-wrapper figcaption {
        font-size: 14px !important;
        color: #666 !important;
        text-align: center !important;
        margin-top: 10px !important;
        font-style: italic !important;
    }
    
    .post-content blockquote,
    .post-content-wrapper blockquote {
        padding: 18px 15px 18px 20px !important;
        margin: 25px 0 !important;
        font-size: 16px !important;
        line-height: 1.65 !important;
        border-left: 4px solid #ff6b00 !important;
        background: #f8f9fa !important;
        border-radius: 4px !important;
        font-style: italic !important;
        color: #444 !important;
    }
    
    .post-content table,
    .post-content-wrapper table {
        width: 100% !important;
        overflow-x: auto !important;
        display: block !important;
        margin: 20px 0 !important;
        font-size: 14px !important;
    }
    
    .post-content table th,
    .post-content table td,
    .post-content-wrapper table th,
    .post-content-wrapper table td {
        padding: 8px !important;
        font-size: 14px !important;
    }
    
    .post-content pre,
    .post-content code,
    .post-content-wrapper pre,
    .post-content-wrapper code {
        font-size: 14px !important;
        overflow-x: auto !important;
    }
    
    /* Botões de compartilhar */
    .share-section,
    .social-share {
        padding: 20px 15px !important;
        background: #f8f9fa !important;
        margin: 20px 0 !important;
        border-radius: 0 !important;
    }
    
    .share-title {
        font-size: 15px !important;
        font-weight: 700 !important;
        margin-bottom: 15px !important;
        color: #1a1a1a !important;
    }
    
    .share-buttons {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    
    .share-btn {
        flex: 1 1 calc(50% - 5px) !important;
        min-width: 0 !important;
        padding: 12px 8px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        transition: all 0.2s ease !important;
    }
    
    .share-btn i {
        font-size: 16px !important;
    }
    
    /* Posts relacionados */
    .related-posts,
    .related-news {
        padding: 20px 15px !important;
        margin: 20px 0 0 0 !important;
        background: #f8f9fa !important;
    }
    
    .related-posts h3,
    .related-news h3 {
        font-size: 20px !important;
        font-weight: 700 !important;
        margin-bottom: 18px !important;
        padding-bottom: 12px !important;
        border-bottom: 2px solid #ff6b00 !important;
        color: #1a1a1a !important;
    }
    
    .related-news-grid,
    .related-posts-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .related-news-item,
    .related-post-item {
        display: flex !important;
        gap: 15px !important;
        padding: 12px !important;
        background: #fff !important;
        border-radius: 8px !important;
        border: 1px solid #e5e5e5 !important;
        transition: all 0.2s ease !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    }
    
    .related-news-item img,
    .related-post-item img {
        width: 140px !important;
        height: 140px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }
    
    .related-news-item h4,
    .related-post-item h4 {
        font-size: 16px !important;
        line-height: 1.4 !important;
        font-weight: 600 !important;
        margin-bottom: 8px !important;
        color: #1a1a1a !important;
    }
    
    .related-news-item .meta,
    .related-post-item .meta {
        font-size: 12px !important;
        color: #666 !important;
    }
    
    /* Comentários */
    .comments-section {
        padding: 20px 15px !important;
        margin: 20px 0 0 0 !important;
        background: #f8f9fa !important;
    }
    
    .comments-title {
        font-size: 20px !important;
        font-weight: 700 !important;
        margin-bottom: 18px !important;
    }
    
    .comment-item {
        background: #fff !important;
        padding: 15px !important;
        margin-bottom: 15px !important;
        border-radius: 8px !important;
        border: 1px solid #e5e5e5 !important;
    }
    
    .comment-author {
        font-size: 14px !important;
        font-weight: 700 !important;
        margin-bottom: 8px !important;
    }
    
    .comment-text {
        font-size: 14px !important;
        line-height: 1.6 !important;
        color: #444 !important;
    }
    
    /* Sidebar em mobile */
    .sidebar {
        width: 100% !important;
        margin: 20px 0 0 0 !important;
        padding: 0 !important;
    }
    
    .widget {
        margin-bottom: 20px !important;
        padding: 0 15px !important;
    }
}

@media (max-width: 767px) {
    .post-container,
    .content-wrapper,
    .main-content {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .post-header {
        padding: 12px 12px !important;
    }
    
    .post-title {
        font-size: 22px !important;
        line-height: 1.4 !important;
    }
    
    .post-resumo {
        font-size: 15px !important;
    }
    
    .post-image,
    .post-featured-image {
        height: 240px !important;
    }
    
    .post-content,
    .post-content-wrapper {
        padding: 18px 15px !important;
        font-size: 16px !important;
        line-height: 1.7 !important;
    }
    
    .post-content h1,
    .post-content-wrapper h1 {
        font-size: 24px !important;
    }
    
    .post-content h2,
    .post-content-wrapper h2 {
        font-size: 22px !important;
    }
    
    .post-content h3,
    .post-content-wrapper h3 {
        font-size: 19px !important;
    }
    
    .post-content h4,
    .post-content-wrapper h4 {
        font-size: 17px !important;
    }
    
    .post-content blockquote,
    .post-content-wrapper blockquote {
        padding: 15px 12px 15px 16px !important;
        font-size: 15px !important;
    }
    
    .share-btn {
        flex: 1 1 100% !important;
        padding: 14px 10px !important;
    }
    
    .related-posts,
    .related-news {
        padding: 20px 12px !important;
    }
    
    .related-news-item img,
    .related-post-item img {
        width: 120px !important;
        height: 120px !important;
    }
    
    .related-news-item h4,
    .related-post-item h4 {
        font-size: 15px !important;
    }
    
    .comments-section {
        padding: 20px 12px !important;
    }
    
    .sidebar {
        padding: 0 12px !important;
    }
}

@media (max-width: 480px) {
    .post-header {
        padding: 12px !important;
    }
    
    .post-title {
        font-size: 20px !important;
    }
    
    .post-content,
    .post-content-wrapper {
        font-size: 15px !important;
        padding: 18px 12px !important;
    }
    
    .related-posts,
    .related-news {
        padding: 20px 12px !important;
    }
    
    .related-news-item img,
    .related-post-item img {
        width: 100px !important;
        height: 100px !important;
    }
    
    .related-news-item h4,
    .related-post-item h4 {
        font-size: 14px !important;
    }
    
    .comments-section {
        padding: 20px 12px !important;
    }
    
    .sidebar {
        padding: 0 12px !important;
    }
    
    .share-section,
    .social-share {
        padding: 18px 12px !important;
    }
}

/* ===================================
   9. PUBLICIDADES RESPONSIVAS
   =================================== */

@media (max-width: 991px) {
    .ad-banner {
        margin: 10px 0 !important;
        text-align: center !important;
        overflow: hidden !important;
    }
    
    .ad-banner img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .ad-970x250,
    .ad-728x90,
    .ad-300x250 {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    
    .ad-super-topo {
        padding: 5px !important;
        margin-bottom: 8px !important;
    }
}

@media (max-width: 767px) {
    .ad-banner {
        margin: 8px 0 !important;
    }
    
    .ad-super-topo {
        padding: 3px !important;
        margin-bottom: 5px !important;
    }
}

/* ===================================
   10. FOOTER RESPONSIVO
   =================================== */

@media (max-width: 991px) {
    .footer-clean,
    .footer-moderno {
        padding: 20px 12px 15px !important;
        margin-top: 20px !important;
    }
    
    .footer-top {
        flex-direction: column !important;
        gap: 18px !important;
        text-align: center !important;
        margin-bottom: 15px !important;
    }
    
    .footer-about,
    .footer-links,
    .footer-social {
        flex: none !important;
        width: 100% !important;
    }
    
    .footer-about p {
        font-size: 13px !important;
        line-height: 1.6 !important;
        margin-bottom: 10px !important;
    }
    
    .footer-title {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }
    
    .footer-links ul {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
    }
    
    .footer-links a {
        font-size: 13px !important;
        padding: 5px 10px !important;
    }
    
    .footer-social-links {
        justify-content: center !important;
        gap: 10px !important;
    }
    
    .footer-social-links a {
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
    }
    
    .footer-bottom {
        padding: 12px 0 8px 0 !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 8px !important;
        font-size: 12px !important;
        border-top: 1px solid rgba(255,255,255,0.1) !important;
        margin-top: 15px !important;
    }
    
    .footer-bottom p,
    .footer-bottom a {
        font-size: 11px !important;
        line-height: 1.5 !important;
    }
}

/* ===================================
   11. PAGINAÇÃO RESPONSIVA
   =================================== */

@media (max-width: 991px) {
    .pagination {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 5px !important;
    }
    
    .pagination a,
    .pagination span {
        min-width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
        padding: 0 10px !important;
    }
    
    /* Esconder alguns números em mobile */
    .pagination a:not(.pagination-first):not(.pagination-last):not(.pagination-prev):not(.pagination-next):not(.active) {
        display: none;
    }
    
    .pagination .active,
    .pagination .active ~ a:nth-child(-n+2),
    .pagination .active + a + a {
        display: inline-flex !important;
    }
}

/* ===================================
   12. BREADCRUMB RESPONSIVO
   =================================== */

@media (max-width: 991px) {
    .breadcrumb {
        font-size: 12px !important;
        padding: 8px 12px !important;
        white-space: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .breadcrumb::-webkit-scrollbar {
        height: 3px;
    }
}

/* ===================================
   13. BUSCA RESPONSIVA
   =================================== */

@media (max-width: 991px) {
    .search-results-header {
        padding: 20px 15px !important;
    }
    
    .search-results-header h1 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }
    
    .search-results-info {
        font-size: 13px !important;
    }
    
    .no-results {
        padding: 40px 20px !important;
    }
    
    .no-results i {
        font-size: 48px !important;
    }
    
    .no-results h3 {
        font-size: 18px !important;
    }
}

/* ===================================
   14. BOTÕES TOUCH-FRIENDLY
   =================================== */

@media (max-width: 991px) {
    .btn {
        min-height: 44px !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
        touch-action: manipulation;
    }
    
    .btn-sm {
        min-height: 38px !important;
        padding: 10px 16px !important;
        font-size: 13px !important;
    }
    
    .btn-lg {
        min-height: 50px !important;
        padding: 14px 24px !important;
        font-size: 16px !important;
    }
}

/* ===================================
   15. OTIMIZAÇÕES DE PERFORMANCE
   =================================== */

@media (max-width: 991px) {
    /* Desabilitar animações complexas em mobile */
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    /* Mas manter transições básicas */
    a, button, .btn {
        transition: opacity 0.2s ease !important;
    }
    
    /* Otimizar imagens */
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ===================================
   16. FIX PARA iOS
   =================================== */

@supports (-webkit-touch-callout: none) {
    /* Corrigir altura de 100vh no iOS */
    .hero-main,
    .slider-destaque,
    .mobile-menu {
        min-height: -webkit-fill-available;
    }
    
    /* Corrigir inputs no iOS */
    input, textarea, select {
        font-size: 16px !important;
        -webkit-appearance: none;
        appearance: none;
        border-radius: 8px;
    }
}

/* ===================================
   17. MODO LANDSCAPE
   =================================== */

@media (max-width: 991px) and (orientation: landscape) {
    .hero-main,
    .slider-destaque {
        height: 70vh !important;
        min-height: 70vh !important;
    }
    
    .slide-item img {
        height: 70vh !important;
    }
    
    .post-image {
        height: 45vh !important;
    }
    
    .header-main {
        padding: 4px 0 6px 0;
    }
}

/* ===================================
   18. UTILITÁRIOS MOBILE
   =================================== */

@media (max-width: 991px) {
    /* Esconder em mobile */
    .hide-mobile {
        display: none !important;
    }
    
    /* Mostrar apenas em mobile */
    .show-mobile {
        display: block !important;
    }
    
    /* Espaçamentos mobile */
    .mt-mobile {
        margin-top: 20px !important;
    }
    
    .mb-mobile {
        margin-bottom: 20px !important;
    }
    
    .p-mobile {
        padding: 15px !important;
    }
}

/* ===================================
   FIM DO MOBILE.CSS
   =================================== */

