/* Four illustration windows from the supplied activity sheet. */
:is(.kids-library .activity-card,.ft-picture,.hp-experience-art) .series-thumb {
  position:relative; container-type:inline-size; aspect-ratio:460/170;
  max-height:none; background-color:#f8f6f1;
  background-image:url(/assets/kids-activity-sheet.webp);
  background-size:222.6087% 336.4706%; background-repeat:no-repeat;
}
.thumb-1{background-position:5.32% 5.22%}
.thumb-2{background-position:94.68% 5.22%}
.thumb-3{background-position:5.32% 76.12%}
.thumb-4{background-position:94.68% 76.12%}
.series-thumb .series-scroll {
  position:absolute; left:50%;transform:translateX(-50%);top:1.4%;
  display:grid;place-items:center; width:31%;height:24%;box-sizing:border-box;
  background:#faf2df;border:2px double #ab9778;border-inline:5px solid #818b76;
  border-radius:3px;color:#493b2b;font:700 3.1cqw/1.1 "Noto Serif KR",Batang,serif;
}
.series-thumb .map-jeonju,.series-thumb .map-gyeongju {
  position:absolute; display:grid;place-items:center;background:#fff6df;color:#433929;
  border:1px solid #ae9878;border-radius:4px;font:700 1.95cqw/1.1 system-ui;
  padding:0 1%;height:10%;
}
.map-jeonju{left:40%;top:64%}.map-gyeongju{left:73%;top:58%}

.series-thumb:is(.thumb-1,.thumb-2)::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background-position:center; background-repeat:no-repeat; background-size:100% 100%;
}
/* One complete artwork replaces the old sprite plus fan overlay. */
:is(.kids-library .activity-card,.ft-picture,.hp-experience-art) .series-thumb.thumb-1 {
  background-image:url(/assets/activity-family-clean.webp);
  background-size:100% 100%;
  background-position:center;
}
.series-thumb.thumb-1::before {content:none}
.thumb-2::before {background-image:url(/assets/activity-map-detail.svg)}
.thumb-2 :is(.map-jeonju,.map-gyeongju) {display:none}

/* Bring the park artwork into the muted cream activity illustration palette. */
img[src="/kids/roots-park/walk-park-v3.webp"] {
  filter:saturate(.72) contrast(.88) brightness(1.03);
}

:is(.kids-library .activity-card,.hp-experience-art) .series-thumb.portrait-photo-thumb {
  background:#f5f3e0;
}
.series-thumb.portrait-photo-thumb > img {
  display:block; width:100%; height:100%; object-fit:cover;
}

/* Activity cards share one title plate, scaled to each illustration's width. */
:is(.hp-experience-art, .activities-preview .activity-card) .series-thumb .series-scroll {
  top:.45cqw;
  width:32%;
  height:11.2cqw;
  padding-inline:2px;
  z-index:1;
  text-align:center;
  white-space:nowrap;
  font-size:3.25cqw;
  border-inline-width:1cqw;
}
