.mhcw-portal-entry {
  display: grid;
  gap: 22px;
  min-width: 0;
  padding: 18px 14px 14px;
  scroll-margin-top: 88px;
}

.mhcw-card {
  --mhcw-accent: #215844;
  --mhcw-border: #b9d8cc;
  --mhcw-panel: #f5fbf8;
  --mhcw-button: #e6f3ec;
  display: grid;
  grid-template-columns: min(48%, 500px) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--mhcw-border);
  border-radius: 20px;
  background: var(--mhcw-panel);
  box-shadow: 0 8px 24px #173e3110;
  color: var(--mhcw-accent);
}

.mhcw-weddings {
  --mhcw-accent: #793e5b;
  --mhcw-border: #e6cbd8;
  --mhcw-panel: #fdf7fa;
  --mhcw-button: #f6e8ef;
}

.mhcw-media {
  position: relative;
  align-self: center;
  min-width: 0;
  margin: 12px 0 12px 12px;
}

.mhcw-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.mhcw-image-note {
  position: absolute;
  bottom: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  padding: 3px 6px;
  border-radius: 4px;
  background: #183b32;
  color: #fff;
  font: 11px/1.3 Arial, sans-serif;
}

.mhcw-body {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
  min-width: 0;
  padding: clamp(20px, 4vw, 38px);
}

.mhcw-card h3 {
  margin: 0;
  color: inherit;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.mhcw-card p {
  margin: 0;
  color: #405d54;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.mhcw-weddings p {
  color: #654f5b;
}

.mhcw-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  max-width: 100%;
  margin-top: 2px;
  padding: 9px 13px;
  border: 1px solid var(--mhcw-border);
  border-radius: 10px;
  background: var(--mhcw-button);
  color: var(--mhcw-accent);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.mhcw-action:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mhcw-action:focus-visible {
  outline: 3px solid #1b7986;
  outline-offset: 3px;
}

@media (max-width: 620px) {
  .mhcw-portal-entry {
    gap: 18px;
    padding: 14px 0 0;
  }

  .mhcw-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .mhcw-media {
    margin: 10px 10px 0;
  }

  .mhcw-body {
    padding: 18px;
  }
}

/* Existing English food-catalog row overflowed at 320 px before this addition. */
@media (max-width: 620px) {
  html[lang="en"] #tools .rowlink { min-width: 0; }
  html[lang="en"] #tools .rowlink > span:first-child { min-width: 0; flex-wrap: wrap; overflow-wrap: anywhere; }
  html[lang="en"] #tools .rowlink .badge { flex: 0 0 42px; }
}
