/* GoldenOT: camada de fundo (temas cidade). Carregar depois de shell.css.
   URL do fundo vem de --go-theme-bg (inline no body). */
body.go-layout {
  background-color: #051122;
  --go-theme-base: #051122;
  --go-desk-gap: 152px;
  --go-mobile-gap: 90px;
}

body.go-layout .bgc {
  position: relative;
  isolation: isolate;
  background: transparent;
}

body.go-layout .bgc::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: 0;
  left: 50%;
  right: auto;
  width: min(100%, 1774px);
  height: auto;
  aspect-ratio: 2 / 1;
  max-height: none;
  transform: translateX(-50%);
  background-color: transparent;
  background-image:
    linear-gradient(180deg, rgba(5, 17, 34, 0) 36%, #051122 97%),
    linear-gradient(90deg, #051122 0%, rgba(5, 17, 34, 0) 12%, rgba(5, 17, 34, 0) 88%, #051122 100%),
    var(--go-theme-bg);
  background-size: 100% 100%;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  opacity: 1;
}

/* Desktop: gap total acima do menu (substituí #space+#header; nao somar padding extra) */
body.go-layout #space {
  height: var(--go-desk-gap);
  max-height: none;
}
body.go-layout #header {
  height: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  display: none !important;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  body.go-layout .bgc::before {
    width: 100%;
    height: 260px;
    aspect-ratio: auto;
    max-height: none;
    background-size: 100% 100%, 100% 100%, auto 260px;
    background-position: center center;
  }

  body.go-layout #space {
    display: block !important;
    height: var(--go-mobile-gap);
    max-height: none;
  }
}

/* Marca central (IMG transparente separado do fundo) */
.go-brand-art {
  display: block;
  width: 220px;
  height: 90px;
  object-fit: contain;
  object-position: center center;
  flex: none;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .go-brand-art {
    width: 184px;
    height: 75px;
  }
}

@media (max-width: 767.98px) {
  .go-brand-art {
    width: 184px;
    height: 75px;
  }
}

/* Banner de previa (somente sessao admin) */
.go-appearance-preview-banner {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: #7a4a12;
  color: #fff;
  text-align: center;
  padding: 8px 12px;
  font-family: var(--font-body, Georgia, serif);
  font-size: 13px;
  border-bottom: 1px solid #c9a227;
}
.go-appearance-preview-banner a {
  color: #ffe9a8;
  font-weight: 700;
  margin-left: 8px;
}
