/* -----------------------------------------------
   Gutenberg CMS Design-System Styling (Pages/Posts)
   ----------------------------------------------- */
:root {
  --cms-bg: #000000;
  --cms-text: #ffffff;
  --cms-text-cream: #f6f6f6;
  --cms-link: #defb02;
  --cms-link-hover: #f0ff74;
  --cms-border: rgba(246, 246, 246, 0.22);
  --cms-surface: rgba(255, 255, 255, 0.05);
}

body.page,
body.single-post {
  background-color: #000000;
}

body.page .mn-cms-hero,
body.single-post .mn-cms-hero {
  --mn-header-offset: 132px;
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100vw;
  margin: calc(var(--mn-header-offset) * -1) calc(50% - 50vw) 56px;
  overflow: hidden;
}

body.page #pxl-content-area,
body.single-post #pxl-content-area {
  padding-inline: 0 !important;
}

body.page .mn-cms-hero__overlay,
body.single-post .mn-cms-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.72) 100%);
}

body.page .mn-cms-hero__inner,
body.single-post .mn-cms-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 84px 24px 24px;
  text-align: center;
}

body.page .mn-cms-hero__title,
body.single-post .mn-cms-hero__title {
  margin: 0;
  color: var(--cms-text);
  font-family: "roc-grotesk-wide", sans-serif !important;
  text-transform: uppercase !important;
  font-weight: 700;
  font-size: 54px;
  line-height: 1.2;
  text-transform: none;
}

body.page #pxl-main,
body.single-post #pxl-main {
  background-color: var(--cms-bg);
}

body.error404 #pxl-main {
  background-color: var(--cms-bg);
  padding-top: 0;
  padding-bottom: 0;
}

body.error404 #pxl-content-main {
  background-color: transparent;
  color: var(--cms-text-cream);
}

body.error404 .pxl-error-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px 24px 70px;
  text-align: center;
}

body.error404 .pxl-error-title {
  margin: 0;
  padding: 34px 0 16px;
  color: var(--cms-text);
  font-family: "roc-grotesk-wide", sans-serif !important;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase !important;
}

body.error404 .pxl-item {
  margin: 0;
  padding-bottom: 30px;
  color: var(--cms-text-cream);
  font-family: "roc-grotesk", sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.45;
}

body.error404 .pxl-btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 36px;
  border: 1px solid var(--cms-link);
  border-radius: 12px;
  background-color: var(--cms-link);
  color: #000000;
  font-family: "roc-grotesk", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

body.error404 .pxl-btn-back:hover,
body.error404 .pxl-btn-back:focus {
  background-color: var(--cms-link-hover);
  border-color: var(--cms-link-hover);
  color: #000000;
}

body.page #pxl-content-main,
body.single-post #pxl-content-main {
  background-color: transparent;
  color: var(--cms-text-cream);
}

