.mh { --ic-a: rgba(176, 167, 239, .55); padding-bottom: 56px; background: #fff; color: var(--ei-text); }
.mh * { box-sizing: border-box; }
.mh:not(:has(.mh-head)) { margin-top: -16px; }
.mh ul { margin: 0; padding: 0; list-style: none; }
.mh-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.mh-card { position: relative; display: grid; grid-template-columns: clamp(84px, 28vw, 112px) minmax(0, 1fr); gap: 12px; align-items: center; min-width: 0; padding: 10px 12px 10px 10px; border: 2px solid var(--ei-lilac); border-radius: 26px; background: #fff; }
.mh-media { position: relative; display: grid; place-items: center; overflow: hidden; min-width: 0; aspect-ratio: 4 / 3; border-radius: 14px; background: var(--ei-lilac); }
.mh-card--roxo .mh-media { --ic-a: rgba(176, 167, 239, .55); background: var(--ei-purple); }
.mh-media::before { position: absolute; inset: 10% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .7), transparent 72%); content: ""; }
.mh-card--roxo .mh-media::before { background: radial-gradient(closest-side, rgba(176, 167, 239, .4), transparent 72%); }
.mh-media img { position: absolute; inset: 0; display: block; min-width: 0; min-height: 0; width: 100%; height: 100%; padding: 5px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(67, 14, 97, .3)); }
.mh-badge { position: absolute; z-index: 2; top: 5px; right: 5px; padding: 2px 7px; border-radius: 999px; background: var(--ei-green); color: #000; font-size: 10px; font-weight: 700; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; }
.mh-body h3 { min-width: 0; margin: 0 0 4px; color: var(--ei-purple-dark); font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: anywhere; }
.mh-link { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; color: var(--ei-purple-dark); text-decoration: none; }
.mh-link > span:last-child::after { content: " ›"; color: var(--ei-purple); }
.mh-link > span:last-child { overflow-wrap: normal; }
.mh-link::after { position: absolute; z-index: 1; inset: 0; border-radius: inherit; content: ""; }
.mh-link:focus-visible { outline: 3px solid var(--ei-purple); outline-offset: 3px; }
.mh-card:has(.mh-link:focus-visible) { outline: 3px solid var(--ei-purple); outline-offset: 3px; }
.mh-body p { margin: 0; color: var(--ei-text); font-size: 14px; line-height: 1.45; }
.mh-ic { display: grid; flex: none; place-items: center; color: var(--ei-purple); font-size: 22px; }
.mh-i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mh-more { display: none; align-items: center; gap: 6px; color: var(--ei-purple); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.mh-more::after { content: "→"; }
.mh-card:hover { border-color: var(--ei-purple); }
@supports selector(.mh-card:has(.mh-link:focus-visible)) { .mh-link:focus-visible { outline: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .mh-card { transition: border-color .25s, transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s; }
  .mh-more::after { transition: transform .25s; }
  .mh-card:hover .mh-more::after { transform: translateX(4px); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .mh-card:hover { transform: translateY(-4px); box-shadow: 0 18px 30px rgba(67, 14, 97, .14); } }
@media (max-width: 359px) { .mh-ic { display: none; } .mh-body h3 { font-size: 15px; } }
@media (min-width: 640px) {
  .mh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .mh-card { gap: 14px; min-height: 140px; padding: 12px 14px 12px 12px; }
  .mh-media { border-radius: 16px; }
  .mh-body p { font-size: 15px; }
}
@media (min-width: 1024px) {
  .mh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 16px; row-gap: 0; }
  .mh-card { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: 0; margin-bottom: 16px; padding: 10px 10px 18px; }
  .mh-media { aspect-ratio: 3 / 2; border-radius: 18px; }
  .mh-media img { padding: 10px; }
  .mh-body { display: contents; }
  .mh-ic { font-size: 26px; }
  .mh-body h3 { margin: 14px 8px 6px; font-size: 18px; }
  .mh-link { min-height: 44px; align-items: flex-start; }
  .mh-link > span:last-child::after { content: none; }
  .mh-body p { margin: 0 8px; font-size: 15px; }
  .mh-more { display: inline-flex; margin: 12px 8px 0; }
  .mh-badge { top: 8px; right: 8px; padding: 4px 10px; font-size: 11px; }
  .mh:not(:has(.mh-head)) { margin-top: -56px; }
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1024px) {
    .mh-card { display: grid; grid-row: span 4; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; row-gap: 0; }
    .mh-more { align-self: end; }
  }
}
.mh-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
