/* wpsreact cn tile layout */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #1e1b4b;
  background: #eef2ff;
}

a {
  color: #4338ca;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.tile-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.tile-topbar {
  min-height: 56px;
  background: #1e1b4b;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
}

.tile-topbar-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.tile-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  white-space: nowrap;
}

.tile-brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.tile-brand svg {
  display: block;
  flex-shrink: 0;
}

.tile-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tile-nav a {
  color: #e0e7ff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.tile-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #fff;
}

.tile-nav a.is-current {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 600;
}

.tile-main {
  padding: 24px 0 48px;
}

.tile-hero {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  border-radius: 24px;
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: 0 10px 28px rgba(30, 27, 75, 0.06);
}

.tile-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.35;
  color: #1e1b4b;
}

.tile-lead {
  margin: 0 0 16px;
  color: #3730a3;
  font-size: 15.5px;
}

.tile-hero-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.tile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  background: #65a30d;
  color: #fff !important;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
}

.tile-btn:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.tile-btn-ghost {
  background: #312e81;
  font-size: 16px;
}

.tile-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tile-btn-row .tile-btn {
  flex: 1 1 180px;
}

.tile-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: 16px;
  margin-bottom: 28px;
}

.tile-bento-item {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(30, 27, 75, 0.05);
}

.tile-bento-item:first-child {
  grid-row: span 2;
  background: linear-gradient(165deg, #fff 0%, #e0e7ff 100%);
}

.tile-bento-item h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: #312e81;
}

.tile-bento-item p {
  margin: 0;
  color: #4338ca;
  font-size: 14.5px;
}

.tile-section {
  background: #fff;
  border-radius: 20px;
  padding: 24px 26px;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(30, 27, 75, 0.04);
}

.tile-section h2 {
  margin: 0 0 14px;
  font-size: 1.28rem;
  color: #1e1b4b;
  padding-bottom: 10px;
  border-bottom: 2px solid #c7d2fe;
}

.tile-section p {
  margin: 0 0 14px;
  color: #312e81;
}

.tile-section ul,
.tile-section ol {
  margin: 0 0 14px;
  padding-left: 1.35em;
  color: #312e81;
}

.tile-section li {
  margin-bottom: 8px;
}

.tile-news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tile-news-item {
  background: #eef2ff;
  border-radius: 14px;
  padding: 14px 16px;
}

.tile-news-item time {
  display: block;
  font-size: 13px;
  color: #6366f1;
  margin-bottom: 6px;
  font-weight: 600;
}

.tile-news-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #1e1b4b;
}

.tile-news-item p {
  margin: 0;
  font-size: 14.5px;
  color: #3730a3;
}

.tile-faq {
  counter-reset: tile-faq;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tile-faq li {
  counter-increment: tile-faq;
  background: #eef2ff;
  border-radius: 14px;
  padding: 14px 16px 14px 52px;
  margin-bottom: 12px;
  position: relative;
}

.tile-faq li::before {
  content: counter(tile-faq);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #1e1b4b;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-faq h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #1e1b4b;
}

.tile-faq p {
  margin: 0;
  color: #3730a3;
  font-size: 14.5px;
}

.tile-footer {
  background: #1e1b4b;
  color: #c7d2fe;
  padding: 28px 0 36px;
  font-size: 13.5px;
  line-height: 1.7;
}

.tile-footer p {
  margin: 0 0 10px;
}

.tile-footer .tile-wrap {
  max-width: 1120px;
}

@media (max-width: 900px) {
  .tile-hero {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .tile-bento {
    grid-template-columns: 1fr;
  }

  .tile-bento-item:first-child {
    grid-row: auto;
  }

  .tile-news {
    grid-template-columns: 1fr;
  }

  .tile-nav {
    gap: 4px;
  }

  .tile-nav a {
    padding: 4px 8px;
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  .tile-topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .tile-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .tile-brand span {
    font-size: 15px;
  }

  .tile-section {
    padding: 18px 16px;
  }
}
