/**
 *  Assess hub (BRIM-22)
 *  ---------------------
 *  Styles for the rebuilt Assess UXO hub, following the approved Claude Design
 *  wireframe ("Assess UXO Hub Wireframe"): light content sections, dark hero and
 *  EDRA bands, IBM Plex Mono labels, red accents.
 *
 *  Every rule is scoped to the assess-hub section classes, and the file is only
 *  enqueued on pages that use them (brimstone_is_assess_hub() in
 *  functions/enqueue-scripts.php). Breakpoints follow the theme: 40em, 64em.
 */

/* ----- Page wrapper ----- */

/* Light page behind the sections, so no dark hairline shows between light bands. */
.has-assess-hub #primary article {
  background: #fff;
}

/* #page clips with overflow: hidden, which makes it a scroll container and stops
   position: sticky working. overflow: clip still clips without that side effect.
   Browsers without clip support keep hidden, and the nav simply scrolls away. */
.has-assess-hub .site-content {
  overflow: clip;
}

html:has(.assess-hub-nav),
html.has-assess-nav {
  scroll-padding-top: calc(var(--assess-nav-h, 3.5rem) + 1rem);
}

@media (prefers-reduced-motion: reduce) {
  html:has(.assess-hub-nav),
  html.has-assess-nav {
    scroll-behavior: auto;
  }
}

/* ----- Section rhythm ----- */

.assess-hub {
  --assess-ink: #191919;
  --assess-body: #404041;
  --assess-muted: #6b6c6f; /* BRIM-26: was #77787b, failed 4.5:1 on white */
  --assess-rule: #d6d6d6;
  --assess-red: #c42127;
  --assess-mono: "IBM Plex Mono", monospace;
  --assess-sans: "IBM Plex Sans", sans-serif;
  position: relative;
  color: var(--assess-body);
}

