/*
Theme Name: Blog Memo
Theme URI: https://github.com/crwa/blog-memo
Author: Alisson Paganini (CRWA)
Author URI: https://github.com/crwa
Description: A secure, minimal blank starter theme for custom WordPress development.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blog-memo
Tags: custom-colors, custom-menu, featured-images, translation-ready

This theme, like WordPress, is licensed under the GPL.
*/

/* ==========================================================================
   Basic Reset and Base Styles (Minimal/Blank starter styles)
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

/* Accessibility: Screen Reader Only */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ==========================================================================
   Header Layout Styles (Blog Memo)
   ========================================================================== */
.site-header {
    width: 100%;
}

/* Header Part 1 (Branding / Logo) */
.header-top {
    background-color: #FDFDFD;
    height: 77.56px;
    display: flex;
    align-items: center;
}

.header-top .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 0;
}

.header-top .site-branding {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

/* Custom Logo size */
.custom-logo-link img,
.site-branding img {
    width: 160px;
    height: 51px;
    object-fit: contain;
    display: block;
}

.header-top .header-buttons {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    /* Space between buttons */
}

.header-top .header-socials {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
}

/* Header Part 2 (Menu) */
.header-bottom {
    background-color: #F9F9FA;
    height: 61.52px;
    display: flex;
    align-items: center;
}

/* Header Content Container (Constrained width) */
.header-container {
    width: 100%;
    max-width: 1043.34px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 0.5rem;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Site Branding Layout */
.site-branding {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.site-title a {
    text-decoration: none;
    color: #111;
}

.site-description {
    margin: 3px 0 0 0;
    font-size: 0.8rem;
    color: #777;
}

/* Header Buttons styling */
.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12.74px;
    font-weight: 400;
    /* Regular */
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: center;
    box-sizing: border-box;
}

/* Button 1: Ir para Loja MEMO */
.header-btn.btn-1 {
    width: 143.32px;
    height: 29.24px;
    background-color: #ED1C24;
    color: #ffffff;
    border-radius: 50px;
    /* Capsule shape */
    border: none;
}

.header-btn.btn-1:hover {
    background-color: #c11218;
}

/* Button 2: Entrar em Contato */
.header-btn.btn-2 {
    width: 133.32px;
    height: 29.24px;
    background-color: #ffffff;
    color: #ED1C24;
    border-radius: 50px;
    /* Capsule shape */
    border: 0.71px solid #ED1C24;
}

.header-btn.btn-2:hover {
    background-color: #ED1C24;
    color: #ffffff;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30.08px;
    height: 30.08px;
    background-color: #000000;
    color: #ffffff;
    border-radius: 50%;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.social-icon svg {
    display: block;
    width: 14px;
    height: 14px;
    fill: currentColor;
    shape-rendering: geometricPrecision;
    /* Anti-aliasing boost for SVG */
}

.social-icon:hover {
    background-color: #222222;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Navigation Layout */
.main-navigation {
    display: flex;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
    width: 100%;
    max-width: -webkit-fill-available;
    padding: 0 78px 0 0px;
}

.search-active .main-navigation {
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    pointer-events: none;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    text-decoration: none;
    color: #000000;
    font-weight: 400;
    font-size: 13.07px;
    transition: color 0.2s ease;
}

.main-navigation a:hover {
    color: #555;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
}

.mobile-menu-addons {
    display: none;
}

/* Animated Search Overlay Layout */
.header-search-wrap {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleX(0.97);
    width: calc(100% - 50px);
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
}

.search-active .header-search-wrap {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scaleX(1);
}

.header-search-form {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
}

.header-search-input {
    width: 100%;
    height: 34px;
    padding: 0 40px 0 15px;
    border: 1px solid #ccd0d4;
    border-radius: 17px;
    background: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 13.07px;
    color: #000000;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.header-search-input:focus {
    border-color: #ED1C24;
    box-shadow: 0 0 0 1px #ED1C24;
}

.header-search-submit-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
}

.header-search-submit-btn:hover {
    color: #ED1C24;
}

.search-btn-text {
    display: none;
}

.search-btn-icon {
    display: inline-block;
}

.search-toggle-btn,
.search-close-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.search-toggle-btn svg,
.search-close-btn svg {
    width: 25px;
    height: 25px;
    display: block;
}

.search-toggle-btn:hover,
.search-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

.search-close-btn {
    display: none;
}

.search-active .search-toggle-btn {
    display: none;
}

.search-active .search-close-btn {
    display: flex;
}

/* Footer Styling */
.site-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 60px 0 0 0;
    margin-top: auto;
}

.footer-container {
    width: 100%;
    max-width: 913.25px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    box-sizing: content-box;
    /* paddings are added outside the 913.25px content width */
}

/* Footer Row 1: 4-Column Grid */
.footer-row-1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 132px;
}

/* Column 1 containing two vertical sections */
.footer-col-1-double {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-col-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    /* Bold */
    font-size: 24px;
    line-height: 26.3px;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 18px;
}

.footer-col-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col-links li {
    margin: 0;
    padding: 0;
}

.footer-col-links a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    /* Light */
    font-size: 15.04px;
    line-height: 18.8px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
    opacity: 0.85;
}

.footer-col-links a:hover {
    color: #ED1C24;
    opacity: 1;
}

/* Column 4 Contact Item Layout */
.footer-contact-label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    /* Regular */
    font-size: 15.04px;
    line-height: 18.8px;
    color: #ffffff;
    margin-bottom: 2px;
}

.footer-contact-value {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    /* Regular */
    font-size: 15.04px;
    line-height: 18.8px;
    color: #ffffff;
}

.footer-contact-value a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    /* Regular */
    font-size: 15.04px;
    line-height: 18.8px;
    color: #ED1C24;
    /* Brand color links */
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-contact-value a:hover {
    opacity: 0.8;
}

.footer-wa-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-left: 6px;
    display: inline-block;
}

/* Informative Text */
.footer-col-4-info {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    /* Bold */
    font-size: 15.05px;
    line-height: 18.8px;
    color: #ffffff;
    margin-top: 25px;
    margin-bottom: 20px;
    white-space: pre-line;
}

/* Color-inverted Social Icons */
.footer-social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30.08px;
    height: 30.08px;
    background-color: #ffffff;
    color: #000000;
    border-radius: 50%;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 1px 3px rgba(255, 255, 255, 0.05);
}

.footer-social-icon svg {
    display: block;
    width: 14px;
    height: 14px;
    fill: currentColor;
    shape-rendering: geometricPrecision;
}

.footer-social-icon:hover {
    background-color: #e2e8f0;
    color: #ED1C24;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.12);
}


/* Footer Row 2: Copyright Text */
.footer-row-2 {
    border-top: none;
    padding-top: 0;
    margin-bottom: 64px;
    text-align: center;
}

