/* Trade-show pages only. Header, footer and brand type stay with the theme. */
body.woao-trade-show-page #main-content {
  padding: 0;
}

body.woao-trade-show-page #main-content > .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.woao-trade-show-page #main-content .container:before {
  display: none !important;
}

body.woao-trade-show-page #content-area,
body.woao-trade-show-page #left-area {
  width: 100% !important;
  float: none !important;
  margin: 0;
  padding: 0 !important;
}

body.woao-trade-show-page #sidebar,
body.woao-trade-show-page .entry-title,
body.woao-trade-show-page .et_post_meta_wrapper {
  display: none;
}

body.woao-trade-show-page article.et_pb_post,
body.woao-trade-show-page .entry-content {
  margin: 0;
  padding: 0;
}

.woao-trade-shows,
.woao-trade-shows * {
  box-sizing: border-box;
}

.woao-trade-shows {
  overflow-x: hidden;
  color: #1f2937;
  font-family: inherit;
}

.woao-show-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.woao-show-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 12px;
  color: #d71f18;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.woao-show-kicker::before {
  width: 24px;
  height: 2px;
  margin-right: 10px;
  background: #d71f18;
  content: "";
  flex: 0 0 24px;
}

.woao-trade-shows h1,
.woao-trade-shows h2,
.woao-trade-shows h3 {
  margin: 0;
  color: #084f87;
  font-weight: 700;
  line-height: 1.25;
}

.woao-trade-shows h1 {
  font-size: clamp(32px, 4vw, 46px);
  text-wrap: balance;
}

.woao-trade-shows h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.woao-show-card h3 {
  font-size: clamp(22px, 2.6vw, 28px);
}

.woao-trade-shows p {
  margin: 12px 0 0;
  color: #374151;
  font-size: 16px;
  line-height: 1.7;
}

.woao-show-page-hero {
  padding: 28px 0 8px;
  background: #f3f7fb;
}

.woao-show-page-hero p {
  max-width: 40em;
  margin-top: 8px;
}

.woao-show-section {
  padding: 56px 0;
  scroll-margin-top: 88px;
}

.woao-trade-shows--parent .woao-show-section--current {
  padding: 20px 0 40px;
}

.woao-trade-shows--parent .woao-show-section--past {
  padding-top: 36px;
}

.woao-show-section--muted,
.woao-show-section--past {
  background: #f3f7fb;
}

.woao-show-section--book {
  background: #fff;
}

.woao-show-heading {
  max-width: 720px;
  margin-bottom: 20px;
}

.woao-show-current {
  display: grid;
}

.woao-show-card {
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid #d6e8f3;
  border-radius: 8px;
  background: #fff;
}

.woao-show-card--current {
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.woao-show-card__media {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 100%;
  background: #0677b4;
}

.woao-show-card__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}

.woao-show-card--current .woao-show-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 32px 28px 28px;
}

.woao-show-card--current .woao-show-button {
  align-self: flex-start;
  margin-top: auto;
}

.woao-show-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 18px 0 0;
}

.woao-show-meta div {
  min-width: 0;
}

.woao-show-meta dt {
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}

.woao-show-meta dd {
  margin: 4px 0 0;
  color: #123d5e;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: break-word;
  word-break: normal;
}

.woao-show-meta--stack {
  grid-template-columns: 1fr;
  gap: 14px;
}

.woao-show-button {
  display: inline-flex;
  min-height: 46px;
  margin-top: 18px;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  border: 2px solid #0a63a8;
  border-radius: 4px;
  background: #0a63a8;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.woao-show-button:hover {
  border-color: #084f87;
  background: #084f87;
  color: #fff;
}

.woao-show-button:focus,
.woao-show-button:focus-visible {
  outline: 3px solid #6fbeff;
  outline-offset: 3px;
}

.woao-show-button--ghost {
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.woao-show-button--ghost:hover {
  background: #fff;
  color: #084f87;
}

.woao-show-button--outline {
  border-color: #0a63a8;
  background: transparent;
  color: #0a63a8;
}

.woao-show-button--outline:hover {
  border-color: #084f87;
  background: #084f87;
  color: #fff;
}

.woao-show-button:disabled {
  border-color: #b8cfdd;
  background: #e8f1f7;
  color: #526574;
  cursor: not-allowed;
}

.woao-show-text-link {
  display: inline-block;
  margin-top: 16px;
  color: #0a63a8;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woao-show-text-link:hover {
  color: #084f87;
}

.woao-show-text-link:focus,
.woao-show-text-link:focus-visible {
  outline: 3px solid #6fbeff;
  outline-offset: 3px;
}

.woao-show-list {
  display: grid;
  gap: 16px;
}

.woao-show-invite {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  min-height: 520px;
  background: #021a33;
  color: #fff;
}

.woao-show-invite__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.woao-show-invite__wiper {
  position: absolute;
  top: 0;
  right: 0;
  width: min(58%, 860px);
  height: 100%;
  object-fit: cover;
  object-position: 100% 42%;
}

.woao-show-invite__scene::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #021226 0%, #021a33 46%, rgba(2, 26, 51, 0.92) 58%, rgba(2, 26, 51, 0.35) 76%, rgba(2, 26, 51, 0.08) 100%),
    linear-gradient(to top, #021226 0%, rgba(2, 18, 38, 0.98) 20%, rgba(2, 18, 38, 0.7) 32%, transparent 50%);
  content: "";
}

.woao-show-invite__rain {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1.8px),
    radial-gradient(circle at 62% 18%, rgba(255, 255, 255, 0.2) 0 1px, transparent 1.6px),
    radial-gradient(circle at 78% 42%, rgba(255, 255, 255, 0.26) 0 1.4px, transparent 2px),
    radial-gradient(circle at 88% 70%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1.8px),
    radial-gradient(circle at 40% 78%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1.6px);
  background-size: 140px 180px, 90px 160px, 120px 200px, 70px 130px, 160px 220px;
  opacity: 0.55;
}

