/* =========================================================
   Front page: memorial project banner
========================================================= */

.sg-memorial-home-banner-section {
  padding: 28px 0 10px;
  background: #fff;
}

.sg-memorial-home-banner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 142px;
  padding: 28px 34px;
  overflow: hidden;
  border: 1px solid rgba(201, 177, 131, 0.72);
  background:
    radial-gradient(circle at 88% 18%, rgba(213, 188, 139, 0.19), transparent 25%),
    linear-gradient(135deg, #3f382f 0%, #5a4a39 58%, #6c5943 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(55, 45, 31, 0.13);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.sg-memorial-home-banner::before {
  content: "";
  position: absolute;
  right: -50px;
  top: 50%;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(231, 208, 161, 0.16);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow:
    0 0 0 22px rgba(231, 208, 161, 0.035),
    0 0 0 46px rgba(231, 208, 161, 0.025);
  pointer-events: none;
}

.sg-memorial-home-banner:hover {
  transform: translateY(-2px);
  border-color: rgba(218, 194, 147, 0.95);
  color: #fff;
  box-shadow: 0 18px 38px rgba(55, 45, 31, 0.18);
}

.sg-memorial-home-banner__label,
.sg-memorial-home-banner__body,
.sg-memorial-home-banner__more {
  position: relative;
  z-index: 1;
}

.sg-memorial-home-banner__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid rgba(231, 208, 161, 0.55);
  color: #ead4aa;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.sg-memorial-home-banner__body {
  display: block;
  min-width: 0;
}

.sg-memorial-home-banner__title {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-family: var(--sg-serif);
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.sg-memorial-home-banner__text {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.sg-memorial-home-banner__more {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: #f0dfbd;
  font-size: 13px;
  white-space: nowrap;
}

.sg-memorial-home-banner__arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(231, 208, 161, 0.55);
  border-radius: 50%;
  font-size: 18px;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.sg-memorial-home-banner:hover .sg-memorial-home-banner__arrow {
  background: #ead4aa;
  color: #4b4033;
  transform: translateX(2px);
}

@media screen and (max-width: 820px) {
  .sg-memorial-home-banner-section {
    padding: 18px 0 6px;
  }

  .sg-memorial-home-banner {
    grid-template-columns: 1fr auto;
    gap: 16px 20px;
    min-height: 0;
    padding: 24px 22px;
  }

  .sg-memorial-home-banner__label {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 30px;
    font-size: 10px;
  }

  .sg-memorial-home-banner__title {
    font-size: clamp(21px, 5.8vw, 27px);
    letter-spacing: 0.07em;
  }

  .sg-memorial-home-banner__more > span:first-child {
    display: none;
  }
}

@media screen and (max-width: 520px) {
  .sg-memorial-home-banner {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .sg-memorial-home-banner__more {
    justify-self: end;
  }

  .sg-memorial-home-banner::before {
    right: -92px;
  }
}
