/* CNED 12 — ajustes exclusivos do cabeçalho, conforme referência de 16/10/2026. */
body.cned-theme .site-header .header-inner {
  position: relative;
  width: calc(100% - 72px);
  max-width: none;
  min-height: 105px;
  padding: 0 35px;
  gap: clamp(20px, 2vw, 42px);
  border-radius: 16px;
  box-shadow: 0 9px 32px rgb(18 12 44 / 12%);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}
body.cned-theme .site-header .site-brand {
  flex: 0 0 clamp(195px, 12vw, 238px);
  width: clamp(195px, 12vw, 238px);
  min-width: 0;
  max-width: none;
  display: flex;
  align-items: center;
}
body.cned-theme .site-header .brand-image {
  display: block;
  width: 100%;
  max-width: 238px;
  height: auto;
  max-height: 78px;
  object-fit: contain;
  object-position: left center;
}
body.cned-theme .site-header .main-navigation {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  margin: 0;
}
body.cned-theme .site-header .nav-links {
  gap: clamp(16px, 1.85vw, 35px);
}
body.cned-theme .site-header .nav-links > li > a {
  font-family: 'Bricolage Grotesque', Arial, sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  color: #152137;
}
body.cned-theme .site-header .nav-links > li > a:hover,
body.cned-theme .site-header .nav-links > .current-menu-item > a {
  color: var(--cned-primary);
}
body.cned-theme .site-header .header-action {
  margin: 0;
  flex: 0 0 auto;
}
body.cned-theme .site-header .header-action .btn,
body.cned-theme .site-header .header-action .cf-button {
  min-height: 56px;
  min-width: 210px;
  padding: 14px 25px;
  border-radius: 9px;
  font-family: 'Bricolage Grotesque', Arial, sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  line-height: 1.35;
  font-weight: 600;
}
@media (max-width: 1250px) {
  body.cned-theme .site-header .header-inner {
    min-height: 104px;
    padding-inline: 25px;
    gap: 17px;
  }
  body.cned-theme .site-header .site-brand {
    flex-basis: 190px;
    width: 190px;
  }
  body.cned-theme .site-header .brand-image { max-width: 190px; }
  body.cned-theme .site-header .nav-links { gap: 18px; }
  body.cned-theme .site-header .nav-links > li > a { font-size: 16px; }
  body.cned-theme .site-header .header-action .btn,
  body.cned-theme .site-header .header-action .cf-button {
    min-width: 170px;
    min-height: 50px;
    padding: 10px 16px;
    font-size: 16px;
  }
}
@media (max-width: 900px) {
  body.cned-theme .site-header .header-inner {
    width: calc(100% - 32px);
    min-height: 78px;
    padding-inline: 22px;
    gap: 12px;
  }
  body.cned-theme .site-header .site-brand {
    flex-basis: min(43vw, 180px);
    width: min(43vw, 180px);
  }
  body.cned-theme .site-header .brand-image { max-width: 180px; max-height: 60px; }
  body.cned-theme .site-header .menu-toggle { display: flex; margin-left: auto; }
  body.cned-theme .site-header .main-navigation {
    display: none;
    position: absolute;
    top: calc(100% - 3px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 14px 20px 20px;
    border-radius: 0 0 15px 15px;
    background: #fff;
    box-shadow: 0 20px 35px rgb(20 14 45 / 14%);
  }
  body.cned-theme .site-header .main-navigation.is-open { display: block; }
  body.cned-theme .site-header .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  body.cned-theme .site-header .nav-links > li > a { font-size: 16px; padding-block: 12px; }
}
@media (max-width: 600px) {
  body.cned-theme .site-header .header-inner {
    width: calc(100% - 22px);
    min-height: 72px;
    padding-inline: 16px;
    border-radius: 12px;
  }
  body.cned-theme .site-header .site-brand {
    flex-basis: min(49vw, 168px);
    width: min(49vw, 168px);
  }
  body.cned-theme .site-header .brand-image { max-width: 168px; max-height: 54px; }
}

@media (max-width: 600px) {
  body.cned-theme .site-header .header-action .btn,
  body.cned-theme .site-header .header-action .cf-button { font-size: 16px; }
}