.footer-row-2 p {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    /* Regular */
    font-size: 14px;
    color: #ffffff;
    line-height: 18.8px;
}

/* Footer Row 3: Privacy Link Statement */
.footer-row-3 {
    padding-top: 0;
    margin-bottom: 95px;
    text-align: center;
}

.footer-row-3 p {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    /* Regular */
    font-size: 14px;
    color: #ED1C24;
    /* Red color */
    line-height: 18.8px;
}

.footer-row-3 a {
    color: #ED1C24;
    text-decoration: underline;
    /* Underlined links */
    transition: opacity 0.2s ease;
}

.footer-row-3 a:hover {
    opacity: 0.8;
}

/* Responsive adjustments for Header and Footer */
@media (max-width: 991px) {

    /* Header Top wraps cleanly into rows */
    .header-top {
        height: auto;
        padding: 20px 0;
    }

    .header-top .header-container {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
    }

    .header-top .site-branding {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header-top .header-buttons {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
    }

    .header-top .header-socials {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
    }
}

/* Mobile Hamburger Button */
.mobile-menu-toggle-btn {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    padding: 10px;
    color: #333333;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    z-index: 10;
}

.mobile-menu-toggle-btn:hover,
.mobile-menu-toggle-btn:focus {
    color: #ED1C24;
}

.mobile-menu-toggle-btn svg {
    display: block;
    width: 24px;
    height: 24px;
}

/* Mobile Sidebar Drawer styling */
.mobile-sidebar-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background-color: #ffffff;
    z-index: 99999;
    box-shadow: 4px 0 25px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.mobile-sidebar-drawer.open {
    left: 0;
}

.mobile-sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-sidebar-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: none;
    box-sizing: border-box;
    background-color: #ffffff;
}

.mobile-sidebar-logo {
    display: flex;
    align-items: center;
}

.mobile-sidebar-logo img {
    max-width: 130px;
    height: auto;
}

.mobile-logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #111111;
    text-decoration: none;
}

.mobile-sidebar-close-btn {
    background: none;
    border: none;
    padding: 6px;
    color: #555555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-sidebar-close-btn:hover,
.mobile-sidebar-close-btn:focus {
    color: #ED1C24;
    transform: rotate(90deg);
}

.mobile-sidebar-close-btn svg {
    width: 24px;
    height: 24px;
}

.mobile-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 24px 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important; /* Align everything from top down */
    gap: 20px; /* Space between socials and navigation items */
    box-sizing: border-box;
}

.mobile-sidebar-navigation {
    margin-bottom: 30px;
}

.mobile-sidebar-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-sidebar-navigation li {
    margin: 0;
    padding: 0;
}

.mobile-sidebar-navigation a {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #111111;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
}

.mobile-sidebar-navigation a:hover,
.mobile-sidebar-navigation a:focus {
    color: #ED1C24;
}

.mobile-sidebar-socials {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    padding: 0 0 10px 0;
    border-top: none !important;
    border-bottom: none !important; /* Remove line separating socials from menu */
    margin-bottom: 5px;
    width: 100%;
    box-sizing: border-box;
}

