/* Homepage and Academy share the site's existing theme colors. */
.bento-home .mb-cover-hero {
  gap: clamp(16px, 2.5vw, 28px);
  padding-bottom: clamp(20px, 3.4vw, 42px);
}
.bento-home .mb-cover-hero h1 {
  font-size: clamp(27px, 3.25vw, 46px);
  line-height: 1.12;
  text-wrap: balance;
}
.bento-home .mb-home-search,
.bento-home .ac-home {
  max-width: none;
  margin-inline: 0;
}
.bento-home .ac-home {
  margin-block: 24px 32px;
  padding: clamp(18px, 3vw, 30px);
}
.bento-home .ac-home h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-block: 6px 10px;
}
.bento-home .ac-home-links,
.ac-practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.bento-home .ac-home-links > a,
.ac-practice {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--ac-line);
  border-radius: 10px;
  background: var(--ac-surface);
}
.bento-home .ac-home-links > a {
  display: grid;
  align-content: start;
  gap: 5px;
}
.bento-home .ac-home-links > a:hover {
  border-color: var(--ac-accent);
}
.bento-home .ac-home-links span {
  color: var(--ac-muted);
  font-weight: 400;
  line-height: 1.5;
}
.bento-home .mb-article-art {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  overflow: hidden;
}
.bento-home .mb-article-art > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bento-home .irc-daily-memory img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.bento-home main :focus-visible,
.page-academy .ac-page :focus-visible {
  outline: 2px solid var(--mb-accent, var(--ac-accent));
  outline-offset: 3px;
}
.ac-practice h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}
.ac-practice p {
  margin: 0 0 12px;
  color: var(--ac-muted);
}
.ac-practice a {
  display: inline-block;
  margin: 0 8px 6px 0;
}
@media (max-width: 700px) {
  .bento-home .ac-home-links,
  .ac-practice-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .bento-home .irc-daily-memory {
    display: flex;
    gap: 8px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .bento-home .irc-daily-memory > a {
    align-self: flex-end;
    font-size: 13px;
    text-decoration: underline;
  }
}