.assess-hub > .grid-container {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media only screen and (min-width: 64em) {
  .assess-hub > .grid-container {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
}

/* Beats the BLT rule that adds margin-bottom to every cell on small screens. */
.assess-hub .grid-container > .cell.assess-nav,
.assess-hub .grid-container > .cell.assess-proof {
  margin-bottom: 0;
}

/* ----- Type ----- */

.assess-hub h1,
.assess-hub h2,
.assess-hub h3 {
  font-family: var(--assess-mono);
  color: var(--assess-ink);
}

.assess-hub h1 {
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 1.1;
  margin: 0 0 1.5rem;
}

.assess-hub h2 {
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

.assess-hub p,
.assess-hub li {
  font-family: var(--assess-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--assess-body);
}

.assess-hub p {
  margin-bottom: 1.25rem;
}

.assess-hub a:not(.blt-block-button__link) {
  color: var(--assess-red);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.assess-hub a:not(.blt-block-button__link):hover,
.assess-hub a:not(.blt-block-button__link):focus {
  color: var(--assess-ink);
}

.assess-hub .assess-hub__subhead {
  font-family: var(--assess-mono);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.4;
  color: #555;
  margin-bottom: 1.5rem;
}

.assess-hub .assess-hub__lead {
  font-size: 1.25rem;
  line-height: 1.55;
}

@media only screen and (min-width: 64em) {
  .assess-hub h1 {
    font-size: 3.25rem;
  }

  .assess-hub h2 {
    font-size: 2.375rem;
  }

  .assess-hub .assess-hub__subhead {
    font-size: 1.1875rem;
  }

  .assess-hub .assess-hub__lead {
    font-size: 1.375rem;
  }
}

/* Eyebrow: "— STAGE 1" */
.assess-hub .assess-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-family: var(--assess-mono);
  font-size: 0.8125rem;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--assess-muted);
}

.assess-hub .assess-eyebrow::before {
  content: "";
  flex: 0 0 1.125rem;
  height: 0.125rem;
  background: var(--assess-red);
}

.assess-hub .assess-eyebrow--plain::before {
  content: none;
}

/* ----- Buttons ----- */

.assess-hub .blt-block-button {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.assess-hub .blt-block-button:not(:last-of-type) {
  margin-right: 0.75rem;
}

.assess-hub .blt-block-button__link {
  display: inline-block;
  padding: 1.0625rem 1.625rem;
  border: 0.0625rem solid var(--assess-red);
  border-radius: 0;
  background: var(--assess-red);
  font-family: var(--assess-mono);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  transition: background-color 0.2s linear, color 0.2s linear, border-color 0.2s linear;
}

.assess-hub .blt-block-button__link:hover,
.assess-hub .blt-block-button__link:focus {
  background: var(--assess-ink);
  border-color: var(--assess-ink);
  color: #fff;
}

.assess-hub .blt-block-button__link--text {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.assess-hub .assess-btn-outline .blt-block-button__link {
  background: transparent;
  border-color: var(--assess-ink);
  color: var(--assess-ink);
}

.assess-hub .assess-btn-outline .blt-block-button__link:hover,
.assess-hub .assess-btn-outline .blt-block-button__link:focus {
  background: var(--assess-ink);
  color: #fff;
}

@media only screen and (max-width: 39.9375em) {
  .assess-hub .blt-block-button {
    display: block;
    margin-right: 0;
  }

  .assess-hub .blt-block-button:not(:last-of-type) {
    margin-right: 0;
  }

  .assess-hub .blt-block-button__link {
    display: block;
    text-align: center;
  }

  /* Match the arrow's padding on the left so the label stays centred. */
  .assess-hub .blt-block-button.has-arrow .blt-block-button__link {
    padding-left: 3.75rem;
  }
}

/* ----- Dark bands (hero, EDRA) ----- */

.assess-hub--dark h1,
.assess-hub--dark h2 {
  color: #fff;
}

.assess-hub--dark p,
.assess-hub--dark li {
  color: #bdbdbd;
}

.assess-hub--dark .assess-hub__lead {
  color: #d6d6d6;
}

.assess-hub--dark a:not(.blt-block-button__link) {
  color: #fff;
  text-decoration-color: var(--assess-red);
}

/* Keep links readable on hover/focus: the light-section hover colour is the dark band's own background. */
.assess-hub--dark a:not(.blt-block-button__link):hover,
.assess-hub--dark a:not(.blt-block-button__link):focus {
  color: #fff;
  text-decoration-color: #fff;
}

.assess-hub--dark .assess-btn-outline .blt-block-button__link {
  border-color: #fff;
  color: #fff;
}

.assess-hub--dark .assess-btn-outline .blt-block-button__link:hover,
.assess-hub--dark .assess-btn-outline .blt-block-button__link:focus,
.assess-hub--dark .blt-block-button__link:hover,
.assess-hub--dark .blt-block-button__link:focus {
  background: #fff;
  border-color: #fff;
  color: var(--assess-ink);
}

/* Dot grid on the right of the EDRA section (decorative). */
.assess-hub--dots::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 38%;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.2) 1.25px, transparent 1.75px);
  background-size: 1.6875rem 1.6875rem;
  pointer-events: none;
}

@media only screen and (max-width: 63.9375em) {
  .assess-hub--dots::after {
    content: none;
  }
}

.assess-hub--dots > .grid-container {
  position: relative;
  z-index: 1;
}

/* ----- 01 Hero ----- */

.assess-hub-hero .blt-block-button {
  display: block;
  margin-right: 0;
}

.assess-hub-hero .blt-block-button + .blt-block-button {
  margin-top: 1rem;
}

@media only screen and (max-width: 63.9375em) {
  .assess-hub-hero .assess-hub__media {
    margin-top: 2.5rem;
  }

  /* The square photo stacks under the text here; a landscape crop keeps the bomber in frame. */
  .assess-hub-hero .assess-hub__image img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: 50% 20%;
  }
}

/* ----- 02 Trust strip ----- */

