/*
 * Shared event landing-page layout.
 *
 * Keep event-specific copy and data in each PHP page. Override
 * --event-hero-image on .event-landing-page for another event.
 */

.event-landing-page {
  --event-hero-image: url("https://www.mjgasket.com/event/flibs/img/flibs_banner.webp");
  --red: #ef161d;
  --red-dark: #c90e15;
  --ink: #202020;
  --muted: #6e6e6e;
  --line: #d8d8d8;
  --soft: #f4f4f2;
  --white: #fff;
  --max: 1240px;
  --display: "Poppins", sans-serif;
  --body: "Poppins", sans-serif;
}

.event-landing-page * {
  box-sizing: border-box;
}

.event-landing-page {
  scroll-behavior: smooth;
}

.event-landing-page {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
  overflow-x: clip;
}

.event-landing-page img {
  display: block;
  max-width: 100%;
}

.event-landing-page a {
  color: inherit;
  text-decoration: none;
}

.event-landing-page button,
.event-landing-page input,
.event-landing-page textarea {
  font: inherit;
}

.event-landing-page button,
.event-landing-page a {
  -webkit-tap-highlight-color: transparent;
}

.event-landing-page .container {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}

.event-landing-page .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #ececec;
  backdrop-filter: blur(12px);
}

.event-landing-page .header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.event-landing-page .brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.08em;
}

.event-landing-page .brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 25px;
  font-size: 21px;
  font-style: italic;
  letter-spacing: -.18em;
}

.event-landing-page .brand-mark::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 8px;
  height: 21px;
  background: var(--red);
  transform: skew(-18deg);
}

.event-landing-page .brand-mark span {
  position: relative;
  z-index: 1;
}

.event-landing-page .brand-sub {
  font-size: 9px;
  letter-spacing: .11em;
  font-weight: 700;
}

.event-landing-page .nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: #444;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.event-landing-page .nav a {
  transition: color .2s ease;
}

.event-landing-page .nav a:hover {
  color: var(--red);
}

.event-landing-page .header-cta {
  flex: 0 0 auto;
  padding: 13px 18px;
  color: var(--white);
  background: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}

.event-landing-page .header-cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.event-landing-page .hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  min-height: 570px;
}

.event-landing-page .hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 68px max(32px, calc((100vw - var(--max)) / 2)) 68px max(32px, calc((100vw - var(--max)) / 2));
  padding-right: 48px;
}

.event-landing-page .eyebrow {
  margin: 0 0 22px;
  color: #585858;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.event-landing-page .eyebrow strong {
  font-weight: 900;
}

.event-landing-page h1,
.event-landing-page h2,
.event-landing-page h3,
.event-landing-page p {
  margin-top: 0;
}

.event-landing-page h1,
.event-landing-page h2,
.event-landing-page h3 {
  font-family: var(--display);
  letter-spacing: -.055em;
}

.event-landing-page h1 {
  max-width: 580px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: .91;
  text-transform: uppercase;
}

.event-landing-page .hero-lead {
  max-width: 600px;
  margin-bottom: 30px;
  color: #4f4f4f;
  font-size: 15px;
  line-height: 1.45;
}

.event-landing-page .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.event-landing-page .button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--red);
  color: var(--white);
  background: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.event-landing-page .button:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.event-landing-page .button--outline {
  color: var(--red);
  background: var(--white);
}

.event-landing-page .button--outline:hover {
  color: var(--white);
  background: var(--red);
}

.event-landing-page .hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 740px;
  margin-top: 100px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  gap: 16px;
}

.event-landing-page .trust-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #4F4F4F;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}

.event-landing-page .trust-item::before {
  content: "✓";
  display: inline-block;
  flex: 0 0 auto;
  color: var(--red);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.event-landing-page .hero-visual {
  min-height: 570px;
  background: #ececea var(--event-hero-image) center / cover no-repeat;
}

.event-landing-page .event-bar {
  color: var(--white);
  background: var(--red);
}

.event-landing-page .event-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.45fr .7fr 1fr;
  min-height: 72px;
  align-items: stretch;
}

.event-landing-page .event-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 13px 22px;
  border-right: 1px solid rgba(255, 255, 255, .34);
}

.event-landing-page .event-cell:first-child {
  padding-left: 0;
}

