.yhm-archive {
  font-family: Inter, Arial, sans-serif
}

.yhm-archive-hero {
  display: flex;
  height: 500px;
  align-items: center;
  background: #17191c var(--yhm-archive-image) center/cover no-repeat;
  color: #fff
}

.yhm-archive-hero>.yhm-inner-container {
  position: relative;
  z-index: 1
}

.yhm-archive-hero::before {
  position: absolute;
  inset: 176px 0 auto;
  height: 500px;
  background: linear-gradient(90deg, rgba(16, 19, 23, .8), rgba(16, 19, 23, .38) 55%, transparent 82%);
  content: "";
  pointer-events: none
}

.yhm-archive-hero h1 {
  max-width: 780px;
  margin: 0 0 16px;
  color: #fff;
  font-size: 48px;
  line-height: 1.12
}

.yhm-archive-hero p {
  max-width: 680px;
  margin: 0;
  color: #d5d9db;
  font-size: 18px;
  line-height: 1.5
}

.yhm-archive-hero--split {
  position: relative;
  overflow: hidden;
  background: #17191c
}

.yhm-archive-hero--split::before {
  z-index: 1;
  inset: 0;
  width: 60%;
  height: auto
}

.yhm-archive-hero--split>.yhm-inner-container {
  width: 100%;
  z-index: 2
}

.yhm-archive-hero--split img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  height: 100%;
  object-fit: cover
}

.yhm-archive-hero--split h1 {
  margin-bottom: 18px
}

.yhm-archive-filters {
  padding: 36px 0;
  background: #fff
}

.yhm-archive-filters>.yhm-inner-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.yhm-archive-filters a {
  display: inline-flex;
  min-height: 42px;
  padding: 0 16px;
  align-items: center;
  border: 1px solid #dde0e2;
  border-radius: 4px;
  color: #121212;
  font-size: 14px;
  text-decoration: none
}

.yhm-archive-filters a:hover,
.yhm-archive-filters a.is-active {
  border-color: #dd2425;
  background: #dd2425;
  color: #fff
}

.yhm-archive h2 {
  margin: 0 0 28px;
  font-size: 40px;
  line-height: 1.2
}

.yhm-archive-news-content,
.yhm-case-archive-content,
.yhm-solution-archive-content {
  padding: 80px 0 100px;
  background: #f4f5f6
}

.yhm-archive-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1120px) minmax(280px, 1fr);
  gap: 40px
}

.yhm-archive-news-card {
  display: grid;
  min-height: 310px;
  margin-bottom: 24px;
  grid-template-columns: 46% 54%;
  overflow: hidden;
  background: #fff
}

.yhm-archive-news-card__media {
  display: block;
  min-height: 310px;
  overflow: hidden;
  background: #e5e8eb
}

.yhm-archive-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.yhm-archive-news-card__copy {
  display: flex;
  padding: 28px;
  flex-direction: column;
  align-items: flex-start
}

.yhm-archive-news-card time,
.yhm-archive-news-card__copy>span {
  color: #121212;
  font-size: 12px
}

.yhm-archive-news-card__copy h3 {
  margin: 12px 0;
  font-size: 22px;
  line-height: 1.3
}

.yhm-archive-news-card__copy h3 a {
  color: #121212;
  text-decoration: none
}

.yhm-archive-news-card__copy p {
  color: #121212;
  font-size: 14px;
  line-height: 1.6
}

.yhm-archive-news-card__link,
.yhm-archive-card__link {
  margin-top: auto;
  color: #dd2425;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none
}

.yhm-archive-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px
}

.yhm-archive-sidebar>section {
  padding: 26px 24px;
  background: #fff
}

.yhm-archive-sidebar header {
  display: flex;
  align-items: center;
  gap: 12px
}

.yhm-archive-sidebar header i {
  width: 4px;
  height: 30px;
  background: #dd2425
}

.yhm-archive-sidebar h2 {
  margin: 0;
  font-size: 22px
}

.yhm-archive-sidebar ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none
}