.assess-hub-proof > .grid-container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.assess-hub-proof .assess-proof {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.assess-hub .assess-proof__value {
  margin-bottom: 0.625rem;
  font-family: var(--assess-mono);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.1;
  color: var(--assess-ink);
}

.assess-hub .assess-proof__label {
  margin-bottom: 0;
  font-family: var(--assess-mono);
  font-size: 0.6875rem;
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #555;
}

@media only screen and (max-width: 63.9375em) {
  .assess-hub-proof .assess-proof:nth-child(even) {
    border-left: 0.0625rem solid var(--assess-rule);
  }

  .assess-hub-proof .assess-proof:nth-child(n + 3) {
    border-top: 0.0625rem solid var(--assess-rule);
  }
}

@media only screen and (min-width: 64em) {
  .assess-hub-proof > .grid-container {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .assess-hub .assess-proof__value {
    font-size: 1.875rem;
  }

  .assess-hub .assess-proof__label {
    font-size: 0.75rem;
  }

  .assess-hub-proof .assess-proof + .assess-proof {
    border-left: 0.0625rem solid var(--assess-rule);
  }
}

/* ----- 03 Sticky section navigation ----- */

.assess-hub-nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 500;
  border-top: 0.0625rem solid #e5e5e5;
  border-bottom: 0.0625rem solid #e5e5e5;
  transition: box-shadow 0.2s linear;
}

.assess-hub-nav > .grid-container {
  padding-top: 0;
  padding-bottom: 0;
}

.assess-hub-nav.is-stuck {
  box-shadow: 0 0.375rem 1.25rem rgba(13, 13, 13, 0.12);
}

.assess-hub-nav .assess-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.assess-hub .assess-nav__links {
  position: relative;
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.assess-hub .assess-nav__links::-webkit-scrollbar {
  display: none;
}

.assess-hub .assess-nav__links li {
  margin: 0;
  padding: 0;
}

.assess-hub .assess-nav__links li::before {
  content: none;
}

.assess-hub .assess-nav__links a,
.assess-hub-nav .assess-nav__cta .blt-block-button__link {
  display: block;
  padding: 1.375rem 0 1.25rem;
  border: 0;
  border-bottom: 0.125rem solid transparent;
  background: none;
  font-family: var(--assess-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--assess-ink);
}

.assess-hub .assess-nav__links a:hover,
.assess-hub .assess-nav__links a:focus,
.assess-hub .assess-nav__links a[aria-current] {
  color: var(--assess-ink);
  border-bottom-color: var(--assess-red);
}

.assess-hub-nav .assess-nav__cta {
  flex: 0 0 auto;
  margin: 0;
}

.assess-hub-nav .assess-nav__cta .blt-block-button__link {
  color: var(--assess-red);
}

.assess-hub-nav .assess-nav__cta .blt-block-button__link:hover,
.assess-hub-nav .assess-nav__cta .blt-block-button__link:focus {
  background: none;
  color: var(--assess-red);
  border-bottom-color: var(--assess-red);
}

/* Small screens: one compact row. The section links scroll sideways inside the
   bar (never the page) with a fade hinting at more; the quote link stays put. */
@media only screen and (max-width: 63.9375em) {
  .assess-hub .assess-nav__links {
    flex: 1 1 auto;
  }
}

@media only screen and (max-width: 39.9375em) {
  .assess-hub-nav .assess-nav,
  .assess-hub .assess-nav__links {
    gap: 1.25rem;
  }

  .assess-hub-nav.has-more .assess-nav__links {
    -webkit-mask-image: linear-gradient(to right, #000 80%, transparent);
    mask-image: linear-gradient(to right, #000 80%, transparent);
  }

  .assess-hub .assess-nav__links a,
  .assess-hub-nav .assess-nav__cta .blt-block-button__link {
    padding: 1rem 0 0.875rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
  }

  .assess-hub-nav .assess-nav__cta .blt-block-button {
    display: block;
  }
}

/* ----- 04 / 05 / 08 Image and text sections ----- */

.assess-hub .assess-hub__image,
.assess-hub .assess-hub__image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.assess-hub-split .assess-hub__media {
  margin-top: 2.5rem;
}

/* Desktop: each image fills the full height of the text beside it, so there's no
   dead space under it. Cropped with object-fit, so no new image sizes are needed. */
@media only screen and (min-width: 64em) {
  .assess-hub-hero > .grid-container,
  .assess-hub-split > .grid-container {
    align-items: stretch;
  }

  .assess-hub-hero .assess-hub__media,
  .assess-hub-split .assess-hub__media {
    display: flex;
  }

  .assess-hub-hero .assess-hub__image,
  .assess-hub-split .assess-hub__image {
    flex: 1 1 auto;
    min-height: 100%;
  }

  .assess-hub-hero .assess-hub__image img,
  .assess-hub-split .assess-hub__image img {
    height: 100%;
    object-fit: cover;
  }

  .assess-hub-hero .assess-hub__image img {
    object-position: 12% 50%;
  }

  #stage-2 .assess-hub__image img {
    object-position: 40% 50%;
  }

  .assess-hub-when .assess-hub__image img {
    object-position: 70% 50%;
  }
}

@media only screen and (min-width: 40em) {
  .assess-hub-split .assess-hub__media {
    margin-top: 0;
  }
}

/* Phones: the full-height Stage 1 map would be ~600px tall, so crop it around the cathedral. */
@media only screen and (max-width: 39.9375em) {
  #stage-1 .assess-hub__image img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }
}

@media only screen and (min-width: 64em) {
  .assess-hub-split .assess-hub__text {
    padding-right: 2rem;
  }

  .assess-hub-split .medium-order-2.assess-hub__text {
    padding-right: 0.9375rem;
    padding-left: 2rem;
  }
}

.assess-hub .assess-hub__list-intro {
  margin: 1.75rem 0 0.625rem;
  font-family: var(--assess-sans);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--assess-ink);
}

.assess-hub .assess-hub__rows {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  border-bottom: 0.0625rem solid var(--assess-rule);
}

.assess-hub .assess-hub__rows li {
  margin: 0;
  padding: 0.875rem 0;
  border-top: 0.0625rem solid var(--assess-rule);
  font-size: 1rem;
  line-height: 1.55;
}

.assess-hub .assess-hub__rows li::before {
  content: none;
}

/* ----- 06 EDRA ----- */

.assess-hub-edra .assess-callout::before {
  content: "";
  display: block;
  height: 0.125rem;
  margin-bottom: 1.75rem;
  background: var(--assess-red);
}

/* ----- 09 Recent projects ----- */

.assess-hub-projects .assess-project {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 1.875rem;
  padding: 1.875rem;
  border: 0.0625rem solid var(--assess-rule);
  background: #fff;
  transition: border-color 0.2s linear, box-shadow 0.2s linear;
}

.assess-hub-projects .assess-project:hover {
  border-color: var(--assess-ink);
}

.assess-hub-projects .assess-project:focus-within {
  outline: 0.125rem solid var(--assess-red);
  outline-offset: 0.125rem;
}

.assess-hub .assess-project__stat {
  margin-bottom: 0.375rem;
  font-family: var(--assess-mono);
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--assess-red);
}

.assess-hub .assess-project__label {
  margin-bottom: 1.5rem;
  font-family: var(--assess-mono);
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--assess-muted);
}

