/*
Theme Name: EPS - Soluções Ambientais
Author: Seu Nome
Version: 1.0
Description: Tema customizado e Pixel Perfect para o site da EPS.
*/

body > footer > div > div.eps-footer-grid > div.eps-footer-col.eps-footer-col--right > div.eps-footer-socials > a:nth-child(3),
body > footer > div > div.eps-footer-grid > div.eps-footer-col.eps-footer-col--right > div.eps-footer-socials > a:nth-child(4) {
	display: none;
}

:root {
    --eps-blue-dark: #1A3D6D;
    --eps-blue: #1A81BC;
    --eps-blue-light: #30BDFF;
    --eps-text: #000000;
    --eps-container: 1200px;
    --eps-branco: #FFFFFF;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--eps-text);
    font-family: Arial, Helvetica, sans-serif;

}

body.eps-menu-open {
    overflow: hidden;
}
.eps-site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: var(--eps-branco);
}

.eps-header-container {
    width: 100%;
    max-width: var(--eps-container);
    margin: 0 auto;
    padding-right: 24px;
    padding-left: 24px;
}

/* Top bar */
.eps-top-bar {
    background: var(--eps-blue-dark);
}

.eps-top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 50px;
}

.eps-top-bar__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.eps-top-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 1.5rem;
    border-radius: 4px;
    color: var(--eps-branco);
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, border-color 0.3s ease, filter 0.3s ease;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.eps-top-button img {
    display: block;
    width: 12px;
    height: 12px;
    object-fit: contain;
}

.eps-top-button--outline {
    border: 1px solid var(--eps-blue-light);
    background: transparent;
    font-weight: 400;
    padding: 8px 1rem;
}

.eps-top-button--outline:hover,
.eps-top-button--outline:focus-visible {
    background: rgba(255, 255, 255, 0.1);
}

.eps-top-button--solid {
    border: 1px solid var(--eps-blue-light);
    background: var(--eps-blue-light);
}

.eps-top-button--solid:hover,
.eps-top-button--solid:focus-visible {
    filter: brightness(0.92);
}

/* Main header */
.eps-main-header {
    background: var(--eps-branco);
}

.eps-main-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 28px;
}

.eps-header-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    max-width: 112px;
}

.eps-header-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 50px;
    object-fit: contain;
}

.eps-primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
}

.eps-primary-menu,
.eps-primary-menu ul,
.eps-mobile-menu,
.eps-mobile-menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.eps-primary-menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

.eps-primary-menu li {
    position: relative;
}

.eps-primary-menu > li > a {
    display: inline-flex;
    align-items: center;
    height: 90px;
    padding: 0 18px;
    color: var(--eps-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
    font-family: 'Open Sans', sans-serif;   
}

.eps-primary-menu a:hover,
.eps-primary-menu a:focus-visible,
.eps-primary-menu .current-menu-item > a {
    color: var(--eps-blue);
}

.eps-primary-menu .menu-item-has-children > a::after {
    width: 5px;
    height: 5px;
    margin-left: 8px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    content: "";
    transform: translateY(-2px) rotate(45deg);
}

.eps-primary-menu .sub-menu {
    position: absolute;
    top: calc(100% - 20px);
    left: 0;
    min-width: 190px;
    padding: 8px 0;
    border-radius: 6px;
    background: var(--eps-branco);
    box-shadow: 0 14px 35px rgba(26, 61, 109, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.eps-primary-menu li:hover > .sub-menu,
.eps-primary-menu li:focus-within > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.eps-primary-menu .sub-menu a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    color: var(--eps-text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.eps-primary-menu .sub-menu a:hover,
.eps-primary-menu .sub-menu a:focus-visible {
    background: rgba(26, 129, 188, 0.06);
    color: var(--eps-blue);
}

.eps-primary-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

.eps-shop-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: var(--eps-blue);
    color: var(--eps-branco);
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    transition: background-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.eps-shop-button:hover,
.eps-shop-button:focus-visible {
    background: #166fA2;
    color: var(--eps-branco);
}

.eps-shop-button--desktop {
    flex: 0 0 auto;
    padding: 10px 18px;
}

.eps-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: var(--eps-blue);
    cursor: pointer;
    gap: 5px;
}

.eps-mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--eps-branco);
}

/* Mobile offcanvas */
.eps-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.48);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.eps-mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1002;
    width: 280px;
    max-width: calc(100vw - 32px);
    height: 100vh;
    padding: 22px 20px;
    background: var(--eps-branco);
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.14);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

