/* Shared category illustrations for the menu and product-group directory. */
.tm-mega-picture.tm-mega-picture--illustrated {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce2e1;
  border-radius: 8px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.tm-mega-picture.tm-mega-picture--illustrated img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  margin: 0;
  object-fit: cover;
  mix-blend-mode: normal;
  border-radius: 0;
}
.tm-mega-picture.tm-mega-picture--illustrated > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.tm-mega-picture.tm-mega-picture--illustrated b {
  display: inline;
  flex-shrink: 0;
  font-size: 19px;
}
.tm-mega-picture.tm-mega-picture--illustrated:hover {
  border-color: #748c83;
  box-shadow: 0 3px 12px rgb(25 48 42 / 8%);
}
@media (max-width: 420px) {
  .tm-mega-picture.tm-mega-picture--illustrated > span {
    padding: 10px;
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tm-mega-picture.tm-mega-picture--illustrated { transition: none; }
}
