/* ===== EQUALITY GLOBAL ===== */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700;800&display=swap');

:root {
  --eq-header-bg: #1f244a;
  --eq-text: #f0f4ff;
  --eq-title: #3A416F;
  --eq-link: #1252F5;
  --eq-accent: #54C8EF;
  --eq-accent-2: #15B7EE;
  --eq-gold: #F2C200;
  --eq-border: rgba(255, 255, 255, 0.16);
  --eq-shadow: 0 16px 36px rgba(8, 10, 30, 0.35);
}

body,
button,
input,
select,
textarea {
  font-family: 'Jost', sans-serif;
}

/* ===== HEADER MODERNO ROBUSTO (ESTILO INSTITUCIONAL) ===== */
.site-header,
.ast-primary-header-bar,
#ast-desktop-header {
  background:
    linear-gradient(110deg, rgba(31,36,74,0.95) 0%, rgba(63,67,169,0.93) 55%, rgba(43,49,130,0.95) 100%),
    url('/wp-content/uploads/2020/10/se-fundo-scaled.png') center/cover no-repeat !important;
  border-bottom: 1px solid rgba(242, 194, 0, 0.35) !important;
  box-shadow: var(--eq-shadow) !important;
  position: relative;
}

#ast-desktop-header::before,
.ast-primary-header-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
  pointer-events: none;
}

/* Home: fotos do hero passando por trás do menu */
.page-template-equality-homepage #masthead,
.page-template-equality-homepage #ast-desktop-header,
.page-template-equality-homepage .ast-primary-header-bar,
.page-template-equality-homepage .site-header {
  background: rgba(14,20,58,0.34) !important;
  background-image: none !important;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  box-shadow: 0 8px 24px rgba(7, 10, 30, 0.28) !important;
}
.page-template-equality-homepage #masthead,
.page-template-equality-homepage .site-header {
  position: absolute !important;
  top: 38px;
  left: 0;
  width: 100%;
  z-index: 999;
  border-bottom: 1px solid rgba(255,255,255,0.28) !important;
}

.page-template-equality-homepage .main-header-menu > .menu-item > a {
  background: rgba(255,255,255,0.08) !important;
}

.page-template-equality-homepage .main-header-menu > .menu-item > a:hover {
  background: rgba(84,200,239,0.22) !important;
}
.page-template-equality-homepage .site-content,
.page-template-equality-homepage #content {
  padding-top: 0 !important;
}
.ast-primary-header-bar .site-branding {
  flex-shrink: 0;
}

.ast-site-identity .site-title,
.ast-site-identity .ast-site-title-wrap {
  display: none !important;
}

.eq-custom-logo-avatar,
.ast-site-identity .custom-logo-link img {
  display: block !important;
  max-height: 84px !important;
  width: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ===== MENU PRINCIPAL ===== */
.main-header-menu,
.ast-builder-menu-1 .main-header-menu,
.ast-builder-menu-1,
.ast-builder-menu-1 .main-navigation,
#ast-hf-menu-1,
.ast-builder-layout-element,
.ast-main-header-bar-alignment,
.main-header-bar-navigation,
.ast-primary-header-bar .ast-builder-grid-row,
.site-primary-header-wrap .ast-builder-grid-row-container {
  overflow: visible !important;
}

.ast-builder-menu-1 .main-header-menu > .menu-item > a,
.main-header-menu > .menu-item > a {
  color: var(--eq-text) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: .2px;
  padding: 11px 16px !important;
  border-radius: 12px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  transition: all .25s ease !important;
}

.ast-builder-menu-1 .main-header-menu > .menu-item > a:hover,
.ast-builder-menu-1 .main-header-menu > .current-menu-item > a,
.main-header-menu > .menu-item > a:hover {
  color: #ffffff !important;
  background: rgba(84,200,239,0.2) !important;
  box-shadow: 0 0 0 1px rgba(84,200,239,0.35) inset;
}

@keyframes eqMenuPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242,194,0,0.0); }
  50% { box-shadow: 0 0 0 8px rgba(242,194,0,0.12); }
}