.mobile-sidebar-socials .social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30.08px;
    height: 30.08px;
    background-color: #000000;
    color: #ffffff;
    border-radius: 50% !important; /* Circular style matching header */
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.mobile-sidebar-socials .social-icon:hover {
    background-color: #222222;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.mobile-sidebar-socials .social-icon svg {
    display: block;
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Footer Accordion and wrap styling */
.accordion-arrow {
    display: none; /* Hide arrow on desktop */
}

/* Prevent text overflow on footer contents and rows */
.footer-col-4-info,
.footer-row-2 p,
.footer-row-3 p,
.footer-row-3 a,
.footer-contact-value {
    word-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
}

@media (max-width: 768px) {
    /* Hamburger and Mobile menu display */
    .mobile-menu-toggle-btn {
        display: flex !important;
    }
    
    .main-navigation {
        display: none !important;
    }
    
    .header-bottom {
        height: 52px;
    }
    
    /* Set equal container padding on mobile for symmetric spacing */
    .header-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Hide top header socials on mobile devices */
    .header-top .header-socials {
        display: none !important;
    }
    
    /* Hide hamburger and search magnifier icons when search bar is active */
    .search-active .mobile-menu-toggle-btn {
        display: none !important;
    }
    .search-active .search-toggle-btn {
        display: none !important;
    }
    
    /* Search bar aligned symmetrically using absolute boundary paddings */
    .header-search-wrap {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    /* Mobile Search Submit Button styled with 'Buscar' Text */
    .search-btn-icon {
        display: none !important;
    }
    
    .search-btn-text {
        display: inline-block !important;
    }
    
    .header-search-submit-btn {
        position: absolute !important;
        right: 4px !important;
        left: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background-color: #ED1C24 !important;
        color: #ffffff !important;
        border: none !important;
        height: 26px !important;
        padding: 0 12px !important;
        border-radius: 13px !important;
        font-family: 'Inter', sans-serif !important;
        font-weight: 600 !important;
        font-size: 11px !important;
        text-transform: uppercase !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        
        /* Hide by default until user types */
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 0.2s ease, visibility 0.2s ease !important;
    }
    
    .header-search-input:not(:placeholder-shown) ~ .header-search-submit-btn {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .header-search-input {
        padding-right: 80px !important;
    }

    /* Constrain footer container to avoid overflows */
    .footer-container {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        overflow: hidden !important;
    }

    /* Footer Accordion layouts on mobile screens */
    .footer-row-1 {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        margin-bottom: 40px !important;
    }

    .accordion-section {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 18px 0 !important;
        width: 100% !important;
    }
    
    .footer-column.accordion-section {
        gap: 0 !important;
    }

    .footer-col-1-double {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .footer-col-title {
        cursor: pointer;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0 !important;
        font-size: 18px !important;
        line-height: 22px !important;
        user-select: none;
    }

    /* Accordion + / − Icon Indicators */
    .accordion-arrow {
        display: block !important;
        font-family: monospace, sans-serif;
        font-weight: bold;
        font-size: 18px;
        color: #ffffff;
        margin-right: 5px;
        transition: transform 0.2s ease;
    }

    .accordion-arrow::before {
        content: "+";
    }

    .accordion-section.active .accordion-arrow::before {
        content: "−"; /* Unicode minus sign */
    }

    .footer-col-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        width: 100%;
        box-sizing: border-box;
    }

    .accordion-section.active .footer-col-content {
        margin-top: 15px;
    }

    .footer-row-2 {
        margin-bottom: 30px;
    }

    .footer-row-3 {
        margin-bottom: 45px;
    }
}

@media (max-width: 480px) {
    .header-top .header-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .header-top .header-buttons .header-btn {
        width: 100%;
        max-width: 260px;
        height: 32px;
    }
}

/* 404 Error Page Styling */
.error-404-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 400px);
    /* Fill screen between header and footer */
    padding: 80px 20px;
    background-color: #ffffff;
    box-sizing: border-box;
}

.error-404.not-found {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.error-404-badge {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 900;
    font-size: 120px;
    line-height: 1;
    color: #ED1C24;
    /* Brand Red */
    letter-spacing: -2px;
    margin-bottom: 20px;
    user-select: none;
    animation: pulse404 2s infinite ease-in-out;
}

@keyframes pulse404 {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

.error-404 h1.page-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #111111;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.error-404 .page-description {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    margin: 0 0 35px 0;
}

.error-404-search {
    margin-bottom: 35px;
    display: flex;
    justify-content: center;
}

.error-404-search form {
    display: flex;
    width: 100%;
    max-width: 450px;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 4px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.error-404-search form:focus-within {
    border-color: #ED1C24;
    box-shadow: 0 4px 16px rgba(237, 28, 36, 0.12);
}

.error-404-search input[type="search"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #111111;
    outline: none;
}

.error-404-search input[type="search"]::placeholder {
    color: #a0aec0;
}

.error-404-search input[type="submit"] {
    background-color: #ED1C24;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.error-404-search input[type="submit"]:hover {
    background-color: #d0181e;
}

.error-404-search input[type="submit"]:active {
    transform: scale(0.97);
}

.error-404-actions {
    display: flex;
    justify-content: center;
}

.btn-back-home {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 35px;
    border-radius: 30px;
    border: 2px solid #000000;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-back-home:hover {
    background-color: #ED1C24;
    border-color: #ED1C24;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(237, 28, 36, 0.2);
}

.btn-back-home:active {
    transform: translateY(0);
}

/* ==========================================================================
   Home Page Featured Post / Slider Styles
   ========================================================================== */
.home-featured-section {
    position: relative;
    width: 100%;
}

.blog-memo-slider-outer {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.blog-memo-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-memo-slide-item {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    background-color: #FEFEFE;
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* Slide Transition display */
.blog-memo-slider-outer[data-transition="slide"] .blog-memo-slide-item {
    opacity: 1;
    /* Rely on track translate animation */
}

/* Fade Transition display */
.blog-memo-slider-outer[data-transition="fade"] .blog-memo-slider-track {
    transform: none !important;
    display: block;
    position: relative;
    height: 803px;
    /* 494px banner + 309px content */
}

.blog-memo-slider-outer[data-transition="fade"] .blog-memo-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.blog-memo-slider-outer[data-transition="fade"] .blog-memo-slide-item.active-slide {
    opacity: 1;
    z-index: 2;
}

/* Image Banner */
.featured-banner-wrapper {
    position: relative;
    width: 100%;
    height: 494px;
    overflow: hidden;
}

.featured-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Bottom Content Box */
.featured-content-box {
    width: 100%;
    height: 309px;
    background-color: #FEFEFE;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.featured-category {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    /* Medium */
    font-size: 22.23px;
    line-height: 22.2px;
    color: #000000;
    margin-top: 43px;
    margin-bottom: 20px;
    text-align: center;
}

.featured-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    /* Bold */
    font-size: 57.03px;
    line-height: 57px;
    color: #1D1D1F;
    margin: 0 0 20px 0;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.featured-title a {
    color: #1D1D1F;
    text-decoration: none;
    transition: color 0.2s ease;
}

.featured-title a:hover {
    color: #ED1C24;
}

.featured-readmore-wrapper {
    text-align: center;
}

.btn-continue-lendo {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    /* Regular */
    font-size: 15.11px;
    line-height: 22.2px;
    color: #ED1C24;
    text-decoration: none;
    margin-bottom: 72px;
    display: inline-block;
    transition: opacity 0.2s ease;
}

.btn-continue-lendo:hover {
    opacity: 0.8;
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 247px;
    /* Middle of 494px banner */
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-arrow:hover {
    background: #ED1C24;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(237, 28, 36, 0.3);
}

.slider-arrow.arrow-prev {
    left: 20px;
}

.slider-arrow.arrow-next {
    right: 20px;
}

/* Pagination Dots */
.slider-dots {
    position: absolute;
    top: 450px;
    /* Near bottom of 494px banner */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-dot.active-dot {
    background: #ED1C24;
    transform: scale(1.2);
}

/* Responsive Featured adjustments */
@media (max-width: 991px) {
    .featured-title {
        font-size: 40px;
        line-height: 44px;
    }
}

@media (max-width: 768px) {
    .featured-banner-wrapper {
        height: 350px;
    }

    .featured-content-box {
        height: auto;
        padding: 20px;
    }

    .featured-category {
        margin-top: 20px;
        font-size: 18px;
    }

    .featured-title {
        font-size: 28px;
        line-height: 32px;
    }

    .btn-continue-lendo {
        margin-bottom: 30px;
    }

    .slider-arrow {
        top: 175px;
        width: 36px;
        height: 36px;
    }

    .slider-dots {
        top: 310px;
    }

    /* Force slide scroll mode on mobile viewports for smooth gesture swiping */
    .blog-memo-slider-outer[data-transition="fade"] {
        height: auto !important;
    }

    .blog-memo-slider-outer[data-transition="fade"] .blog-memo-slider-track {
        display: flex !important;
        position: relative !important;
        height: auto !important;
    }

    .blog-memo-slider-outer[data-transition="fade"] .blog-memo-slide-item {
        position: relative !important;
        opacity: 1 !important;
    }
}

/* ==========================================================================
   Home Page Secondary Grid Section Styles
   ========================================================================== */
.home-grid-section {
    background-color: #F2F2F2;
    padding: 20px 0 42px 0;
    width: 100%;
    box-sizing: border-box;
}

.home-grid-container {
    width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 530.59px);
    column-gap: 19px;
    row-gap: 17px;
    justify-content: center;
}

.grid-card-item {
    width: 530.59px;
    height: 517.46px;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

.grid-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.grid-card-top {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 35px;
    box-sizing: border-box;
    text-align: center;
}

.grid-card-category {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    /* Medium */
    font-size: 15.72px;
    line-height: 20.3px;
    color: #000000;
    margin-bottom: 12px;
}

.grid-card-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    font-size: 29.21px;
    line-height: 29.2px;
    color: #000000;
    margin: 0 0 12px 0;
    padding: 0 10px;
}

.grid-card-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.grid-card-title a:hover {
    color: #ED1C24;
}

.grid-card-readmore {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    /* Regular */
    font-size: 16.17px;
    line-height: 23.8px;
    color: #ED1C24;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.grid-card-readmore:hover {
    opacity: 0.8;
}

.grid-card-bottom {
    width: 530.58px;
    height: 262.39px;
    overflow: hidden;
    border-radius: 16px;
    box-sizing: border-box;
}

.grid-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsividade do Grid */
@media (max-width: 1140px) {
    .home-grid-container {
        max-width: 95%;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 15px;
        row-gap: 15px;
    }

    .grid-card-item {
        width: 100%;
        height: auto;
        min-height: 480px;
    }

    .grid-card-bottom {
        width: 100%;
        height: 240px;
    }
}

@media (max-width: 768px) {
    .home-grid-container {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

    .grid-card-item {
        min-height: auto;
    }

    .grid-card-bottom {
        height: 220px;
    }

    .grid-card-title {
        font-size: 24px;
        line-height: 26px;
    }

    .home-grid-section {
        padding: 50px 0;
    }
}

/* ==========================================================================
   Home Page Tertiary Recent Section Styles
   ========================================================================== */
.home-recent-section {
    background-color: #F2F2F2;
    padding: 42px 0 87px 0;
    width: 100%;
    box-sizing: border-box;
}

.home-recent-container {
    width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.recent-section-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    /* Bold */
    font-size: 26px;
    line-height: 32px;
    color: #000000;
    margin: 0 0 57px 0;
    text-align: left;
}

.recent-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 347px);
    column-gap: 20px;
    row-gap: 24px;
    justify-content: start;
}

.recent-card-item {
    width: 347px;
    height: 404.04px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.recent-card-top {
    width: 347px;
    height: 171.6px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.recent-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.recent-card-bottom {
    width: 347px;
    height: 257.62px;
    background-color: #FDFDFD;
    border-radius: 16px;
    margin-top: -25.18px;
    /* Math: 171.6 + 257.62 = 429.22px, card height is 404.04px, difference = 25.18px */
    position: relative;
    z-index: 2;
    padding: 32px 32px 35px 32px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.recent-card-category {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    /* Medium */
    font-size: 15.72px;
    line-height: 20.3px;
    color: #000000;
    margin-bottom: 18px;
}

.recent-card-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    font-size: 29.21px;
    line-height: 29.2px;
    color: #000000;
    margin: 0 0 auto 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 58.4px;
}

.recent-card-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.recent-card-title a:hover {
    color: #ED1C24;
}

.recent-card-readmore {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    /* Regular */
    font-size: 16.17px;
    line-height: 23.8px;
    color: #ED1C24;
    text-decoration: none;
    margin-top: 13px;
    display: inline-block;
    transition: opacity 0.2s ease;
}

.recent-card-readmore:hover {
    opacity: 0.8;
}

.recent-button-wrapper {
    margin-top: 70px;
    text-align: left;
}

.btn-ver-todos {
    display: inline-flex;
    width: 248px;
    height: 56.73px;
    background-color: #ED1C24;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-size: 18px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.2s ease;
    box-shadow: none;
    border: none;
}

.btn-ver-todos:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Responsividade da Seção 3 */
@media (max-width: 1140px) {
    .home-recent-container {
        max-width: 95%;
        width: auto;
    }

    .recent-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
        row-gap: 24px;
    }

    .recent-card-item,
    .recent-card-top,
    .recent-card-bottom {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .recent-grid-wrapper {
        grid-template-columns: 1fr;
    }

    .recent-card-item {
        height: auto;
    }

    .recent-card-bottom {
        height: auto;
        margin-top: -15px;
        padding: 24px;
    }

    .recent-card-title {
        height: auto;
        -webkit-line-clamp: unset;
        font-size: 24px;
        line-height: 26px;
        margin-bottom: 15px;
    }

    .recent-section-title {
        margin-bottom: 30px;
    }

    .recent-button-wrapper {
        margin-top: 40px;
    }
}

/* Blog Pagination Styling */
.blog-pagination-wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: flex-start;
}

.blog-pagination-wrapper .pagination {
    display: flex;
    gap: 8px;
}

.blog-pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 20px;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.blog-pagination-wrapper .page-numbers.current,
.blog-pagination-wrapper .page-numbers:hover {
    background-color: #ED1C24;
    color: #ffffff;
    border-color: #ED1C24;
}

/* ==========================================================================
   Home Page Section 6 Static Banner Styles
   ========================================================================== */
.home-static-banner-section {
    width: 100%;
    background-color: transparent;
    display: block;
    box-sizing: border-box;
}

.home-static-banner-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    display: block;
    box-sizing: border-box;
}

.home-static-banner-container a {
    display: block;
    width: 100%;
}

.static-banner-picture {
    display: block;
    width: 100%;
}

.static-banner-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Home Page Section 7 Newsletter Styles
   ========================================================================== */
.home-newsletter-section {
    background-color: #000000;
    padding: 136px 0 125px 0;
    width: 100%;
    box-sizing: border-box;
}

.home-newsletter-container {
    width: 1080px;
    margin: 0 auto;
    display: block;
    box-sizing: border-box;
}

.newsletter-box {
    width: 1080px;
    height: 466.3px;
    border-radius: 40px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 581.5px 498.5px;
    box-sizing: border-box;
}

.newsletter-col-left {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.newsletter-row-white {
    background-color: #ffffff;
    padding: 56px 30px 0 59px;
    /* Padding top de 56px, padding esquerdo de 59px, padding direito de 30px */
    height: 233.15px;
    /* Altura exata de 233.15px */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    box-sizing: border-box;
}

.newsletter-phrase {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    /* Regular */
    font-size: 38.6px;
    line-height: 38.8px;
    color: #000000;
    margin: 0;
    text-align: left;
}

.newsletter-arrow-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-top: 12px;
    cursor: default;
    user-select: none;
}

.newsletter-row-red {
    background-color: #ED1C24;
    padding: 50px 59px 67px 59px;
    /* padding-left: 59px, padding-right: 59px, padding-bottom: 67px */
    flex: 0.9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    min-height: 233.15px;
    /* Altura de pelo menos 233.15px */
    position: relative;
}

.newsletter-col-right {
    width: 498.5px;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

/* Contact Form 7 integration styles inside red row */
.newsletter-row-red form {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.newsletter-row-red p {
    margin: 0;
}

.newsletter-form-row {
    position: relative;
    width: 100%;
    height: 52.99px;
    box-sizing: border-box;
    margin-bottom: 13px !important;
    /* Margem para separar do checkbox abaixo */
}

.newsletter-row-red .wpcf7-form-control-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 13px !important;
    /* Margem padrão de 13px até a frase do checkbox */
    position: static !important;
    /* Alterado de relative para static para permitir que as notificações de erro se ancorem na div vermelha (overlay) */
}

.newsletter-row-red input[type="email"],
.newsletter-row-red input[type="text"] {
    width: 100%;
    height: 52.99px !important;
    border-radius: 0% !important;
    border: 0.92px solid #ffffff !important;
    background-color: transparent !important;
    color: #ffffff !important;
    padding-left: 55px !important;
    /* Espaço para o ícone do envelope */
    padding-right: 120px !important;
    /* Espaço para o botão Assinar */
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 17.51px !important;
    outline: none;
    transition: all 0.2s ease;
    margin: 0 !important;
    /* Reseta margens para controle preciso do wrapper */
    background-image: url("assets/images/mail-icon.png") !important;
    background-repeat: no-repeat !important;
    background-position: left 20px center !important;
    background-size: 24px auto !important;
}

.newsletter-row-red input[type="email"]::placeholder,
.newsletter-row-red input[type="text"]::placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 17.51px !important;
}

/* O botão Assinar deve ficar posicionado sobre o canto direito do input */
.newsletter-row-red input[type="submit"] {
    position: absolute;
    right: 0;
    top: 0;
    height: 52.99px !important;
    background-color: transparent !important;
    color: #F2F2F2 !important;
    border: none !important;
    padding: 0 24px !important;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 17.51px !important;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none !important;
    letter-spacing: normal !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    z-index: 10;
}

/* Quando o usuário digita algo no email (placeholder oculta), acende o botão submit */
.newsletter-row-red input[type="email"]:not(:placeholder-shown)~input[type="submit"],
.newsletter-row-red .wpcf7-form-control-wrap:has(input[type="email"]:not(:placeholder-shown))~input[type="submit"],
.newsletter-form-row:has(input[type="email"]:not(:placeholder-shown)) input[type="submit"] {
    background-color: #F2F2F2 !important;
    color: #ED1C24 !important;
}

/* Posiciona o spinner de envio do CF7 de forma absoluta para não atrapalhar o fluxo do layout */
.newsletter-row-red .wpcf7-spinner {
    position: absolute;
    right: 110px;
    top: 17px;
    margin: 0 !important;
    z-index: 12;
}

/* acceptance checkbox styles - alinhamento perfeito à esquerda */
.newsletter-row-red .wpcf7-acceptance,
.newsletter-row-red .wpcf7-list-item,
.newsletter-acceptance-row {
    display: block;
    width: 100%;
    text-align: left;
    margin: 0 !important;
    padding: 0 !important;
}

.newsletter-row-red .wpcf7-acceptance label,
.newsletter-row-red .wpcf7-list-item label,
.newsletter-acceptance-row label {
    display: flex;
    align-items: flex-start;
    gap: 8.5px;
    cursor: pointer;
    text-align: left;
    margin: 0 !important;
    padding: 0 !important;
}

.newsletter-row-red input[type="checkbox"] {
    width: 12.74px !important;
    height: 12.74px !important;
    border-radius: 3.69px !important;
    border: 0.92px solid #ffffff !important;
    background-color: transparent !important;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin: 2px 0 0 0 !important;
    /* Ajuste milimétrico vertical */
    padding: 0 !important;
    box-sizing: border-box;
}

.newsletter-row-red input[type="checkbox"]:checked {
    background-color: #ffffff !important;
}

.newsletter-row-red input[type="checkbox"]:checked::after {
    content: '' !important;
    position: absolute !important;
    left: 3.5px !important;
    top: 1px !important;
    width: 3px !important;
    height: 6px !important;
    border: solid #ED1C24 !important;
    border-width: 0 1.5px 1.5px 0 !important;
    transform: rotate(45deg) !important;
}

.newsletter-row-red .wpcf7-list-item-label,
.newsletter-acceptance-row .wpcf7-list-item-label {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    font-size: 12.5px !important;
    line-height: 17px !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Mensagens de erro em overlay (tipo notificação) que flutuam dentro da div da segunda linha (vermelha) */
.newsletter-row-red .wpcf7-not-valid-tip {
    display: none !important;
    /* Oculta totalmente as dicas pequenas padrões do CF7, já que os erros agora aparecem no modal central principal */
}

.newsletter-row-red .wpcf7-response-output {
    position: absolute;
    top: 50%;
    left: 40px;
    right: 40px;
    transform: translateY(-50%);
    background-color: #ffffff !important;
    color: #ED1C24 !important;
    border: 2px solid #ED1C24 !important;
    padding: 16px 36px 16px 20px !important;
    /* Reservado espaço para o close-toast */
    border-radius: 12px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4;
    text-align: center !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    z-index: 100 !important;
    margin: 0 !important;
    display: none;
    /* Oculta por padrão para não cobrir o form no carregamento inicial */
    box-sizing: border-box !important;
}

.newsletter-row-red .wpcf7-response-output.wpcf7-mail-sent-ok {
    border-color: #28a745 !important;
    color: #28a745 !important;
}

.newsletter-row-red .wpcf7-response-output.wpcf7-validation-errors {
    border-color: #ED1C24 !important;
    color: #ED1C24 !important;
}

/* Backdrop do overlay escuro na div da segunda linha (vermelha) */
.newsletter-overlay-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 90;
    border-bottom-left-radius: 40px;
    /* Alinha com os cantos arredondados do contêiner principal */
}

.newsletter-overlay-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Botão de Fechar das notificações flutuantes */
.newsletter-row-red .wpcf7-response-output .close-toast,
.newsletter-row-red .wpcf7-not-valid-tip .close-toast {
    position: absolute;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transition: color 0.2s ease;
}

.newsletter-row-red .wpcf7-not-valid-tip .close-toast {
    top: 50%;
    transform: translateY(-50%);
    right: 8px;
    color: #ED1C24;
}

.newsletter-row-red .wpcf7-response-output .close-toast {
    top: 12px;
    right: 12px;
    color: #ED1C24;
}

.newsletter-row-red .wpcf7-response-output.wpcf7-mail-sent-ok .close-toast {
    color: #28a745;
}

.newsletter-row-red .wpcf7-response-output .close-toast:hover,
.newsletter-row-red .wpcf7-not-valid-tip .close-toast:hover {
    color: #000000;
}

/* Responsividade da Seção 7 */
@media (max-width: 1140px) {
    .home-newsletter-section {
        padding: 80px 0;
    }

    .home-newsletter-container {
        max-width: 95%;
        width: auto;
    }

    .newsletter-box {
        width: 100%;
        height: auto;
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .newsletter-col-right {
        width: 100%;
        height: 300px;
    }

    .newsletter-row-white {
        padding: 40px;
        height: auto !important;
    }

    .newsletter-row-red {
        padding: 40px;
        height: auto !important;
    }

    .newsletter-phrase {
        font-size: 30px;
        line-height: 32px;
    }
}

@media (max-width: 768px) {
    .home-newsletter-section {
        padding: 60px 0;
    }

    .newsletter-row-white,
    .newsletter-row-red {
        padding: 30px 20px;
    }

    .newsletter-phrase {
        font-size: 24px;
        line-height: 26px;
    }

    .newsletter-arrow-down {
        font-size: 24px;
        line-height: 26px;
    }
}

/* ==================== SINGLE POST STYLING ==================== */
.single-post-section {
    background-color: #F2F2F2;
    padding: 60px 0 100px 0;
    width: 100%;
    min-height: calc(100vh - 400px);
    box-sizing: border-box;
}

.single-post-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.entry-single-article {
    background-color: #FDFDFD;
    border-radius: 0% !important;
    width: 100%;
    max-width: 1080px;
    /* Alinhado com a largura do menu do header */
    padding: 60px;
    box-sizing: border-box;
    box-shadow: none !important;
}

.entry-single-article .entry-header {
    text-align: center;
    margin-bottom: 40px;
}

.entry-single-article .entry-category-badge {
    display: inline-block;
    margin-bottom: 16px;
}

.entry-single-article .entry-category-badge a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14.5px;
    color: #ED1C24 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.entry-single-article .entry-category-badge a:hover {
    opacity: 0.8;
}

.entry-single-article .entry-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 1.25;
    color: #000000;
    margin: 0 0 20px 0;
}

.entry-single-article .entry-meta {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    color: #777777;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}

.entry-single-article .entry-meta .meta-sep {
    color: #CCCCCC;
}

.entry-single-article .entry-meta .author-name {
    font-weight: 600;
    color: #000000;
}

.entry-single-article .post-thumbnail {
    margin-left: -60px;
    margin-right: -60px;
    margin-bottom: 48px;
    max-height: 520px;
    overflow: hidden;
    box-shadow: none !important;
}

.entry-single-article .post-thumbnail img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.entry-single-article .entry-content {
    font-family: 'Inter', sans-serif;
    font-size: 17.5px;
    line-height: 1.8;
    color: #333333;
}

.entry-single-article .entry-content p {
    margin: 0 0 26px 0;
}

.entry-single-article .entry-content h2,
.entry-single-article .entry-content h3,
.entry-single-article .entry-content h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #000000;
    margin: 48px 0 20px 0;
    line-height: 1.3;
}

.entry-single-article .entry-content h2 {
    font-size: 28.5px;
}

.entry-single-article .entry-content h3 {
    font-size: 23px;
}

.entry-single-article .entry-content h4 {
    font-size: 19px;
}

.entry-single-article .entry-content blockquote {
    border-left: 4.5px solid #ED1C24;
    padding: 10px 0 10px 24px;
    margin: 36px 0;
    font-style: italic;
    color: #555555;
    background-color: #FDFDFD;
}

.entry-single-article .entry-content ul,
.entry-single-article .entry-content ol {
    margin: 0 0 26px 0;
    padding-left: 24px;
}

.entry-single-article .entry-content li {
    margin-bottom: 10px;
}

.entry-single-article .entry-content a {
    color: #ED1C24;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.entry-single-article .entry-content a:hover {
    opacity: 0.8;
}

.entry-single-article .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
}

.entry-single-article .entry-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #EEEEEE;
}

.entry-single-article .entry-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.entry-single-article .entry-tags .tags-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    color: #000000;
    text-transform: uppercase;
    margin-right: 6px;
}

.entry-single-article .entry-tags a {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: #555555;
    background-color: #F2F2F2;
    padding: 6px 16px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.entry-single-article .entry-tags a:hover {
    background-color: #ED1C24;
    color: #ffffff;
}

/* Post Navigation (Previous/Next) */
.post-navigation-cards {
    width: 100%;
    max-width: 1080px;
    /* Ajustado para a largura máxima do menu do header */
    margin-top: 40px;
    box-sizing: border-box;
}

.post-navigation-cards .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.post-navigation-cards .nav-card {
    background-color: #FDFDFD;
    border-radius: 0% !important;
    /* Sem cantos arredondados */
    padding: 28px;
    box-sizing: border-box;
    box-shadow: none !important;
    /* Sem drop-shadow */
    transition: background-color 0.2s ease;
}

.post-navigation-cards .nav-card:hover {
    transform: none !important;
    box-shadow: none !important;
    background-color: #F5F5F5;
    /* Leve alteração de fundo no hover */
}

.post-navigation-cards .nav-card-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post-navigation-cards .nav-direction {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    color: #ED1C24;
    letter-spacing: 0.5px;
}

.post-navigation-cards .nav-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 17.5px;
    line-height: 1.4;
    color: #000000;
}

.post-navigation-cards .nav-next {
    text-align: right;
}

.post-navigation-cards .nav-next .nav-card-link {
    align-items: flex-end;
}

/* Comments Section Layout */
.comments-section-wrapper {
    width: 100%;
    max-width: 1080px;
    /* Ajustado para a largura máxima do menu do header */
    background-color: #FDFDFD;
    border-radius: 0% !important;
    /* Sem cantos arredondados */
    padding: 50px 60px;
    box-sizing: border-box;
    margin-top: 40px;
    box-shadow: none !important;
    /* Sem drop-shadow */
}

.comments-section-wrapper .comments-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #000000;
    margin: 0 0 32px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #EEEEEE;
}

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

