/**
 * @file
 * Global styles.
 */

/* Add custom styles here */

/* Styles for Text Editor */
.glsub-ck-bluetext {
  color: var(--primary);
}

/* Make the hero full bleed vertically - used to be 90% */
.region--fixed-hero {
  --region-fixed-hero-height: max(700px, calc(100dvh - var(--drupal-displace-offset-top, 0px) - var(--drupal-displace-offset-bottom, 0px)));
}

/* Main layout tweaks */
.site-main {
  padding-top: 2rem;
}

.header-popover__logo {
  filter: none;
  max-width: 30px;
}

.article.node .grid {
  grid-template-areas: "sidebar-first content content content content content content content content content content sidebar-second";
}

/* Resize the menu logo */
.header-logo__link {
  --header-logo-max-height: 144px;
}

/* Augment the hero CTA with subtitles */
/* due to inability to insert linebreaks in URL title */

.gl-hero__media > picture {
  opacity: 0.9;
}

.site-footer__bottom {
  border-image: linear-gradient(180deg, var(--footer-border-color) 1px, transparent 0) fill 0//0 100vw 0 100vw;
}

/* Fix the spacing for the 'current site' bullet in the footer */
.side-menu__link[class] {
  &.is-active {
    &::before {
      inset-inline-start: 0px;
    }
  }
}

.page-node-type-insight .block-field-blocknodeinsightfield-header-image img {
  width: 100%;
}

/* Push the homepage bios apart */

bio-card + .bio-card {
  margin-top: var(--spacing-m);
}

tr {
  border-bottom: none;
}