body.page .pxl-entry-content,
body.single-post .pxl-entry-content {
  color: var(--cms-text-cream);
  font-family: "roc-grotesk", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

body.page .pxl-entry-content p,
body.single-post .pxl-entry-content p {
  margin: 0 0 20px;
  color: var(--cms-text-cream);
}

body.page .pxl-entry-content h1,
body.page .pxl-entry-content h2,
body.page .pxl-entry-content h3,
body.page .pxl-entry-content h4,
body.page .pxl-entry-content h5,
body.page .pxl-entry-content h6,
body.single-post .pxl-entry-content h1,
body.single-post .pxl-entry-content h2,
body.single-post .pxl-entry-content h3,
body.single-post .pxl-entry-content h4,
body.single-post .pxl-entry-content h5,
body.single-post .pxl-entry-content h6 {
  font-family: "roc-grotesk-wide", sans-serif !important;
  text-transform: uppercase !important;
  font-weight: 700;
  color: var(--cms-text);
  line-height: 1.2;
  margin: 0 0 18px;
}

body.page .pxl-entry-content h1,
body.single-post .pxl-entry-content h1 {
  font-size: 52px;
}

body.page .pxl-entry-content h2,
body.single-post .pxl-entry-content h2 {
  font-size: 40px;
}

body.page .pxl-entry-content h3,
body.single-post .pxl-entry-content h3 {
  font-size: 30px;
}

body.page .pxl-entry-content h4,
body.single-post .pxl-entry-content h4 {
  font-size: 24px;
}

body.page .pxl-entry-content h5,
body.single-post .pxl-entry-content h5 {
  font-size: 20px;
}

body.page .pxl-entry-content h6,
body.single-post .pxl-entry-content h6 {
  font-size: 18px;
}

body.page .pxl-entry-content a,
body.single-post .pxl-entry-content a {
  color: var(--cms-link);
  text-underline-offset: 3px;
  text-decoration: underline;
  text-decoration-color: rgba(222, 251, 2, 0.65);
  transition:
    color 0.25s ease,
    text-decoration-color 0.25s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

body.page .pxl-entry-content a:hover,
body.page .pxl-entry-content a:focus,
body.single-post .pxl-entry-content a:hover,
body.single-post .pxl-entry-content a:focus {
  color: var(--cms-link-hover);
  text-decoration-color: var(--cms-link-hover);
}

body.page .pxl-entry-content ul,
body.page .pxl-entry-content ol,
body.single-post .pxl-entry-content ul,
body.single-post .pxl-entry-content ol {
  margin: 0 0 24px;
  padding-left: 14px;
}

body.page .pxl-entry-content li,
body.single-post .pxl-entry-content li {
  margin: 0 0 10px;
  color: var(--cms-text-cream);
}

body.page .pxl-entry-content blockquote,
body.single-post .pxl-entry-content blockquote {
  margin: 0 0 30px;
  padding: 20px 24px !important;
  border-left: 4px solid var(--cms-link);
  background: var(--cms-surface);
  color: var(--cms-text);
}

body.page .pxl-entry-content blockquote p,
body.single-post .pxl-entry-content blockquote p {
  color: var(--cms-text);
  font-size: 24px;
  line-height: 1.2;
}

body.page .pxl-entry-content blockquote p:last-of-type,
body.single-post .pxl-entry-content blockquote p:last-of-type {
  margin-bottom: 0 !important;
}

body.page .pxl-entry-content blockquote cite,
body.single-post .pxl-entry-content blockquote cite {
  margin-top: 10px;
  display: block;
  color: var(--cms-link);
  font-size: 16px;
}

body.page .pxl-entry-content .wp-block-group.has-background,
body.single-post .pxl-entry-content .wp-block-group.has-background {
  background: var(--cms-surface) !important;
  border: 1px solid var(--cms-border);
  color: var(--cms-text-cream);
}

body.page .pxl-entry-content pre,
body.single-post .pxl-entry-content pre,
body.page .pxl-entry-content code,
body.single-post .pxl-entry-content code {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cms-text);
}

body.page .pxl-entry-content pre,
body.single-post .pxl-entry-content pre {
  border: 1px solid var(--cms-border);
  padding: 18px;
}

body.page .pxl-entry-content table,
body.single-post .pxl-entry-content table {
  border-color: var(--cms-border);
}

body.page .pxl-entry-content th,
body.page .pxl-entry-content td,
body.single-post .pxl-entry-content th,
body.single-post .pxl-entry-content td {
  border-color: var(--cms-border);
  color: var(--cms-text-cream);
}

body.page .pxl-entry-content .wp-block-button__link,
body.single-post .pxl-entry-content .wp-block-button__link {
  background-color: var(--cms-link);
  border-color: var(--cms-link);
  color: #000000;
  font-size: 18px;
  font-weight: 600;
}

body.page .pxl-entry-content .wp-block-button__link:hover,
body.page .pxl-entry-content .wp-block-button__link:focus,
body.single-post .pxl-entry-content .wp-block-button__link:hover,
body.single-post .pxl-entry-content .wp-block-button__link:focus {
  background-color: var(--cms-link-hover);
  border-color: var(--cms-link-hover);
  color: #000000;
}

body.page .pxl-entry-content figcaption,
body.page .pxl-entry-content .blocks-gallery-caption,
body.single-post .pxl-entry-content figcaption,
body.single-post .pxl-entry-content .blocks-gallery-caption {
  color: rgba(246, 246, 246, 0.8);
}

.form label {
  font-family: "roc-grotesk" !important;
}

@media (max-width: 991px) {
  body.page .mn-cms-hero,
  body.single-post .mn-cms-hero {
    --mn-header-offset: 104px;
    min-height: 500px;
    margin-bottom: 44px;
  }

  body.page .mn-cms-hero__title,
  body.single-post .mn-cms-hero__title {
    font-size: 42px;
  }

  body.page .mn-cms-hero__inner,
  body.single-post .mn-cms-hero__inner {
    padding-top: 140px;
  }

  body.page .pxl-entry-content h1,
  body.single-post .pxl-entry-content h1 {
    font-size: 42px;
  }

  body.page .pxl-entry-content h2,
  body.single-post .pxl-entry-content h2 {
    font-size: 34px;
  }

  body.page .pxl-entry-content h3,
  body.single-post .pxl-entry-content h3 {
    font-size: 28px;
  }

  body.error404 .pxl-error-title {
    font-size: 42px;
  }

  body.error404 .pxl-item {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  body.page .mn-cms-hero,
  body.single-post .mn-cms-hero {
    --mn-header-offset: 86px;
    min-height: 400px;
    margin-bottom: 34px;
  }

  body.page .mn-cms-hero__inner,
  body.single-post .mn-cms-hero__inner {
    padding: 122px 18px 18px;
  }

  body.page .mn-cms-hero__title,
  body.single-post .mn-cms-hero__title {
    font-size: 32px;
  }

  body.page .pxl-entry-content,
  body.single-post .pxl-entry-content {
    font-size: 17px;
    line-height: 1.55;
  }

  body.page .pxl-entry-content h1,
  body.single-post .pxl-entry-content h1 {
    font-size: 34px;
  }

  body.page .pxl-entry-content h2,
  body.single-post .pxl-entry-content h2 {
    font-size: 28px;
  }

  body.page .pxl-entry-content h3,
  body.single-post .pxl-entry-content h3 {
    font-size: 24px;
  }

  body.page .pxl-entry-content blockquote,
  body.single-post .pxl-entry-content blockquote {
    padding: 16px 18px !important;
  }

  body.page .pxl-entry-content blockquote p,
  body.single-post .pxl-entry-content blockquote p {
    font-size: 20px;
  }

  body.error404 .pxl-error-inner {
    padding: 32px 18px 52px;
  }

  body.error404 .pxl-error-title {
    padding-top: 26px;
    font-size: 32px;
  }

  body.error404 .pxl-item {
    padding-bottom: 24px;
    font-size: 18px;
  }

  body.error404 .pxl-btn-back {
    min-height: 48px;
    padding: 12px 28px;
  }
}