.woao-show-invite__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
  min-height: 520px;
  padding: 56px 0;
}

.woao-show-invite h1,
.woao-show-invite p {
  color: #fff;
}

.woao-show-invite h1 {
  text-shadow: 0 2px 16px rgba(2, 18, 38, 0.45);
}

.woao-show-invite__booth {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 4px;
  background: #d71f18;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.woao-show-invite__lede {
  max-width: 34em;
}

.woao-show-invite__when {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.woao-show-invite__dot {
  color: rgba(255, 255, 255, 0.55);
}

.woao-show-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.woao-show-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 32px 40px;
  align-items: start;
}

.woao-show-sample {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  background: #fff;
}

.woao-show-sample caption {
  margin-bottom: 8px;
  color: #084f87;
  font-weight: 700;
  text-align: left;
}

.woao-show-sample th,
.woao-show-sample td {
  padding: 10px 12px;
  border: 1px solid #d6e8f3;
  text-align: left;
  vertical-align: top;
}

.woao-show-sample th {
  width: 7em;
  background: #f3f7fb;
  color: #084f87;
}

.woao-show-note,
.woao-trade-shows a {
  overflow-wrap: anywhere;
}

.woao-show-note {
  color: #526574;
  font-size: 14px;
}

.woao-show-guide {
  display: grid;
  gap: 28px;
}

.woao-show-maps {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 16px;
  align-items: stretch;
}

.woao-show-map {
  display: flex;
  margin: 0;
  padding: 16px;
  flex-direction: column;
  border: 1px solid #d6e8f3;
  border-radius: 8px;
  background: #fff;
}

.woao-show-map__label {
  margin: 0 0 10px;
  color: #084f87;
  font-size: 15px;
  font-weight: 700;
}

.woao-show-map img {
  display: block;
  width: 100%;
  height: auto;
}

.woao-show-map figcaption,
.woao-show-map--official p {
  margin-top: 8px;
  color: #526574;
  font-size: 13px;
  line-height: 1.5;
}

.woao-show-map--official .woao-show-button {
  align-self: flex-start;
  margin-top: auto;
}

.woao-show-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.woao-show-product {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #d6e8f3;
  border-radius: 8px;
  background: #fff;
  color: inherit;
}

.woao-show-product__media {
  display: flex;
  height: 220px;
  padding: 18px 18px 8px;
  align-items: center;
  justify-content: center;
  background: #f4f8fb;
}

.woao-show-product__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.woao-show-product__body {
  display: flex;
  padding: 8px 16px 18px;
  flex: 1 1 auto;
  flex-direction: column;
}

.woao-show-product h3 {
  margin-top: 8px;
}

.woao-show-product p {
  flex: 1 1 auto;
  padding-bottom: 8px;
}

.woao-show-product__link {
  display: inline-flex;
  margin-top: 8px;
  color: #0a63a8;
  font-size: 15px;
  font-weight: 700;
}

.woao-show-product__link:hover {
  color: #084f87;
}

.woao-show-book {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 20px 32px;
  align-items: start;
}

.woao-show-book__aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.woao-show-book .woao-show-form {
  grid-column: auto;
  grid-row: auto;
}

.woao-show-book__wechat {
  padding: 16px;
  border: 1px solid #d6e8f3;
  border-radius: 8px;
  background: #f3f7fb;
}

.woao-show-book__wechat figure {
  margin: 12px 0 0;
}

.woao-show-book__wechat img {
  width: 148px;
  height: auto;
}

.woao-show-book__wechat figcaption {
  margin-top: 6px;
  color: #526574;
  font-size: 13px;
}

.woao-show-form {
  padding: 22px;
  border: 1px solid #d6e8f3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(8, 79, 135, 0.06);
}

.woao-show-split > .woao-show-form {
  grid-column: auto;
  grid-row: auto;
}

.woao-show-form__heading {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
}