.yhm-archive-sidebar li {
  border-top: 1px solid #eceeef
}

.yhm-archive-sidebar li a {
  display: flex;
  padding: 12px 0;
  justify-content: space-between;
  color: #121212;
  font-size: 13px;
  text-decoration: none
}

.yhm-archive-related-news li a {
  display: block
}

.yhm-archive-related-news small {
  display: block;
  margin-bottom: 5px;
  color: #dd2425;
  font-size: 10px;
  font-weight: 700
}

.yhm-archive-sidebar details {
  border-top: 1px solid #eceeef
}

.yhm-archive-sidebar summary {
  padding: 14px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600
}

.yhm-archive-sidebar details p {
  margin: 0 0 14px;
  color: #121212;
  font-size: 12px;
  line-height: 1.6
}

.yhm-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px
}

.yhm-archive-card {
  min-width: 0;
  overflow: hidden;
  background: #fff
}

.yhm-archive-card__media {
  display: block;
  height: 310px;
  overflow: hidden;
  background: #e8eaec
}

.yhm-archive-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.yhm-archive-card__copy {
  display: flex;
  min-height: 210px;
  padding: 22px 20px;
  flex-direction: column;
  align-items: flex-start
}

.yhm-archive-card__copy h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3
}

.yhm-archive-card__copy h2 a {
  color: #121212;
  text-decoration: none
}

.yhm-archive-card__copy p {
  color: #121212;
  font-size: 14px;
  line-height: 1.55
}

.yhm-archive-card--solution {
  position: relative;
  min-height: 420px;
  background: #17191c
}

.yhm-archive-card--solution .yhm-archive-card__media {
  height: 420px
}

.yhm-archive-card--solution .yhm-archive-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, .68));
  content: ""
}

.yhm-archive-card--solution .yhm-archive-card__copy {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  min-height: 170px;
  padding: 22px;
  background: rgba(255, 255, 255, .93)
}

.yhm-archive-card--solution .yhm-archive-card__copy h2 {
  font-size: 21px
}

.yhm-archive-card--solution .yhm-archive-card__copy p {
  display: none
}

.yhm-archive .navigation.pagination {
  margin-top: 40px
}

.yhm-archive .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.yhm-archive .page-numbers {
  display: grid;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  place-items: center;
  border: 1px solid #d9dde0;
  background: #fff;
  color: #121212;
  text-decoration: none
}

.yhm-archive .page-numbers.current {
  border-color: #dd2425;
  background: #dd2425;
  color: #fff
}

.yhm-service-page .yhm-service-section {
  padding: 80px 0;
  background: #fff
}

.yhm-service-page .yhm-service-section:nth-child(even) {
  background: #f4f5f6
}

.yhm-service-page .yhm-service-section>.yhm-inner-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 64px;
  align-items: center
}

.yhm-service-page .yhm-service-section:nth-child(even)>.yhm-inner-container {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr)
}

.yhm-service-page .yhm-service-section:nth-child(even) .yhm-service-section__copy {
  order: 2
}

.yhm-service-page .yhm-service-section img {
  display: block;
  width: 100%;
  max-height: 500px;
  object-fit: cover
}

.yhm-service-section__copy h2,
.yhm-about-page h2,
.yhm-contact-details h2 {
  margin: 0 0 18px;
  font-size: 40px;
  line-height: 1.2
}

.yhm-service-section__copy>p,
.yhm-service-section__items p {
  color: #121212;
  font-size: 16px;
  line-height: 1.6
}

.yhm-service-section__items {
  display: grid;
  margin-top: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px
}

.yhm-service-section__items article {
  padding: 18px;
  background: #fff;
  border: 1px solid #e2e5e8
}

.yhm-service-section__items h3 {
  margin: 0 0 8px;
  font-size: 17px
}

.yhm-service-section__items p {
  margin: 0;
  font-size: 14px
}

.yhm-service-faqs details {
  border-top: 1px solid #d9dde0
}

.yhm-service-faqs summary {
  padding: 14px 0;
  cursor: pointer;
  font-weight: 600
}