.event-landing-page .event-label {
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.event-landing-page .event-value {
  font-size: 14px;
  line-height: 1.15;
}

.event-landing-page .event-link {
  align-items: center;
  justify-content: flex-end;
  flex-direction: row;
  gap: 9px;
  border-right: 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.event-landing-page .event-link::after {
  content: "↗";
  font-size: 16px;
}

.event-landing-page .section {
  padding: 80px 0;
}

.event-landing-page .section--booth {
  padding-bottom: 88px;
}

.event-landing-page .section-kicker {
  margin-bottom: 23px;
  color: #5d5d5d;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.event-landing-page .booth-top {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(300px, 1.28fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 38px;
}

.event-landing-page h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.3vw, 62px);
  line-height: .96;
}

.event-landing-page h2 span,
.event-landing-page .red {
  color: var(--red);
}

.event-landing-page .booth-copy {
  max-width: 620px;
  color: #4B4945;
  font-size: 15px;
}

.event-landing-page .booth-copy p:last-child {
  margin-bottom: 0;
}

.event-landing-page .booth-instructions {
  display: none;
}

.event-landing-page .booth-instructions__title {
  margin: 0 0 16px;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1.3;
}

.event-landing-page .booth-instructions__img {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
}

.event-landing-page .booth-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 28px 0 0;
}

.event-landing-page .control {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #cfcfcf;
  color: #595959;
  background: var(--white);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.event-landing-page .booth-image {
  width: 100%;
  min-height: 380px;
  object-fit: cover;
  background: #a8a7aa;
}

.event-landing-page .booth-embed {
  display: block;
  width: 100%;
  height: 720px;
  min-height: 380px;
  border: 0;
  background: #a8a7aa;
}

.event-landing-page .products-section {
  padding: 80px 0 104px;
  color: var(--white);
  background: var(--ink);
}

.event-landing-page .products-heading {
  margin-bottom: 55px;
}

.event-landing-page .products-heading .section-kicker {
  color: #ffffff;
}

.event-landing-page .products-heading h2 {
  color: var(--white);
}

.event-landing-page .product-table {
  width: 100%;
  border-collapse: collapse;
}

.event-landing-page .product-table td {
  padding: 17px 16px;
  border-bottom: 1px solid #5a5a5a;
  text-align: left;
}

.event-landing-page .product-table td:first-child {
  padding-left: 0;
}

.event-landing-page .product-table td:last-child {
  width: 46px;
  padding-right: 0;
  text-align: right;
}

.event-landing-page .product-table td {
  font-size: 14px;
}

.event-landing-page .product-table td:first-child {
  font-weight: 400;
}

.event-landing-page .product-table .product-label {
  display: block;
  margin-bottom: 7px;
  color: #ececec;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.1;
  text-transform: uppercase;
}

.event-landing-page .product-table .product-value {
  display: block;
  color: #ececec;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
}

.event-landing-page .product-table .part-number {
  color: #ececec;
  font-variant-numeric: tabular-nums;
}

.event-landing-page .product-table .row-arrow {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #565656;
  border-radius: 50%;
  color: var(--red);
  font-size: 13px;
}

.event-landing-page .show-section {
  background: #fbfbfa;
}

.event-landing-page .show-section .section-kicker {
  color: #000000;
}

.event-landing-page .show-grid {
  display: grid;
  grid-template-columns: minmax(260px, .84fr) minmax(360px, 1.16fr);
  gap: 72px;
  align-items: center;
}

.event-landing-page .show-title {
  margin-bottom: 36px;
  font-size: 40px;
}

.event-landing-page .show-data {
  display: grid;
  gap: 10px;
  max-width: 400px;
}

.event-landing-page .show-data-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #d6d6d6;
  color: #4b4b4b;
  font-size: 20px;
}

.event-landing-page .show-data-row dt {
  color: #696969;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.event-landing-page .show-data-row dd {
  margin: 0;
}

.event-landing-page .show-data-row:last-child dd {
  color: var(--red);
  font-weight: 900;
}

.event-landing-page .map-frame {
  background: #e9e9e6;
}

.event-landing-page .map-image {
  width: 880px;
  height: auto;
  object-fit: cover;
}

.event-landing-page .booking-section {
  padding: 102px 0 0;
}

.event-landing-page .booking-section .section-kicker {
  color: #000000;
}

.event-landing-page .booking-grid {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(400px, 1.22fr);
  gap: 74px;
  align-items: start;
  padding-bottom: 88px;
}

.event-landing-page .booking-title {
  max-width: 370px;
  margin-bottom: 29px;
}