body.eps-menu-open .eps-mobile-overlay {
    opacity: 1;
    pointer-events: auto;
}

body.eps-menu-open .eps-mobile-panel {
    transform: translateX(0);
}

.eps-mobile-panel__head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.swiper-pagination {
    bottom: -1rem !important;
    position: relative !important;
}

.eps-mobile-panel__head img {
    display: block;
    width: auto;
    max-width: 96px;
    max-height: 44px;
    object-fit: contain;
}

.eps-mobile-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--eps-text);
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}

/* Mobile Menu Layout */
.eps-mobile-menu {
    padding: 14px 0;
}

.eps-mobile-menu li {
    position: relative;
    border-bottom: 1px solid #eef2f6;
}

/* Wrapper Flex para isolar o Link da Seta */
.eps-menu-link-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.eps-mobile-menu a {
    display: flex;
    align-items: center;
    flex: 1;
    min-height: 46px;
    padding-right: 12px;
    color: var(--eps-text);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
}

.eps-mobile-menu .sub-menu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-left: 15px;
    transition: max-height 0.35s ease-in-out, opacity 0.25s ease-in-out, padding 0.35s ease-in-out;
    
    /* Remove a regra display: none se houver no seu CSS antigo */
    display: block !important; 
}

.eps-mobile-menu .sub-menu a {
    min-height: 38px;
    color: #4c5a66;
    font-size: 13px;
    font-weight: 500;
}

/* Estado Aberto do Submenu */
.eps-mobile-menu li.is-open > .sub-menu {
    max-height: 500px; /* Valor suficiente para cobrir todos os itens da lista */
    opacity: 1;
    padding-top: 8px;
    padding-bottom: 8px;
}

/* Remove a seta antiga do WordPress caso ainda exista */
.eps-mobile-menu .menu-item-has-children > a::after {
    display: none !important;
}

/* Botão da Seta isolado */
.eps-submenu-arrow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 46px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

/* Ícone de seta */
.eps-arrow-icon {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--eps-text);
    border-bottom: 1.5px solid var(--eps-text);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    display: block;
    pointer-events: none; /* Garante que o clique caia no botão */
}

/* Animação quando estiver aberto */
.eps-mobile-menu .menu-item-has-children.is-open > .eps-menu-link-wrapper .eps-arrow-icon {
    transform: rotate(225deg);
}

.eps-mobile-menu .menu-item-has-children.is-open > .sub-menu {
    display: block;
}

.eps-shop-button--mobile {
    width: 100%;
    min-height: 42px;
    margin-top: 8px;
    padding: 12px 18px;
}

@media (max-width: 1024px) {
    .eps-header-container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .eps-main-header__inner {
        gap: 18px;
    }

    .eps-header-logo {
        max-width: 100px;
    }

    .eps-primary-menu > li > a {
        padding-right: 11px;
        padding-left: 11px;
        font-size: 13px;
    }

    .eps-shop-button--desktop {
        padding-right: 18px;
        padding-left: 18px;
    }
}

@media (max-width: 767px) {
    .eps-header-container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .eps-top-button {
        min-height: 28px;
        padding-right: 9px;
        padding-left: 9px;
        font-size: 10px;
        gap: 6px;
    }

    .eps-top-button img {
        width: 10px;
        height: 10px;
    }

    .eps-main-header,
    .eps-main-header__inner {
        height: 76px;
    }

    .eps-header-logo {
        max-width: 120px;
    }

    .eps-primary-nav,
    .eps-shop-button--desktop {
        display: none;
    }

    .eps-mobile-toggle {
        display: inline-flex;
    }
}


/* =========================================================================
   RODAPÉ PIXEL PERFECT (EPS AMBIENTAL)
   ========================================================================= */