.yhm-service-faqs p {
  color: #121212;
  line-height: 1.6
}

.yhm-service-downloads {
  padding: 0;
  list-style: none
}

.yhm-service-downloads a {
  display: flex;
  padding: 15px 0;
  justify-content: space-between;
  border-bottom: 1px solid #d9dde0;
  color: #121212
}

.yhm-contact-hero {
  display: flex;
  min-height: 500px;
  align-items: center;
  background: #18222b var(--yhm-hero-image) center/cover no-repeat;
  color: #fff
}

.yhm-contact-hero>.yhm-inner-container {
  position: relative;
  z-index: 1
}

.yhm-contact-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 48px
}

.yhm-contact-hero p:not(.yhm-eyebrow) {
  max-width: 700px;
  color: #d6d9db;
  font-size: 18px;
  line-height: 1.5
}

.yhm-contact-content {
  padding: 90px 0;
  background: #f4f5f6
}

.yhm-contact-content__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 70px
}

.yhm-contact-details dl {
  display: grid;
  margin: 30px 0 0;
  gap: 18px
}

.yhm-contact-details dl div {
  padding: 16px 0;
  border-bottom: 1px solid #d9dde0
}

.yhm-contact-details dt {
  margin-bottom: 7px;
  color: #dd2425;
  font-size: 13px;
  font-weight: 700
}

.yhm-contact-details dd {
  margin: 0;
  font-size: 17px
}

.yhm-contact-form {
  padding: 32px;
  background: #fff
}

.yhm-contact-form h2 {
  margin: 0 0 24px;
  font-size: 27px
}

.yhm-contact-form .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px
}

.yhm-contact-form .wpcf7-form p {
  margin: 0
}

.yhm-contact-form .wpcf7-form p:first-child,
.yhm-contact-form .wpcf7-form p:last-child {
  grid-column: 1/-1
}

.yhm-contact-form label {
  font-size: 13px;
  font-weight: 600
}

.yhm-contact-form input:not([type=submit]),
.yhm-contact-form textarea {
  display: block;
  width: 100%;
  height: 46px;
  margin-top: 6px;
  padding: 0 12px;
  border: 1px solid #d4d9dd;
  background: #fff;
  font: inherit
}

.yhm-contact-form textarea {
  height: 110px;
  padding-top: 12px
}

.yhm-contact-form input[type=submit] {
  width: 100%;
  height: 46px;
  border: 0;
  background: #dd2425;
  color: #fff;
  font-weight: 700
}

.yhm-contact-map {
  position: relative;
  height: 560px;
  background: #e5e8eb
}

.yhm-contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0
}

.yhm-contact-map__card {
  position: absolute;
  top: 64px;
  right: max(24px, calc((100vw - 1600px)/2));
  width: min(560px, calc(100% - 48px));
  padding: 26px 30px;
  background: #fff
}

.yhm-contact-map__card h2 {
  margin: 8px 0;
  font-size: 24px
}

.yhm-about-profile,
.yhm-about-timeline {
  padding: 96px 0
}

.yhm-about-profile>.yhm-inner-container {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center
}

.yhm-about-profile__copy h2 {
  margin: 0 0 22px
}

.yhm-about-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px
}

.yhm-about-gallery img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover
}

.yhm-about-gallery img:first-child {
  grid-column: 1/-1;
  height: 360px
}

.yhm-about-timeline {
  background: #f4f5f6
}

.yhm-about-timeline h2 {
  margin: 0 0 14px
}

.yhm-about-timeline__intro {
  max-width: 760px;
  color: #121212
}

.yhm-about-timeline__items {
  display: grid;
  margin-top: 40px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px
}

.yhm-about-timeline__items article {
  min-width: 0;
  background: #fff
}

.yhm-about-timeline__items img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover
}

.yhm-about-timeline__items small,
.yhm-about-timeline__items h3,
.yhm-about-timeline__items p {
  display: block;
  margin-right: 18px;
  margin-left: 18px
}

