.aim-ai-week {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(36rem, calc(100% - 24px));
  max-height: calc(100% - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(18px, 5vw, 36px);
  border-radius: 20px;
  box-shadow: 0 10px 100px rgb(1 147 188 / 50%);
  background: #f7f6f3;
  color: #232730;
  font: 400 1rem/1.45 Inter, Arial, sans-serif;
}

.aim-ai-week::backdrop {
  background: rgb(25 20 34 / 64%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
html.aim-ai-week-open { overflow: hidden; }
html.aim-ai-week-open .aim-ai-week-bar { visibility: hidden; }
/* The 286px-wide artwork has a 32px left inset, about 20px at display size. */
.aim-ai-week img {
  display: block;
  width: 180px;
  height: auto;
  margin: 0 0 8px;
  margin-inline-start: -20px;
}
.aim-ai-week h2 { font: 900 clamp(1.35rem, 5vw, 2rem)/1.1 Inter, Arial, sans-serif; color: inherit; margin: 0 0 12px; text-transform: none; }
.aim-ai-week form { margin: 0; }
.aim-ai-week p { width: auto; max-width: none; font: inherit; color: inherit; margin: 0 0 12px; }
.aim-ai-week .aim-ai-week-event { color: #6420bb; text-decoration: underline; }
.aim-ai-week .aim-ai-week-close {
  position: absolute;
  inset: 8px 8px auto auto;
  appearance: none;
  box-shadow: none;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  color: inherit;
  border: 0;
  font-size: 24px;
  cursor: pointer;
}
.aim-ai-week :focus-visible { outline: 2px solid #6420bb; outline-offset: 3px; }
@media print { .aim-ai-week, .aim-ai-week::backdrop { display: none !important; } }

#header.aim-header { position: relative; }
.aim-ai-week-bar[hidden] { display: none; }
.aim-ai-week-bar {
  --aim-ai-week-bar-type-size: clamp(10.2px, 1.32vw, 17.4px);
  position: absolute;
  inset: var(--aim-ai-week-bar-top, 86px) 0 auto;
  z-index: 3;
  box-sizing: border-box;
  width: max-content;
  max-width: calc(100% - 24px);
  margin-inline: auto;
  padding: clamp(12px, 2vw, 22px);
  padding-inline-end: calc(clamp(12px, 2vw, 22px) + 12px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  justify-content: center;
  gap: 12px clamp(14px, 2vw, 24px);
  border-radius: 20px;
  box-shadow: 0 10px 100px rgb(1 147 188 / 50%);
  background: #f7f6f3;
  color: #000;
  font: 800 .875rem/1.3 Inter, Arial, sans-serif;
}
.aim-ai-week-bar img {
  display: block;
  grid-row: 1 / 3;
  align-self: start;
  width: auto;
  height: var(--aim-ai-week-copy-height, 48px);
  margin-top: var(--aim-ai-week-logo-offset, 0px);
  margin-inline-start: 12px;
  transform: translateY(4px) scale(1.44);
}
.aim-ai-week-bar-date,
.aim-ai-week-bar-discount {
  text-align: left;
  font-size: var(--aim-ai-week-bar-type-size);
  line-height: 1.2;
  text-wrap: balance;
}
.aim-ai-week-bar-date { grid-column: 2 / -1; grid-row: 1; }
.aim-ai-week-bar-discount { grid-column: 2; grid-row: 2; }
.aim-ai-week-bar :is(button:not(.aim-ai-week-bar-close), .aim-ai-week-page-link), .aim-ai-week .aim-ai-week-claim { gap: 0.4em; white-space: nowrap; }
.aim-ai-week-bar :is(button:not(.aim-ai-week-bar-close), .aim-ai-week-page-link), .aim-ai-week .aim-ai-week-claim {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 13px 20px;
  border: 1px solid #252930;
  border-radius: 0;
  background: #fcfbf9;
  color: #252930;
  font: 700 17px/1.3 Arial, sans-serif;
  cursor: pointer;
}
.aim-ai-week-bar :is(button:not(.aim-ai-week-bar-close), .aim-ai-week-page-link):hover, .aim-ai-week .aim-ai-week-claim:hover {
  color: #252930;
  box-shadow: inset 0 -3px #252930;
}
#header.aim-header .aim-ai-week-bar:not([hidden]) + .intro-block {
  padding-top: calc(80px + var(--aim-ai-week-bar-height, 40px));
}
@media (max-width: 540px) {
  .aim-ai-week-bar { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 8px; }
  .aim-ai-week-bar img {
    grid-row: auto;
    height: 69px;
    margin: 0;
    transform: none;
  }
  .aim-ai-week-bar-date, .aim-ai-week-bar-discount { grid-column: 1; grid-row: auto; justify-self: stretch; }
  .aim-ai-week-bar :is(button:not(.aim-ai-week-bar-close), .aim-ai-week-page-link) { padding: 9px 14px; }
}
@media (max-width: 599px) {
  #header.aim-header .aim-ai-week-bar:not([hidden]) + .intro-block {
    padding-top: calc(64px + var(--aim-ai-week-bar-height, 40px));
  }
}
@media print { .aim-ai-week-bar { display: none !important; } }

.aim-ai-week, .aim-ai-week-bar { border: 1px solid rgb(35 39 48 / 20%); }

#header.home-header .aim-ai-week-bar:not([hidden]) + .intro-block .intro-text {
  padding-top: calc(var(--aim-ai-week-nav-height, 80px) + var(--aim-ai-week-bar-height, 40px) + 12px);
}
#header.home-header .aim-ai-week-bar,
#header.home-header .aim-ai-week-bar * {
  text-shadow: none;
  -webkit-user-select: none;
  user-select: none;
}

#header.home-header.video-blue-overlay > .aim-ai-week-bar { position: absolute; z-index: 3; }

.aim-ai-week-bar { overflow: hidden; }
#header:is(.home-header, .aim-header) .aim-ai-week-bar img {
  align-self: center;
  width: clamp(105px, 18vw, 150px);
  height: auto;
  margin: 0;
  transform: none;
}

#header:is(.home-header, .aim-header) .aim-ai-week-bar-venue::before { content: " @ "; }

@media (min-width: 541px) and (max-width: 800px), (min-width: 541px) and (orientation: portrait) {
  #header:is(.home-header, .aim-header) .aim-ai-week-bar {
    grid-template-columns: auto minmax(0, 1fr);
    padding-inline-start: 24px;
  }
  #header:is(.home-header, .aim-header) .aim-ai-week-bar img {
    grid-row: 1 / 4;
    align-self: center;
    width: clamp(125px, 26vw, 210px);
    height: auto;
    margin: 0;
    transform: none;
  }
  #header:is(.home-header, .aim-header) .aim-ai-week-bar-venue { display: block; }
  #header:is(.home-header, .aim-header) .aim-ai-week-bar-venue::before { content: none; }
  #header:is(.home-header, .aim-header) .aim-ai-week-bar-date,
  #header:is(.home-header, .aim-header) .aim-ai-week-bar-discount {
    grid-column: 2;
    text-align: left;
  }
  #header:is(.home-header, .aim-header) .aim-ai-week-bar :is(.aim-ai-week-page-link, button:not(.aim-ai-week-bar-close)) {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    padding: 9px 14px;
  }
}