.eps-site-footer {
    background-color: #1A81BC;
    position: relative;
    padding: 70px 0 30px 0;
    color: var(--eps-branco);
    font-family: Arial, sans-serif; /* Mude para a fonte padrão do seu tema se necessário */
    z-index: 999;
    overflow-y: hidden;
}

/* Marca d'água da cauda ao fundo */
.eps-footer-whale-bg {
    position: absolute;
    bottom: -3rem;
    left: -3rem;
    max-width: 242px;
    height: auto;
    pointer-events: none;
    z-index: 1;
}

.eps-footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Grid de Distribuição das Colunas */
.eps-footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
    padding-bottom: 30px;
}

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

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

.eps-footer-col a {
    color: var(--eps-branco);
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s ease;
    font-family: 'Open Sans', sans-serif; 
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0.2px;
}

.eps-footer-col--center a {
      color: var(--eps-branco);
    text-decoration: none;
    font-size: 12px;
    transition: opacity 0.2s ease;
    font-family: 'Inter', sans-serif; 
    font-weight: 700;
    line-height: 19.5px;
    letter-spacing: 0.2px;
}

.eps-footer-col a:hover {
    opacity: 0.8;
}

/* Coluna 2: Ícones com Texto */
.eps-footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eps-footer-contact-list img {
    width: 18px;
    height: auto;
}

/* Coluna 3: Customização dos Botões */
.eps-footer-col--center {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}

.eps-footer-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 240px;
}

.eps-footer-btn {
       display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px !important;
    letter-spacing: 0.5px;
    color: #ffffff !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    height: 59px;
    width: 199px;
        gap: 10px;
}

.eps-footer-btn:hover {
    transform: translateY(-2px);
}

.eps-footer-btn--quote {
    background-color: #29176B;
}

.eps-footer-btn--emergency {
    background-color: #810002;
}

.eps-footer-btn-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eps-footer-btn-icon img {
    width: 25px;
    height: auto;
}

/* Coluna 4: Informações e Redes */
.eps-footer-col--right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.eps-footer-logo {
    max-width: 160px !important;
    height: auto !important;
    margin-bottom: 25px;
}