.yhm-about-timeline__items small {
  margin-top: 18px;
  color: #dd2425;
  font-weight: 700
}

.yhm-about-timeline__items h3 {
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 18px
}

.yhm-about-timeline__items p {
  margin-bottom: 20px;
  color: #121212;
  font-size: 13px;
  line-height: 1.55
}

.yhm-about-certificates {
  display: flex;
  min-height: 600px;
  align-items: center;
  background: #17191c var(--yhm-certificate-image) center/cover no-repeat;
  color: #fff
}

.yhm-about-certificates h2 {
  max-width: 500px;
  color: #fff;
  font-size: 42px
}

.yhm-about-certificates p {
  max-width: 560px;
  color: #fff;
  font-size: 18px;
  line-height: 1.6
}

@media(max-width:1100px) {
  .yhm-archive-news-layout {
    grid-template-columns: 1fr
  }

  .yhm-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .yhm-service-page .yhm-service-section>.yhm-inner-container,
  .yhm-service-page .yhm-service-section:nth-child(even)>.yhm-inner-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px
  }

  .yhm-about-timeline__items {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

.yhm-contact-hero img {
  position: absolute;
  top: 50%;
  right: max(40px, calc((100vw - 1600px)/2));
  width: min(44%, 700px);
  max-height: 360px;
  transform: translateY(-50%);
  object-fit: cover;
  border-radius: 8px
}

.yhm-contact-hero .yhm-inner-container {
  width: min(1600px, calc(100% - 80px));
  margin: 0 auto
}

@media(max-width:700px) {
  .yhm-contact-hero {
    padding: 32px 0 210px
  }

  .yhm-contact-hero img {
    top: auto;
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
    height: 170px;
    max-height: none;
    transform: none
  }
}

@media(max-width:700px) {

  .yhm-archive-hero,
  .yhm-archive-hero--split {
    height: 360px;
    min-height: 360px
  }

  .yhm-archive-hero h1,
  .yhm-contact-hero h1 {
    font-size: 34px
  }

  .yhm-archive-hero p,
  .yhm-contact-hero p:not(.yhm-eyebrow) {
    font-size: 15px
  }

  .yhm-archive-hero--split img {
    width: 100%;
    opacity: .5
  }

  .yhm-archive-hero--split::before {
    width: 100%
  }

  .yhm-archive h2 {
    font-size: 30px
  }

  .yhm-archive-filters {
    padding: 22px 0
  }

  .yhm-archive-filters>.yhm-inner-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px
  }

  .yhm-archive-filters a {
    white-space: nowrap
  }

  .yhm-archive-news-content,
  .yhm-case-archive-content,
  .yhm-solution-archive-content {
    padding: 52px 0
  }

  .yhm-archive-news-card {
    grid-template-columns: 1fr
  }

  .yhm-archive-news-card__media {
    min-height: 220px;
    height: 220px
  }

  .yhm-archive-news-card__copy {
    padding: 22px
  }

  .yhm-archive-grid {
    grid-template-columns: 1fr
  }

  .yhm-archive-card__media {
    height: 260px
  }

  .yhm-service-page .yhm-service-section {
    padding: 52px 0
  }

  .yhm-service-page .yhm-service-section>.yhm-inner-container,
  .yhm-service-page .yhm-service-section:nth-child(even)>.yhm-inner-container {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .yhm-service-page .yhm-service-section:nth-child(even) .yhm-service-section__copy {
    order: 0
  }

  .yhm-service-section__copy h2,
  .yhm-about-page h2,
  .yhm-contact-details h2 {
    font-size: 30px
  }

  .yhm-service-section__items {
    grid-template-columns: 1fr
  }

  .yhm-contact-content {
    padding: 52px 0
  }

  .yhm-contact-content__grid {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .yhm-contact-form {
    padding: 22px 18px
  }

  .yhm-contact-form .wpcf7-form {
    grid-template-columns: 1fr
  }

  .yhm-contact-form .wpcf7-form p {
    grid-column: 1/-1
  }

  .yhm-contact-map {
    height: 420px
  }

  .yhm-contact-map__card {
    top: 16px;
    right: 16px;
    width: calc(100% - 32px);
    padding: 18px
  }

  .yhm-about-profile,
  .yhm-about-timeline {
    padding: 54px 0
  }

  .yhm-about-profile>.yhm-inner-container {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .yhm-about-gallery img {
    height: 145px
  }

  .yhm-about-gallery img:first-child {
    height: 230px
  }

  .yhm-about-timeline__items {
    grid-template-columns: 1fr
  }

  .yhm-about-certificates {
    min-height: 420px
  }

  .yhm-about-certificates h2 {
    font-size: 32px
  }
}

.yhm-case-archive .yhm-archive-hero--split {
  position: relative;
  isolation: isolate
}

.yhm-case-archive .yhm-archive-hero--split:before {
  inset: 0 auto 0 0;
  width: 58%;
  background: linear-gradient(90deg, #17191c 62%, rgba(23, 25, 28, .88) 78%, transparent)
}

.yhm-case-archive .yhm-archive-hero--split>.yhm-inner-container {
  width: min(1600px, calc(100% - 80px));
  margin: 0 auto
}

.yhm-case-archive .yhm-archive-hero--split>.yhm-inner-container>div {
  width: 640px
}

.yhm-case-archive .yhm-archive-hero--split p {
  color: #fff
}

.yhm-case-archive .yhm-archive-hero--split img {
  z-index: -1;
  width: 58%
}

.yhm-case-archive-content {
  padding: 100px 0 !important;
  background: #fff !important
}

.yhm-case-archive-content>.yhm-inner-container {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px
}

.yhm-case-filters {
  align-self: stretch;
  overflow: hidden;
  border-radius: 8px;
  background: #f4f5f6
}

.yhm-case-filters>header {
  display: flex;
  height: 76px;
  padding: 0 22px;
  align-items: center;
  justify-content: space-between;
  background: #17191c
}

.yhm-case-filters>header h2 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.2
}

.yhm-case-filters>header>a {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none
}

.yhm-case-filter-group {
  display: flex;
  padding: 22px;
  flex-direction: column;
  gap: 14px;
  border-bottom: 1px solid #dde0e2
}

.yhm-case-filter-group h3 {
  margin: 0;
  color: #121212;
  font-size: 15px
}

.yhm-case-filter-group>a {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: #121212;
  font-size: 13px;
  text-decoration: none
}

.yhm-case-filter-group>a>span {
  position: relative;
  width: 17px;
  height: 17px;
  flex: none;
  border: 1px solid #bfc4c7;
  border-radius: 3px;
  background: #fff
}

.yhm-case-filter-group>a.is-selected>span {
  border-color: #dd2425;
  background: #dd2425
}

.yhm-case-filter-group>a.is-selected>span:after {
  position: absolute;
  top: 1px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg)
}

.yhm-case-filter-group>a small {
  margin-left: auto;
  color: #121212
}

.yhm-case-results {
  min-width: 0
}

.yhm-case-archive+.yhm-inner-contact {
  font-family: Inter, system-ui, sans-serif
}

.yhm-case-results>h2 {
  margin: 0 0 24px;
  font-size: 40px
}

.yhm-case-results .yhm-archive-grid--cases {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px
}

.yhm-case-archive .yhm-archive-card--case {
  height: auto;
  min-height: 0;
  border: 1px solid #dde0e2;
  border-radius: 8px;
  background: #f4f5f6
}

.yhm-case-archive .yhm-archive-card--case .yhm-archive-card__media {
  height: 310px;
  flex: none
}

.yhm-case-archive .yhm-archive-card--case .yhm-archive-card__copy {
  min-height: 0;
  padding: 22px 20px;
  gap: 14px
}

.yhm-case-archive .yhm-archive-card--case .yhm-archive-card__copy h2 {
  margin: 0;
  font-size: 20px;
  line-height: 24px
}

.yhm-case-archive .yhm-archive-card--case .yhm-archive-card__copy p {
  margin: 0;
  font-size: 14px;
  line-height: 20px
}

.yhm-case-archive .yhm-archive-card__link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px
}

.yhm-case-archive .navigation.pagination {
  grid-column: 1/-1;
  margin-top: 4px
}

.yhm-case-archive .yhm-related--cases .yhm-related-card__media {
  height: 400px
}

@media(max-width:1100px) {
  .yhm-case-archive-content>.yhm-inner-container {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 20px
  }

  .yhm-case-results .yhm-archive-grid--cases {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .yhm-case-archive .yhm-archive-card--case .yhm-archive-card__media {
    height: 280px
  }
}

@media(max-width:700px) {
  .yhm-case-archive .yhm-archive-hero--split>.yhm-inner-container {
    width: calc(100% - 32px)
  }

  .yhm-case-archive .yhm-archive-hero--split>.yhm-inner-container>div {
    width: 100%
  }

  .yhm-case-archive .yhm-archive-hero--split img {
    width: 100%;
    opacity: .42
  }

  .yhm-case-archive-content {
    padding: 52px 0 !important
  }

  .yhm-case-archive-content>.yhm-inner-container {
    grid-template-columns: 1fr
  }

  .yhm-case-filters>header {
    height: 60px
  }

  .yhm-case-filter-group {
    padding: 16px 20px
  }

  .yhm-case-results>h2 {
    font-size: 30px
  }

  .yhm-case-results .yhm-archive-grid--cases {
    grid-template-columns: 1fr
  }

  .yhm-case-archive .yhm-archive-card--case .yhm-archive-card__media {
    height: 260px
  }

  .yhm-case-archive .yhm-related--cases .yhm-related-card__media {
    height: 280px
  }
}

/* News archive matches the editorial desktop layout. */
.yhm-news-archive .yhm-archive-hero {
  position: relative
}

.yhm-news-archive .yhm-archive-hero::before {
  inset: 0;
  height: 100%
}

.yhm-news-archive .yhm-archive-filters a {
  border: 0;
  border-radius: 8px;
  background: #f4f5f6
}

.yhm-news-archive .yhm-archive-filters a:hover,
.yhm-news-archive .yhm-archive-filters a.is-active {
  border: 0;
  background: #dd2425
}

.yhm-news-archive .yhm-archive-news-content {
  padding: 50px 0 100px
}

.yhm-news-archive .yhm-archive-news-card {
  height: auto;
  min-height: 360px;
  border-radius: 8px;
  grid-template-columns: 460px minmax(0, 1fr)
}

.yhm-news-archive .yhm-archive-news-card__media {
  position: relative;
  height: auto;
  min-height: 0
}

.yhm-news-archive .yhm-archive-news-card__media img {
  position: absolute;
  inset: 0
}

.yhm-news-archive .yhm-archive-news-card__copy {
  justify-content: center;
  gap: 15px;
  padding: 34px 36px
}

.yhm-news-archive .yhm-archive-news-card__meta {
  display: flex;
  align-items: center;
  gap: 14px
}

.yhm-news-archive .yhm-archive-news-card time,
.yhm-news-archive .yhm-archive-news-card__copy>span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase
}

.yhm-news-archive .yhm-archive-news-card time {
  color: #dd2425
}

.yhm-news-archive .yhm-archive-news-card__meta span {
  color: #121212
}

.yhm-news-archive .yhm-archive-news-card__copy h3 {
  margin: 0;
  font-size: 25px;
  line-height: 30px
}

.yhm-news-archive .yhm-archive-news-card__copy p {
  margin: 0;
  color: #121212;
  font-size: 15px;
  line-height: 23px
}

.yhm-news-archive .yhm-archive-news-card__link {
  display: flex;
  width: 141px;
  height: 43px;
  margin-top: 0;
  padding: 4px 4px 4px 18px;
  align-items: center;
  justify-content: space-between;
  border-radius: 22px;
  background: #dd2425;
  color: #fff;
  font-size: 14px;
  font-weight: 400
}

.yhm-news-archive .yhm-archive-news-card__link span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #dd2425;
  font-size: 17px;
  line-height: 1
}

