.guide-body {
  padding-bottom: 20px;
  background: var(--meets-warm-white);
}

.guide-container {
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
}

.guide-lead {
  margin: 0 auto 40px;
  padding: 0 0 30px;
  border-bottom: 1px solid #dcdcdc;
  font-size: 20px;
  line-height: 1.8;
  text-align: center;
}

.guide-lead a {
  color: #0076a3;
  font-weight: 700;
  text-decoration: underline;
}

.guide-box {
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
}

.guide-section {
  margin-bottom: 30px;
}

.guide-section:last-child {
  margin-bottom: 0;
}

.guide-section__title {
  margin: 0;
  padding: 22px 20px;
  color: #202020;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.guide-section__title--pink {
  background: #ffe1e6;
}

.guide-section__title--blue {
  background: #e2f1fe;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 30px;
  padding: 35px 30px 40px;
}

.guide-card {
  position: relative;
  display: flex;
  aspect-ratio: 1 / 1;
  overflow: visible;
  flex-direction: column;
  border: 2px solid #202020;
  border-radius: 18px;
  background: #fff;
}

.guide-card__header {
  display: flex;
  min-height: 70px;
  padding: 10px 15px 10px 64px;
  border-radius: 16px 16px 0 0;
  align-items: center;
  flex-shrink: 0;
  background: #fff;
}

.guide-box--individual .guide-card:not(.guide-card--without-number) .guide-card__header {
  background: #ffe1e6;
}

.guide-box--organization .guide-card:not(.guide-card--without-number) .guide-card__header {
  background: #e2f1fe;
}

.guide-card--without-number .guide-card__header {
  padding-left: 24px;
}

.guide-card__header p {
  margin: 0;
  color: #202020;
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.35;
}

.guide-card__number {
  position: absolute;
  z-index: 2;
  top: -8px;
  left: -8px;
  display: inline-flex;
  width: 64px;
  height: 64px;
  border: 2px solid #202020;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #202020;
  background: #fff;
  font-size: 42px;
  font-weight: 700;
}

.guide-card__image {
  width: 100%;
  min-height: 0;
  padding: 10px;
  overflow: hidden;
  flex: 1;
  border-radius: 0 0 16px 16px;
  background: #fff;
}

.guide-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 767px) {
  .guide-container {
    width: 100%;
    padding: 0 12px;
  }

  .guide-lead {
    margin-bottom: 25px;
    padding: 0 8px 20px;
    font-size: 16px;
  }

  .guide-box {
    margin-bottom: 30px;
    border-radius: 15px;
  }

  .guide-section__title {
    padding: 16px 12px;
    font-size: 18px;
  }

  .guide-grid {
    grid-template-columns: 100%;
    gap: 25px;
    padding: 20px 12px;
  }

  .guide-card__header {
    min-height: 55px;
    padding: 8px 10px 8px 64px;
  }

  .guide-card--without-number .guide-card__header {
    padding-left: 18px;
  }

  .guide-card__header p {
    font-size: 15px;
  }

  .guide-card__number {
    width: 64px;
    height: 64px;
    font-size: 42px;
  }

  .guide-card__image {
    padding: 8px;
  }
}
