/* Babysmart homepage: four category icons at half their original display size. */
#photo_gallery_1_101 .photo-gallery-item > a > img {
  display: block;
  width: 50%;
  height: auto;
  margin-inline: auto;
}

/* Babysmart homepage: TASANO hero at 80% width, preserving slide aspect ratio. */
section[id^="section_image_slider_"][id$="_98"] .image_slider_container {
  width: 80%;
  margin-inline: auto;
}

/* TASANO notes: three compact cards, with readable type and original portraits. */
section[id^="full_text_block_"][id$="_107"] .fr-view > section > div {
  justify-content: safe center;
}
section[id^="full_text_block_"][id$="_107"] .fr-view > section > div > article {
  flex-basis: max(171.5px, calc(23.333333% - 7.466667px)) !important;
  padding: 8.1px !important;
}

/* Keep the four homepage category shortcuts side by side on phones. */
@media (max-width: 767px) {
  #photo_gallery_1_101 .pure-g {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  #photo_gallery_1_101 .photo-gallery-item {
    width: auto;
    min-width: 0;
  }
  #photo_gallery_1_101 .photo-gallery-item > a > img {
    width: 100%;
  }
}