.yhm-news-archive .yhm-archive-sidebar>section {
  border-radius: 8px
}

.yhm-news-archive .yhm-archive-sidebar h2 {
  font-size: 24px
}

.yhm-news-archive .yhm-archive-sidebar header i {
  border-radius: 2px
}

.yhm-news-archive .yhm-archive-related-news li a {
  display: flex;
  gap: 14px;
  padding: 0 0 18px;
  align-items: flex-start
}

.yhm-news-archive .yhm-archive-related-news li:last-child a {
  padding-bottom: 0
}

.yhm-news-archive .yhm-archive-related-news img {
  width: 126px;
  height: 96px;
  flex: none;
  border-radius: 8px;
  object-fit: cover
}

.yhm-news-archive .yhm-archive-related-news li a>span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  color: #121212;
  font-size: 14px;
  font-weight: 700;
  line-height: 19px
}

.yhm-news-archive .yhm-archive-related-news small {
  margin: 0;
  color: #dd2425;
  font-size: 11px;
  line-height: 1.2
}

.yhm-news-archive .navigation.pagination {
  margin-top: 0
}

.yhm-news-archive .nav-links {
  gap: 8px
}

.yhm-news-archive .page-numbers {
  width: 42px;
  min-width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px
}

.yhm-news-archive .page-numbers.current {
  border: 0;
  background: #dd2425
}

