/* Piranot Custom CSS - Fix Logo Duplo */
.logo-image-dark, .ts-logo .logo-image-dark { display: none !important; }

/* HEADER */
.smart-head, .smart-head-main, .smart-head-top, .smart-head-mid, .smart-head-bot, .main-http-header, .smart-head-mobile {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%) !important;
    position: relative;
    border: none !important;
    overflow: visible !important;
}
.smart-head-top, .smart-head-mid {
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
    z-index: 10;
}
.smart-head .navigation .menu > li {
    border-right: 1px solid rgba(255,255,255,0.1) !important;
}

/* Logo */
.logo-image, .logo-image-dark, .logo-link img, .ts-logo img, .site-logo img, .header-logo img {
    filter: brightness(0) invert(1) !important;
    max-height: 65px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Botao */
.ts-button1, .header-button {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(255,255,255,0.12) !important;
    border: 1px solid rgba(255,255,255,0.35) !important;
    border-radius: 4px !important;
    padding: 7px 16px !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
}

/* Ads */
.piranot-ad-inline {
    background: #f5f5f5;
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
    padding: 16px 0 12px;
    margin: 24px 0;
    text-align: center;
}

/* Badge Urgente */
.piranot-badge-urgent {
    background: #ff3b30 !important;
    color: #fff !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    font-size: 0.7em !important;
    font-weight: 800 !important;
    display: inline-block !important;
}

/* FIX FOOTER LOGO - Evita ficar espremido */
.footer-logo, .bold-footer-lower .footer-logo {
    max-height: 100px \!important;
    width: auto \!important;
    height: auto \!important;
    display: block \!important;
    margin: 0 auto 15px \!important;
}
.footer-logo img {
    max-height: 100px \!important;
    width: auto \!important;
    height: auto \!important;
    object-fit: contain \!important;
}

/* FIX BANNERS - Garante carregamento */
.pn-ad-wrapper {
    background: #f9f9f9;
    padding: 10px 0;
    margin: 20px 0;
    text-align: center;
    min-height: 100px;
}


/* ===== FOOTER LOGO FIX ===== */
.footer-logo, .bold-footer-lower .footer-logo {
    max-width: 250px !important;
    width: auto !important;
    height: auto !important;
}
.footer-logo img, .bold-footer-lower .footer-logo img {
    max-height: 100px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: none !important;
}

/* Remove filtro branco do footer */
.main-footer .logo-image, .main-footer .footer-logo img {
    filter: none !important;
}

/* ===== BANNER FIX ===== */
.pn-ad-wrapper {
    min-height: 90px;
    background: #f5f5f5;
    margin: 20px 0;
}
.pn-ad-wrapper div[id^="div-gpt-ad-"] {
    display: inline-block;
}