.comments-section-wrapper .comment-body {
    padding: 30px 0;
    border-bottom: 1px solid #EEEEEE;
}

.comments-section-wrapper .comment-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.comments-section-wrapper .comment-author .avatar {
    border-radius: 50% !important;
    width: 48px;
    height: 48px;
    display: block;
}

.comments-section-wrapper .comment-author .fn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #000000;
    font-style: normal;
}

.comments-section-wrapper .comment-metadata {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #999999;
}

.comments-section-wrapper .comment-metadata a {
    color: #999999;
    text-decoration: none;
}

.comments-section-wrapper .comment-metadata a:hover {
    color: #ED1C24;
}

.comments-section-wrapper .comment-content {
    font-family: 'Inter', sans-serif;
    font-size: 15.5px;
    line-height: 1.65;
    color: #444444;
}

.comments-section-wrapper .comment-content p {
    margin: 0 0 16px 0;
}

.comments-section-wrapper .comment-content p:last-child {
    margin: 0;
}

.comments-section-wrapper .reply {
    margin-top: 12px;
}

.comments-section-wrapper .comment-reply-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    color: #ED1C24;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.comments-section-wrapper .comment-reply-link:hover {
    opacity: 0.8;
}

/* Comment Form */
.comments-section-wrapper .comment-respond {
    margin-top: 48px;
}

