/*
background: url("/wp-content/themes/uscarch/template-parts/navigation/media/
*/
.header {
  position: fixed;
  inset: 0 0 auto 0;
  background: black;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0 16px;
  gap: 8px;
  height: 72px;
}
@media (min-width: 992px) {
  .header {
    gap: 30px;
  }
}
.header__logo {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 150px;
  max-width: 295px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.header__logo img {
  width: 100%;
}
.header__crest {
  border-left: 1px solid white;
  padding-left: 14px;
}
@media (min-width: 768px) {
  .header__crest {
    padding-left: 30px;
  }
}

.card-list__cards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
}
@media (min-width: 1068px) {
  .card-list__cards {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-bottom: 0;
  }
}
.card-list--no-scroll .card-list__cards {
  overflow-x: hidden;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-bottom: 0;
}

.header-utils {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
@media (min-width: 768px) {
  .header-utils {
    gap: 30px;
  }
}
.header-utils__link {
  display: none;
}
@media (min-width: 768px) {
  .header-utils__link {
    display: block;
  }
}

.main-nav {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: #fff;
  display: none;
  z-index: 9999;
  overflow-y: scroll;
}
.main-nav--open {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.main-nav__logo {
  width: 175px;
  margin-top: 4px;
}
@media (min-width: 768px) {
  .main-nav__logo {
    width: 295px;
  }
}
.main-nav__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.main-nav__video::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: -webkit-gradient(linear, left top, right top, from(rgb(255, 255, 255)), to(rgba(255, 255, 255, 0)));
  background: linear-gradient(to right, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%);
}
.main-nav__video video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.main-nav__video iframe {
  width: 100vw;
  height: 56.25vw; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
  min-height: 100vh;
  min-width: 177.77vh; /* Given a 16:9 aspect ratio, 16/9*100 = 177.77 */
}
.main-nav__top {
  margin: 0 20px;
  position: absolute;
  top: 14px;
  left: 0px;
  right: 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
@media (min-width: 901px) {
  .main-nav__top {
    left: 32px;
    right: 32px;
  }
}
.main-nav__container {
  z-index: 2;
  width: 100%;
  margin-bottom: 100px;
}
@media (min-width: 768px) {
  .main-nav__container {
    margin: 0 20px;
  }
}
@media (orientation: landscape) and (max-height: 500px) {
  .main-nav__container {
    margin-bottom: 0;
  }
}
.main-nav__list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 901px) {
  .main-nav__list {
    padding-left: 22px;
  }
}
.main-nav__link {
  width: 100%;
  display: block;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 50px;
  padding: 0 10px;
  color: black;
  font-weight: 200;
}
@media (min-width: 576px) {
  .main-nav__link {
    max-width: 353px;
  }
}
@media (orientation: landscape) and (max-height: 500px) {
  .main-nav__link {
    font-size: 30px;
  }
}
.main-nav__link:hover {
  background: black;
  color: #ffcc00;
}
.main-nav__link--active {
  background: black;
  color: #ffcc00;
}

.submenu {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 2;
  padding: 0 20px;
  -webkit-transform: translate(101%);
  transform: translate(101%);
  -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition: -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  overflow: scroll;
}
@media (min-width: 1360px) {
  .submenu {
    display: none;
    padding: 20px 0 0 0;
    position: absolute;
    left: 393px;
    top: 0;
    height: 500px;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-transform: none;
    transform: none;
    -webkit-transition: none;
    transition: none;
  }
}
.submenu__back {
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  position: sticky;
  top: 0;
}
@media (min-width: 1360px) {
  .submenu__back {
    display: none;
  }
}
.submenu__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 1068px) {
  .submenu__content {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
}
.submenu__content > div:not(.submenu__back) {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.submenu--open {
  display: block;
  -webkit-transform: translate(0);
  transform: translate(0);
}
@media (min-width: 1360px) {
  .submenu--open {
    -webkit-transform: none;
    transform: none;
  }
}

.project-card {
  min-width: 218px;
  max-width: 232px;
}
.project-card__link {
  text-decoration: none;
}
.project-card__image {
  margin-bottom: 9px;
  width: 232px;
  height: 140px;
  background: #efefef;
}
.project-card__image img {
  width: 232px;
  height: 140px;
  -o-object-fit: cover;
  object-fit: cover;
  outline: 1px solid rgba(0, 0, 0, 0.0588235294);
  outline-offset: -1px;
}
.project-card__title, .project-card__subtitle {
  margin: 0;
  font-size: 14px;
  color: black;
}

.search {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  z-index: 980;
  padding: 16px;
  background: white;
  position: fixed;
  top: 71px;
  border: 1px solid black;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}
@media (min-width: 768px) {
  .search {
    width: 50vw;
    right: 0;
  }
}
.search--open {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.search form {
  border: 1px solid #000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.search label {
  font-size: 20px;
  padding: 0 16px;
  font-family: Caslon, serif;
}
.search input[type=text] {
  font-family: National, sans-serif;
  border: none;
  width: 100%;
  max-width: 100%;
  height: 42px;
  font-size: 20px;
  padding: 9px;
}
.search input[type=text]:focus {
  outline: none;
}
.search input[type=submit] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin-right: 16px;
  border: none;
  text-indent: -9999em;
  background: url("/wp-content/themes/uscarch/template-parts/navigation/media/icon-search-black.svg") no-repeat center;
}

.teaser-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: 75px;
}
.teaser-item__image {
  width: 75px;
  height: 75px;
  background: #efefef;
  position: relative;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.teaser-item__image img {
  position: absolute;
  inset: 0;
  -o-object-fit: cover;
  object-fit: cover;
  width: 75px;
  height: 75px;
}
.teaser-item__date {
  font-size: 10px;
}
.teaser-item__title {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.27px;
  font-weight: 500;
}
.teaser-item__title a {
  text-decoration: none;
  color: black;
}
.teaser-item__title a:hover {
  text-decoration: underline;
}

.vertical-menu {
  margin-bottom: 20px;
}
.vertical-menu:not(:first-child) {
  margin-top: 9px;
}
.vertical-menu__items {
  border-top: 1px solid #ffcc00;
  list-style: none;
  margin: 0;
  padding: 9px 0 0;
}
.vertical-menu__items--twocol {
  width: 100%;
  -webkit-columns: 2;
  -moz-columns: 2;
  columns: 2;
}
.vertical-menu__item {
  margin-bottom: 9px;
}
.vertical-menu__link {
  color: black;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 18px;
}
.vertical-menu__link:hover {
  text-decoration: underline;
}
.vertical-menu__link {
  font-size: 14px;
}

.ds-button {
  font-family: National, sans-serif;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  text-transform: uppercase;
  padding: 0 8px;
  font-size: 18px;
  height: 34px;
  text-decoration: none;
}
@media (min-width: 768px) {
  .ds-button {
    padding: 0 38px;
  }
}
.ds-button--header-primary-menu {
  background: #ffcc00;
  color: black;
}
@media (min-width: 768px) {
  .ds-button--header-primary-menu {
    height: 40px;
  }
}
.ds-button--header-secondary-white {
  font-size: 20px;
  font-weight: 400;
  padding: 0 13px;
  background: black;
  border: 1px solid #ffcc00;
  color: white;
  line-height: 22px;
}
.ds-button--header-icon {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  border: 1px solid #ffcc00;
  background: black;
  line-height: 1;
  font-size: 0;
  padding: 0 10px;
}
.ds-button--header-icon--active {
  background: #ffcc00;
  position: relative;
}
.ds-button--header-icon--active:after {
  content: "";
  position: absolute;
  background-image: url("/wp-content/themes/uscarch/template-parts/navigation/media/icon-close.svg");
  background-size: 33%;
  background-position: center;
  background-repeat: no-repeat;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.ds-button--header-icon img {
  width: 20px;
  height: 20px;
}
.ds-button--close {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 22px 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  color: black;
  background: rgba(255, 255, 255, 0.4666666667);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.ds-button--close:hover {
  cursor: pointer;
  background: #fff;
}
.ds-button--back {
  color: black;
  background: none;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}
.ds-button--back:hover {
  cursor: pointer;
}

.subnav-title {
  margin: 0 0 9px;
  text-transform: uppercase;
}
.subnav-title--has-border {
  border-bottom: 1px solid #ffcc00;
  padding-bottom: 9px;
}
.subnav-title a {
  color: black;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 18px;
}
.subnav-title a:hover {
  text-decoration: underline;
}
.subnav-title a {
  font-weight: bold;
}