@media(max-width:1100px) {
  .yhm-news-archive .yhm-archive-news-card {
    grid-template-columns: 42% minmax(0, 1fr)
  }
}

@media(max-width:700px) {
  .yhm-news-archive .yhm-archive-news-content {
    padding: 52px 0
  }

  .yhm-news-archive .yhm-archive-news-card {
    height: auto;
    grid-template-columns: 1fr
  }

  .yhm-news-archive .yhm-archive-news-card__media {
    height: 220px
  }

  .yhm-news-archive .yhm-archive-news-card__copy {
    padding: 22px
  }

  .yhm-news-archive .yhm-archive-related-news img {
    width: 96px;
    height: 76px
  }
}

.yhm-contact-page .yhm-contact-content {
  background: #fff
}

.yhm-contact-page .yhm-contact-form {
  background: #f4f5f6
}

.yhm-contact-page .yhm-contact-form .wpcf7-form {
  display: block
}

.yhm-contact-page .yhm-contact-form__fields {
  display: grid;
  gap: 16px
}

.yhm-contact-page .yhm-contact-form .wpcf7-form p {
  margin: 0;
  grid-column: auto
}

.yhm-contact-page .yhm-contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px
}

.yhm-contact-page .yhm-contact-form__field label {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2
}

.yhm-contact-page .yhm-contact-form__field em {
  color: #ed2428;
  font-style: normal
}

