#page-wrapper,
#page {
  min-height: 100vh;
}

#page-wrapper {
  background: #F8FAFB;
}

#page {
  --bawd-teal-ink: #083F4B;
  --bawd-off-white: #F8FAFB;
  --bawd-border-subtle: #0D6E82;

  display: flex;
  flex-direction: column;
  background: var(--bawd-off-white);
}

#page .bawd-alert-bar {
  min-height: 40px;
  padding: 10px 28px;
  text-align: center;
  color: var(--bawd-teal-ink);
  background: #f3e4b5;
  border-bottom: 1px solid rgba(8, 63, 75, 0.18);
  box-sizing: border-box;
}

#page .bawd-alert-bar .block,
#header.header .region-primary-menu .block,
#header.header .region-secondary-menu .block,
.site-footer .block {
  margin: 0;
}

#header.header {
  min-height: 90px;
  margin: 0;
  padding: 0;
  color: #ffffff;
  background-color: #03556C;
  background-image: -webkit-linear-gradient(top, #0D6E82 0%, #03556C 55%, #083F4B 100%);
  background-image: linear-gradient(to bottom, #0D6E82 0%, #03556C 55%, #083F4B 100%);
  border-bottom: 1px solid rgba(8, 63, 75, 0.22);
}

#header.header .section.layout-container.clearfix {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: none;
  min-height: 90px;
  margin: 0;
  padding: 0 28px;
  box-sizing: border-box;
}

#header.header .region-header {
  padding: 7px 0 0 0;
  margin: 0;
}

#block-bawd-bartik-site-branding {
  flex: 0 0 230px;
  width: 230px;
  margin: 0;
  overflow: hidden;
}

#block-bawd-bartik-site-branding a,
#block-bawd-bartik-site-branding .site-branding__logo {
  display: block;
  line-height: 0;
}

#block-bawd-bartik-site-branding img {
  display: block;
  width: 200px;
  max-width: none;
  height: auto;
}

#header.header .region-primary-menu,
#header.header .menu--main,
#header.header nav[aria-label="Primary menu"] {
  flex: 1 1 auto;
  min-width: 0;
}

#header.header .region-secondary-menu,
#header.header nav[aria-label="Secondary menu"] {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  min-width: 0;
  margin-left: auto;
}

#header.header ul.menu {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#header.header ul.menu li.menu-item {
  margin: 0;
  padding: 0;
}

#header.header ul.menu li.menu-item a {
	display: inline-flex;
	align-items: center;
	min-height: 20px;
	padding: 7px 6px;
	color: #ffffff;
	text-decoration: none;
	border-radius: 0;
	font-size: 11px;
}

#header.header ul.menu li.menu-item a:hover,
#header.header ul.menu li.menu-item a:focus,
#header.header ul.menu li.menu-item a.is-active {
  color: #083F4B;
  background: rgba(255, 255, 255, 0.88);
}

body.page-node-type-bawd-frontpage:not(.path-node) #page-wrapper #page #main-wrapper.layout-main-wrapper {
  display: none;
}

body.path-node.page-node-type-bawd-frontpage #page-wrapper #page #main-wrapper.layout-main-wrapper {
  display: block;
}

#main-wrapper {
	min-height: 75vh;
	max-width: 1400px;
	width: 100%;
}

#main-wrapper.layout-main-wrapper #main.layout-main,
.layout-main {
  margin-top: 0;
}



/* Selector is generated with JS for Frontpage only */
body.bawd-start-view #main-wrapper.layout-main-wrapper {
  display: none !important;
}

.site-footer {
  flex: 0 0 auto;
  color: #F8FAFB;
  background: #262626;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .layout-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 34px 28px;
  box-sizing: border-box;
}

