/*
 * YOLO reference homepage.
 *
 * Section proportions follow the supplied root-page reference,
 * while all copy, images, links, posts and brand records remain editable in
 * WordPress. Rules are scoped to the real front page and cannot affect the
 * Metal Cutting or XEBEC page templates.
 */

.wan-reference-home,
.wan-reference-home .wan-yolo-page-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: clip;
}

.wan-reference-home .wan-yolo-page-content > * {
  width: 100%;
  max-width: none;
  margin-block: 0;
}

.wan-reference-home .wan-home-kicker {
  margin: 0 0 10px;
  color: #10b0e6;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 18px;
  text-transform: uppercase;
}

/* Static, editor-managed slides with a small fade controller. */
.wan-reference-home .wan-home-slider {
  height: 720px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f5f6f7;
}

.wan-reference-home .wan-home-slide.wp-block-cover {
  min-height: 720px !important;
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  padding: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.wan-reference-home .wan-home-slide.is-active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.wan-reference-home .wan-home-slide .wp-block-cover__image-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wan-reference-home .wan-home-slide .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .56) 28%, rgba(255, 255, 255, .08) 50%, rgba(255, 255, 255, 0) 62%) !important;
  opacity: 1 !important;
}

.wan-reference-home .wan-home-slide--metal .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .62) 26%, rgba(255, 255, 255, .08) 48%, rgba(255, 255, 255, 0) 60%) !important;
}

.wan-reference-home .wan-home-slide--dark .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(11, 26, 72, .91) 0%, rgba(11, 26, 72, .73) 42%, rgba(11, 26, 72, .08) 78%, transparent 100%) !important;
}

.wan-reference-home .wan-home-slide .wp-block-cover__inner-container {
  width: min(calc(100% - 40px), 1220px) !important;
  max-width: 1220px !important;
  margin-inline: auto !important;
}

.wan-reference-home .wan-home-slide__copy {
  width: min(520px, 45vw) !important;
  max-width: 520px !important;
  margin: 0;
  padding: 0 0 20px;
}