.assess-hub h3.assess-project__title {
  margin: 0 0 0.75rem;
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.3;
}

.assess-hub .assess-project__text {
  flex: 1 1 auto;
  font-size: 0.9375rem;
  color: #555;
}

.assess-hub .assess-project__link {
  margin-top: auto;
  margin-bottom: 0;
}

.assess-hub .assess-project__link a {
  font-family: var(--assess-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--assess-ink);
}

.assess-hub .assess-project__link a:focus {
  outline: none;
}

/* The case-study link covers the whole card. */
.assess-hub .assess-project__link a::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* ----- 10 FAQs (BLT accordion restyled to the design's +/– rows) ----- */

.assess-hub-faqs .blt-block-accordion {
  margin-top: 1.5rem;
  border-top: 0.125rem solid #fff;
}

.assess-hub-faqs .blt-block-accordion__item-wrapper {
  padding: 0;
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.18);
}

.assess-hub-faqs .Accordion-trigger,
.assess-hub-faqs .Accordion-trigger.has-xlarge-font-size {
  padding: 1.375rem 0;
  font-family: var(--assess-mono);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: #fff;
}

.assess-hub-faqs .blt-block-accordion__item .Accordion-trigger:hover,
.assess-hub-faqs .blt-block-accordion__item .Accordion-trigger:focus {
  color: var(--assess-red);
}