.yhm-contact-page .yhm-contact-form__row input:not([type=submit]) {
  margin-top: 6px
}

.yhm-contact-page .yhm-contact-form input:not([type=submit]) {
  height: 43px
}

.yhm-contact-page .yhm-contact-form textarea {
  height: 82px
}

.yhm-contact-page .yhm-contact-form input[type=submit] {
  height: 40px
}

@media(max-width:700px) {
  .yhm-contact-page .yhm-contact-form__row {
    grid-template-columns: 1fr
  }
}

.yhm-case-archive {
  padding-top: 111px
}

.yhm-case-archive .yhm-archive-hero--split::before {
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(16, 19, 23, .18), rgba(16, 19, 23, .06) 45%, transparent 78%)
}

.yhm-case-archive .yhm-archive-hero--split img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill
}

@media(max-width:900px) {
  .yhm-case-archive {
    padding-top: 110px
  }
}

@media(max-width:700px) {
  .yhm-case-archive {
    padding-top: 70px
  }
}

.yhm-news-archive {
  padding-top: 110px
}

.admin-bar .yhm-news-archive {
  padding-top: 142px
}

.yhm-news-archive .yhm-archive-hero {
  height: 500px;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat
}

@media(max-width:700px) {
  .yhm-news-archive {
    padding-top: 70px
  }

  .admin-bar .yhm-news-archive {
    padding-top: 116px
  }

  .yhm-news-archive .yhm-archive-hero {
    height: 360px;
    background-size: cover
  }
}