@media (max-width: 760px) {
  #header.header .section.layout-container.clearfix {
    display: block;
    min-height: 90px;
    padding: 9px 8px;
  }

  #block-bawd-bartik-site-branding {
    width: 230px;
    margin-bottom: 18px;
  }

  #header.header .region-secondary-menu,
  #header.header nav[aria-label="Secondary menu"],
  #header.header ul.menu {
    display: block;
  }

  #header.header .region-secondary-menu,
  #header.header nav[aria-label="Secondary menu"] {
    margin-left: 0;
  }

  #header.header ul.menu li.menu-item {
    margin-bottom: 6px;
  }
}

@media (max-width: 1024px) {
  #page:not(.bawd-workspace-page) #header.header .section.layout-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
  }
}








/**
 * BAW-D Frontpage Landing
 * Top-level selector: .page-node-type-bawd-frontpage
 * Replaces the current pasted frontpage landing CSS.
 */

.page-node-type-bawd-frontpage .highlighted {
    width: 100%;
    min-height: calc(100vh - 79px);
    margin: -1px 0 0 0;
    padding: 0;
    overflow: hidden;
    background: #083F4B;
}

.page-node-type-bawd-frontpage .highlighted .layout-container, .page-node-type-bawd-frontpage .highlighted .section, .page-node-type-bawd-frontpage .highlighted article, .page-node-type-bawd-frontpage .highlighted .node__content {
    width: 100%;
    max-width: none;
    margin: -10px 0 0px 0;
    background-color: #083F4B;
    padding: 0 0 6px 0;
}

.page-node-type-bawd-frontpage .highlighted article > header {
  display: none;
}

/* Top hero row */
.page-node-type-bawd-frontpage .highlighted .fp-top-containment {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(520px, 0.85fr);
    gap: 64px;
    align-items: center;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 2px 56px 12px;
    box-sizing: border-box;
}

.page-node-type-bawd-frontpage .highlighted .fp-top-left,
.page-node-type-bawd-frontpage .highlighted .fp-top-right {
  margin: 0;
  padding: 0;
}

.page-node-type-bawd-frontpage .highlighted .fp-top-left {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-node-type-bawd-frontpage .highlighted .fp-top-left .field--name-field-fp-main-text {
  margin: 0;
  padding: 0;
  text-align: left;
}

.page-node-type-bawd-frontpage .highlighted .fp-top-left h1 {
    max-width: 760px;
    margin: 0 0 20px;
    color: #ffffff;
    font-size: 37px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.page-node-type-bawd-frontpage .highlighted .fp-top-left p {
  max-width: 700px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1rem;
  line-height: 1.5;
}

.page-node-type-bawd-frontpage .highlighted .fp-top-left h4 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.page-node-type-bawd-frontpage .highlighted .fp-top-left .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  margin: 0 10px 12px 0;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
}

.page-node-type-bawd-frontpage .highlighted .fp-top-left .button-primary {
  color: #083F4B;
  background: #ffffff;
  border: 2px solid #ffffff;
}

.page-node-type-bawd-frontpage .highlighted .fp-top-left .button-secondary {
  color: #ffffff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.72);
}

.page-node-type-bawd-frontpage .highlighted .fp-top-left .button:hover,
.page-node-type-bawd-frontpage .highlighted .fp-top-left .button:focus {
  color: #083F4B;
  background: #E6F4F6;
  border-color: #E6F4F6;
  text-decoration: none;
}

.page-node-type-bawd-frontpage .highlighted .fp-top-left ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.page-node-type-bawd-frontpage .highlighted .fp-top-left li {
  margin: 0;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
}

.page-node-type-bawd-frontpage .highlighted .fp-top-left .pricing-note {
  margin: 0;
  color: #ffffff;
  font-size: 0.96rem;
  line-height: 1.35;
}

.page-node-type-bawd-frontpage .highlighted .fp-top-left .pricing-note strong {
  font-size: 1.14rem;
}

.page-node-type-bawd-frontpage .highlighted .fp-top-left .pricing-note small {
  color: rgba(255, 255, 255, 0.82);
}

/* 16:9 media stand-in for future video / PowerPoint */
.page-node-type-bawd-frontpage .highlighted .fp-top-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-node-type-bawd-frontpage .highlighted .fp-top-right .field--name-field-fp-media-image,
.page-node-type-bawd-frontpage .highlighted .fp-top-right .field--name-field-fp-media-image .field__item {
  width: 100%;
  max-width: 620px;
  margin: 0;
  padding: 0;
}

.page-node-type-bawd-frontpage .highlighted .fp-top-right .field__item {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.18);
    width: 100%;
}

