.sg-messages-center-page .entry-content,
.sg-messages-center-page .site-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.sgmc-page {
  --sgmc-navy: #0b3347;
  --sgmc-teal: #0f7775;
  --sgmc-orange: #f49a3f;
  width: min(1180px, calc(100% - 28px));
  margin: 34px auto 64px;
  color: #173b4f;
  font-family: var(--sg-font-family, inherit);
}

.sgmc-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 160px;
  padding: 28px 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 26px 26px 0 0;
  color: #fff;
  background:
    radial-gradient(circle at 12% 15%, rgba(244, 154, 63, .24), transparent 31%),
    linear-gradient(135deg, #0b3347 0%, #0c5360 58%, #0f7775 100%);
}

.sgmc-hero::after {
  position: absolute;
  z-index: -1;
  inset: auto -60px -95px auto;
  width: 270px;
  height: 270px;
  border: 38px solid rgba(255, 255, 255, .045);
  border-radius: 50%;
  content: "";
}

.sgmc-hero__icon,
.sgmc-empty__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.sgmc-hero__icon {
  width: 66px;
  height: 66px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 19px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px rgba(255, 255, 255, .16);
}

.sgmc-hero svg,
.sgmc-empty svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sgmc-hero span:not(.sgmc-hero__icon) {
  color: #7de1d2;
  font-size: 12px;
  font-weight: 850;
}

.sgmc-hero h1 {
  margin: 3px 0 2px;
  color: #fff;
  font-size: clamp(29px, 4vw, 43px);
  line-height: 1.2;
}

.sgmc-hero p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.sgmc-stage {
  min-height: 430px;
  padding: 18px;
  border: 1px solid #d5e5e5;
  border-top: 0;
  border-radius: 0 0 26px 26px;
  background: linear-gradient(150deg, #f4f9f8, #eaf3f2);
  box-shadow: 0 24px 55px rgba(8, 45, 62, .12);
}

.sgmc-stage > .jet-messenger {
  min-height: 560px;
  box-shadow: 0 10px 32px rgba(8, 45, 62, .08);
}

.sgmc-empty {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 430px;
  padding: 40px 20px;
  text-align: center;
}

.sgmc-empty__icon {
  width: 78px;
  height: 78px;
  margin-bottom: 16px;
  border: 1px solid rgba(15, 119, 117, .16);
  border-radius: 24px;
  color: var(--sgmc-teal, #0f7775);
  background: linear-gradient(145deg, #fff, #dff0ee);
  box-shadow: 0 14px 30px rgba(8, 65, 78, .12);
}

.sgmc-empty h2 {
  margin: 0;
  color: var(--sgmc-navy, #0b3347);
  font-size: 25px;
}

.sgmc-empty p {
  max-width: 520px;
  margin: 9px auto 18px;
  color: #637b86;
  font-size: 14px;
  line-height: 1.8;
}

.sgmc-empty a {
  display: inline-flex;
  min-height: 42px;
  padding: 9px 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 154, 63, .42);
  border-radius: 12px;
  color: #173b4f !important;
  background: #f49a3f;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
  transition: transform .18s ease, filter .18s ease;
}

.sgmc-empty a:hover {
  color: #173b4f !important;
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.sg-messenger-embed .sgmc-empty {
  min-height: 100vh;
}

@media (max-width: 720px) {
  .sgmc-page {
    width: min(100% - 16px, 1180px);
    margin: 14px auto 34px;
  }

  .sgmc-hero {
    min-height: 122px;
    gap: 12px;
    padding: 20px 17px;
    border-radius: 20px 20px 0 0;
  }

  .sgmc-hero__icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }

  .sgmc-hero svg {
    width: 26px;
    height: 26px;
  }

  .sgmc-hero h1 {
    font-size: 27px;
  }

  .sgmc-hero p {
    font-size: 11px;
  }

  .sgmc-stage {
    min-height: 410px;
    padding: 8px;
    border-radius: 0 0 20px 20px;
  }

  .sgmc-stage > .jet-messenger {
    min-height: 68vh;
    border-radius: 14px !important;
  }

  .sgmc-empty {
    min-height: 390px;
    padding-inline: 18px;
  }

  .sgmc-empty h2 {
    font-size: 21px;
  }
}
