/* Catalogue and document detail share the portal palette but have different reading layouts. */
.estate-fast-page .estate-fast .estate-fast-hero {
  padding: clamp(1.25rem, 3vw, 2.75rem);
}

.estate-fast-page .estate-fast-hero h1 {
  color: #fff !important;
  line-height: 1.12;
}

.estate-fast-page .estate-fast-hero p {
  color: #dcebf5 !important;
}

.estate-fast-page .estate-fast-hero .eyebrow {
  color: #fff0b9 !important;
  background: #173d56 !important;
}

.estate-fast-page .estate-fast-catalog .estate-filter-sidebar {
  box-sizing: border-box;
  padding: clamp(1rem, 2.3vw, 1.75rem) !important;
}

.estate-fast-page .estate-filter-sidebar > h2 {
  margin: 0 0 1rem;
}

.estate-fast-page .estate-fast-filter label {
  min-width: 0;
}

.estate-fast-page .estate-fast-filter :is(input, select) {
  max-width: 100%;
}

body[data-page="eu-act"] #app .page-head {
  margin-block: 0 0.75rem;
  padding-block: 0.25rem;
}

body[data-page="eu-act"] #app .page-head-main {
  display: none;
}

body[data-page="eu-act"] .eu-act-root .eu-act-hero {
  padding: clamp(1.125rem, 3vw, 2rem);
}

body[data-page="eu-act"] .eu-act-root .eu-act-hero h1 {
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.24;
  max-width: 46ch;
  overflow-wrap: anywhere;
}

body[data-page="eu-act"] .eu-act-root .eu-act-layout {
  grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr);
  align-items: start;
}

body[data-page="eu-act"] .eu-act-root .eu-act-document {
  min-width: 0;
  overflow-x: auto;
  overflow-wrap: anywhere;
  padding: clamp(1rem, 3vw, 2.25rem);
  line-height: 1.7;
}

body[data-page="eu-act"] .eu-act-document img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .estate-fast-page .estate-fast .estate-fast-hero nav {
    width: 100%;
  }

  .estate-fast-page .estate-fast .estate-fast-hero nav a {
    min-width: 0;
    white-space: normal;
  }

  body[data-page="eu-act"] .eu-act-root .eu-act-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page="eu-act"] .eu-act-root .eu-act-tools {
    position: static;
  }
}