.page-node-type-bawd-frontpage .highlighted .fp-top-right img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f7fbfc;
}

/* Lower document selector section */
.page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 8px 56px 0px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 35px;
}

.page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block .screen-content {
	margin: 0 auto;
	padding: 6px 0 0 0;
	text-align: center;
}

.page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block h2 {
    max-width: 680px;
    margin: 0 auto 10px;
    color: #083F4B;
    font-size: 2.15rem;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block .subtitle {
    max-width: 680px;
    margin: 0 auto 24px;
    color: #0D6E82;
    font-size: 1rem;
    line-height: 1.45;
}

.page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block .document-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block .document-option {
  position: relative;
  min-height: 220px;
  margin: 0;
  padding: 22px 18px 18px;
  text-align: left;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 110, 130, 0.14);
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(8, 63, 75, 0.06);
  box-sizing: border-box;
}

.page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block .document-option.selected {
  border: 2px solid #0D6E82;
  box-shadow: 0 12px 28px rgba(13, 110, 130, 0.12);
}

.page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block .document-option.coming-soon {
  opacity: 0.82;
}

.page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block .coming-soon-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  color: #0B6679;
  background: #E6F4F6;
  border: 1px solid rgba(13, 110, 130, 0.16);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block .document-icon {
  margin: 0 0 10px;
  font-size: 1.9rem;
  line-height: 1;
}

.page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block h3 {
  margin: 0 0 8px;
  color: #083F4B;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.14;
}

.page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block .document-option p {
  margin: 0;
  color: #36515a;
  font-size: 0.88rem;
  line-height: 1.42;
}

.page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block .document-option a {
  color: inherit;
  text-decoration: none;
}

.page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block .button-container {
  margin: 24px auto 10px;
}

.page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 14px 24px;
  color: #ffffff;
  background: #083F4B;
  border: 2px solid #083F4B;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block .button:hover,
.page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block .button:focus {
  color: #ffffff;
  background: #0D6E82;
  border-color: #0D6E82;
  text-decoration: none;
}

.page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block .helper-text {
  margin: 10px 0 0;
  color: #4b636b;
  font-size: 0.9rem;
}