.eps-footer-socials {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.eps-footer-socials a {
   height: 30px;
}


.eps-footer-nav .sub-menu {
    display: none;
}

.eps-footer-socials img {
    width: auto;
    height: 20px;
}

.eps-footer-info p {
    margin: 0 0 2px 0;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.eps-footer-info a {
    margin: 0 0 2px 0;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.eps-footer-email {
      margin: 0 0 10px 0;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* Copyright Linha de Baixo */
.eps-footer-bottom {
    padding-top: 30px;
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.eps-footer-bottom p {
    margin: 0 0 8px 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    line-height: 16px;
    letter-spacing: 0.7px;
    color: #B6B8BA;
}

.eps-footer-policy {
    font-weight: 400 !important;
}

.eps-footer-policy {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: #ffffff80 !important;
    text-transform: none !important;
}

.eps-footer-policy a {
    color: var(--eps-branco);
    font-weight: bold;
    text-decoration: none;
}

/* =========================================================================
   MEDIA QUERIES (Responsividade Completa)
   ========================================================================= */
@media (max-width: 992px) {
    .eps-footer-grid {
            
        gap: 40px;
        
    }
    
    .eps-footer-col--right {
               align-items: center;
        text-align: left;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0px 27px;
        padding: 0px 8px;
    
    }
    
    .eps-footer-col--center {
        justify-content: center;
        margin-bottom: 1rem;
    }

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

    .eps-footer-actions {
       flex-direction: row;
        gap: 20px;
        width: auto;
                max-width: fit-content;
    }
    .eps-footer-menu a, .eps-footer-contact-list a {
        font-size: 16px;
    }

    .eps-footer-btn {
        font-size: 11px !important;
    }

    .eps-footer-socials img {
        width: auto;
			height: 25px;
    }

    .eps-footer-logo {
    max-width: 130px;
    }
    .eps-footer-btn {
            height: auto;
    width: auto;
    }

    .eps-footer-col:first-child {
            width: 44%;
    }
}

@media (max-width: 576px) {
    .eps-footer-grid {
        display: flex;
        gap: 35px 10px;
        padding-bottom: 40px;
        text-align: left;
        align-items: flex-start;
        flex-wrap: wrap;
            justify-content: center;
    }
    
    .eps-footer-whale-bg {
        max-width: 200px;
        z-index: 1;
        left: 1rem;
    }
}


.swiper {
    padding: 3rem 0 !important;
}



/* ==========================================================================
   Seção: CTA - Solução Ambiental Confiável (Com ACF)
   ========================================================================== */
.eps_cta_solucao {
    background-color: #1A3D6D;
    padding: 50px 20px;
    width: 100%;
    box-sizing: border-box;
}

.eps_cta_solucao_container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Título conforme especificações */
.eps_cta_solucao_title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 30px;
    line-height: 45px;
    color: var(--eps-branco);
    margin: 0;
    text-align: left;
}

/* Container de Botões */
.eps_cta_solucao_buttons {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

/* Estrutura Base dos Botões */
.eps_cta_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 25px;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.3s ease;
        min-width: 240px;

}

/* Botão: Solicitar Atendimento */
.eps_cta_btn_atendimento {
    background-color: var(--eps-branco);
    color: #1A3D6D;
    border: 1px solid var(--eps-branco);
}

.eps_cta_btn_atendimento:hover {
    background-color: transparent;
    color: var(--eps-branco);
}

/* Botão: Solicitar Cotação */
.eps_cta_btn_cotacao {
    background-color: transparent;
    color: var(--eps-branco);
    border: 1px solid var(--eps-branco);
}

.eps_cta_btn_cotacao:hover {
    background-color: var(--eps-branco);
    color: #1A3D6D;
}

/* Força quebra amigável no desktop */
.eps_cta_desktop_br {
    display: block;
}

/* ==========================================================================
   Responsividade Extrema (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1024px) {
    .eps_cta_solucao_container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .eps_cta_solucao_title {
        text-align: center;
        font-size: 32px;
        line-height: 44px;
    }

    .eps_cta_desktop_br {
        display: none; /* Deixa fluir em uma linha no mobile */
    }

    .eps_cta_solucao_buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 15px;
    }

    .eps_cta_btn {
        width: 100%;
        max-width: 320px; /* Mantém a proporção exata solicitada */
    }
}

@media (max-width: 480px) {
    .eps_cta_solucao {
        padding: 45px 40px;
    }

    .eps_cta_solucao_title {
        font-size: 26px;
        line-height: 36px;
    }
}



/* ==========================================================================
   SEÇÃO 10: ÚLTIMOS POSTS DO BLOG (PIXEL PERFECT & DINÂMICO)
   ========================================================================== */

.eps_home_blog {
    width: 100%;
    padding: 60px 0 40px;
    background-color: var(--eps-branco);
    box-sizing: border-box;
}

.eps_home_blog .swiper-horizontal {
    padding: 1rem !important;
}

.eps_home_blog_container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.eps_home_blog_header {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eps_home_blog_main_title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 45px;
    color: #002375;
    margin: 0 0;
}

.eps_home_blog_intro {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    margin: 0;
}

/* Grid de Cards */
.eps_home_blog_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
}

/* Card Estrutura */
.eps_home_blog_card {
    width: 380px;
    height: auto; /* Deixando fluido para acomodar variações de títulos reais */
    min-height: 361px; /* Base segura com espaço extra além dos 211px fixos para títulos longos */
    background-color: var(--eps-branco);
    box-shadow: 0px 3px 11px 0px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eps_home_blog_card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.35);
}

/* Imagem do Card */
.eps_home_blog_card_img {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.eps_home_blog_card_img img {
    width: 100%;
    height: 100%;
}

/* Bloco Interno de Informações */
.eps_home_blog_card_content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 210px;
}

/* Título do Post */
.eps_home_blog_card_title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 24px;
    color: #002375;
    margin: 0 0 16px 0;
        padding: 0 3px;
}