.event-landing-page .booking-copy {
  max-width: 500px;
  color: #585858;
  font-size: 16px;
}

.event-landing-page .booth-badge {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 24px;
  padding: 9px 13px;
  border: 1px solid #d4d4d4;
  color: #555;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.event-landing-page .booth-badge strong {
  color: var(--red);
  font-size: 20px;
  letter-spacing: -.05em;
}

.event-landing-page .booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 22px;
}

.event-landing-page .field {
  display: grid;
  gap: 8px;
}

.event-landing-page .field--full {
  grid-column: 1 / -1;
}

.event-landing-page .field label {
  color: #3f3f3f;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.event-landing-page .field input,
.event-landing-page .field select,
.event-landing-page .field textarea {
  width: 100%;
  padding: 9px 0 12px;
  border: 0;
  border-bottom: 1px solid #d8d8d8;
  border-radius: 0;
  outline: 0;
  color: #252525;
  background: transparent;
  font-size: 14px;
}

.event-landing-page .field input:focus,
.event-landing-page .field select:focus,
.event-landing-page .field textarea:focus {
  border-bottom-color: var(--red);
}

.event-landing-page .field textarea {
  min-height: 50px;
  resize: vertical;
}

.event-landing-page .submit-button {
  grid-column: 1 / -1;
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 0;
  color: var(--white);
  background: var(--red);
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .2s ease;
}

.event-landing-page .submit-button:hover {
  background: var(--red-dark);
}

.event-landing-page .submit-button::after {
  content: "→";
  font-size: 18px;
}

.event-landing-page .form-status {
  grid-column: 1 / -1;
  color: #252525;
  font-size: 14px;
  line-height: 1.5;
}

.event-landing-page .form-status--error {
  color: var(--red);
}

.event-landing-page .form-status--success {
  color: #198754;
  font-size: 16px;
  font-weight: 700;
}

.event-landing-page .site-footer {
  color: var(--white);
  background: #050505;
}

.event-landing-page .footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 52px;
  align-items: center;
  gap: 25px;
  font-size: 9px;
}

.event-landing-page .socials {
  display: flex;
  gap: 8px;
}

.event-landing-page .social {
  display: inline-grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 1px solid #888;
  border-radius: 50%;
  color: #ddd;
  font-size: 7px;
  font-weight: 800;
}

.event-landing-page .footer-brand {
  color: var(--white);
  justify-self: center;
}

.event-landing-page .copyright {
  justify-self: end;
  color: #a3a3a3;
}

/* The site's header is fixed and does not occupy normal document flow. */
.event-landing-page {
  padding-top: 70px;
}

/* Match the reference: a full-width hero with an almost even split. */
.event-landing-page .hero {
  width: 100%;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  min-height: clamp(432px, calc(43.8vw - 42px), 570px);
}

.event-landing-page .hero-copy {
  min-width: 0;
  width: 100%;
  justify-content: flex-start;
  padding: clamp(48px, 5vw, 88px) clamp(48px, 4.2vw, 56px) 48px calc(clamp(32px, 7vw, 90px) + 35px);
  overflow: visible;
}

.event-landing-page .hero-copy .eyebrow {
  margin-bottom: 50px;
}

/* Use stable heading metrics and the same two-line hierarchy as the reference. */
.event-landing-page .hero-copy h1 {
  max-width: none;
  margin-bottom: 30px;
  color: #202020;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(36px, 3.15vw, 50px);
  line-height: .91;
}

.event-landing-page .hero-copy h1 .red {
  display: inline;
  color: inherit;
}

.event-landing-page .hero-copy .eyebrow,
.event-landing-page .hero-copy h1 {
  color: #000000;
}


.event-landing-page .button-row {
  gap: clamp(16px, 1.55vw, 20px);
}

.event-landing-page .button {
  min-width: clamp(190px, 17.6vw, 229px);
  min-height: clamp(46px, 4.15vw, 54px);
  padding-right: 12px;
  padding-left: 12px;
  font-size: clamp(10px, 1.08vw, 14px);
}

.event-landing-page .hero-visual {
  min-height: clamp(432px, calc(43.8vw - 42px), 700px);
}

/* Keep the reference's horizontal distances in the booth copy area. */
.event-landing-page .section--booth {
  padding-top: 100px;
}

.event-landing-page .section--booth .section-kicker {
  color: #000000;
}

.event-landing-page .section--booth>.container {
  width: 100%;
  max-width: none;
}

