.message-hero {
  --subpage-hero-height: 530px;
  --subpage-hero-image: url("../assets/images/about-hero.webp");
  --subpage-hero-image-top: 0;
  --subpage-hero-image-height: 100%;
  --subpage-hero-image-size: cover;
  --subpage-hero-image-position: center 40%;
  --subpage-hero-divider-shift: -49px;
  --subpage-hero-overlay: linear-gradient(90deg, rgba(65, 49, 30, 0.3) 0%, rgba(65, 49, 30, 0) 30%, rgba(65, 49, 30, 0) 76%, rgba(154, 101, 64, 0.2) 100%);
  --subpage-hero-mobile-overlay: var(--subpage-hero-overlay);
  --subpage-hero-logo-width: 106px;
  --subpage-hero-title-font-size: 54px;
  --subpage-hero-title-line-height: 74px;
  --subpage-hero-title-letter-spacing: 2.16px;
  --subpage-hero-lead-font-size: 21px;
  --subpage-hero-lead-font-weight: 700;
  --subpage-hero-lead-line-height: 38px;
  --subpage-hero-divider-height: 530px;
  --subpage-hero-divider-after-height: 337px;
}

.message-section {
  position: relative;
  padding: 182px 0;
  background: var(--color-bg-light);
}

.message-section::before {
  position: absolute;
  top: 82px;
  left: calc(50% - 613px);
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-display);
  font-size: 164px;
  font-weight: 700;
  line-height: 0.62;
  letter-spacing: 1.28px;
  content: "MESSAGE";
}

.message-panel {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
  padding: 95px 100px 76px;
  background: #fff;
}

.message-body {
  display: flex;
  flex-direction: column;
  gap: 34px;
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 0;
}

.message-body p {
  color: var(--color-text-primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 34px;
}

.message-body em {
  color: var(--color-accent);
  font-style: normal;
}

.message-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
}

.message-value {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 57px;
  padding: 0 20px 0 55px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 3px 4px 2px rgba(184, 143, 82, 0.5);
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 34px;
}

.message-value::before {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-gold);
  content: "";
}

.message-value::after {
  position: absolute;
  top: 20px;
  left: 27px;
  width: 7px;
  height: 16px;
  border-right: 2px solid var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
  content: "";
  transform: rotate(42deg);
}

.message-value--wide {
  min-width: 492px;
}

.message-signature {
  margin-top: 40px;
  color: var(--color-text-primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 34px;
  text-align: right;
}

@media (max-width: 768px) {
  .message-hero {
    --subpage-hero-mobile-overlay: linear-gradient(90deg, rgba(51, 38, 22, 0.95) 0%, rgba(51, 38, 22, 0.72) 42%, rgba(51, 38, 22, 0.16) 100%);
  }

  .message-hero .subpage-hero__panel {
    gap: 0;
  }

  .message-hero p {
    margin-top: 24px;
  }

  .message-section {
    padding: 86px 0 72px;
    overflow: hidden;
  }

  .message-section::before {
    top: 36px;
    left: max(20px, calc(50% - 200px));
    font-size: 62px;
    line-height: 62px;
    letter-spacing: 1.28px;
  }

  .message-panel {
    width: var(--sp-content-width, min(400px, calc(100vw - 40px)));
    max-width: var(--sp-content-width, min(400px, calc(100vw - 40px)));
    padding: 34px 20px;
  }

  .message-body {
    gap: 0;
    width: 100%;
    padding: 0;
  }

  .message-body p {
    font-size: 14px;
    line-height: 27px;
  }

  .message-body p + p {
    margin-top: 18px;
  }

  .message-values {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin: 24px 0;
  }

  .message-value {
    width: 100%;
    height: auto;
    min-height: 52px;
    padding: 11px 12px 11px 49px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 24px;
  }

  .message-value::before {
    top: 50%;
    left: 12px;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
  }

  .message-value::after {
    top: 50%;
    left: 20px;
    width: 7px;
    height: 14px;
    transform: translateY(-60%) rotate(42deg);
  }

  .message-value--wide {
    min-width: 0;
  }

  .message-signature {
    margin-top: 24px;
    font-size: 14px;
    line-height: 25px;
  }
}
