/* ISE teaser styles are scoped so the Bootstrap 3 navigation and footer retain their site styling. */
  .ise-2027-hero {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 760px;
    min-height: 100vh;
    padding: 120px 20px 90px;
    background: #080808;
    color: #fff;
    text-align: center;
  }
  .ise-2027-hero .container { flex: 0 0 auto; width: 100%; min-width: 0; max-width: 1170px; }
  .ise-2027-brand-logo {
    display: block;
    width: 340px;
    max-width: 80%;
    height: auto;
    margin: 0 auto 24px;
  }
  .ise-2027-heading {
    margin: 0;
    color: #fff;
    font-family: "gesta", Arial, Helvetica, sans-serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: normal;
    text-transform: none;
    text-align: center;
  }
  @media (min-width: 768px) and (max-width: 991px) {
    .ise-2027-heading { font-size: 44px; }
  }
  .ise-2027-event-details {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
  }
  .ise-2027-event-details li { display: flex; align-items: center; margin-bottom: 12px; }
  .ise-2027-detail-icon {
    display: inline-block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    color: #f05327;
    vertical-align: middle;
  }
  .ise-2027-event-details li + li:before {
    content: '';
    width: 1px;
    height: 18px;
    margin: 0 19px;
    background: #f05327;
  }
  .ise-2027-registration { margin: 28px 0 0; }
  .ise-2027-hero .ise-2027-register-button {
    display: inline-block;
    max-width: 100%;
    min-height: 52px;
    padding: 14px 38px;
    border: 2px solid transparent;
    border-radius: 999px;
    background: #f05327;
    color: #fff;
    font-family: "gesta", Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
  }
  .ise-2027-hero .ise-2027-register-button:hover,
  .ise-2027-hero .ise-2027-register-button:focus {
    background: #ca3f18;
    color: #fff;
    text-decoration: none;
  }
  .ise-2027-hero .ise-2027-register-button:focus {
    outline: 3px solid #fff;
    outline-offset: 4px;
  }
  @media (prefers-reduced-motion: reduce) {
    .ise-2027-hero .ise-2027-register-button { transition: none; }
  }
  .ise-2027-invitation {
    max-width: 760px;
    margin: 40px auto 0;
    color: #fff;
    text-align: center;
  }
  .ise-2027-invitation h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
  }
  .ise-2027-code-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #555;
    border-radius: 8px;
    background: #1c1c1c;
    text-align: left;
  }
  .ise-2027-code-details { min-width: 0; margin-right: 20px; }
  .ise-2027-code-label {
    display: block;
    margin-bottom: 6px;
    color: #bbb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .ise-2027-code-value {
    display: block;
    padding: 0;
    background: transparent;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 700;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  #ise-2027-copy {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    position: relative;
    visibility: visible;
    opacity: 1;
    min-width: 160px;
    max-width: 100%;
    min-height: 48px;
    padding: 11px 22px;
    border: 2px solid #fff;
    border-radius: 5px;
    background: #fff;
    color: #111;
    -webkit-text-fill-color: #111;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
  }
  #ise-2027-copy:focus { outline: 3px solid #f05327; outline-offset: 3px; }
  @media (hover: hover) {
    #ise-2027-copy:hover { background: #ededed; border-color: #ededed; }
  }
  .ise-2027-copy-status {
    min-height: 24px;
    margin: 14px auto 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
  }
  @media (max-width: 767px) {
    .ise-2027-hero { height: auto; min-height: 100vh; padding: 100px 18px 48px; }
    .ise-2027-brand-logo { width: 260px; max-width: 85%; margin-bottom: 24px; }
    .ise-2027-heading {
      font-size: 36px;
      font-size: clamp(32px, 8vw, 44px);
      line-height: 1.12;
    }
    .ise-2027-event-details { display: block; margin-top: 26px; font-size: 15px; }
    .ise-2027-event-details li { justify-content: center; margin: 5px 0; }
    .ise-2027-event-details li + li:before { display: none; }
    .ise-2027-invitation { margin-top: 32px; }
    .ise-2027-invitation h2 { font-size: 24px; }
    .ise-2027-code-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px; text-align: center; }
    .ise-2027-code-details { margin-right: 0; }
    .ise-2027-code-value { font-size: 18px; }
    #ise-2027-copy { display: flex; width: 100%; min-width: 0; margin: 0; }
  }

/* Video treatment for the alternative ISE 2027 teaser. */
  .ise-2027-hero {
    position: relative;
    overflow: hidden;
    background: #080808 url("../images/video/ise_2027_bg-poster.jpg") center center / cover no-repeat;
  }
  .ise-2027-hero .container {
    position: relative;
    z-index: 2;
  }
  .ise-2027-background-video,
  .ise-2027-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .ise-2027-background-video {
    z-index: 0;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
  }
  .ise-2027-video-overlay {
    z-index: 1;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
  }
  @media (prefers-reduced-motion: reduce) {
    .ise-2027-background-video { display: none; }
  }

