/* The HTML module keeps the existing copy and category links. */
.uk-container:has(> .banner--pink):has(> .banner--white) {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: stretch;
}

.banner.banner--pink,
.banner.banner--white {
  box-sizing: border-box;
  container-type: inline-size;
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: auto;
  min-height: 580px;
  aspect-ratio: 1200 / 1320;
  margin: 0;
  padding: 3.3333%;
  border-radius: 30px;
  text-align: left;
  isolation: isolate;
  background: linear-gradient(128deg, #e7d7ff 0%, #bccfff 72%);
}

.banner.banner--white {
  background: linear-gradient(128deg, #ffd9e9 0%, #ffe0be 72%);
}

/* Use the original two-panel artwork; clip only its upper text area in CSS.
   Each panel is 1200 px wide, with a 40 px gap in the 2440 px source. */
.banner.banner--pink::after,
.banner.banner--white::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: auto;
  aspect-ratio: 1200 / 726;
  background-image: url('../img/pic/bg/categories-2026.webp');
  background-size: 203.333333% auto;
  background-position: left bottom;
  background-repeat: no-repeat;
  mask-image: linear-gradient(to bottom, transparent, #000 6px);
  pointer-events: none;
}

.banner.banner--white::after {
  background-position: right bottom;
}

.banner.banner--pink > img,
.banner.banner--white > img {
  display: none;
}

.banner.banner--pink > span,
.banner.banner--white > span {
  display: block;
  position: relative;
  margin: 0 0 7.6923%;
  color: #151d2b;
  font: 700 40px/1.2 Roboto, Arial, sans-serif;
  font-size: clamp(30px, 7.6923cqw, 56px);
}

.banner.banner--pink > p,
.banner.banner--white > p {
  position: relative;
  z-index: 1;
  margin: 0 0 4%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #111;
  font: 400 18px/1.4 Roboto, Arial, sans-serif;
  font-size: clamp(16px, 3.6538cqw, 24px);
}

.banner.banner--pink > a,
.banner.banner--white > a {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: none;
  min-height: 44px;
  margin: 0;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #328bf2;
  color: #fff;
  font: 700 18px/1.2 Roboto, Arial, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
}

.banner.banner--pink > a:hover,
.banner.banner--white > a:hover {
  background: #176ece;
  color: #fff;
}

.banner.banner--pink > a:focus-visible,
.banner.banner--white > a:focus-visible {
  outline: 3px solid #151d2b;
  outline-offset: 4px;
}

@media (max-width: 1023px) {
  .uk-container:has(> .banner--pink):has(> .banner--white) {
    flex-direction: column;
  }

  .banner.banner--pink,
  .banner.banner--white {
    flex: none;
    width: 100%;
    min-height: 550px;
    padding: 24px;
    border-radius: 24px;
  }

  .banner.banner--pink::after,
  .banner.banner--white::after {
    mask-image: linear-gradient(to bottom, transparent, #000 16px);
  }

  .banner.banner--pink > span,
  .banner.banner--white > span {
    margin-bottom: 20px;
  }

  .banner.banner--pink > p,
  .banner.banner--white > p {
    margin-bottom: 20px;
  }
}