.event-landing-page .section--booth .booth-top {
  width: min(1200px, calc(100% - 150px));
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  gap: 65px;
  margin-right: auto;
  margin-left: auto;
}

.event-landing-page .section--booth .booth-top h2 {
  font-size: clamp(34px, 3.2vw, 56px);
}

.event-landing-page .section--booth .booth-copy {
  align-self: start;
  margin-top: 40px;
  font-size: clamp(13px, .78vw, 15px);
}

/* Display the embedded booth at the full viewport width. */
.event-landing-page .section--booth .booth-embed {
  display: block;
  width: 100vw;
  max-width: 100vw;
  height: 720px;
  min-height: 720px;
  margin-left: calc(50% - 50vw);
}

/* Let the embedded page end the booth section without trailing whitespace. */
.event-landing-page .section--booth {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.event-landing-page .section--booth>.container,
.event-landing-page .section--booth .booth-embed {
  margin-bottom: 0;
}

/* Match the supplied 1300px booth-section reference. */
@media (min-width: 1025px) and (max-width: 1400px) {
  .event-landing-page .section--booth {
    padding-top: 68px;
  }

  .event-landing-page .section--booth .booth-top {
    width: min(1200px, calc(100% - 180px));
    grid-template-columns: minmax(0, 448px) minmax(0, 1fr);
    gap: 89px;
    align-items: start;
    margin-bottom: 83px;
  }

  .event-landing-page .section--booth .section-kicker {
    margin-bottom: 39px;
  }

  .event-landing-page .section--booth .booth-top h2 {
    font-size: 40px;
    line-height: .96;
  }

  .event-landing-page .section--booth .booth-controls {
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 25px;
  }

  .event-landing-page .section--booth .control {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
    line-height: 1.2;
  }

  .event-landing-page .section--booth .booth-copy {
    max-width: 500px;
    margin-top: 52px;
    font-size: 14px;
    line-height: 1.5;
  }

  .event-landing-page .section--booth .booth-copy p {
    margin-bottom: 21px;
  }

  .event-landing-page .section--booth .booth-copy p:last-child {
    margin-bottom: 0;
  }

  .event-landing-page .section--booth .section-kicker {
    font-size: 12px;
    line-height: 1.45;
  }

  .event-landing-page .section--booth .booth-top h2 {
    font-size: 43px;
  }

  .event-landing-page .section--booth .booth-copy {
    font-size: 16.8px;
  }

  .event-landing-page .section--booth .booth-instructions {
    display: block;
    margin-top: 28px;
  }

  .event-landing-page .section--booth .control {
    font-size: 15.6px;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }
}

/* Scale the booth-section reference proportionally for the 1920px layout. */
@media (min-width: 1401px) {
  .event-landing-page {
    padding-top: clamp(70px, 4.58vw, 88px);
  }

  .event-landing-page .section--booth {
    padding-top: 80px;
  }

  .event-landing-page .show-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 844px);
    gap: 48px;
  }

  .event-landing-page .show-section .section-kicker {
    font-size: 12px;
  }

  .event-landing-page .show-section .show-title {
    margin-bottom: 43.2px;
  }

  .event-landing-page .show-section .show-data {
    gap: 12px;
    max-width: 540px;
  }

  .event-landing-page .show-section .show-data-row {
    grid-template-columns: 140px 1fr;
    min-height: 38.4px;
    padding: 0 12px;
    border-width: 1.2px;
    font-size: 14px;
  }

  .event-landing-page .show-section .show-data-row dt {
    font-size: 14px;
  }

  .event-landing-page .section--booth .booth-top {
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0, 530px) minmax(0, 1fr);
    gap: 170px;
    align-items: start;
    margin-bottom: 89px;
  }

  .event-landing-page .section--booth .booth-top h2 {
    font-size: 43px;
    line-height: .96;
  }

  .event-landing-page .section--booth .booth-controls {
    flex-wrap: nowrap;
    gap: 11px;
    margin-top: 27px;
  }

  .event-landing-page .section--booth .control {
    min-height: 43px;
    padding: 0 15px;
    font-size: 14px;
    line-height: 1.2;
  }

  .event-landing-page .section--booth .booth-copy {
    max-width: 650px;
    margin-top: 40px;
    font-size: 15px;
    line-height: 1.5;
  }

  .event-landing-page .section--booth .booth-copy p {
    margin-bottom: 23px;
  }

  .event-landing-page .section--booth .booth-copy p:last-child {
    margin-bottom: 0;
  }

  .event-landing-page .section--booth .booth-instructions {
    display: block;
    margin-top: 32px;
  }

  .event-landing-page .section--booth .booth-instructions__img {
    max-width: 460px;
  }
}

