/* Shared polish for themed pages under the ox-lintel ribbon nav */

/* Tokens paper/Manrope must not fight themed page backgrounds */
body.ox-lintel-site.a71-body {
  background: transparent;
}

/* Solid lintel on interior pages so hanging ribbons don't muddy content.
   Home keeps its blended gradient in ox-home.css. */
body.ox-lintel-site:not(.page-home) .ox-lintel {
  background: #0c1016;
  padding-bottom: 0.95rem;
}

/* Main column sits flush into the plinth on interior pages */
body.ox-lintel-site .a71-main {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

body.ox-lintel-site:not(.page-home) .a71-main {
  padding-bottom: 0;
}

/* Dead per-page mini-navs were removed from PHP — keep leftovers inert */
body.ox-lintel-site .sk-stamp,
body.ox-lintel-site .rv-ladder,
body.ox-lintel-site .rv-ladder-brand,
body.ox-lintel-site .gn-lintel,
body.ox-lintel-site .cy-safe,
body.ox-lintel-site .cy-safe-nav,
body.ox-lintel-site .cs-rack,
body.ox-lintel-site .st-stake,
body.ox-lintel-site .ag-cancel,
body.ox-lintel-site .jc-reed,
body.ox-lintel-site .lp-tympan,
body.ox-lintel-site .jx-chrome,
body.ox-lintel-site .kn-flue,
body.ox-lintel-site .sc-stand,
body.ox-lintel-site .el-sash {
  display: none !important;
}

/* Lightweight shared colophon for skipSharedChrome pages */
.ox-site-colophon {
  width: min(1180px, calc(100% - 2rem));
  margin: 0.75rem auto 2.25rem;
  padding: 1.15rem 0 0;
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  display: grid;
  gap: 0.55rem;
  color: inherit;
  opacity: 0.82;
  font-family: var(--ox-sans, "Outfit", "Segoe UI", sans-serif);
  font-size: 0.82rem;
  line-height: 1.45;
}

.ox-site-colophon nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.ox-site-colophon a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.ox-site-colophon a:hover {
  opacity: 0.85;
}

.ox-site-colophon p {
  margin: 0;
  font-size: 0.74rem;
  opacity: 0.9;
}

/* Account body ink is dark (for dossier sheets) while the void is dark */
body.page-account .ox-site-colophon {
  color: #e8c9b8;
  opacity: 0.9;
  border-top-color: rgba(232, 201, 184, 0.28);
}

@media (max-width: 760px) {
  body.ox-lintel-site:not(.page-home) .ox-lintel {
    padding-bottom: 0.75rem;
  }
}
