/* Day only: in-flow copy can grow with translations and text zoom. */
.xb-day-hero-frame {
  position: relative;
  isolation: isolate;
  min-height: clamp(28rem, 45vw, 40.5rem);
  margin-inline: auto;
}
.xb-day-hero-media { position: absolute; inset: 0; z-index: -2; }
.xb-day-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 35%;
}
/* A uniform veil preserves the photograph without a decorative gradient. */
.xb-day-hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(0 0 0 / 38%);
}
.xb-day-hero .xb-day-hero-content {
  max-width: 100rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-block: clamp(2.5rem, 5vw, 5rem);
}
.xb-day-hero-copy { width: 48%; min-width: 0; }
.xb-day-hero-identifier {
  margin: 0 0 .35rem;
  color: var(--xb-accent-gold);
  font-size: clamp(.875rem, 1.8vw, 1.5rem);
  font-weight: 600;
  text-transform: uppercase;
}
.xb-day-hero .xb-day-hero-title {
  margin: 0;
  font-size: clamp(3rem, 6.8vw, 6.5rem);
  line-height: .94;
  text-transform: uppercase;
  overflow-wrap: normal;
}
.xb-day-hero-title span,
.xb-day-hero-accent span,
.xb-day-hero-message span { display: block; }
.xb-day-hero .xb-day-hero-accent {
  transform: rotate(-4deg);
  transform-origin: right top;
  width: fit-content;
  max-width: 100%;
  margin: .75rem 0 0;
  color: var(--xb-accent-gold);
  font-size: clamp(2.75rem, 4.8vw, 4.5rem);
  line-height: .95;
  overflow-wrap: normal;
}
.xb-day-hero .xb-day-hero-message {
  transform: rotate(-6deg);
  transform-origin: right bottom;
  width: fit-content;
  max-width: 29%;
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  line-height: 1;
  overflow-wrap: normal;
}
.xb-day-hero-accent::after,
.xb-day-hero-message::after {
  content: "";
  display: block;
  width: 95%;
  height: .065em;
  margin-top: .2em;
  background: var(--xb-accent-gold);
}
.xb-day-hero:lang(fr) .xb-day-hero-title,
.xb-day-hero:lang(de) .xb-day-hero-title { font-size: clamp(2.5rem, 5.4vw, 5.25rem); }
.xb-day-hero:lang(zh) .xb-type-script {
  font-family: var(--xb-font-script), "Noto Sans CJK SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  line-height: 1.5;
}
@media (max-width: 767px) {
  .xb-day-hero-frame { min-height: 30rem; }
  .xb-day-hero-media img { object-position: 52% 55%; }
  .xb-day-hero .xb-day-hero-content {
    min-height: 30rem;
    flex-direction: column;
    gap: 5rem;
    padding-block: 2rem;
  }
  .xb-day-hero-copy { width: 100%; }
  .xb-day-hero .xb-day-hero-title { font-size: clamp(3rem, 12vw, 5rem); }
  .xb-day-hero:lang(fr) .xb-day-hero-title,
  .xb-day-hero:lang(de) .xb-day-hero-title { font-size: clamp(2.25rem, 10vw, 4.25rem); }
  .xb-day-hero .xb-day-hero-accent { font-size: clamp(2.75rem, 11vw, 4rem); transform: rotate(-2deg); }
  .xb-day-hero .xb-day-hero-message {
    transform: rotate(-3deg);
    align-self: flex-end;
    max-width: 75%;
    font-size: clamp(2rem, 7.5vw, 2.75rem);
  }
  .xb-day-hero:lang(zh) .xb-type-script { font-size: clamp(1.25rem, 4.5vw, 1.75rem); }
}

@media (min-width: 1101px) {
  .xb-day-hero-frame { min-height: clamp(28rem, 36vw, 35rem); }
}

@media (min-width: 1280px) {
  .xb-new-web.xb-day-hero .xb-day-hero-copy .xb-day-hero-title {
    font-size: clamp(3rem, 4.5cqi, 5rem);
  }
}