.woao-show-form__heading p,
.woao-show-form__status {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

.woao-show-form__heading span,
.woao-quote-form__required {
  color: #d71f18;
}

.woao-show-form__status {
  margin-top: 10px;
}

.woao-show-form__status[data-connected="0"] {
  color: #7a271a;
}

.woao-trade-shows .woao-quote-form__hint {
  margin: 0 0 8px;
  color: #526574;
  font-size: 13px;
  line-height: 1.5;
}

.woao-trade-shows .woao-quote-form__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.woao-trade-shows .woao-quote-form__pair label {
  display: inline-block;
  margin: 0 0 8px;
}

.woao-trade-shows .woao-quote-form__grid {
  grid-template-columns: 1fr;
  margin-top: 16px;
}

.woao-trade-shows .wpcf7-form,
.woao-trade-shows .wpcf7-form p {
  margin: 0;
}

.woao-trade-shows .wpcf7-form br {
  display: none;
}

.woao-trade-shows .wpcf7-form-control-wrap,
.woao-trade-shows input[type="hidden"],
.woao-trade-shows .hidden-fields-container,
.woao-trade-shows .akismet-fields-container,
.woao-trade-shows .wpcf7-spinner {
  display: block;
}

.woao-trade-shows input[type="hidden"],
.woao-trade-shows .hidden-fields-container,
.woao-trade-shows .akismet-fields-container {
  display: none !important;
}

.woao-trade-shows input[type="text"],
.woao-trade-shows input[type="email"],
.woao-trade-shows input[type="tel"],
.woao-trade-shows input[type="date"],
.woao-trade-shows select {
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #b8cfdd;
  border-radius: 4px;
  background: #fff;
  color: #1f2937;
  font-family: inherit;
  font-size: 15px;
}

.woao-trade-shows input:focus,
.woao-trade-shows input:focus-visible {
  border-color: #0a63a8;
  outline: 2px solid transparent;
  box-shadow: 0 0 0 3px rgba(111, 190, 255, 0.56);
}

.woao-trade-shows .wpcf7-submit {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #0a63a8;
  border-radius: 4px;
  background: #0a63a8;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.woao-trade-shows .wpcf7-submit:hover {
  border-color: #084f87;
  background: #084f87;
}

.woao-trade-shows .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #b42318;
  font-size: 13px;
}

.woao-trade-shows .wpcf7-response-output {
  margin: 14px 0 0 !important;
  padding: 12px 14px !important;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.6;
}

.woao-trade-shows form.init .wpcf7-response-output,
.woao-trade-shows form.resetting .wpcf7-response-output,
.woao-trade-shows form.submitting .wpcf7-response-output {
  display: none !important;
}

.woao-trade-shows form.sent .wpcf7-response-output {
  border-color: #0a63a8 !important;
  background: #eff7fc;
  color: #084f87;
}

.woao-show-download {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #d6e8f3;
}

.woao-show-download__hint {
  margin: 0;
  color: #526574;
  font-size: 13px;
}

.woao-show-download .woao-show-button {
  margin-top: 10px;
}

.woao-show-button[hidden],
.woao-show-download .woao-show-button[hidden],
.woao-show-download[hidden] {
  display: none !important;
}

.woao-trade-shows .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 860px) {
  .woao-trade-shows .woao-show-card--current,
  .woao-trade-shows .woao-show-split,
  .woao-trade-shows .woao-show-products,
  .woao-trade-shows .woao-show-maps,
  .woao-trade-shows .woao-show-book,
  .woao-trade-shows .woao-quote-form__pair,
  .woao-trade-shows .woao-show-meta {
    grid-template-columns: 1fr;
  }

  .woao-show-page-hero {
    padding: 20px 0 4px;
  }

  .woao-trade-shows--parent .woao-show-section--current {
    padding: 12px 0 28px;
  }

  .woao-show-card--current {
    gap: 0;
  }

  .woao-show-card__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
    max-height: 220px;
  }

  .woao-show-card__media img {
    object-position: center 8%;
  }

  .woao-show-card--current .woao-show-card__body,
  .woao-show-card {
    padding: 18px;
  }

  .woao-show-invite {
    min-height: 0;
  }

  .woao-show-invite__wiper {
    width: 100%;
    height: 240px;
    object-position: 92% 38%;
  }

  .woao-show-invite__scene::after {
    background:
      linear-gradient(180deg, rgba(2, 26, 51, 0.15) 0%, rgba(2, 26, 51, 0.4) 28%, #021a33 58%, #021226 100%),
      linear-gradient(90deg, #021226 0%, rgba(2, 26, 51, 0.55) 42%, transparent 100%);
  }

  .woao-show-invite__copy {
    max-width: none;
    min-height: 0;
    padding: 196px 0 36px;
  }

  .woao-show-invite h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .woao-show-book {
    display: flex;
    flex-direction: column;
  }

  .woao-show-actions .woao-show-button,
  .woao-show-card .woao-show-button {
    width: 100%;
  }

  body.woao-trade-show-page--shanghai .woao-show-form {
    padding-bottom: 92px;
  }

  body.woao-trade-show-page--shanghai .chaty-widget,
  body.woao-trade-show-page--shanghai div[class*="chaty-widget"] {
    right: 10px !important;
    bottom: 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .woao-show-invite__rain {
    opacity: 0.28;
  }
}