.ast-builder-menu-1 .main-header-menu > .current-menu-item > a,
.main-header-menu > .current-menu-item > a {
  background: rgba(242,194,0,0.16) !important;
  color: #fff !important;
  border: 1px solid rgba(242,194,0,0.45);
  animation: eqMenuPulse 2.2s infinite;
}

.ast-builder-menu-1 .main-header-menu {
  gap: 4px;
}

.main-header-menu > .menu-item {
  margin: 0 1px !important;
}

/* Botão Cotação */
.menu-item-1197 > a {
  background: linear-gradient(135deg, var(--eq-accent), var(--eq-accent-2)) !important;
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 18px rgba(84, 200, 239, 0.28) !important;
}

.menu-item-1197 > a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(84, 200, 239, 0.35) !important;
  color: #fff !important;
}

/* ===== DROPDOWN OPERADORAS (LIMPO E MODERNO) ===== */
.main-header-menu .menu-item-has-children {
  position: relative;
}

.main-header-menu .sub-menu {
  left: 0;
  top: calc(100% + 14px);
  min-width: 300px;
  padding: 10px !important;
  border-radius: 16px !important;
  border: 1px solid var(--eq-border) !important;
  background: #ffffff !important;
  box-shadow: var(--eq-shadow) !important;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: all .22s ease;
}

.main-header-menu .menu-item-has-children:hover > .sub-menu,
.main-header-menu .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.main-header-menu .sub-menu .menu-item {
  margin: 0 !important;
}

.main-header-menu .sub-menu .menu-item + .menu-item {
  margin-top: 4px !important;
}

.main-header-menu .sub-menu a {
  color: #3b4a70 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px !important;
  border-radius: 10px !important;
  line-height: 1.2;
  transition: .2s ease;
}

.main-header-menu .sub-menu a::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9bb5ff;
  flex: 0 0 8px;
}

.main-header-menu .sub-menu a:hover {
  background: rgba(84, 200, 239, 0.14) !important;
  color: #23335a !important;
  transform: translateX(2px);
}

