body.home {
  --mi-ink: #141414;
  --mi-line: #dcd7d5;
  --mi-muted: #5c5553;
  --mi-action: #9a4540;
}

body.home .hero-section .page-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--mi-ink);
  max-width: 22ch;
}

body.home .hero-section {
  margin-bottom: 12px;
}

body.home .entry-content > .mi-home-head {
  margin-bottom: 40px;
}

body.home .entry-content .mi-home-intro {
  max-width: 62ch;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--mi-muted);
}

body.home .entry-content > .mi-home-head,
body.home .entry-content > .mi-home,
body.home .entry-content > .mi-home-latest {
  max-width: var(--theme-normal-container-max-width, 1290px);
}

body.home .mi-home {
  display: grid;
  gap: 48px;
  margin-bottom: 56px;
}

body.home .mi-home-lists,
body.home .mi-home-side {
  display: grid;
  gap: 36px;
  align-content: start;
}

body.home .mi-home-set {
  border-top: 3px solid var(--mi-ink);
  padding-top: 12px;
  margin: 0;
}

body.home .mi-home-set > h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--mi-ink);
}

body.home .mi-home-set ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 9rem 3;
  column-gap: 24px;
}

body.home .mi-home-set li {
  break-inside: avoid;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--mi-line);
}

body.home .mi-home-set li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  font-size: 16px;
  line-height: 1.3;
  color: var(--mi-ink);
  text-decoration: none;
}

body.home .mi-home-set li a:hover {
  color: var(--mi-action);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.home .mi-home a:focus-visible,
body.home .mi-home-latest a:focus-visible {
  outline: 2px solid var(--mi-action);
  outline-offset: 2px;
}

body.home .mi-home-guides ul {
  columns: auto 1;
}

body.home .entry-content .mi-home-all {
  margin: 0;
}

body.home .mi-home-set .mi-home-all {
  margin-top: 12px;
}

body.home .mi-home-all a {
  font-size: 16px;
  font-weight: 600;
  color: var(--mi-action);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.home .mi-home-about .wp-block-media-text {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) !important;
  gap: 16px;
  margin-top: 12px;
}

body.home .mi-home-about .wp-block-media-text__media {
  grid-column: 1;
  grid-row: 1;
}

body.home .mi-home-about .wp-block-media-text__media img {
  width: 88px;
  height: 110px;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
}

body.home .mi-home-about .wp-block-media-text__content {
  grid-column: 2;
  grid-row: 1;
  padding: 0;
}

body.home .mi-home-about .wp-block-media-text__content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--mi-muted);
}

body.home .mi-home-latest {
  margin-bottom: 24px;
}

body.home .mi-home-latest .wp-block-latest-posts {
  margin: 0;
  padding: 0;
  display: grid;
  column-gap: 32px;
}

body.home .mi-home-latest .wp-block-latest-posts li {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--mi-line);
}

body.home .mi-home-latest .wp-block-latest-posts__post-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--mi-ink);
  text-decoration: none;
}

body.home .mi-home-latest .wp-block-latest-posts__post-title:hover {
  color: var(--mi-action);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.home .mi-home-latest .wp-block-latest-posts__post-date {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--mi-muted);
}

@media (min-width: 700px) {
  body.home .mi-home-latest .wp-block-latest-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  body.home .mi-home {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 56px;
  }

  body.home .mi-home-set li a {
    min-height: 38px;
  }
}