.assess-hub-faqs .Accordion-icon svg {
  display: none;
}

.assess-hub-faqs .Accordion-icon {
  padding: 0 0 0 1.5rem;
  font-family: var(--assess-mono);
  font-size: 1.375rem;
  line-height: 1;
  color: var(--assess-red);
}

.assess-hub-faqs .Accordion-icon::before {
  content: "+";
}

.assess-hub-faqs .Accordion-trigger[aria-expanded="true"] .Accordion-icon::before {
  content: "–";
}

.assess-hub-faqs .blt-block-accordion p {
  padding-right: 2.5rem;
  font-size: 1rem;
  color: #bdbdbd;
}

.assess-hub-faqs .Accordion-panel p:first-child {
  padding-top: 0;
}

/* ----- 11 Quote form (Gravity Forms on a light background) ----- */

.assess-hub .assess-quote__intro {
  max-width: 46rem;
}

.assess-hub-quote .gform_wrapper .gfield_label,
.assess-hub-quote .gform_wrapper legend.gfield_label {
  display: block;
  margin-bottom: 0.625rem;
  font-family: var(--assess-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--assess-ink);
}

/* Form 1 shows required asterisks via a #gform_1 rule; do the same here. */
.js .assess-hub-quote .gfield_required {
  display: inline;
  visibility: visible;
  opacity: 1;
  color: var(--assess-red);
}

.assess-hub-quote .gform_wrapper input[type="text"],
.assess-hub-quote .gform_wrapper input[type="email"],
.assess-hub-quote .gform_wrapper input[type="tel"],
.assess-hub-quote .gform_wrapper select,
.assess-hub-quote .gform_wrapper textarea {
  width: 100%;
  border: 0.0625rem solid #c9c9c9;
  background-color: #fff;
  font-family: var(--assess-sans);
  font-size: 1rem;
  color: var(--assess-ink);
}

.assess-hub-quote .gform_wrapper input[type="text"],
.assess-hub-quote .gform_wrapper input[type="email"],
.assess-hub-quote .gform_wrapper input[type="tel"],
.assess-hub-quote .gform_wrapper select {
  height: 3.5rem;
}

.assess-hub-quote .gform_wrapper input:hover,
.assess-hub-quote .gform_wrapper input:focus,
.assess-hub-quote .gform_wrapper select:hover,
.assess-hub-quote .gform_wrapper select:focus,
.assess-hub-quote .gform_wrapper textarea:hover,
.assess-hub-quote .gform_wrapper textarea:focus {
  border-color: var(--assess-ink);
}

.assess-hub-quote .gform_wrapper .gfield_error input,
.assess-hub-quote .gform_wrapper .gfield_error select,
.assess-hub-quote .gform_wrapper .gfield_error textarea {
  border-color: var(--assess-red);
}

.assess-hub-quote .gform_wrapper .gfield_checkbox label,
.assess-hub-quote .gform_wrapper .gfield_consent_label,
.assess-hub-quote .gform_wrapper .gform_fileupload_rules,
.assess-hub-quote .gform_wrapper .gform_drop_instructions {
  font-family: var(--assess-sans);
  font-size: 1rem;
  color: var(--assess-body);
}

.assess-hub-quote .gform_wrapper select {
  font-weight: 400;
}

.assess-hub-quote .gform_wrapper .ginput_container_fileupload {
  display: block;
}

