/* A made-up newspaper with a made-up consent wall, for the homepage demo. */
html.cmp-open {
  overflow: hidden;
}
body {
  margin: 0;
  background: #fff;
  color: #1c1d1f;
  font:
    16px/1.6 Georgia,
    "Times New Roman",
    serif;
}
.paper-head {
  padding: 14px 24px 0;
  border-bottom: 3px double #1c1d1f;
  text-align: center;
}
.paper-head .date {
  margin: 0;
  padding: 6px 0;
  border-top: 1px solid #d9d9d6;
  font:
    600 11px/1.4 system-ui,
    sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #55585d;
}
.paper-head .name {
  margin: 0 0 8px;
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.paper-head nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding: 8px 0;
  border-top: 1px solid #d9d9d6;
  font:
    600 12px/1.4 system-ui,
    sans-serif;
  color: #3b3d41;
}
body.cmp-open > main {
  filter: blur(4px);
}
main {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 24px 64px;
}
h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.standfirst {
  margin: 0 0 14px;
  font-size: 19px;
  line-height: 1.5;
  color: #3b3d41;
}
.byline {
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #d9d9d6;
  font:
    13px/1.5 system-ui,
    sans-serif;
  color: #55585d;
}
h2 {
  margin: 28px 0 8px;
  font-size: 21px;
}
blockquote {
  margin: 24px 0;
  padding-left: 18px;
  border-left: 1px solid #1c1d1f;
  font-size: 20px;
  font-style: italic;
}

/* The made-up consent wall. */
.consent-layer {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgb(20 22 18 / 62%);
}
.consent {
  width: min(520px, 100%);
  max-height: 100%;
  overflow: auto;
  padding: 22px 24px;
  border-radius: 10px;
  background: #fff;
  color: #1c1d1f;
  font:
    15px/1.55 system-ui,
    sans-serif;
  box-shadow: 0 18px 50px rgb(0 0 0 / 30%);
}
.consent .made-up {
  display: inline-block;
  margin: 14px 0 0;
  padding: 2px 8px;
  border: 1px dashed #8a8f78;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 650;
  color: #55585d;
}
.consent h2 {
  margin: 0 0 8px;
  font:
    700 20px/1.3 system-ui,
    sans-serif;
}
.consent p {
  margin: 0 0 10px;
}
.consent .choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.consent button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 10px 16px;
  border: 1.5px solid #1c1d1f;
  border-radius: 6px;
  background: #fff;
  color: #1c1d1f;
  font:
    650 15px/1.2 system-ui,
    sans-serif;
  cursor: pointer;
}
.consent button.primary {
  background: #1c1d1f;
  color: #fff;
}
.consent .note {
  margin: 12px 0 0;
  font-size: 13px;
  color: #55585d;
}

/* Phones: the whole wall, its made-up label included, fits the demo frame
   with a strip of veil above and below it. */
@media (max-width: 480px) {
  .consent-layer {
    padding: 24px 12px;
  }
  .consent {
    max-height: calc(100% - 48px);
    padding: 16px 16px 14px;
    font-size: 14px;
    line-height: 1.45;
  }
  .consent h2 {
    font-size: 18px;
  }
  .consent .choices {
    gap: 6px;
    margin-top: 12px;
  }
  .consent button {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 14px;
  }
  .consent .made-up {
    margin-top: 10px;
  }
}