.comments-section-wrapper .comment-reply-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #000000;
    margin: 0 0 24px 0;
}

.comments-section-wrapper .comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comments-section-wrapper .comment-form p {
    margin: 0;
}

.comments-section-wrapper .comment-form label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #333333;
    margin-bottom: 8px;
}

.comments-section-wrapper .comment-form textarea,
.comments-section-wrapper .comment-form input[type="text"],
.comments-section-wrapper .comment-form input[type="email"],
.comments-section-wrapper .comment-form input[type="url"] {
    width: 100%;
    border: 1px solid #DDDDDD;
    padding: 14px 18px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15.5px;
    outline: none;
    box-sizing: border-box;
    background-color: #FDFDFD;
    transition: border-color 0.2s ease;
}

.comments-section-wrapper .comment-form textarea:focus,
.comments-section-wrapper .comment-form input:focus {
    border-color: #ED1C24;
}

.comments-section-wrapper .comment-form .comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.comments-section-wrapper .comment-form .comment-form-cookies-consent input {
    margin-top: 4px;
}

.comments-section-wrapper .comment-form .comment-form-cookies-consent label {
    display: inline;
    margin: 0;
    font-size: 13.5px;
    color: #666666;
}

.comments-section-wrapper .form-submit {
    margin-top: 10px;
}