/* Tablet */
@media (max-width: 1180px) {
  .page-node-type-bawd-frontpage .highlighted {
    background: linear-gradient(
      to bottom,
      #0B6679 0%,
      #0B6679 68%,
      #EEF5F7 68%,
      #EEF5F7 100%
    );
  }

  .page-node-type-bawd-frontpage .highlighted .fp-top-containment {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 28px 10px;
  }

  .page-node-type-bawd-frontpage .highlighted .fp-top-left h1 {
    font-size: 2.8rem;
    line-height: 1.06;
  }

  .page-node-type-bawd-frontpage .highlighted .fp-top-right .field--name-field-fp-media-image,
  .page-node-type-bawd-frontpage .highlighted .fp-top-right .field--name-field-fp-media-image .field__item {
    max-width: 680px;
  }

  .page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block {
    padding: 12px 28px 52px;
  }

  .page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block .document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Phone */
@media (max-width: 700px) {
  .page-node-type-bawd-frontpage .highlighted {
    background: linear-gradient(
      to bottom,
      #0B6679 0%,
      #0B6679 66%,
      #EEF5F7 66%,
      #EEF5F7 100%
    );
  }

  .page-node-type-bawd-frontpage .highlighted .fp-top-containment {
    padding: 28px 18px 10px;
  }

  .page-node-type-bawd-frontpage .highlighted .fp-top-left h1 {
    font-size: 2.15rem;
    line-height: 1.08;
  }

  .page-node-type-bawd-frontpage .highlighted .fp-top-left p {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .page-node-type-bawd-frontpage .highlighted .fp-top-left .button {
    width: 100%;
    max-width: 320px;
    margin-right: 0;
  }

  .page-node-type-bawd-frontpage .highlighted .fp-top-left ul,
  .page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block .document-grid {
    grid-template-columns: 1fr;
  }

  .page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block {
    padding: 8px 18px 42px;
  }

  .page-node-type-bawd-frontpage .highlighted .bawd-doc-selector-block h2 {
    font-size: 1.8rem;
    line-height: 1.1;
  }
}







/**
 * BAW-D Document Selector Block
 */

.bawd-doc-selector-block {
  margin: 0 auto;
  padding: 48px 24px 58px;
  background: #F8FAFB;
}

.bawd-doc-selector-block .screen-content {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.bawd-doc-selector-block h2 {
  margin: 0 0 10px;
  color: #083F4B;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.bawd-doc-selector-block .subtitle {
  max-width: 640px;
  margin: 0 auto 30px;
  color: #4b5b60;
  font-size: 1.05rem;
  line-height: 1.45;
}

.bawd-doc-selector-block .document-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.bawd-doc-selector-block .document-option {
  position: relative;
  min-height: 300px;
  padding: 28px 20px 24px;
  background: #ffffff;
  border: 1px solid rgba(13, 110, 130, 0.18);
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(8, 63, 75, 0.08);
  text-align: left;
}

.bawd-doc-selector-block .document-option.selected {
  border: 2px solid #0D6E82;
  box-shadow: 0 14px 32px rgba(13, 110, 130, 0.16);
}

.bawd-doc-selector-block .document-option.coming-soon {
  opacity: 0.72;
}

.bawd-doc-selector-block .coming-soon-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  color: #083F4B;
  background: #E6F4F6;
  border: 1px solid rgba(13, 110, 130, 0.22);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bawd-doc-selector-block .document-icon {
  margin: 6px 0 18px;
  font-size: 2.5rem;
  line-height: 1;
}

.bawd-doc-selector-block h3 {
  margin: 0 0 10px;
  color: #083F4B;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.15;
}

.bawd-doc-selector-block .document-option p {
  margin: 0;
  color: #34464c;
  font-size: 0.94rem;
  line-height: 1.45;
}

.bawd-doc-selector-block .document-option a {
  color: inherit;
  text-decoration: none;
}

.bawd-doc-selector-block .document-option.selected:hover,
.bawd-doc-selector-block .document-option.selected:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(13, 110, 130, 0.2);
}

.bawd-doc-selector-block .button-container {
  margin: 32px auto 12px;
}

.bawd-doc-selector-block .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 14px 24px;
  color: #ffffff;
  background: #083F4B;
  border: 2px solid #083F4B;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(8, 63, 75, 0.14);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.bawd-doc-selector-block .button:hover,
.bawd-doc-selector-block .button:focus {
  color: #ffffff;
  background: #0D6E82;
  border-color: #0D6E82;
  text-decoration: none;
}

.bawd-doc-selector-block .helper-text {
  margin: 12px 0 0;
  color: #4b5b60;
  font-size: 0.92rem;
  line-height: 1.35;
}

.bawd-doc-selector-block .helper-text a {
  color: #0D6E82;
  font-weight: 700;
  text-decoration: none;
}

.bawd-doc-selector-block .helper-text a:hover,
.bawd-doc-selector-block .helper-text a:focus {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .bawd-doc-selector-block .document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bawd-doc-selector-block .document-option {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .bawd-doc-selector-block {
    padding: 38px 18px 48px;
  }

  .bawd-doc-selector-block .document-grid {
    grid-template-columns: 1fr;
  }

  .bawd-doc-selector-block .document-option {
    min-height: auto;
    padding: 24px 18px 22px;
  }

  .bawd-doc-selector-block .button {
    width: 100%;
    max-width: 320px;
  }
}