@media (orientation: portrait) and (max-width: 600px) {
  .aim-ai-week { padding: 14px 16px; font-size: 0.875rem; line-height: 1.3; }
  .aim-ai-week img { width: 128px; margin: 0 0 4px -14px; }
  .aim-ai-week h2 { font-size: 1.125rem; margin-bottom: 7px; }
  .aim-ai-week p { margin-bottom: 8px; }
  .aim-ai-week .aim-ai-week-claim { padding: 9px 12px; font-size: 0.9375rem; }
}

@media (orientation: portrait) and (max-width: 600px) and (max-height: 520px) {
  .aim-ai-week { padding: 8px 12px; line-height: 1.2; }
  .aim-ai-week img { width: 100px; margin-inline-start: -11px; }
  .aim-ai-week p { margin-bottom: 6px; }
}

#header.home-header .aim-ai-week-bar:not([hidden]) {
  padding-inline-end: max(44px, calc(clamp(12px, 2vw, 22px) + 12px));
}
#header.home-header .aim-ai-week-bar > .aim-ai-week-bar-close {
  position: absolute;
  inset: 2px 2px auto auto;
  margin: 0;
  appearance: none;
  box-shadow: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #252930;
  font: 400 22px/1 Arial, sans-serif;
  cursor: pointer;
}
.aim-ai-week-bar-close:hover { background: rgb(37 41 48 / 8%); }

@media (orientation: portrait) and (max-width: 540px) {
  #header .aim-ai-week-bar-venue { display: block; }
  #header .aim-ai-week-bar-venue::before { content: none; }
  #header.home-header .aim-ai-week-bar:not([hidden]) {
    padding-inline-start: 44px;
  }
  #header .aim-ai-week-bar-date,
  #header .aim-ai-week-bar-discount {
    text-align: center;
  }
}

.aim-ai-week .aim-ai-week-claim { display: flex; width: fit-content; margin-inline: auto; }

#header.aim-header :is(.aim-ai-week-bar, .prodLogoContent),
#header.aim-header :is(.aim-ai-week-bar, .prodLogoContent) * {
  -webkit-user-select: none;
  user-select: none;
}