/* Give each event-information block more room across the red bar. */
.event-landing-page .event-grid {
  width: 100%;
  max-width: none;
  min-height: 84px;
  grid-template-columns: repeat(5, 1fr);
}

.event-landing-page .event-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 13px 22px;
  border-right: 1px solid rgba(255, 255, 255, .34);
}

.event-landing-page .event-cell:first-child {
  align-items: center;
  padding-left: 0;
  text-align: center;
}

.event-landing-page .event-cell:first-child .event-label {
  font-size: 16px;
}

.event-landing-page .event-link {
  flex-direction: row;
}

.event-landing-page .event-value {
  font-size: clamp(14px, 1.38vw, 18px);
  font-weight: 700;
}

/* Shared tablet and mobile layout rules. */
@media (max-width: 1024px) {
  .event-landing-page {
    padding-top: 70px;
  }

  .event-landing-page .container {
    width: min(var(--max), calc(100% - 40px));
  }

  .event-landing-page .site-header {
    position: static;
  }

  .event-landing-page .header-inner {
    min-height: 64px;
  }

  .event-landing-page .nav {
    display: none;
  }

  .event-landing-page .header-cta {
    margin-left: auto;
    padding-inline: 13px;
  }

  .event-landing-page .event-grid {
    min-height: 0;
    grid-template-columns: repeat(2, 1fr);
  }

  .event-landing-page .event-cell,
  .event-landing-page .event-cell:first-child {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .34);
  }

  .event-landing-page .event-link {
    grid-column: 1 / -1;
    justify-content: flex-start;
    border-bottom: 0;
  }

  .event-landing-page .section,
  .event-landing-page .products-section {
    padding: 72px 0;
  }

  .event-landing-page .section--booth>.container {
    width: 100%;
    max-width: none;
  }

  .event-landing-page .booth-top,
  .event-landing-page .show-grid,
  .event-landing-page .booking-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .event-landing-page .section--booth .booth-top {
    width: calc(100% - 40px);
    margin-bottom: 28px;
  }

  .event-landing-page .section--booth .booth-copy {
    align-self: stretch;
    margin-top: 0;
  }

  .event-landing-page .booth-instructions {
    display: none !important;
  }

  .event-landing-page .booth-image {
    min-height: 260px;
  }

  .event-landing-page .booth-embed {
    height: 480px;
    min-height: 480px;
  }

  .event-landing-page .booking-section {
    padding-top: 72px;
  }

  .event-landing-page .booking-grid {
    padding-bottom: 64px;
  }
}

/* Keep tablet hero content readable while retaining the two-column composition. */
@media (min-width: 700px) and (max-width: 1024px) {
  .event-landing-page .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: clamp(420px, 52vw, 560px);
  }

  .event-landing-page .hero-copy {
    justify-content: center;
    padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
    background: #fff;
  }

  .event-landing-page .hero-copy .eyebrow {
    margin-bottom: 20px;
    font-size: clamp(11px, 1.45vw, 14px);
    line-height: 1.3;
  }

  .event-landing-page .hero-copy h1 {
    margin-bottom: 22px;
    font-size: clamp(30px, 4.3vw, 48px);
    line-height: .92;
  }

  .event-landing-page .hero-lead {
    max-width: none;
    margin-bottom: 25px;
    font-size: clamp(12px, 1.45vw, 15px);
    line-height: 1.45;
  }

  .event-landing-page .button-row {
    gap: 10px;
  }

  .event-landing-page .button {
    min-width: 0;
    min-height: 44px;
    padding-right: clamp(9px, 1.5vw, 16px);
    padding-left: clamp(9px, 1.5vw, 16px);
    font-size: clamp(9px, 1.15vw, 12px);
    white-space: nowrap;
  }

  .event-landing-page .hero-trust {
    margin-top: clamp(28px, 3.5vw, 42px);
    padding-top: 16px;
    gap: 8px;
  }

  .event-landing-page .trust-item {
    gap: 6px;
    font-size: clamp(11px, 1.35vw, 14px);
    line-height: 1.25;
  }

  .event-landing-page .hero-visual {
    min-height: clamp(420px, 52vw, 560px);
  }
}

