#corporate-brochure-popup {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(max(700px, 43.75rem), calc(100% - 28px));
  max-width: none;
  max-height: calc(100dvh - 28px);
  margin: auto;
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(20px, 4vw, 44px);
  border: 1px solid #44403c;
  border-radius: 18px;
  background: #111;
  color: #fff;
  color-scheme: dark;
  box-shadow: 0 18px 64px #0009;
  text-align: left;
  font: 400 clamp(17px, calc(16px + .35vw), 21px)/1.55 var(--primaryfont, "Bodoni Moda", Georgia, serif);
}

html:has(#corporate-brochure-popup[open]) {
  overflow: hidden;
}

#corporate-brochure-popup::backdrop {
  background: rgb(0 0 0 / 64%);
}

#corporate-brochure-popup *,
#corporate-brochure-popup *::before,
#corporate-brochure-popup *::after {
  box-sizing: border-box;
}

#corporate-brochure-popup,
#corporate-brochure-popup :is(p, label, input, button) {
  font-family: var(--primaryfont, "Bodoni Moda", Georgia, serif) !important;
}

#corporate-brochure-popup .cbp-mark {
  display: block;
  width: clamp(40px, 5vw, 56px);
  height: auto;
  margin: 0 0 16px;
}

#corporate-brochure-popup h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, calc(22px + 1.6vw), 44px);
  line-height: 1.12;
  font-weight: 700;
  font-family: var(--secondaryfont, "Bodoni Moda", Georgia, serif) !important;
  letter-spacing: -.025em;
  text-transform: none;
}

#corporate-brochure-popup p {
  margin: 14px 0 24px;
  color: #d3d0cd;
  font: inherit;
}

#corporate-brochure-popup form {
  margin: 0;
}

#corporate-brochure-popup label {
  display: block;
  margin: 0 0 8px;
  color: #fff;
  font: inherit;
  font-weight: 700;
}

#corporate-brochure-popup input {
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #77716c;
  border-radius: 8px;
  background: #201f1e;
  color: #fff;
  font: inherit;
}

#corporate-brochure-popup input::placeholder {
  color: #bfbab6;
}

#corporate-brochure-popup button {
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
}

#corporate-brochure-popup .cbp-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  padding: 0;
  font-size: 29px;
  line-height: 1;
}

#corporate-brochure-popup .cbp-action {
  width: 100%;
  min-height: 54px;
  margin-top: 14px;
  background: #fff;
  color: #111;
  font-weight: 700;
}

#corporate-brochure-popup .cbp-action:hover:not(:disabled) {
  background: #e8ded5;
}

#corporate-brochure-popup .cbp-action:disabled {
  opacity: .7;
  cursor: wait;
}

#corporate-brochure-popup .cbp-hide {
  display: block;
  margin: 8px auto -4px;
  color: #d3d0cd;
  font-size: max(16px, 1rem);
  text-decoration: underline;
  text-underline-offset: .18em;
}

#corporate-brochure-popup :focus-visible {
  outline: 2px solid #e0b69c;
  outline-offset: 3px;
}

#corporate-brochure-popup .cbp-status {
  margin: 12px 0 0;
}

#corporate-brochure-popup .cbp-status:empty {
  margin: 0;
}

#corporate-brochure-popup [hidden] {
  display: none;
}