/* Link Leia Mais */
.eps_home_blog_card_link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 21px;
    color: #000000;
    display: inline-block;
}

.eps_home_blog_empty {
    grid-column: span 3;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    color: #5A7A8A;
}

/* ==========================================================================
   RESPONSIVIDADE DA GRADE DO BLOG
   ========================================================================== */

@media (max-width: 1200px) {
    .eps_home_blog_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .eps_home_blog_card {
        width: 100%;
        max-width: 380px;
    }
    .eps_home_blog_card_img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .eps_home_blog {
        padding: 50px 0;
    }
    
    .eps_home_blog_main_title {
        font-size: 26px;
        line-height: 36px;
    }

    .eps_home_blog_grid {
        grid-template-columns: 1fr; /* Empilha totalmente no mobile */
        gap: 24px;
    }

    .eps_home_blog_card {
        width: 100%;
        max-width: 340px; /* Redução fina para caber com folga em telas pequenas */
    }
}


/* Customização para a Grid da página de Blog sem quebrar o Swiper da Home */
.eps_blog_grid_system {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 30px;
    width: 100%;
    margin-top: 40px;
}

.single-post .site-main {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 60px ;
}

/* Garante que os cards herdem a largura total da coluna do grid */
.eps_blog_grid_system .eps_home_blog_card {
    width: 100% !important;
}

/* Estilização básica da paginação do WordPress */
.eps_blog_pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.eps_blog_pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 10px;
}

.eps_blog_pagination ul li a,
.eps_blog_pagination ul li span {
    display: inline-block;
    padding: 10px 18px;
    background: #EFEDED;
    color: #1A81BC;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.eps_blog_pagination ul li span.current {
    background: #1A81BC;
    color: #FFF;
}

.eps_blog_pagination ul li a:hover {
    background: #1A81BC;
    color: #FFF;
}

/* Responsividade da Grid */
@media (max-width: 992px) {
    .eps_blog_grid_system {
        grid-template-columns: repeat(2, 1fr);
    }

    .eps_home_blog_card_content {
        min-height: auto; /* Permite que o conteúdo se ajuste naturalmente */
        gap: 30px;
		height: auto;
    }

    .eps_home_blog_card {
        max-width: 100%; /* Garante que o card não ultrapasse a largura da coluna */
        min-height: auto; /* Ajusta a altura mínima para acomodar títulos longos */
    }

    
}

@media (max-width: 600px) {
    .eps_blog_grid_system {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.eps-primary-menu > li:has(> .sub-menu) > a::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-left: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.4s ease;
}

.eps-primary-menu > li:has(> .sub-menu):hover > a::after {
    transform: rotate(225deg) translateY(-2px);
}

/* Seta nos itens de menu que possuem sub-menu (Desktop e Mobile) */
.eps-primary-menu > li:has(> .sub-menu) > a::after,
.eps-mobile-menu li:has(> .sub-menu) > a::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-left: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.4s ease;
}

/* Rotação da seta ao abrir/expandir no mobile */
.eps-mobile-menu li.sub-menu-open > a::after {
    transform: rotate(-135deg) translateY(-2px);
}

/* Esconde o sub-menu por padrão no mobile para permitir abertura por clique */
.eps-mobile-menu .sub-menu {
    display: none;
    padding-left: 15px;
    list-style: none;
}

/* Destaque opcional para a opção "Ver tudo" */
.eps-mobile-menu .menu-item-see-all a,
.eps-primary-menu .menu-item-see-all a {
    font-weight: 600;
}


.menu-item .menu-item-see-all {display: none !important;}

body.page-id-2157 .site-main {
	max-width: 700px;
	margin: 0 auto;
	padding: 40px 0;
}

.politica-titulo {
	text-transform: uppercase;
margin-bottom: 0px;
}

.politica-sub-titulo {
	margin-top: 10px;
}

body.page-id-2157 .site-main p {
	line-height: 1.5;
font-size: 16px;
}

@media (max-width: 769px) {
	body.page-id-2157 .site-main {
		padding: 40px 20px;
	}
}