/* On phones, give the copy and artwork their own full-width rows. */
@media (max-width: 699px) {
  .event-landing-page .container {
    width: calc(100% - 32px);
  }

  .event-landing-page .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .event-landing-page .hero-copy {
    justify-content: flex-start;
    padding: clamp(38px, 10vw, 52px) 20px 42px;
    background: #fff;
  }

  .event-landing-page .hero-copy .eyebrow {
    margin-bottom: 22px;
    font-size: 12px;
    line-height: 1.3;
  }

  .event-landing-page .hero-copy h1 {
    margin-bottom: 24px;
    font-size: clamp(38px, 11vw, 50px);
    line-height: .91;
  }

  .event-landing-page .hero-lead {
    max-width: none;
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 1.5;
  }

  .event-landing-page .button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .event-landing-page .button {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 10px;
    line-height: 1.15;
    white-space: normal;
  }

  .event-landing-page .hero-trust {
    grid-template-columns: 1fr;
    margin-top: 36px;
    padding-top: 18px;
    gap: 10px;
  }

  .event-landing-page .trust-item {
    gap: 8px;
    font-size: 14px;
    line-height: 1.3;
  }

  .event-landing-page .hero-visual {
    height: clamp(250px, 70vw, 360px);
    min-height: 0;
    background-position: center;
  }

  .event-landing-page .event-cell {
    min-height: 67px;
  }

  .event-landing-page .product-table {
    font-size: 12px;
  }

  .event-landing-page .product-table td {
    padding-inline: 7px;
    font-size: 11px;
  }

  .event-landing-page .product-table td:first-child {
    padding-left: 0;
  }

  .event-landing-page .product-table td:last-child {
    width: 31px;
    padding-right: 0;
  }

  .event-landing-page .product-table .row-arrow {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .event-landing-page .booking-form {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .event-landing-page .field--full,
  .event-landing-page .submit-button {
    grid-column: auto;
  }
}

html body,
html body *:not(svg):not(path):not(i):not([class*="icon"]):not([class*="Icon"]):not([class*="fa-"]) {
  font-family: "Poppins", sans-serif !important;
}

/* Allow the booth iframe to be full width without creating a page-level horizontal scrollbar. */
html,
body {
  overflow-x: hidden;
}

@supports (overflow: clip) {

  html,
  body {
    overflow-x: clip;
  }
}

html body input::placeholder,
html body textarea::placeholder {
  font-family: "Poppins", sans-serif !important;
}

.event-landing-page {
  --display: "Poppins", sans-serif;
  --body: "Poppins", sans-serif;
}

/* Align the desktop form with the "Let's talk" heading instead of the kicker. */
@media (min-width: 1025px) {

  /* Give the content sections a wider desktop container. */
  .event-landing-page .section--booth>.container,
  .event-landing-page .products-section>.container,
  .event-landing-page .show-section>.container,
  .event-landing-page .booking-section>.container {
    width: min(1650px, calc(100% - 64px));
    max-width: 1650px;
  }

  .event-landing-page .booking-form {
    margin-top: 43px;
  }

  /* Keep the main section headings at one desktop size. */
  .event-landing-page .section--booth .booth-top h2,
  .event-landing-page .products-heading h2,
  .event-landing-page .show-section .show-title,
  .event-landing-page .booking-title {
    font-size: 50px;
  }

  /* Keep the desktop map contained within the show grid. */
  .event-landing-page .show-section .map-frame {
    width: min(980px, 100%);
    max-width: 980px;
    height: 480px;
    overflow: hidden;
    transform: none;
  }

  .event-landing-page .show-section .map-image {
    display: block;
    width: 100%;
    max-width: none;
    height: 480px;
    aspect-ratio: auto;
    object-fit: cover;
  }
}

.event-landing-page .booking-title span {
  color: #e60012;
  font-style: italic;
}

/* Keep the event header compact: the AAPEX event stylesheet hid these utility icons. */
#masthead_nb.newHeader2 .row>.col-6:last-child>.search,
#masthead_nb.newHeader2 .row>.col-6:last-child>.login,
#masthead_nb.newHeader2 .row>.col-6:last-child>.logout,
#masthead_nb.newHeader2 .row>.col-6:last-child>.cart,
#masthead_nb.newHeader2 .row>.col-6:last-child>.lang {
  display: none !important;
}

/* Keep the full desktop navigation on one line after the utility icons are hidden. */
@media (min-width: 1681px) {
  #masthead_nb.newHeader2 .row {
    flex-wrap: nowrap;
  }

  #masthead_nb.newHeader2 .row>.col-6:first-child {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  #masthead_nb.newHeader2 .row>.col-6:first-child>.logo {
    flex: 0 0 auto;
  }

  #masthead_nb.newHeader2 .row>.col-6:first-child>.menu {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  #masthead_nb.newHeader2 .row>.col-6:first-child>.menu>ul {
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  #masthead_nb.newHeader2 .row>.col-6:first-child>.menu>ul>li {
    flex: 0 0 auto;
  }

  #masthead_nb.newHeader2 .row>.col-6:first-child>.menu>ul>li>a {
    white-space: nowrap;
  }

  #masthead_nb.newHeader2 .row>.col-6:last-child {
    flex: 0 0 auto;
    width: auto;
  }
}

