/* Shared header styles used by front-page-original and mycontents pages */
.front-hero-header {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  display: flex;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  background: linear-gradient(120deg, #0f1224, #1e2d62 60%, #0f1224);
  color: #fff;
}

.front-hero-header__inner {
  width: min(1680px, calc(100% - clamp(24px, 6vw, 96px)));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
}

.front-hero-brand {
  display: grid;
  gap: 2px;
  text-decoration: none;
  color: inherit;
}

.front-hero-brand__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.front-hero-brand__desc {
  font-size: 13px;
  opacity: 0.85;
}

.front-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.front-hero-actions__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.front-hero-actions__link:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.front-hero-actions__link.is-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.front-hero-actions__link.is-solid {
  color: #131a30;
  background: #f3d37a;
}

@media (max-width: 960px) {
  .front-hero-header__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0 16px;
  }

  .front-hero-actions {
    justify-content: flex-start;
  }
}