/* Keep the Contact hero aligned with the other 500px inner-page banners. */
.yhm-contact-page {
  padding-top: 111px
}

.yhm-contact-page .yhm-contact-hero {
  position: relative;
  overflow: hidden;
  height: 500px;
  min-height: 0
}

.yhm-contact-page .yhm-contact-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .68), rgba(0, 0, 0, .28) 48%, rgba(0, 0, 0, .06));
  content: ""
}

.yhm-contact-page .yhm-contact-hero>.yhm-inner-container {
  position: relative;
  z-index: 1
}

.yhm-contact-page .yhm-contact-hero p {
  color: #fff
}

@media(max-width:900px) {
  .yhm-contact-page {
    padding-top: 110px
  }
}

@media(max-width:700px) {
  .yhm-contact-page {
    padding-top: 70px
  }

  .yhm-contact-page .yhm-contact-hero {
    height: 360px
  }
}

@media (max-width: 1024px) {
  .yhm-contact-page .yhm-contact-hero {
    padding-block: 40px;
  }

  .yhm-case-archive-content>.yhm-inner-container {
    grid-template-columns: minmax(0, 1fr);
  }

  .yhm-case-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yhm-case-filters>header {
    grid-column: 1 / -1;
  }

  .yhm-case-results .yhm-archive-grid--cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yhm-archive-news-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .yhm-news-archive .yhm-archive-news-card {
    height: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .yhm-news-archive .yhm-archive-news-card__media {
    height: 280px;
    min-height: 0;
  }

  .yhm-contact-content__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .yhm-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {

  .yhm-case-filters,
  .yhm-case-results .yhm-archive-grid--cases,
  .yhm-archive-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .yhm-news-archive .yhm-archive-news-card__media {
    height: 220px;
  }
}
.yhm-archive-card--case .yhm-archive-card__copy > p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

.yhm-case-archive .yhm-archive-card--case { display: flex; flex-direction: column; }
.yhm-case-archive .yhm-archive-card--case .yhm-archive-card__copy { flex: 1; }
.yhm-case-archive .yhm-archive-card__link { margin-top: auto; }
@media (min-width:768px) and (max-width:1024px) {
  body .yhm-case-archive .yhm-archive-card--case .yhm-archive-card__copy h2 { font-size: 20px !important; }
}

@media (min-width: 1025px) and (max-width: 1439px) {
  .yhm-case-archive .yhm-archive-card--case .yhm-archive-card__media { height: 280px; }
}

@media (min-width: 1025px) {
  .yhm-news-archive .yhm-archive-news-card { min-height: 300px; }
  .yhm-news-archive .yhm-archive-news-card__media { height: 300px; }
  .yhm-news-archive .yhm-archive-news-card__copy h3 { font-size: 20px; }
}

/* Match the product catalog pagination. */
.yhm-case-archive .navigation.pagination { margin-top: 0; }
.yhm-case-archive .pagination .nav-links { display: flex; min-height: 70px; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; }
.yhm-case-archive .pagination .page-numbers { display: grid; min-width: 42px; height: 42px; padding: 0 8px; box-sizing: border-box; border: 0; border-radius: 8px; background: #f4f5f6; color: #121212; font-weight: 700; }
.yhm-case-archive .pagination .page-numbers.current { background: #dd2425; color: #fff; }
.yhm-case-archive .pagination a.page-numbers:hover { background: #dd2425; color: #fff; }
.yhm-case-archive .pagination a.page-numbers:focus-visible { outline: 2px solid #dd2425; outline-offset: 3px; }
@media (max-width: 767px) {
  body .yhm-case-archive .yhm-archive-card--case .yhm-archive-card__copy h2 { font-size: 20px !important; }
}