.comments-section-wrapper .form-submit input[type="submit"] {
    background-color: #ED1C24 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 36px !important;
    border-radius: 50px !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15.5px !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: none !important;
}

.comments-section-wrapper .form-submit input[type="submit"]:hover {
    background-color: #d0141b !important;
}

/* Responsividade Single Post */
@media (max-width: 991px) {
    .entry-single-article {
        padding: 40px;
    }

    .entry-single-article .post-thumbnail {
        margin-left: -40px;
        margin-right: -40px;
    }

    .comments-section-wrapper {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .single-post-section {
        padding: 40px 0 60px 0;
    }

    .entry-single-article {
        padding: 30px 20px;
        border-radius: 0% !important; /* Flat design match on mobile */
    }

    .entry-single-article .post-thumbnail {
        margin-left: -20px;
        margin-right: -20px;
        margin-bottom: 30px;
    }

    .entry-single-article .entry-title {
        font-size: 28px;
    }

    .post-navigation-cards .nav-links {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .post-navigation-cards .nav-card {
        padding: 20px;
    }

    .related-posts-section {
        padding: 30px 20px !important;
        border-radius: 0% !important; /* Flat design match on mobile */
    }
}

/* ==================== SEARCH RESULTS STYLING ==================== */
.search-results-section {
    background-color: #F2F2F2;
    padding: 60px 0 100px 0;
    width: 100%;
    min-height: calc(100vh - 400px);
    box-sizing: border-box;
}

.search-results-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.search-page-header {
    margin-bottom: 40px;
}

.search-page-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 26px !important;
    line-height: 1.3;
    color: #000000;
    margin: 0;
}

.search-query-highlight {
    color: #ED1C24;
}

/* Highlighting matching search words */
.search-highlight {
    color: #ED1C24 !important;
    font-weight: 700;
}

/* Ensure the card bottom scales to accommodate search excerpts */
.search-results-section .recent-card-bottom {
    height: auto !important;
    min-height: 257.62px;
    display: flex;
    flex-direction: column;
}

.search-card-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #666666;
    margin: 10px 0 18px 0;
    flex-grow: 1; /* Pushes the 'read more' link to the bottom */
}