/* Condensed: tighter field rhythm, a shorter message box, upload alongside it. */
.assess-hub-quote .gform_wrapper .gform_fields > .gfield:not(.gform_hidden) {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.assess-hub-quote .gform_wrapper .gfield--type-checkbox:not(.gform_hidden) {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.assess-hub-quote .gform_wrapper .gfield--type-checkbox .gfield_checkbox > div {
  margin-bottom: 0;
}

/* Long labels wrap beside their checkbox instead of dropping underneath it. */
.assess-hub-quote .gform_wrapper .gfield_checkbox .gchoice {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding-bottom: 0.5rem;
}

.assess-hub-quote .gform_wrapper .gfield_checkbox .gchoice input {
  flex: 0 0 auto;
}

/* The theme's label margin (0 0 8px 10px) would pull it off-centre; the row spacing above replaces it. */
.assess-hub-quote .gform_wrapper .gfield_checkbox .gchoice label {
  margin: 0;
  line-height: 1.4;
}

.assess-hub-quote .gform_wrapper textarea {
  height: 8.25rem;
  min-height: 0;
}

.assess-hub-quote .gform_wrapper .gform_drop_area {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  min-height: 8.25rem;
  padding: 1rem 1.25rem;
  border: 0.0625rem dashed #b5b5b5;
  background: #fff;
  text-align: center;
}

.assess-hub-quote .gform_wrapper .gform_drop_instructions {
  padding-right: 0.5rem;
  font-family: var(--assess-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--assess-ink);
}

.assess-hub-quote .gform_wrapper .gform_button_select_files {
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--assess-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  color: var(--assess-ink);
  cursor: pointer;
}

.assess-hub-quote .gform_wrapper .gform_fileupload_rules {
  padding: 0.5rem 0 0;
  font-size: 0.875rem;
  color: #555;
}

.assess-hub-quote .gform_footer .blt-block-button {
  margin-top: 0.5rem;
}

.assess-hub-quote .gform_footer .blt-block-button__link,
.assess-hub-quote .gform_footer .blt-block-button__link--text {
  font-size: 0.875rem;
}

.assess-hub .assess-quote__note {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: #555;
}

/* ----- Related services + Find a service (live blocks, restyled to the page) ----- */

.assess-hub-related .blt-block-jump {
  margin-bottom: 1.875rem;
  border: 0.0625rem solid var(--assess-rule);
  transition: border-color 0.2s linear;
}

.assess-hub-related .blt-block-jump:hover,
.assess-hub-related .blt-block-jump:focus-within {
  border-color: var(--assess-ink);
}

.assess-hub-related a.blt-block-jump__link {
  display: block;
  height: 100%;
  padding: 1.875rem;
  text-decoration: none;
}

.assess-hub-related h2.blt-block-jump__heading {
  margin: 0 0 0.75rem;
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.3;
  color: var(--assess-ink);
}

.assess-hub-related .blt-block-jump__link:hover h2.blt-block-jump__heading {
  color: var(--assess-red);
}

.assess-hub-related .blt-block-jump__text {
  font-size: 0.9375rem;
  color: #555;
}

.assess-hub-related .blt-block-cta {
  background-color: var(--assess-ink);
  color: #fff;
}

.assess-hub-related h2.blt-block-cta__heading {
  margin: 0;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3;
  color: #fff;
}

.assess-hub-related .blt-block-cta__text {
  margin-bottom: 0;
  color: #bdbdbd;
}

/* The live block bottom-aligns the heading and text, so the shorter heading sat
   lower than the text beside it. Line them up on their first line instead. */
@media only screen and (min-width: 64em) {
  .assess-hub-related .blt-block-cta .align-bottom-large {
    align-items: baseline;
  }
}

.assess-hub-related .blt-block-cta .blt-block-button__link:hover,
.assess-hub-related .blt-block-cta .blt-block-button__link:focus {
  background: #fff;
  border-color: #fff;
  color: var(--assess-ink);
}

.assess-hub-related > .grid-container {
  padding-bottom: 2rem;
}

/* ----- BRIM-26 contrast fixes ----- */
/* Grey labels on the dark hero and EDRA bands: #909194 is 5.58:1 on #191919. */
.assess-hub--dark .assess-eyebrow,
.assess-hub--dark .assess-project__label {
  color: #909194;
}

/* Form placeholders use the same muted grey (5.25:1 on white) instead of the theme default. */
.assess-hub ::placeholder {
  color: var(--assess-muted);
  opacity: 1;
}