/* Standalone Bootstrap 3-compatible scrolling experiment. */
  html { scroll-snap-type: y mandatory; scroll-behavior: smooth; }
  .ise-2027-hero, .ise-2027-test-panel, footer-prod {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .ise-2027-hero { min-height: 100vh; min-height: 100svh; }
  .ise-2027-test-panel {
    position: relative; box-sizing: border-box; width: 100%;
    height: auto; min-height: 100vh; min-height: 100svh;
    margin: 0; padding: 0; background: #000; color: #fff; overflow: hidden;
  }
  .ise-2027-test-panel + .ise-2027-test-panel { border-top: 1px solid #444; }
  .ise-2027-feature-row {
    display: flex; align-items: center; width: 100%; max-width: none; margin: 0;
    min-height: 100vh; min-height: 100svh;
  }
  .ise-2027-feature-reverse .ise-2027-feature-row { flex-direction: row-reverse; }
  .ise-2027-feature-media { align-self: flex-start; padding: 0; }
  .ise-2027-feature-image {
    display: block; width: 100%; height: auto; max-height: none;
    object-fit: contain; object-position: left top; will-change: transform;
  }
  .ise-2027-feature-reverse .ise-2027-feature-image { object-position: right top; }
  /* Keep desktop stand artwork within one viewport so the wheel handler can
     animate straight into the next section without a native-scroll step. */
  @media (min-width: 992px) and (min-height: 640px) {
    .ise-2027-feature-image {
      width: auto;
      max-width: 100%;
      max-height: calc(100vh - 1px);
      max-height: calc(100svh - 1px);
    }
    .ise-2027-feature-reverse .ise-2027-feature-image { margin-left: auto; }
  }
  .ise-2027-stand-copy {
    color: #fff; text-align: left; padding: 30px 3vw;
    font-family: "gesta", Arial, Helvetica, sans-serif;
  }
  .ise-2027-stand-copy h2 {
    margin: 0 0 24px; color: #fff; text-transform: none;
    font-family: inherit; font-size: clamp(30px, 3.2vw, 50px);
    font-weight: 700; line-height: 1.08; letter-spacing: normal;
  }
  .ise-2027-stand-copy p {
    margin: 0; border: 0; padding: 0; color: #ddd;
    font-size: 18px; line-height: 1.55; max-width: 460px;
  }
  @media (max-width: 991px) {
    .ise-2027-test-panel { min-height: 0; padding: 0 0 32px; }
    .ise-2027-feature-row, .ise-2027-feature-reverse .ise-2027-feature-row {
      display: flex; flex-direction: column; min-height: 0;
    }
    .ise-2027-feature-media { width: 100%; padding: 0; }
    .ise-2027-feature-image { max-height: none; object-position: center top; }
    .ise-2027-feature-reverse .ise-2027-feature-image { object-position: center top; }
    .ise-2027-stand-copy { width: 100%; padding: 26px 24px 0; text-align: center; }
    .ise-2027-stand-copy h2 { font-size: clamp(28px, 7vw, 38px); margin-bottom: 18px; }
    .ise-2027-stand-copy p { font-size: 16px; line-height: 1.5; margin: 0 auto; }
  }
  @media (prefers-reduced-motion: reduce) {
    .ise-2027-feature-image { transform: none !important; will-change: auto; }
  }
  .ise-2027-video-section {
    box-sizing: border-box; min-height: 100vh; min-height: 100svh;
    padding: 90px 24px 48px; background: #fff; color: #1c1c1c;
    display: flex; align-items: center; scroll-snap-align: start; scroll-snap-stop: always;
  }
  .ise-2027-video-section > .container { width: 100%; max-width: 1170px; }
  .ise-2027-video-section h2 {
    margin: 0 0 32px; text-align: center; color: #1c1c1c;
    font-family: "gesta", Arial, Helvetica, sans-serif;
    font-size: clamp(30px, 3.2vw, 48px); line-height: 1.15; font-weight: 700; text-transform: none;
  }
  .ise-2027-video-wrap { max-width: min(1040px, calc((100svh - 240px) * 1.77778)); margin: 0 auto; background: #000; }
  .ise-2027-video-wrap iframe { border: 0; }
  @media (max-width: 991px) {
    .ise-2027-video-section { min-height: 0; display: block; padding: 40px 0; }
    .ise-2027-video-section h2 { font-size: clamp(28px, 6vw, 38px); margin-bottom: 24px; }
    .ise-2027-video-wrap { max-width: 100%; }
  }
  @media (max-height: 639px) {
    .ise-2027-video-section { min-height: 0; }
    .ise-2027-video-wrap { max-width: 900px; }
  }
  footer-prod { display: block; }
  /* Fit the existing content on typical desktop screens; retain natural
     content height on short screens and phones so nothing is hidden. */
  @media (min-width: 992px) and (min-height: 640px) {
    .ise-2027-hero { padding: 82px 20px 24px; }
    .ise-2027-brand-logo { width: clamp(200px, 29vh, 340px); margin-bottom: 18px; }
    .ise-2027-heading { font-size: clamp(34px, 5.4vh, 52px); }
    .ise-2027-event-details { margin-top: 22px; }
    .ise-2027-registration { margin-top: 16px; }
    .ise-2027-invitation { margin-top: 24px; }
    .ise-2027-invitation h2 { margin-bottom: 12px; }
    .ise-2027-copy-status { margin-top: 8px; margin-bottom: 0; }
  }
  @media (max-width: 991px), (max-height: 639px) {
    html { scroll-snap-type: y proximity; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
  }

/* Static helpers previously declared in the markup and clipboard script. */
.ise-2027-clear { clear: both; }
.ise-2027-tracking-pixel { display: none; }
.ise-2027-clipboard-field { position: fixed; opacity: 0; }