/* No Results Found Box */
.search-no-results-box {
    background-color: #FDFDFD;
    border-radius: 0% !important; /* Bordas retas conforme padrão do single container */
    padding: 50px 60px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1080px;
    text-align: center;
    box-shadow: none !important;
}

.search-no-results-desc {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    margin: 0 0 30px 0;
}

/* Inline Search Box */
.search-page-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    box-sizing: border-box;
}

.search-page-form-wrapper form {
    display: flex;
    width: 100%;
}

.search-page-form-wrapper input[type="search"] {
    width: 100%;
    height: 52px;
    border: 1px solid #DDDDDD;
    background-color: #FDFDFD;
    color: #333333;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    outline: none;
    border-radius: 0 !important;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.search-page-form-wrapper input[type="search"]:focus {
    border-color: #ED1C24;
}

.search-page-form-wrapper button[type="submit"] {
    height: 52px;
    background-color: #ED1C24;
    color: #ffffff;
    border: none;
    padding: 0 28px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 0 !important;
}

.search-page-form-wrapper button[type="submit"]:hover {
    background-color: #d0141b;
}

/* Recommended Section */
.search-recommended-wrapper {
    margin-top: 60px;
    width: 100%;
}

.search-recommended-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #000000;
    margin: 0 0 35px 0;
    text-align: center;
}

/* Responsive search rules */
@media (max-width: 768px) {
    .search-page-title {
        font-size: 22px !important;
    }
    
    .search-no-results-box {
        padding: 30px 20px;
    }
    
    .search-no-results-desc {
        font-size: 14.5px;
    }
}

/* Tab Filter Bar */
.search-tabs-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 45px;
    border-bottom: 1.5px solid #EAEAEA;
    padding-bottom: 16px;
    width: 100%;
    max-width: 1080px;
}

.search-tab-item {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #666666;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 0% !important;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.search-tab-item:hover {
    color: #ED1C24;
}

.search-tab-item.active {
    color: #ED1C24;
    border-bottom: 3.5px solid #ED1C24;
    margin-bottom: -18px;
    padding-bottom: 15px;
    position: relative;
    z-index: 2;
}

/* Category cards inside results */
.category-card-item {
    background-color: #FDFDFD;
    border-radius: 16px;
    width: 347px;
    height: 404.04px;
    box-sizing: border-box;
    padding: 40px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.category-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.category-card-badge {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14.5px;
    color: #ED1C24;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    margin: 15px 0 10px 0;
}

.category-card-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.category-card-title a:hover {
    color: #ED1C24;
}

.category-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #666666;
    margin: 0 0 15px 0;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.category-card-count {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    color: #999999;
    font-weight: 500;
    display: block;
    margin-bottom: 12px;
}

.category-card-readmore {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #ED1C24;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.category-card-readmore:hover {
    opacity: 0.8;
}

/* Page Type specific badge style */
.page-type-badge {
    color: #555555 !important;
}

.recent-card-item.search-page-card {
    border: 1px solid #EEEEEE;
}

@media (max-width: 768px) {
    .search-tabs-bar {
        justify-content: center;
        gap: 5px;
        margin-bottom: 30px;
    }
    
    .search-tab-item {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .search-tab-item.active {
        padding-bottom: 15px;
    }
}

/* Advanced Blog Page Filters */
.blog-filters-bar {
    width: 100%;
    max-width: 1080px;
    margin-bottom: 40px;
    border-bottom: 1px solid #EAEAEA;
    padding-bottom: 25px;
    box-sizing: border-box;
}

.blog-filters-form {
    width: 100%;
}

.filter-group-wrapper {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 220px;
}

.filter-field label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    color: #777777;
    letter-spacing: 0.5px;
}

.filter-field select {
    height: 46px;
    padding: 0 38px 0 16px;
    border: 1.5px solid #DDDDDD;
    background-color: #FDFDFD;
    color: #333333;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14.5px;
    outline: none;
    border-radius: 0% !important; /* Bordas retas conforme padrão do site */
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    
    /* Custom arrow styling */
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16' fill='none' stroke='%23777777' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
}

.filter-field select:focus {
    border-color: #ED1C24;
}

@media (max-width: 768px) {
    .blog-filters-bar {
        padding-bottom: 20px;
        margin-bottom: 30px;
    }
    
    .filter-group-wrapper {
        gap: 15px;
    }
    
    .filter-field {
        width: 100%;
        min-width: 100%;
    }
}

/* ==================== SINGLE POST SIDEBAR & RELATED LAYOUTS ==================== */
.single-post-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 30px;
    width: 100%;
}