/* The footer lives outside .event-landing-page, so keep its original site styles here. */
footer {
  background-color: #000;
}

footer>.container {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  padding: 30px 0;
}

footer>.container>.col-4 {
  width: calc(1 / 3 * 100%);
  color: #fff;
  font-size: 14px;
  letter-spacing: .5px;
}

footer>.container>.col-4>.tagLine {
  display: none;
}

footer>.container>.col-4>a {
  display: block;
  text-align: center;
}

footer>.container>.col-4>a>img {
  width: 100%;
  max-width: 55px;
}

footer>.container>.col-4>.social a {
  margin-right: 15px;
}

footer>.container>.col-4>.social a>svg {
  width: 25px;
  height: 25px;
}

footer>.container>.col-4>.social a>svg>path {
  fill: rgba(255, 255, 255, .8);
}

footer>.container>.col-4>.social a:hover>svg>path {
  fill: #fff;
}

footer>.container>.col-4:last-child {
  text-align: right;
}

@media (max-width: 1024px) {
  footer>.container {
    width: auto;
    display: grid;
  }

  footer>.container>.col-4 {
    width: auto;
    text-align: center;
  }

  footer>.container>.col-4:first-child {
    order: 2;
    margin: 20px 0 10px;
  }

  footer>.container>.col-4:nth-child(2) {
    order: 1;
  }

  footer>.container>.col-4:last-child {
    order: 3;
    text-align: center;
  }

  footer>.container>.col-4>a>img {
    max-width: 100px;
  }
}

@media (max-width: 699px) {
  footer>.container>.col-4>.tagLine {
    display: block;
    text-align: center;
  }
}

/* SEMA's floor map uses a taller aspect ratio; keep the full image visible. */
.event-landing-page--sema .show-section .map-frame {
  height: auto;
  overflow: visible;
}

.event-landing-page--sema .show-section .map-image {
  height: auto;
  object-fit: contain;
}

/* AAPEX's floor map: position to the right so booth callout and logo are not cropped */
.event-landing-page--aapex .show-section .map-image {
  object-position: right center;
}

