/* Scoped to the ordinary private-site gate, including its legacy layout. */
body.private-blog-gate-page {
  margin: 0;
  color: #172033;
  background: #f6f8fc;
}

.private-blog-gate-page #page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: #f6f8fc !important;
}

.private-blog-gate-page header.fixed-height-header {
  flex: 0 0 auto;
  height: auto;
  min-height: 80px;
  padding: 16px 24px !important;
  background: #fff !important;
  border-bottom: 1px solid #e5e9f1;
}

.private-blog-gate-page header .main-logo-container {
  width: auto;
  max-width: 100%;
  padding: 0 !important;
}

.private-blog-gate-page header .main-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.private-blog-gate-page header .logo-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 40px;
  object-fit: contain;
}

.private-blog-gate-page .private-blog-gate {
  display: flex;
  flex: 1 0 auto;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 56px 24px;
}

.private-blog-gate-page .private-blog-gate__card {
  box-sizing: border-box;
  width: 100%;
  max-width: 460px;
  padding: 40px;
  text-align: center;
  background: #fff;
  border: 1px solid #e0e6ef;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(23, 32, 51, 0.04);
}

.private-blog-gate-page .private-blog-gate__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 24px;
  color: #3c55a5;
  background: #eef2ff;
  border-radius: 14px;
}

.private-blog-gate-page .private-blog-gate__title {
  margin: 0 0 12px;
  color: #172033;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
  white-space: normal;
}

.private-blog-gate-page .private-blog-gate__description {
  margin: 0 0 28px;
  color: #526078;
  font-size: 17px;
  line-height: 1.55;
  white-space: normal;
}

.private-blog-gate-page .private-blog-gate__account {
  margin: -12px 0 24px;
  color: #526078;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.private-blog-gate-page .private-blog-gate__button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  color: #fff;
  background: #3c55a5;
  border: 1px solid #3c55a5;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.private-blog-gate-page .private-blog-gate__button:hover {
  color: #fff;
  background: #30458a;
  border-color: #30458a;
}

.private-blog-gate-page .private-blog-gate__button:focus-visible {
  outline: 3px solid #3c55a5;
  outline-offset: 4px;
}

.private-blog-gate-page .private-blog-gate__help {
  margin: 28px 0 0;
  padding-top: 24px;
  color: #637087;
  border-top: 1px solid #e9edf3;
  font-size: 14px;
  line-height: 1.5;
}

.private-blog-gate-page #page-footer {
  flex: 0 0 auto;
  min-height: 0;
  padding: 0;
  background: transparent !important;
  border: 0;
}

.private-blog-gate-page #page-footer > .content {
  padding: 20px 24px !important;
  color: #637087;
  font-size: 14px;
}

@media (max-width: 575px) {
  .private-blog-gate-page header.fixed-height-header {
    min-height: 72px;
    padding: 16px !important;
  }

  .private-blog-gate-page header.fixed-height-header .main-logo-container {
    max-width: calc(100% - 56px);
  }

  .private-blog-gate-page .private-blog-gate {
    padding: 32px 16px;
  }

  .private-blog-gate-page .private-blog-gate__card {
    padding: 32px 24px;
  }

  .private-blog-gate-page .private-blog-gate__title {
    font-size: 26px;
  }
}
