/* Exact horizontal span of the original first landing: all mobile columns,
   sixteen of the twenty-four desktop columns, including native 11px gaps. */
html body,
html body :is([data-body-wordmark-grid],.site-body-wordmark-inline) {
  --body-wordmark-width: calc((min(var(--sqs-site-max-width,1500px), calc(100vw - var(--sqs-site-gutter,4vw) * 2)) + 11px) * 2 / 3 - 11px);
}
@media (max-width:767px) {
  html body,
  html body :is([data-body-wordmark-grid],.site-body-wordmark-inline) { --body-wordmark-width: 100vw; }
}
html body main [data-body-wordmark-grid] {
  grid-column: 1 / -1 !important;
  justify-self: center !important;
  width: var(--body-wordmark-width) !important;
  max-width: none !important;
  min-width: 0;
}
html body main .site-body-wordmark {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}
html body main .site-body-wordmark-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: var(--body-wordmark-width) !important;
  max-width: none !important;
  min-height: 44px;
  pointer-events: auto !important;
  cursor: pointer;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  text-decoration: none;
  line-height: 0;
}
html body main .site-body-wordmark > .site-body-wordmark-link {
  position: absolute;
  left: calc((100% - var(--body-wordmark-width)) / 2);
  top: 50%;
  transform: translateY(-50%) !important;
}
html body main .site-body-wordmark-image {
  display: block !important;
  position: static !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: 5000 / 700;
  object-fit: contain !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1;
}
html body main .site-body-wordmark-inline {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
}
html body main .site-body-wordmark-inline > .site-body-wordmark-link {
  flex: none;
  position: static;
  transform: none !important;
}
/* The three editorial logo headings become the same main title, above their
   existing copy, so the shared landing width cannot overlap another column. */
html body main .home-cern-layout-heading[data-body-wordmark-heading] {
  grid-column: 1 / -1;
  grid-row: 1;
  margin-bottom: 3rem;
}
html body main .home-cern-layout-heading[data-body-wordmark-heading] + .home-cern-layout-copy {
  grid-column: 1 / -1;
  grid-row: 2;
  width: min(32rem,100%);
  justify-self: center;
  padding-top: 0;
}
html body main .home-cern-layout-heading[data-body-wordmark-heading] ~ .home-cern-layout-action {
  grid-row: 3;
}