.eq-menu-humana > a::before { background: #00B0D8 !important; }
.eq-menu-bradesco > a::before { background: #CC092F !important; }
.eq-menu-hapvida > a::before { background: #0435AC !important; }
.eq-menu-unimed > a::before { background: #00995D !important; }
.eq-menu-viver > a::before { background: #1863DC !important; }
.eq-menu-amil > a::before { background: #003DA5 !important; }
.eq-menu-sulamerica > a::before { background: #0066CC !important; }

/* Tipografia base */
a { color: var(--eq-link); }
a:hover { color: var(--eq-accent); }
h1, h2, h3, h4, h5 { color: var(--eq-title); font-family: 'Jost', sans-serif; }

/* Mobile */
.ast-mobile-header-wrap,
.ast-mobile-popup-drawer .ast-mobile-popup-inner {
  background: #fff !important;
}
.ast-mobile-header-wrap a,
.ast-mobile-header-wrap .menu-item > a {
  color: #3A416F !important;
}

@media (max-width: 768px) {
  .eq-custom-logo-avatar,
  .ast-site-identity .custom-logo-link img {
    max-height: 64px !important;
    padding: 6px 8px !important;
  }
}
/* Esconder footer padrão Astra */
.site-footer,
.ast-footer-overlay {
  display: none !important;
}

/* ===== RODAPÉ EQUALITY ===== */
.eq-footer { background: #1a1f36; font-family: 'Jost', sans-serif; }
.eq-footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eq-footer-top { padding: 80px 0 50px; }
.eq-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.eq-footer-logo { max-height: 110px; max-width: 420px; width: auto; height: auto; margin-bottom: 20px; filter: none; opacity: 1; object-fit: contain; }
.eq-footer-col:first-child .eq-footer-logo { display:block; margin: 0 auto 20px; }
.eq-footer-desc { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.7; margin: 0 0 24px; }
.eq-footer-social { display: flex; gap: 10px; }
.eq-footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 16px; transition: all 0.3s; text-decoration: none; }
.eq-footer-social a:hover { background: #54C8EF; color: #fff; transform: translateY(-2px); }
.eq-footer-title { color: #fff; font-size: 16px; font-weight: 600; margin: 0 0 24px; padding-bottom: 12px; border-bottom: 2px solid rgba(84,200,239,0.3); display: inline-block; }
.eq-footer-links { list-style: none; padding: 0; margin: 0; }
.eq-footer-links li { margin-bottom: 12px; }
.eq-footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 14px; transition: all 0.3s; display: inline-flex; align-items: center; gap: 6px; }
.eq-footer-links a:hover { color: #54C8EF; transform: translateX(4px); }
.eq-footer-links a::before { content: '›'; font-size: 18px; opacity: 0; transition: all 0.3s; margin-left: -10px; }
.eq-footer-links a:hover::before { opacity: 1; margin-left: 0; }
.eq-footer-contact { list-style: none; padding: 0; margin: 0; }
.eq-footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.eq-footer-contact i { color: #54C8EF; font-size: 16px; width: 20px; text-align: center; margin-top: 3px; flex-shrink: 0; }
.eq-footer-contact span, .eq-footer-contact a { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.6; text-decoration: none; transition: color 0.3s; }
.eq-footer-contact a:hover { color: #54C8EF; }
.eq-whatsapp-contact .eq-whatsapp-number{
  display:inline !important;
  color: rgba(255,255,255,0.5) !important;
  font-size:14px !important;
  font-weight:400 !important;
  line-height:1.6 !important;
  font-family: inherit !important;
  letter-spacing: normal !important;
}

.eq-footer-bottom { background: rgba(0,0,0,0.2); padding: 20px 0; }
.eq-footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; }
.eq-footer-bottom p { color: rgba(255,255,255,0.35); font-size: 13px; margin: 0; }
.eq-footer-bottom-links { display: flex; gap: 24px; }
.eq-footer-bottom-links a { color: rgba(255,255,255,0.35); font-size: 13px; text-decoration: none; transition: color 0.3s; }
.eq-footer-bottom-links a:hover { color: #54C8EF; }

/* ===== BANNER DE COOKIES ===== */
.eq-cookie-banner { position: fixed; bottom: -200px; left: 0; right: 0; z-index: 99998; transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.eq-cookie-banner.visible { bottom: 0; }
.eq-cookie-inner { max-width: 1200px; margin: 0 auto; padding: 20px 24px; background: #1a1f36; border-top: 1px solid rgba(84,200,239,0.15); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.eq-cookie-text { display: flex; align-items: flex-start; gap: 16px; flex: 1; }
.eq-cookie-icon { color: #54C8EF; font-size: 24px; margin-top: 2px; flex-shrink: 0; }
.eq-cookie-text strong { color: #fff; font-family: 'Jost', sans-serif; font-size: 15px; display: block; margin-bottom: 4px; }
.eq-cookie-text p { color: rgba(255,255,255,0.5); font-size: 13px; margin: 0; line-height: 1.5; }
.eq-cookie-text a { color: #54C8EF; text-decoration: underline; }
.eq-cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.eq-cookie-btn-accept { background: linear-gradient(135deg, #54C8EF, #15B7EE); color: #fff; border: none; padding: 12px 28px; border-radius: 50px; font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s; }
.eq-cookie-btn-accept:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(84,200,239,0.4); }
.eq-cookie-btn-reject { background: transparent; color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.15); padding: 12px 24px; border-radius: 50px; font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.3s; }
.eq-cookie-btn-reject:hover { border-color: rgba(255,255,255,0.3); color: #fff; }

@media (max-width: 1024px) {
  .menu-item-1197 > a { margin-left: 0 !important; }
}

@media (max-width: 768px) {
  .eq-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .eq-footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
  .eq-cookie-inner { flex-direction: column; text-align: center; }
  .eq-cookie-text { flex-direction: column; align-items: center; }
  .eq-cookie-actions { justify-content: center; }
  .eq-topbar { display: none; }
  .page-template-equality-homepage #masthead,
  .page-template-equality-homepage .site-header { top: 0 !important; }
  .eq-login-quick-box h3 { font-size: 32px; }
  .eq-login-quick-grid { grid-template-columns: 1fr; }
}

/* ===== TOPO ESTILO PORTAL (REFERÊNCIA BRADESCO) ===== */
.eq-topbar {
  background: #1f244a;
  color: #fff;
  font-size: 13px;
  position: relative;
  z-index: 1001;
}
.eq-topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 7px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.eq-topbar-left,
.eq-topbar-right { display: flex; align-items: center; gap: 14px; }
.eq-topbar a { color: rgba(255,255,255,0.92); text-decoration: none; }
.eq-topbar a:hover { color: #fff; }
.eq-topbar-social { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; }
.eq-topbar-social a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.eq-topbar-social a:hover { background: rgba(255,255,255,0.24); }
.eq-topbar-login {
  background: #54C8EF;
  color: #0f2452 !important;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}
.eq-topbar-login:hover { filter: brightness(1.04); }

/* Popup de login da topbar */
.eq-login-quick-modal { position: fixed; inset: 0; z-index: 99999; opacity: 0; visibility: hidden; transition: .2s ease; }
.eq-login-quick-modal.active { opacity: 1; visibility: visible; }
.eq-login-quick-backdrop { position: absolute; inset: 0; background: rgba(7,12,34,0.68); backdrop-filter: blur(4px); }
.eq-login-quick-box {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 24px));
  margin: 9vh auto 0;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e6ebff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
  padding: 22px;
}
.eq-login-quick-badge {
  display: inline-block;
  margin-bottom: 8px;
  background: #EEF1FF;
  color: #2A2F63;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .4px;
}
.eq-login-quick-box h3 { margin: 0 0 6px; color: #1F244A; font-size: 52px; font-weight: 800; letter-spacing:-.6px; line-height: 1.05; }
.eq-login-quick-sub { margin: 0 0 14px; color: #6a759f; font-size: 16px; }
.eq-login-quick-close {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px;
  border: 1px solid rgba(31,36,74,0.16); border-radius: 10px; background: #fff;
  color: #1f244a; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.eq-login-quick-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.eq-login-type-btn {
  border: 1px solid #e6ebff; border-radius: 12px; padding: 14px;
  color: #2a3568; background: #f8faff; font-weight: 700; display: flex; align-items: center; gap: 10px;
  cursor: pointer; width: 100%; text-align: left;
}
.eq-login-type-btn i { color: #3F43A9; }
.eq-login-type-btn:hover { background: #eef4ff; border-color: #d7e0ff; }

.eq-login-quick-form { margin-top: 10px; }
.eq-login-quick-field { margin-bottom: 12px; }
.eq-login-quick-field label { display:block; font-size:13px; font-weight:600; color:#3a4677; margin-bottom:6px; }
.eq-login-quick-field input {
  width:100%; border:1px solid #dde4ff; border-radius:14px; padding:14px 14px; font-size:16px;
}
.eq-login-quick-field input:focus { outline:none; border-color:#54C8EF; box-shadow:0 0 0 3px rgba(84,200,239,.18); }
.eq-login-quick-meta { display:flex; justify-content:space-between; align-items:center; margin: 8px 0 12px; }
.eq-login-quick-meta label { color:#5d6a99; font-size:14px; display:inline-flex; align-items:center; gap:8px; }
.eq-login-quick-meta a { color:#6b78a8; text-decoration:none; font-size:14px; }
.eq-login-quick-row { display:flex; justify-content:space-between; gap:10px; margin-top: 6px; }
.eq-login-quick-back,
.eq-login-quick-submit {
  border-radius: 12px; padding: 12px 18px; font-weight:700; cursor:pointer; border:1px solid transparent;
}
.eq-login-quick-back { background:#fff; border-color:#d6defe; color:#2f3c73; }
.eq-login-quick-submit { min-width: 170px; background: linear-gradient(135deg,#54C8EF,#15B7EE); color:#fff; }
#eqLoginStepForm .eq-login-quick-row { justify-content: flex-end; }
#eqLoginStepForm .eq-login-quick-submit { min-width: 220px; }
#eqLoginStepForm .eq-login-quick-back { display: none; }
.eq-login-quick-error { margin-top:10px; background:#fff1f1; border:1px solid #ffcaca; color:#c23232; padding:9px 10px; border-radius:10px; font-size:13px; }

.main-header-menu .eq-menu-login > a {
  background: linear-gradient(135deg, #1f244a, #3f43a9) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 10px 16px !important;
  box-shadow: 0 8px 18px rgba(31,36,74,0.28) !important;
}

.main-header-menu .eq-menu-login > a:hover {
  background: linear-gradient(135deg, #2a2f63, #5056c5) !important;
  transform: translateY(-1px);
}

/* ===== HOME HEADER FINAL OVERRIDE (menu bonito + foto por trás) ===== */
.page-template-equality-homepage #masthead,
.page-template-equality-homepage .site-header,
.page-template-equality-homepage #ast-desktop-header,
.page-template-equality-homepage .ast-primary-header-bar,
.page-template-equality-homepage .ast-primary-header-bar .ast-builder-grid-row {
  background: rgba(10, 16, 40, 0.03) !important;
  background-image: none !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.14) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.page-template-equality-homepage .ast-primary-header-bar .ast-builder-grid-row {
  min-height: 88px !important;
}

.page-template-equality-homepage .site-branding,
.page-template-equality-homepage .ast-site-identity,
.page-template-equality-homepage .custom-logo-link {
  height: 88px;
  min-width: 150px;
  display: flex !important;
  align-items: center;
  overflow: visible !important;
}

.page-template-equality-homepage .eq-custom-logo-avatar,
.page-template-equality-homepage .ast-site-identity .custom-logo-link img {
  max-height: 82px !important;
  width: auto !important;
  max-width: 340px !important;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 0 12px !important;
}

.page-template-equality-homepage .main-header-menu > .menu-item > a {
  background: transparent !important;
  box-shadow: none !important;
  border: 1px solid transparent !important;
  border-radius: 10px;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.page-template-equality-homepage .main-header-menu > .menu-item > a:hover {
  background: rgba(255,255,255,0.14) !important;
  border-color: rgba(255,255,255,0.22) !important;
  color: #fff !important;
  animation: none !important;
}

.page-template-equality-homepage .main-header-menu > .current-menu-item > a,
.page-template-equality-homepage .ast-builder-menu-1 .main-header-menu > .current-menu-item > a {
  background: transparent !important;
  border: none !important;
  border-color: transparent !important;
  color: #fff !important;
  animation: none !important;
  box-shadow: inset 0 -2px 0 0 #F2C200 !important;
}

.page-template-equality-homepage .menu-item-1197 > a {
  background: linear-gradient(135deg, #54C8EF, #15B7EE) !important;
  border: none !important;
  box-shadow: 0 8px 20px rgba(84,200,239,0.35) !important;
}

.page-template-equality-homepage .menu-item-1197 > a:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(84,200,239,0.42) !important;
}

/* ===== HEADER PADRÃO ===== */
#masthead,
.site-header,
#ast-desktop-header,
.ast-primary-header-bar,
.ast-primary-header-bar .ast-builder-grid-row {
  background: rgba(10, 16, 40, 0.03) !important;
  background-image: none !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.14) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Páginas internas: fundo institucional (evita faixa branca) */
body:not(.page-template-equality-homepage) #masthead,
body:not(.page-template-equality-homepage) .site-header,
body:not(.page-template-equality-homepage) #ast-desktop-header,
body:not(.page-template-equality-homepage) .ast-primary-header-bar,
body:not(.page-template-equality-homepage) .ast-primary-header-bar .ast-builder-grid-row,
body:not(.page-template-equality-homepage) .site-primary-header-wrap,
body:not(.page-template-equality-homepage) .site-primary-header-wrap .ast-builder-grid-row-container {
  background: linear-gradient(135deg, rgba(31,36,74,0.96), rgba(63,67,169,0.94)) !important;
  border-bottom: 1px solid rgba(242,194,0,0.35) !important;
}

body:not(.page-template-equality-homepage) .main-header-menu > .menu-item > a,
body:not(.page-template-equality-homepage) .ast-builder-menu-1 .main-header-menu > .menu-item > a {
  color: #ffffff !important;
}

body:not(.page-template-equality-homepage) .main-header-menu > .menu-item > a:hover,
body:not(.page-template-equality-homepage) .main-header-menu > .current-menu-item > a {
  background: rgba(255,255,255,0.14) !important;
  border-color: rgba(255,255,255,0.22) !important;
  color: #ffffff !important;
}

.ast-primary-header-bar .ast-builder-grid-row {
  min-height: 88px !important;
}

.site-branding,
.ast-site-identity,
.custom-logo-link {
  height: 88px;
  min-width: 180px;
  display: flex !important;
  align-items: center;
  overflow: visible !important;
}

.site-branding {
  padding-left: 36px;
}

.custom-logo-link {
  padding-left: 18px !important;
}

.eq-custom-logo-avatar,
.ast-site-identity .custom-logo-link img {
  max-height: 82px !important;
  width: auto !important;
  max-width: 340px !important;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 0 12px !important;
  transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
  transform-origin: left center;
}

.custom-logo-link:hover .eq-custom-logo-avatar,
.custom-logo-link:hover img,
.eq-custom-logo-avatar:hover {
  transform: scale(1.28) !important;
  filter: brightness(1.08) !important;
  box-shadow: 0 10px 26px rgba(20,34,98,0.22) !important;
}

.custom-logo-link {
  cursor: zoom-in;
}

/* Popup da logo */
.eq-logo-zoom-modal { position: fixed; inset: 0; z-index: 999999; opacity: 0; visibility: hidden; transition: .2s ease; }
.eq-logo-zoom-modal.active { opacity: 1; visibility: visible; }
.eq-logo-zoom-backdrop { position:absolute; inset:0; background: rgba(7,12,34,.78); backdrop-filter: blur(5px); }
.eq-logo-zoom-box {
  position: relative;
  z-index: 2;
  margin: 10vh auto 0;
  width: min(760px, calc(100% - 24px));
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  text-align: center;
}
.eq-logo-zoom-box img {
  max-width: 100%;
  max-height: 65vh;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,.45));
}

.main-header-menu > .menu-item > a {
  background: transparent !important;
  box-shadow: none !important;
  border: 1px solid transparent !important;
  border-radius: 10px;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.main-header-menu > .menu-item > a:hover {
  background: rgba(255,255,255,0.14) !important;
  border-color: rgba(255,255,255,0.22) !important;
  color: #fff !important;
  animation: none !important;
}

.main-header-menu > .current-menu-item > a,
.ast-builder-menu-1 .main-header-menu > .current-menu-item > a {
  background: transparent !important;
  border: none !important;
  border-color: transparent !important;
  color: #fff !important;
  animation: none !important;
  box-shadow: inset 0 -2px 0 0 #F2C200 !important;
}

.menu-item-1197 > a {
  background: linear-gradient(135deg, #54C8EF, #15B7EE) !important;
  border: none !important;
  box-shadow: 0 8px 20px rgba(84,200,239,0.35) !important;
}

.menu-item-1197 > a:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(84,200,239,0.42) !important;
}