.single-main-content {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
}

.single-sidebar {
    width: 320px;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* Sidebar Widgets */
.sidebar-widget {
    background-color: #FDFDFD;
    padding: 30px;
    margin-bottom: 30px;
    box-sizing: border-box;
    border-radius: 0% !important;
    box-shadow: none !important;
}

.sidebar-widget .widget-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    color: #000000;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #ED1C24;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.sidebar-posts-list li {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #EEEEEE;
}

.sidebar-posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-post-link {
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

.sidebar-post-link:hover .sidebar-post-title {
    color: #ED1C24;
}

.sidebar-post-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.sidebar-post-thumbnail {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #F2F2F2;
    border-radius: 12px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px !important;
}

.sidebar-post-thumbnail-placeholder {
    font-size: 20px;
    color: #888888;
}

.sidebar-post-content {
    flex: 1;
    min-width: 0;
}

.sidebar-post-title {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    line-height: 1.4;
    color: #111111;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-post-date {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    color: #888888;
}

/* Video play indicator overlays */
.video-play-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.1);
    transition: background-color 0.2s ease;
    z-index: 5;
}

.play-icon-svg {
    background-color: #ED1C24;
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.recent-card-item:hover .play-icon-svg,
.grid-card-item:hover .play-icon-svg,
.related-card:hover .play-icon-svg,
.featured-banner-wrapper:hover .play-icon-svg {
    transform: scale(1.1);
    background-color: #000000;
}

/* Mini video play indicator for sidebar thumbnail */
.video-play-overlay-mini {
    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.1);
    z-index: 5;
}

.play-icon-svg-mini {
    background-color: #ED1C24;
    color: #ffffff;
    width: 22px;
    height: 22px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.sidebar-post-link:hover .play-icon-svg-mini {
    transform: scale(1.1);
    background-color: #000000;
}

/* Categories widget list */
.sidebar-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories-list li {
    margin-bottom: 12px;
}

.sidebar-categories-list li:last-child {
    margin-bottom: 0;
}

.sidebar-cat-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #333333;
    transition: color 0.2s ease;
}

.sidebar-cat-link:hover {
    color: #ED1C24;
}

.sidebar-cat-count {
    background-color: #F2F2F2;
    color: #555555;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

.sidebar-cat-link:hover .sidebar-cat-count {
    background-color: #ED1C24;
    color: #ffffff;
}

/* Related Posts Section */
.related-posts-section {
    background-color: #FDFDFD;
    padding: 40px;
    margin-top: 40px;
    box-sizing: border-box;
    border-radius: 0% !important;
    box-shadow: none !important;
    width: 100%;
}

.related-posts-section .related-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #000000;
    margin: 0 0 25px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.related-card {
    background-color: #ffffff;
    border: 1px solid #EEEEEE;
    border-radius: 16px !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.related-card-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.related-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.related-card:hover .related-card-thumbnail img {
    transform: scale(1.05);
}

.related-card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.related-card-badge {
    display: inline-block;
    margin-bottom: 10px;
}

.related-card-badge a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 11px;
    color: #ED1C24 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.related-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    line-height: 1.4;
    margin: 0 0 15px 0;
    flex: 1;
}

.related-card-title a {
    color: #111111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-card-title a:hover {
    color: #ED1C24;
}

.related-card-footer {
    margin-top: auto;
}

.related-read-more {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #ED1C24 !important;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s ease;
}

.related-read-more:hover {
    opacity: 0.8;
}

/* Post Content Media Formatting overrides */
.entry-content img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 0% !important; /* Force flat image designs */
}

.entry-content .wp-block-image,
.entry-content figure {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    max-width: 100% !important;
}

.entry-content .wp-block-image img,
.entry-content figure img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 0% !important; /* Force flat image designs */
}

/* Video Embeds responsive constraints */
.entry-content iframe,
.entry-content embed,
.entry-content object,
.entry-content video {
    max-width: 100% !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    border: 0 !important;
    display: block !important;
    margin: 24px auto !important;
}

/* Gutenberg core embed wrappers overrides to prevent double margins */
.entry-content .wp-block-embed,
.entry-content .wp-block-video {
    max-width: 100% !important;
    width: 100% !important;
    margin: 24px auto !important;
}

@media (max-width: 991px) {
    .single-post-container {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .single-sidebar {
        width: 100% !important;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .related-posts-section {
        padding: 30px 20px !important;
    }
}

/* ==================== INTERNAL POSTS OEMBED CARDS ==================== */
.internal-embed-box {
    margin: 35px auto;
    background-color: #FDFDFD;
    border: 1px solid #E2E8F0; /* Thin border */
    border-radius: 16px !important; /* Matches archive cards rounded corners */
    overflow: hidden;
    position: relative;
    box-shadow: none !important;
    max-width: 100%;
}

.internal-embed-container-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    box-sizing: border-box;
}

.internal-embed-content-wrap {
    display: flex;
    gap: 20px;
    padding: 24px 24px 15px 24px;
}

.internal-embed-image-col {
    width: 140px;
    height: 100px;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #F2F2F2;
}

.internal-embed-image-col img.internal-embed-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
}

.internal-embed-text-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.internal-embed-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.35;
    color: #111111;
    margin: 0 0 8px 0 !important;
    text-decoration: none !important;
    text-align: left !important;
}

.internal-embed-box:hover .internal-embed-title {
    color: #ED1C24;
}

.internal-embed-summary {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    line-height: 1.5;
    color: #555555;
    margin: 0 !important;
    text-align: left !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.internal-embed-footer {
    padding: 0 24px 20px 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Logo on bottom left */
}

.internal-embed-logo-wrap {
    display: flex;
    align-items: center;
}

.internal-embed-logo {
    max-height: 18px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 !important;
}

.internal-embed-logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #ED1C24;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 576px) {
    .internal-embed-content-wrap {
        flex-direction: column;
        gap: 15px;
        padding: 20px 20px 12px 20px;
    }
    
    .internal-embed-image-col {
        width: 100%;
        height: 140px;
    }
    
    .internal-embed-footer {
        padding: 0 20px 15px 20px;
    }
}