.wan-reference-home .wan-home-slide__copy > * {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.wan-reference-home .wan-home-slide__mobile-background {
  display: none !important;
}

.wan-reference-home .wan-home-slide__copy h1,
.wan-reference-home .wan-home-slide__copy h2 {
  margin: 0 0 18px;
  color: #0b1a48;
  font-size: clamp(40px, 3.45vw, 50px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.02;
}

.wan-reference-home .wan-home-slide__copy > p:not(.wan-home-kicker) {
  max-width: 570px;
  margin: 0 0 28px;
  color: #4e5b62;
  font-size: 16px;
  line-height: 27px;
}

.wan-reference-home .wan-home-slide--dark .wan-home-slide__copy h2,
.wan-reference-home .wan-home-slide--dark .wan-home-slide__copy > p:not(.wan-home-kicker) {
  color: #fff;
}

.wan-reference-home .wan-home-slide--dark .wan-home-kicker {
  color: #7bdfff;
}

.wan-reference-home .wan-home-slide .wp-block-buttons {
  gap: 12px;
}

.wan-reference-home .wan-home-slide .wp-block-button__link {
  min-width: 195px;
  min-height: 55px;
  display: inline-grid;
  place-items: center;
  padding: 15px 24px;
  color: #fff !important;
  background: #f27421 !important;
  border: 2px solid #f27421 !important;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
}

.wan-reference-home .wan-home-slide--light .wp-block-button.is-style-outline .wp-block-button__link {
  color: #0b1a48 !important;
  border-color: #0b1a48 !important;
}

.wan-reference-home .wan-home-slider__controls {
  width: min(calc(100% - 40px), 1220px);
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 26px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-inline: auto;
  pointer-events: none;
}

.wan-reference-home .wan-home-slider__controls button {
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: rgba(11, 26, 72, .58);
  border: 0;
  cursor: pointer;
  pointer-events: auto;
}

.wan-reference-home .wan-home-slider__arrow {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-size: 27px;
  line-height: 1;
}

.wan-reference-home .wan-home-slider__dots {
  display: none;
  align-items: center;
  gap: 8px;
}

.wan-reference-home .wan-home-slider__dots button {
  width: 9px;
  height: 9px;
  background: rgba(11, 26, 72, .35);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
}

.wan-reference-home .wan-home-slider__dots button.is-active {
  width: 24px;
  background: #10b0e6;
  border-color: #10b0e6;
  border-radius: 9px;
}

/* About: measured 617px desktop, 647px mobile. */
.wan-reference-home .wan-home-about.wp-block-cover {
  min-height: 617px !important;
  margin: 0;
  padding: 0;
  color: #5c676d;
  background: #f7f7f7;
}

.wan-reference-home .wan-home-about .wp-block-cover__background {
  background: rgba(255, 255, 255, .03) !important;
  opacity: 1 !important;
}

.wan-reference-home .wan-home-about .wp-block-cover__inner-container {
  width: min(calc(100% - 40px), 1220px) !important;
  max-width: 1220px !important;
  display: flex;
  justify-content: flex-end;
  margin-inline: auto !important;
}

.wan-reference-home .wan-home-about__copy {
  width: 520px;
  max-width: 520px !important;
  margin: 0 78px 6px 0;
}

.wan-reference-home .wan-home-about__copy > * {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.wan-reference-home .wan-home-about__copy h2 {
  margin: 0 0 20px;
  color: #10b0e6;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.wan-reference-home .wan-home-about__copy h2 span {
  color: #f36e21;
}

.wan-reference-home .wan-home-about__copy > p:not(.wan-home-kicker) {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 25px;
}

/* Three cards overlap the About image exactly like the reference. */
.wan-reference-home .wan-home-promos {
  position: relative;
  z-index: 3;
  margin-top: -50px !important;
  padding: 0 0 190px;
}

.wan-reference-home .wan-home-promos__grid {
  width: min(calc(100% - 40px), 1220px);
  align-items: stretch;
  gap: 20px;
  margin: 0 auto;
}

.wan-reference-home .wan-home-promos__grid > .wp-block-column {
  margin: 0;
}

.wan-reference-home .wan-home-promo.wp-block-cover {
  min-height: 260px !important;
  height: 260px;
  padding: 24px;
  overflow: hidden;
  border-radius: 17px;
  box-shadow: 0 12px 34px rgba(11, 26, 72, .13);
}

.wan-reference-home .wan-linked-card {
  cursor: pointer;
}

.wan-reference-home .wan-home-promo .wp-block-button__link::after {
  position: absolute;
  z-index: 4;
  inset: 0;
  content: "";
}

.wan-reference-home .wan-home-promo .wp-block-cover__background {
  background: linear-gradient(180deg, transparent 10%, rgba(11, 26, 72, .76) 100%) !important;
  opacity: 1 !important;
}

.wan-reference-home .wan-home-promo .wp-block-cover__inner-container {
  color: #fff;
}

.wan-reference-home .wan-home-promo__label {
  width: fit-content;
  margin: 0 0 8px;
  padding: 3px 7px;
  color: #fff;
  background: #ed1c24;
  font-size: 9px;
  font-weight: 600;
  line-height: 13px;
}

.wan-reference-home .wan-home-promo h3 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.13;
}

.wan-reference-home .wan-home-promo p:not(.wan-home-promo__label) {
  margin: 0 0 13px;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  line-height: 17px;
}

.wan-reference-home .wan-home-promo .wp-block-button__link {
  min-height: 32px;
  padding: 8px 15px;
  border-radius: 7px;
  font-size: 10px;
  line-height: 12px;
}

/* Product & Services header and full-height cards. */
.wan-reference-home .wan-home-services {
  padding: 0 0 80px;
  background: #f6f6f6;
}

.wan-reference-home .wan-home-section-heading {
  width: min(calc(100% - 40px), 1220px);
  height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0 auto;
  padding: 0 0 18px;
}

.wan-reference-home .wan-home-section-heading > * {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (min-width: 1200px) {
  .wan-reference-home .wan-home-promos__grid {
    width: 1200px;
    display: grid;
    grid-template-columns: 386.6667px 386.6667px 285px;
    gap: 20px;
  }
}

.wan-reference-home .wan-home-services .wan-home-section-heading h2,
.wan-reference-home .wan-home-services .wan-home-section-heading h3 {
  margin: 0;
  color: #0b1a48;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.wan-reference-home .wan-home-services .wan-home-section-heading h2 {
  color: #10b0e6;
  font-size: 30px;
}

.wan-reference-home .wan-home-services .wan-home-section-heading h3 {
  font-size: 26px;
}

.wan-reference-home .wan-home-service-grid {
  width: 100%;
  align-items: stretch;
  gap: 20px;
  margin: 0;
  padding-inline: 20px;
}

.wan-reference-home .wan-home-service-grid > .wp-block-column {
  margin: 0;
}

.wan-reference-home .wan-home-service.wp-block-cover {
  min-height: 600px !important;
  height: 600px;
  margin: 0;
  padding: 44px;
  overflow: hidden;
  border-radius: 30px;
}

.wan-reference-home .wan-home-service .wp-block-cover__background {
  background: linear-gradient(180deg, rgba(11, 26, 72, .03) 25%, rgba(11, 26, 72, .9) 100%) !important;
  opacity: 1 !important;
}

.wan-reference-home .wan-home-service .wp-block-cover__inner-container,
.wan-reference-home .wan-home-service h3,
.wan-reference-home .wan-home-service a {
  color: #fff;
}

.wan-reference-home .wan-home-service .wp-block-cover__inner-container > p:first-child {
  margin: 0 0 6px;
  color: #10b0e6;
  font-size: 13px;
  font-weight: 600;
}

.wan-reference-home .wan-home-service h3 {
  margin: 0 0 14px;
  font-size: 29px;
  font-weight: 500;
  line-height: 1.1;
}

.wan-reference-home .wan-home-service p {
  margin: 0 0 15px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  line-height: 21px;
}

.wan-reference-home .wan-home-service h3 + p {
  display: none;
}

.wan-reference-home .wan-home-service p:last-child a {
  color: #10b0e6;
  font-size: 13px;
  text-decoration: none;
}

.wan-reference-home .wan-home-service p:last-child a::after {
  position: absolute;
  z-index: 4;
  inset: 0;
  content: "";
}

@media (min-width: 1440px) {
  .wan-reference-home .wan-home-service-grid {
    width: 1440px;
    max-width: 100%;
    display: grid;
    grid-template-columns: 435px 450px 450px;
    justify-content: start;
    gap: 30px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 0;
  }
}

.wan-reference-home .wan-home-service p:last-child {
  margin-bottom: 0;
  font-weight: 600;
}

/* Technology Sharing: posts stay editable through standard Posts. */
.wan-reference-home .wan-home-technology {
  height: 1160px;
  min-height: 1160px;
  box-sizing: border-box;
  padding: 234px 0 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(16, 176, 230, .08), transparent 28%),
    linear-gradient(155deg, #fff 0%, #f7fafc 52%, #eef4f7 100%);
}

.wan-reference-home .wan-home-technology > * {
  width: min(calc(100% - 40px), 1220px);
  margin-inline: auto;
}

.wan-reference-home .wan-home-technology .wan-home-section-heading {
  height: auto;
  margin-bottom: 40px;
  padding: 0;
}

.wan-reference-home .wan-home-technology .wan-home-section-heading h2,
.wan-reference-home .wan-home-events h2,
.wan-reference-home .wan-home-brands h2 {
  margin: 0;
  color: #454545;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 36px;
}

.wan-reference-home .wan-home-technology .wan-home-section-heading h2 span,
.wan-reference-home .wan-home-events h2 span,
.wan-reference-home .wan-home-brands h2 span {
  color: #10b0e6;
}

.wan-yolo-home-posts,
.wan-yolo-home-events,
.wan-yolo-home-brands {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wan-reference-home .wan-yolo-home-posts {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 12px;
}

.wan-reference-home .wan-yolo-home-post__item {
  min-width: 0;
  height: auto;
  aspect-ratio: 16 / 9;
  align-self: start;
}

.wan-reference-home .wan-yolo-home-post__item:first-child {
  grid-row: 1 / 3;
}

.wan-reference-home .wan-yolo-home-post__card {
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #0b1a48;
  border-radius: 2px;
}

.wan-reference-home .wan-yolo-home-post__image,
.wan-reference-home .wan-yolo-home-post__image img {
  width: 100%;
  height: 100%;
  display: block;
}

.wan-reference-home .wan-yolo-home-post__image img {
  object-fit: cover;
}

.wan-reference-home .wan-yolo-home-post__card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 26, 72, .02) 20%, rgba(11, 26, 72, .92) 100%);
  content: "";
  pointer-events: none;
}

.wan-reference-home .wan-yolo-home-post__body {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px;
}

.wan-reference-home .wan-yolo-home-post__date {
  color: #10b0e6;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
}

.wan-reference-home .wan-yolo-home-post__title {
  margin: 8px 0 0;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.wan-reference-home .wan-yolo-home-post__item:not(:first-child) .wan-yolo-home-post__title {
  font-size: 17px;
}

.wan-reference-home .wan-yolo-home-post__summary {
  display: none;
}

.wan-reference-home .wan-yolo-home-post__more {
  display: inline-flex;
  margin-top: 15px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.wan-reference-home .wan-yolo-home-post__more::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  content: "";
}

.wan-reference-home .wan-home-centered-action {
  justify-content: center;
  margin-top: 28px;
}

.wan-reference-home .wan-home-centered-action .wp-block-button__link {
  min-width: 133px;
  min-height: 47px;
  padding: 13px 22px;
  background: #f27421;
  border-radius: 10px;
  font-size: 13px;
  line-height: 21px;
}

/* Reference-shaped event image panels with editor-managed fallbacks. */
.wan-reference-home .wan-home-events {
  height: 1000px;
  min-height: 1000px;
  box-sizing: border-box;
  padding: 269px 0 0;
  background:
    radial-gradient(circle at 15% 82%, rgba(242, 116, 33, .07), transparent 25%),
    linear-gradient(145deg, #f8f8f8 0%, #fff 48%, #f0f4f6 100%);
}

.wan-reference-home .wan-home-events__grid {
  width: min(calc(100% - 100px), 1340px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 620px));
  align-items: flex-start;
  gap: 100px;
  margin: 0 auto;
}

.wan-reference-home .wan-home-event-panel {
  margin: 0;
}

.wan-reference-home .wan-home-event-panel h2 {
  margin-bottom: 55px;
  font-size: 32px;
  line-height: 36px;
  text-align: center;
}

.wan-reference-home .wan-home-event-media {
  position: relative;
}

.wan-reference-home .wan-home-event-slides {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #e5e5e5;
}

.wan-reference-home .wan-home-event-media figure {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.wan-reference-home .wan-home-event-media figure.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.wan-reference-home .wan-home-event-media__link,
.wan-reference-home .wan-home-event-media figure img,
.wan-reference-home .wan-home-event-media__empty {
  width: 100%;
  height: 100%;
  display: block;
}

.wan-reference-home .wan-home-event-media figure img {
  object-fit: cover;
}

.wan-reference-home .wan-home-event-arrow {
  width: 35px;
  height: 80px;
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #10b0e6;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
  border: 0;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color .18s ease;
}

.wan-reference-home .wan-home-event-arrow:hover,
.wan-reference-home .wan-home-event-arrow:focus-visible {
  background: #0879a9;
}

.wan-reference-home .wan-home-event-arrow--previous {
  left: 0;
}

.wan-reference-home .wan-home-event-arrow--next {
  right: 0;
}

.wan-reference-home .wan-home-events__action {
  width: min(calc(100% - 100px), 1340px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 620px));
  gap: 100px;
  margin: 40px auto 0;
}

.wan-reference-home .wan-home-events__action a {
  min-width: 127px;
  min-height: 47px;
  grid-column: 2;
  display: inline-grid;
  place-items: center;
  justify-self: center;
  padding: 12px 20px;
  color: #fff;
  background: #f27421;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 23px;
  text-decoration: none;
}

/* Twenty-two editable brand records in the reference 6 x 4 grid. */
.wan-reference-home .wan-home-brands {
  height: 666px;
  min-height: 666px;
  box-sizing: border-box;
  padding: 95px 0 0;
  background: #fff;
}

.wan-reference-home .wan-home-brands > h2 {
  width: min(calc(100% - 100px), 1340px);
  margin-inline: auto;
}

.wan-reference-home .wan-home-brands h2 {
  margin-bottom: 0;
  text-align: center;
}

.wan-reference-home .wan-yolo-home-brands {
  width: min(calc(100% - 80px), 1360px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 45px auto 0;
}

.wan-reference-home .wan-yolo-home-brand {
  min-width: 0;
  height: 95px;
  display: grid;
  place-items: center;
  padding: 20px 25px;
  background: rgba(250, 250, 250, .46);
}

.wan-reference-home .wan-yolo-home-brand__link,
.wan-reference-home .wan-yolo-home-brand__logo {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.wan-reference-home .wan-yolo-home-brand img {
  width: 100%;
  max-width: 160px;
  height: 55px;
  max-height: 55px;
  display: block;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .82;
}

.wan-reference-home .wan-yolo-home-brand__text {
  color: #555;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .wan-reference-home .wan-home-slide.wp-block-cover {
    transition: none;
  }
}

@media (min-width: 768px) and (max-width: 1439px) {
  .wan-reference-home .wan-home-events__grid,
  .wan-reference-home .wan-home-events__action {
    width: min(calc(100% - 40px), 1220px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }
}

@media (max-width: 767px) {
  .wan-reference-home .wan-home-slider {
    height: 585px;
  }

  .wan-reference-home .wan-home-slide.wp-block-cover {
    min-height: 585px !important;
  }

  .wan-reference-home .wan-home-slide .wp-block-cover__background,
  .wan-reference-home .wan-home-slide--dark .wp-block-cover__background {
    background: linear-gradient(180deg, rgba(255, 255, 255, .86) 0%, rgba(255, 255, 255, .60) 42%, rgba(255, 255, 255, .10) 62%, rgba(255, 255, 255, 0) 100%) !important;
  }

  .wan-reference-home .wan-home-slide--metal > .wp-block-cover__image-background {
    opacity: 0;
  }

  .wan-reference-home .wan-home-slide--metal > .wp-block-cover__background {
    background: transparent !important;
  }

  .wan-reference-home .wan-home-slide .wp-block-cover__image-background {
    object-position: 62% center;
  }

  .wan-reference-home .wan-home-slide--dark .wp-block-cover__image-background {
    object-position: 72% center;
  }

  .wan-reference-home .wan-home-slide .wp-block-cover__inner-container {
    width: calc(100% - 30px) !important;
    margin-inline: auto !important;
  }

  .wan-reference-home .wan-home-slide__copy {
    width: 100% !important;
    max-width: none !important;
    padding: 132px 0 56px;
  }

  .wan-reference-home .wan-home-slide--metal > .wp-block-cover__inner-container {
    width: 100% !important;
    height: 100%;
    position: absolute;
    inset: 0;
    max-width: none !important;
    margin: 0 !important;
  }

  .wan-reference-home .wan-home-slide--metal .wan-home-slide__mobile-background {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block !important;
    margin: 0 !important;
    overflow: hidden;
  }

  .wan-reference-home .wan-home-slide--metal .wan-home-slide__mobile-background::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .86) 0%, rgba(255, 255, 255, .64) 35%, rgba(255, 255, 255, .10) 49%, rgba(255, 255, 255, 0) 62%);
    content: "";
    pointer-events: none;
  }

  .wan-reference-home .wan-home-slide--metal .wan-home-slide__mobile-background img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .wan-reference-home .wan-home-slide--metal .wan-home-slide__copy {
    width: calc(100% - 30px) !important;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    padding: 52px 0 0;
  }

  .wan-reference-home .wan-home-slide__copy h1,
  .wan-reference-home .wan-home-slide__copy h2,
  .wan-reference-home .wan-home-slide--dark .wan-home-slide__copy h2 {
    margin-bottom: 14px;
    color: #0b1a48;
    font-size: 30px;
    line-height: 1.04;
  }

  .wan-reference-home .wan-home-slide__copy > p:not(.wan-home-kicker),
  .wan-reference-home .wan-home-slide--dark .wan-home-slide__copy > p:not(.wan-home-kicker) {
    margin-bottom: 20px;
    color: #4e5b62;
    font-size: 13px;
    line-height: 21px;
  }

  .wan-reference-home .wan-home-slide__copy .wp-block-buttons {
    gap: 8px;
  }

  .wan-reference-home .wan-home-slide__copy .wp-block-button__link {
    min-width: 150px;
    min-height: 40px;
    padding: 10px 16px;
    font-size: 11px;
  }

  .wan-reference-home .wan-home-slider__controls {
    width: calc(100% - 30px);
    bottom: 18px;
    justify-content: center;
    gap: 32px;
  }

  .wan-reference-home .wan-home-slider__arrow {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .wan-reference-home .wan-home-about.wp-block-cover {
    min-height: 647px !important;
    align-items: flex-start;
  }

  .wan-reference-home .wan-home-about .wp-block-cover__image-background {
    object-position: 28% center;
  }

  .wan-reference-home .wan-home-about .wp-block-cover__background {
    background: linear-gradient(180deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, .82) 48%, rgba(255, 255, 255, .98) 100%) !important;
  }

  .wan-reference-home .wan-home-about .wp-block-cover__inner-container {
    width: calc(100% - 30px) !important;
    align-items: flex-end;
    margin: 0 auto !important;
    padding: 248px 0 54px;
  }

  .wan-reference-home .wan-home-about__copy {
    width: 100%;
    margin: 0;
  }

  .wan-reference-home .wan-home-about__copy h2 {
    margin-bottom: 15px;
    font-size: 34px;
  }

  .wan-reference-home .wan-home-about__copy > p:not(.wan-home-kicker) {
    margin-bottom: 18px;
    font-size: 12px;
    line-height: 20px;
  }

  .wan-reference-home .wan-home-promos {
    margin-top: -50px !important;
    padding-bottom: 190px;
  }

  .wan-reference-home .wan-home-promo__label {
    font-size: 11px;
    line-height: 15px;
  }

  .wan-reference-home .wan-home-promos__grid {
    width: 340px;
    max-width: calc(100% - 50px);
    display: grid;
    gap: 30px;
  }

  .wan-reference-home .wan-home-promo.wp-block-cover {
    min-height: 280px !important;
    height: 280px;
  }

  .wan-reference-home .wan-home-services {
    padding-bottom: 90px;
  }

  .wan-reference-home .wan-home-section-heading {
    width: 360px;
    max-width: calc(100% - 30px);
    height: 68px;
    padding-bottom: 13px;
  }

  .wan-reference-home .wan-home-services .wan-home-section-heading h2 {
    font-size: 18px;
    line-height: 19px;
  }

  .wan-reference-home .wan-home-services .wan-home-section-heading h3 {
    font-size: 16px;
    line-height: 19px;
  }

  .wan-reference-home .wan-home-service-grid {
    width: 360px;
    max-width: calc(100% - 30px);
    display: grid;
    gap: 20px;
    margin: 0 auto;
    padding-inline: 0;
  }

  .wan-reference-home .wan-home-service.wp-block-cover {
    min-height: 400px !important;
    height: 400px;
    padding: 28px;
    border-radius: 30px;
  }

  .wan-reference-home .wan-home-service h3 {
    font-size: 21px;
  }

  .wan-reference-home .wan-home-technology {
    height: 1004px;
    min-height: 1004px;
    padding: 119px 0 0;
  }

  .wan-reference-home .wan-home-technology > * {
    width: calc(100% - 30px);
  }

  .wan-reference-home .wan-home-technology .wan-home-section-heading {
    margin-bottom: 20px;
  }

  .wan-reference-home .wan-home-technology .wan-home-section-heading h2,
  .wan-reference-home .wan-home-events h2,
  .wan-reference-home .wan-home-brands h2 {
    font-size: 19px;
    line-height: 22px;
  }

  .wan-reference-home .wan-yolo-home-posts {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 10px;
  }

  .wan-reference-home .wan-yolo-home-post__item,
  .wan-reference-home .wan-yolo-home-post__item:first-child {
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

  .wan-reference-home .wan-yolo-home-post__body {
    padding: 18px;
  }

  .wan-reference-home .wan-yolo-home-post__title,
  .wan-reference-home .wan-yolo-home-post__item:not(:first-child) .wan-yolo-home-post__title {
    margin-top: 4px;
    font-size: 15px;
  }

  .wan-reference-home .wan-yolo-home-post__more {
    margin-top: 8px;
  }

  .wan-reference-home .wan-home-centered-action {
    margin-top: 8px;
  }

  .wan-reference-home .wan-home-centered-action .wp-block-button__link {
    min-width: 133px;
    min-height: 47px;
  }

  .wan-reference-home .wan-home-events {
    height: 1300px;
    min-height: 1300px;
    padding: 30px 0 0;
  }

  .wan-reference-home .wan-home-events__grid {
    width: calc(100% - 30px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 228px;
  }

  .wan-reference-home .wan-home-event-panel h2 {
    margin-bottom: 198px;
  }

  .wan-reference-home .wan-home-event-slides {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .wan-reference-home .wan-home-events__action {
    width: calc(100% - 30px);
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .wan-reference-home .wan-home-events__action a {
    grid-column: 1;
  }

  .wan-reference-home .wan-home-brands {
    height: 642px;
    min-height: 642px;
    padding: 110px 0 0;
  }

  .wan-reference-home .wan-home-brands > h2 {
    width: calc(100% - 30px);
  }

  .wan-reference-home .wan-yolo-home-brands {
    width: calc(100% - 10px);
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-top: 25px;
  }

  .wan-reference-home .wan-yolo-home-brand {
    height: 95px;
    padding: 12px 8px;
  }

  .wan-reference-home .wan-yolo-home-brand img {
    width: 100%;
    max-width: 92px;
    height: 49px;
  }

  .wan-reference-home .wan-yolo-home-brand__text {
    font-size: 6px;
  }
}

/* Mobile redesign 2026-08-28: remove desktop-height scaffolding and give each
   editable home module a readable phone layout. */
@media (max-width: 767px) {
  .wan-reference-home .wan-home-slide__copy h1,
  .wan-reference-home .wan-home-slide__copy h2,
  .wan-reference-home .wan-home-slide--dark .wan-home-slide__copy h2 {
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: balance;
    font-size: clamp(30px, 8.8vw, 36px);
    line-height: 1.03;
  }

  .wan-reference-home .wan-home-slide__copy > p:not(.wan-home-kicker),
  .wan-reference-home .wan-home-slide--dark .wan-home-slide__copy > p:not(.wan-home-kicker) {
    font-size: 14px;
    line-height: 21px;
  }

  .wan-reference-home .wan-home-slide__copy .wp-block-button__link,
  .wan-reference-home .wan-home-promo .wp-block-button__link,
  .wan-reference-home .wan-home-centered-action .wp-block-button__link {
    min-height: 44px;
    padding: 11px 18px;
    font-size: 12px;
  }

  .wan-reference-home .wan-home-about__copy h2 {
    font-size: clamp(32px, 9.4vw, 38px);
    line-height: 1.02;
    text-wrap: balance;
  }

  .wan-reference-home .wan-home-about__copy > p:not(.wan-home-kicker) {
    font-size: 14px;
    line-height: 22px;
  }

  .wan-reference-home .wan-home-promos {
    margin-top: -28px !important;
    padding-bottom: 82px;
  }

  .wan-reference-home .wan-home-promos__grid {
    gap: 18px;
  }

  .wan-reference-home .wan-home-promo.wp-block-cover {
    height: 260px;
    min-height: 260px !important;
  }

  .wan-reference-home .wan-home-services {
    padding-bottom: 74px;
  }

  .wan-reference-home .wan-home-service-grid {
    gap: 16px;
  }

  .wan-reference-home .wan-home-service.wp-block-cover {
    height: 330px;
    min-height: 330px !important;
    padding: 24px;
    border-radius: 22px;
  }

  .wan-reference-home .wan-home-service h3 {
    font-size: 23px;
    line-height: 1.08;
  }

  .wan-reference-home .wan-home-technology {
    height: auto;
    min-height: 0;
    padding: 76px 0 72px;
  }

  .wan-reference-home .wan-home-technology .wan-home-section-heading {
    margin-bottom: 24px;
  }

  .wan-reference-home .wan-yolo-home-posts {
    gap: 14px;
  }

  .wan-reference-home .wan-yolo-home-post__body {
    padding: 20px;
  }

  .wan-reference-home .wan-yolo-home-post__title,
  .wan-reference-home .wan-yolo-home-post__item:not(:first-child) .wan-yolo-home-post__title {
    font-size: 17px;
    line-height: 1.18;
  }

  .wan-reference-home .wan-yolo-home-post__more {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
  }

  .wan-reference-home .wan-home-events {
    height: auto;
    min-height: 0;
    padding: 76px 0 78px;
  }

  .wan-reference-home .wan-home-events__grid {
    gap: 58px;
  }

  .wan-reference-home .wan-home-event-panel h2 {
    margin-bottom: 18px;
  }

  .wan-reference-home .wan-home-events__action {
    margin-top: 32px;
  }

  .wan-reference-home .wan-home-event-control {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }

  .wan-reference-home .wan-home-event-arrow {
    width: 44px;
  }

  .wan-reference-home .wan-home-service p:last-child a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .wan-reference-home .wan-home-brands {
    height: auto;
    min-height: 0;
    padding: 76px 0 84px;
  }

  .wan-reference-home .wan-yolo-home-brands {
    width: calc(100% - 32px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 30px;
  }

  .wan-reference-home .wan-yolo-home-brand {
    height: 78px;
    padding: 12px 16px;
  }

  .wan-reference-home .wan-yolo-home-brand img {
    width: 100%;
    max-width: 138px;
    height: 52px;
    max-height: 52px;
  }

  .wan-reference-home .wan-yolo-home-brand__text {
    font-size: 11px;
    line-height: 1.25;
  }
}

@media (max-width: 359px) {
  .wan-reference-home .wan-home-slide__copy h1,
  .wan-reference-home .wan-home-slide__copy h2,
  .wan-reference-home .wan-home-slide--dark .wan-home-slide__copy h2 {
    font-size: 29px;
  }

  .wan-reference-home .wan-home-service.wp-block-cover {
    height: 310px;
    min-height: 310px !important;
  }
}