@media (max-width: 1024px) {
  .event-landing-page--aapex .show-section .map-frame {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .event-landing-page--aapex .show-section .map-image {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/*
 * Phone layout refinements.
 *
 * Keep the booth introduction readable as two vertical blocks and turn the
 * wide product table into stacked product cards. This prevents long part
 * numbers/descriptions from forcing horizontal overflow on small screens and
 * gives every product link a comfortable touch target.
 */
@media (max-width: 699px) {
  .event-landing-page .section--booth {
    padding-top: 48px;
  }

  .event-landing-page .section--booth .booth-top {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: calc(100% - 32px);
    gap: 24px;
    margin: 0 auto 28px;
  }

  .event-landing-page .section--booth .section-kicker {
    margin-bottom: 14px;
    font-size: 10px;
    line-height: 1.35;
  }

  .event-landing-page .section--booth .booth-top h2 {
    font-size: clamp(34px, 10.5vw, 42px);
    line-height: .94;
  }

  .event-landing-page .section--booth .booth-controls {
    gap: 6px;
    margin-top: 18px;
  }

  .event-landing-page .section--booth .control {
    min-height: 32px;
    padding-inline: 8px;
    font-size: 8px;
    line-height: 1.15;
  }

  .event-landing-page .section--booth .booth-copy {
    max-width: none;
    margin-top: 0;
    font-size: 12px;
    line-height: 1.45;
  }

  .event-landing-page .section--booth .booth-copy p {
    margin-bottom: 14px;
  }

  .event-landing-page .products-section {
    padding: 48px 0 56px;
  }

  .event-landing-page .products-section>.container {
    width: calc(100% - 32px);
  }

  .event-landing-page .products-heading {
    margin-bottom: 28px;
  }

  .event-landing-page .products-heading .section-kicker {
    margin-bottom: 12px;
    font-size: 10px;
    line-height: 1.35;
  }

  .event-landing-page .products-heading h2 {
    font-size: clamp(27px, 8.6vw, 36px);
    line-height: .98;
  }

  .event-landing-page .product-table,
  .event-landing-page .product-table tbody,
  .event-landing-page .product-table tr,
  .event-landing-page .product-table td {
    display: block;
  }

  .event-landing-page .product-table {
    width: 100%;
    border-collapse: initial;
  }

  .event-landing-page .product-table tr {
    width: 100%;
    padding: 18px 0 16px;
    border-bottom: 1px solid #5a5a5a;
  }

  .event-landing-page .product-table tr:first-child {
    padding-top: 0;
  }

  .event-landing-page .product-table td,
  .event-landing-page .product-table td:first-child,
  .event-landing-page .product-table td:last-child {
    width: 100% !important;
    padding: 0;
    border: 0;
    text-align: left;
  }

  .event-landing-page .product-table td+td {
    margin-top: 14px;
  }

  .event-landing-page .product-table .product-label {
    margin-bottom: 4px;
    font-size: 8px;
    line-height: 1.15;
  }

  .event-landing-page .product-table .product-value {
    max-width: 100%;
    font-size: clamp(15px, 4.6vw, 18px);
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .event-landing-page .product-table td:first-child .product-value {
    font-size: clamp(16px, 5vw, 20px);
  }

  .event-landing-page .product-table td:last-child {
    margin-top: 16px;
  }

  .event-landing-page .product-table td:last-child .row-arrow {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border: 1px solid #5a5a5a;
    border-radius: 2px;
    color: var(--red);
    font-size: 16px;
    line-height: 1;
  }

  .event-landing-page .product-table td:last-child .row-arrow::before {
    content: "View product";
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .event-landing-page .product-table td:last-child .row-arrow:focus-visible {
    outline: 3px solid rgba(239, 22, 29, .55);
    outline-offset: 3px;
  }
}

/* Custom Gasket Solutions Section (AAPEX only) */
.event-landing-page--aapex .section--booth .booth-top,
.event-landing-page .custom-solutions-wrap {
  width: 100%;
  max-width: 100%;
}

.event-landing-page .custom-solutions-wrap {
  margin: 0 auto;
  padding-bottom: 80px;
}

.event-landing-page .custom-solutions-card {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eaeaea;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 32px 32px 36px;
}

.event-landing-page .custom-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.event-landing-page .custom-solution-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.event-landing-page .custom-solution-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  background-color: #f4f5f7;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-landing-page .custom-solution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-landing-page .custom-solution-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  margin-bottom: 10px;
}

.event-landing-page .custom-solution-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.event-landing-page .custom-solution-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}

.event-landing-page .custom-solution-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #555555;
  text-align: center;
}

.event-landing-page .custom-notice-banner {
  width: 100%;
  margin-top: 24px;
  background-color: var(--red, #e0001a);
  color: #ffffff;
  border-radius: 8px;
  padding: 20px 24px;
}

.event-landing-page .custom-notice-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.event-landing-page .custom-notice-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
}

.event-landing-page .custom-solutions-action {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.event-landing-page .custom-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--body, "Poppins", sans-serif);
  padding: 14px 38px;
  border-radius: 8px;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.event-landing-page .custom-action-btn:hover {
  background-color: #222222;
  color: #ffffff;
  transform: translateY(-1px);
}

.event-landing-page .custom-action-btn:visited,
.event-landing-page .custom-action-btn:active,
.event-landing-page .custom-action-btn:focus {
  color: #ffffff;
}

@media (max-width: 1024px) {

  .event-landing-page--aapex .section--booth .booth-top,
  .event-landing-page .custom-solutions-wrap {
    width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
  }

  .event-landing-page .custom-solutions-wrap {
    padding-bottom: 60px;
  }
}

@media (max-width: 900px) {
  .event-landing-page .custom-solutions-card {
    padding: 24px 20px 28px;
  }

  .event-landing-page .custom-solutions-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 699px) {

  .event-landing-page--aapex .section--booth .booth-top,
  .event-landing-page .custom-solutions-wrap {
    width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
  }
}