:root {
  --gold: #c99a35;
  --gold-2: #e4c36e;
  --gold-soft: #f4ead4;
  --ink: #1f2329;
  --muted: #70747d;
  --line: rgba(31, 35, 41, 0.08);
  --panel: rgba(255, 255, 255, 0.86);
  --page: #f5f4f1;
  --shadow: 0 18px 60px rgba(35, 38, 46, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.95), rgba(247, 244, 238, 0.78)),
    radial-gradient(circle at 64% 0%, rgba(228, 195, 110, 0.24), transparent 34%),
    var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr minmax(240px, 360px) auto auto;
  gap: 24px;
  align-items: center;
  max-width: 1480px;
  margin: 8px auto 0;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px 18px 0 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px);
  box-shadow: 0 12px 42px rgba(31, 35, 41, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 136px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.brand strong {
  font-size: 22px;
  font-weight: 800;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4vw, 58px);
}

.desktop-nav a {
  position: relative;
  height: 72px;
  display: inline-flex;
  align-items: center;
  color: #1f2329;
  font-size: 15px;
  font-weight: 600;
}

.desktop-nav a.active,
.desktop-nav a:hover {
  color: var(--gold);
}

.desktop-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
  transform: translateX(-50%);
}

.header-search,
.hero-search {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 26px rgba(31, 35, 41, 0.06);
}

.header-search {
  height: 42px;
  border-radius: 999px;
  padding: 0 12px 0 18px;
}

.header-search input,
.hero-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.header-search input::placeholder,
.hero-search input::placeholder {
  color: #969aa3;
}

.header-search button,
.hero-search button,
.menu-button {
  border: 0;
  color: var(--gold);
  background: transparent;
  cursor: pointer;
}

.login-link,
.primary-button {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(201, 154, 53, 0.22);
  border-radius: 999px;
  color: #8b681f;
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.mobile-menu {
  display: none;
}

.page-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 18px 24px 40px;
}

.page-shell > *,
.panel-card,
.channel-strip,
.hero-card {
  min-width: 0;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 16px;
}

.hero-card,
.panel-card,
.channel-strip,
.page-hero {
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  min-height: 340px;
  display: grid;
  grid-template-columns: minmax(520px, 0.9fr) minmax(320px, 1fr);
  overflow: hidden;
}

.hero-card::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.66) 42%, rgba(255, 255, 255, 0.26) 100%),
    repeating-linear-gradient(90deg, transparent 0 62px, rgba(201, 154, 53, 0.12) 63px, transparent 64px),
    repeating-linear-gradient(0deg, transparent 0 52px, rgba(201, 154, 53, 0.08) 53px, transparent 54px);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 46px 54px;
}

.portal-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 16px;
  border: 1px solid rgba(201, 154, 53, 0.18);
  border-radius: 999px;
  color: #8b681f;
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.hero-copy h1,
.page-hero h1,
.article-detail h1,
.empty-page h1 {
  margin: 24px 0 0;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy h1 {
  white-space: nowrap;
}

.hero-copy h1 i {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin: 0 20px 8px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-copy p,
.page-hero p,
.empty-page p {
  margin: 18px 0 0;
  color: #59606b;
  font-size: 18px;
}

.hero-search {
  width: min(520px, 100%);
  height: 54px;
  margin-top: 32px;
  padding: 0 18px 0 24px;
  border-radius: 999px;
}

.hero-search button {
  font-size: 26px;
}

.hot-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.hot-tags a {
  height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 340px;
  background:
    radial-gradient(circle at 70% 42%, rgba(228, 195, 110, 0.46), transparent 20%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(236, 221, 188, 0.16));
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 60px 50px 50px 20px;
  border: 1px solid rgba(201, 154, 53, 0.25);
  transform: skewY(-14deg) rotate(-4deg);
}

.hero-visual::after {
  inset: 96px 110px 88px 0;
  transform: skewY(-14deg) rotate(-4deg) translate(38px, -18px);
}

.chip {
  position: absolute;
  right: 130px;
  top: 122px;
  width: 98px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 154, 53, 0.5);
  border-radius: 10px;
  color: #bd8b24;
  background: linear-gradient(135deg, #fff8df, #e4c36e);
  box-shadow: 0 24px 70px rgba(201, 154, 53, 0.28);
  font-weight: 900;
  line-height: 0.9;
  transform: rotateX(55deg) rotateZ(-22deg);
}

.cube {
  position: absolute;
  border: 1px solid rgba(201, 154, 53, 0.22);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 20px 60px rgba(201, 154, 53, 0.14);
  transform: skewY(-16deg) rotate(-5deg);
}

.cube-a {
  right: 245px;
  top: 74px;
  width: 108px;
  height: 138px;
}

.cube-b {
  right: 58px;
  bottom: 66px;
  width: 138px;
  height: 96px;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.slider-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(31, 35, 41, 0.15);
}

.slider-dots span.active {
  background: var(--gold);
}

.side-stack {
  display: grid;
  gap: 16px;
}

.panel-card {
  padding: 24px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: 21px;
}

.section-head a,
.section-head span {
  color: var(--muted);
  font-size: 13px;
}

.notice-row {
  min-height: 48px;
  display: grid;
  grid-template-columns: 20px 1fr 46px;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: #2f333a;
  font-size: 14px;
}

.notice-row:last-child {
  border-bottom: 0;
}

.notice-row span,
.notice-row time,
.channel-item span,
.quick-grid span,
.solution-grid span,
.cluster-grid span {
  color: var(--gold);
}

.notice-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.notice-row time {
  color: #9aa0aa;
  font-size: 12px;
  text-align: right;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.quick-grid a {
  min-height: 82px;
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 10px 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.quick-grid span {
  font-size: 24px;
}

.quick-grid span,
.solution-grid span,
.cluster-grid span {
  position: relative;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  color: transparent;
  line-height: 1;
}

.quick-grid span::before,
.quick-grid span::after,
.solution-grid span::before,
.solution-grid span::after,
.cluster-grid span::before,
.cluster-grid span::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  border-color: var(--gold);
}

.quick-grid span,
.solution-grid span {
  width: 32px;
  height: 32px;
}

.quick-grid span::before {
  inset: 5px;
  border: 1.5px solid var(--gold);
}

.quick-grid span::after {
  inset: 9px;
}

.quick-grid a:nth-child(1) span::before,
.quick-grid a:nth-child(1) span::after {
  border-radius: 3px;
}

.quick-grid a:nth-child(1) span::before {
  top: 11px;
}

.quick-grid a:nth-child(1) span::after {
  top: 6px;
  right: 10px;
  bottom: auto;
  left: 10px;
  height: 9px;
  border: 1.5px solid var(--gold);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.quick-grid a:nth-child(2) span::before {
  border-radius: 50%;
}

.quick-grid a:nth-child(2) span::after {
  left: 15px;
  top: 10px;
  width: 4px;
  height: 13px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  border-radius: 0 0 0 4px;
}

.quick-grid a:nth-child(3) span::before,
.quick-grid a:nth-child(8) span::before {
  border-radius: 2px;
}

.quick-grid a:nth-child(3) span::after,
.quick-grid a:nth-child(8) span::after {
  left: 11px;
  right: 11px;
  top: 11px;
  height: 10px;
  border-top: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  box-shadow: 0 4px 0 -2px var(--gold);
}

.quick-grid a:nth-child(4) span::before {
  top: 5px;
  left: 15px;
  width: 2px;
  height: 18px;
  background: var(--gold);
  border: 0;
}

.quick-grid a:nth-child(4) span::after {
  left: 8px;
  top: 15px;
  width: 16px;
  height: 12px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}

.quick-grid a:nth-child(5) span::before {
  left: 8px;
  top: 9px;
  width: 8px;
  height: 14px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(35deg);
}

.quick-grid a:nth-child(5) span::after {
  right: 8px;
  top: 9px;
  width: 8px;
  height: 14px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-35deg);
}

.quick-grid a:nth-child(6) span::before {
  inset: 7px;
  border: 1.5px solid var(--gold);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-36deg);
}

.quick-grid a:nth-child(6) span::after {
  right: 7px;
  bottom: 7px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-18deg);
}

.quick-grid a:nth-child(7) span::before {
  inset: 7px;
  border: 1.5px solid var(--gold);
  border-radius: 3px;
}

.quick-grid a:nth-child(7) span::after {
  left: 11px;
  top: 15px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 5px 0 0 var(--gold), 10px 0 0 var(--gold);
}

.solution-grid span::before {
  inset: 6px;
}

.solution-grid a:nth-child(1) span::before {
  border-left: 1.5px solid var(--gold);
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  box-shadow: inset 5px 0 0 -3.5px var(--gold), inset -5px 0 0 -3.5px var(--gold);
}

.solution-grid a:nth-child(1) span::after {
  left: 9px;
  top: 6px;
  width: 14px;
  height: 1.5px;
  background: var(--gold);
  box-shadow: 0 6px 0 var(--gold), 0 12px 0 var(--gold);
}

.solution-grid a:nth-child(2) span::before {
  inset: 7px;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
}

.solution-grid a:nth-child(2) span::after {
  left: 11px;
  top: 11px;
  width: 10px;
  height: 10px;
  border-left: 1.5px solid var(--gold);
  border-top: 1.5px solid var(--gold);
}

.solution-grid a:nth-child(3) span::before {
  left: 8px;
  top: 18px;
  width: 17px;
  height: 8px;
  border: 1.5px solid var(--gold);
  border-radius: 8px 8px 3px 3px;
}

.solution-grid a:nth-child(3) span::after {
  left: 14px;
  top: 6px;
  width: 12px;
  height: 14px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-35deg);
}

.solution-grid a:nth-child(4) span::before {
  left: 7px;
  top: 8px;
  width: 18px;
  height: 16px;
  border: 1.5px solid var(--gold);
  border-radius: 50% / 24%;
  box-shadow: 0 6px 0 -4.5px var(--gold), 0 12px 0 -4.5px var(--gold);
}

.solution-grid a:nth-child(4) span::after {
  left: 7px;
  top: 8px;
  width: 18px;
  height: 7px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.solution-grid a:nth-child(5) span::before {
  left: 5px;
  top: 15px;
  width: 22px;
  height: 10px;
  border: 1.5px solid var(--gold);
  border-radius: 10px;
}

.solution-grid a:nth-child(5) span::after {
  left: 10px;
  top: 9px;
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--gold);
  border-bottom-color: transparent;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
}

.solution-grid a:nth-child(6) span::before {
  left: 8px;
  top: 5px;
  width: 16px;
  height: 22px;
  border: 1.5px solid var(--gold);
  border-radius: 10px 10px 7px 7px;
  clip-path: polygon(50% 0, 100% 18%, 100% 58%, 50% 100%, 0 58%, 0 18%);
}

.solution-grid a:nth-child(6) span::after {
  left: 13px;
  top: 13px;
  width: 8px;
  height: 5px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}

.cluster-grid span {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.cluster-grid span::before {
  inset: 3px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
}

.cluster-grid span::after {
  inset: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.quick-grid span::before,
.quick-grid span::after,
.solution-grid span::before,
.solution-grid span::after,
.cluster-grid span::before,
.cluster-grid span::after {
  display: none;
}

.quick-grid span,
.solution-grid span,
.cluster-grid span {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.solution-grid a:nth-child(1) span {
  background-image: url("/portal/assets/icons/solution-1.png");
}

.solution-grid a:nth-child(2) span {
  background-image: url("/portal/assets/icons/solution-2.png");
}

.solution-grid a:nth-child(3) span {
  background-image: url("/portal/assets/icons/solution-3.png");
}

.solution-grid a:nth-child(4) span {
  background-image: url("/portal/assets/icons/solution-4.png");
}

.solution-grid a:nth-child(5) span {
  background-image: url("/portal/assets/icons/solution-5.png");
}

.solution-grid a:nth-child(6) span {
  background-image: url("/portal/assets/icons/solution-6.png");
}

.quick-grid a:nth-child(1) span {
  background-image: url("/portal/assets/icons/quick-1.png");
}

.quick-grid a:nth-child(2) span {
  background-image: url("/portal/assets/icons/quick-2.png");
}

.quick-grid a:nth-child(3) span {
  background-image: url("/portal/assets/icons/quick-3.png");
}

.quick-grid a:nth-child(4) span {
  background-image: url("/portal/assets/icons/quick-4.png");
}

.quick-grid a:nth-child(5) span {
  background-image: url("/portal/assets/icons/quick-5.png");
}

.quick-grid a:nth-child(6) span {
  background-image: url("/portal/assets/icons/quick-6.png");
}

.quick-grid a:nth-child(7) span {
  background-image: url("/portal/assets/icons/quick-7.png");
}

.quick-grid a:nth-child(8) span {
  background-image: url("/portal/assets/icons/quick-8.png");
}

.cluster-grid span {
  background-image: url("/portal/assets/icons/cluster-globe.png");
}

.channel-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
  padding: 14px 24px;
}

.channel-item {
  min-height: 64px;
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 8px 12px;
  border-right: 1px solid var(--line);
}

.channel-item:last-child {
  border-right: 0;
}

.channel-item span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 154, 53, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  font-size: 24px;
}

.channel-item strong,
.channel-item em {
  display: block;
}

.channel-item strong {
  font-size: 15px;
}

.channel-item em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 16px;
  margin-top: 16px;
}

.main-column {
  display: grid;
  gap: 16px;
}

.right-column {
  min-width: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.image-box,
.row-image {
  position: relative;
  overflow: hidden;
  display: block;
  background: linear-gradient(135deg, rgba(201, 154, 53, 0.18), rgba(255, 255, 255, 0.86));
}

.image-box {
  height: 118px;
}

.image-box img,
.fallback-cover,
.row-image img,
.detail-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.88), transparent 25%),
    linear-gradient(135deg, rgba(201, 154, 53, 0.12), rgba(255, 255, 255, 0.7)),
    repeating-linear-gradient(120deg, transparent 0 24px, rgba(201, 154, 53, 0.16) 25px, transparent 26px);
}

.image-box em {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: #8b681f;
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-style: normal;
}

.card-body {
  padding: 14px;
}

.card-body h3,
.article-row h2 {
  margin: 0;
  line-height: 1.42;
}

.card-body h3 {
  min-height: 42px;
  font-size: 16px;
}

.card-body p,
.article-row p {
  color: var(--muted);
  line-height: 1.68;
}

.card-body p {
  min-height: 48px;
  margin: 9px 0 14px;
  font-size: 13px;
}

.card-body footer,
.article-row footer,
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #8b9099;
  font-size: 12px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.solution-grid a {
  min-height: 78px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 8px 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
}

.solution-grid span {
  grid-row: span 2;
  font-size: 30px;
}

.solution-grid strong {
  font-size: 14px;
}

.solution-grid em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.cluster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cluster-grid a,
.category-nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
}

.cluster-grid strong,
.category-nav span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 46px;
}

.page-hero > * {
  position: relative;
}

.compact-hero h1 {
  margin-top: 16px;
  font-size: clamp(30px, 3vw, 44px);
}

.hero-search.narrow {
  margin-top: 24px;
}

.list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  margin-top: 16px;
}

.article-list {
  display: grid;
  gap: 14px;
}

.article-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
}

.row-image {
  min-height: 136px;
  border-radius: 12px;
}

.row-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  color: #8b681f;
  background: var(--gold-soft);
  font-size: 12px;
  font-weight: 700;
}

.article-row h2 {
  margin-top: 9px;
  font-size: 20px;
}

.article-row p {
  margin: 8px 0 13px;
}

.category-nav {
  align-self: start;
  display: grid;
  gap: 10px;
}

.category-nav a.active {
  color: #8b681f;
  border-color: rgba(201, 154, 53, 0.38);
  background: var(--gold-soft);
}

.detail-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.article-detail {
  padding: clamp(24px, 4vw, 54px);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.article-detail h1 {
  max-width: 860px;
  font-size: clamp(30px, 3vw, 46px);
}

.subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.article-meta {
  margin-top: 18px;
}

.detail-cover {
  height: auto;
  max-height: 420px;
  margin-top: 28px;
  border-radius: 16px;
  object-fit: cover;
}

.rich-content {
  margin-top: 30px;
  color: #343941;
  font-size: 17px;
  line-height: 2;
}

.rich-content p {
  margin: 0 0 18px;
}

.attachments {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.attachments h2 {
  font-size: 20px;
}

.attachments a {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
}

.attachments span {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
}

.empty-state,
.empty-page {
  text-align: center;
}

.empty-state {
  padding: 36px 16px;
  color: var(--muted);
}

.empty-state strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.empty-page {
  max-width: 720px;
  margin: 60px auto;
  padding: 58px 24px;
}

.empty-page .primary-button {
  margin-top: 22px;
}

.site-footer {
  max-width: 1480px;
  margin: 0 auto 24px;
  padding: 18px 24px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

body[data-template="pc-home"] {
  min-width: 1360px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(246, 244, 239, 0.84)),
    radial-gradient(circle at 73% 2%, rgba(229, 206, 151, 0.26), transparent 26%),
    radial-gradient(circle at 4% 74%, rgba(255, 255, 255, 0.9), transparent 30%),
    #f3f2ef;
}

body[data-template="pc-home"] .site-header {
  height: 76px;
  grid-template-columns: 150px 1fr 286px 38px 108px;
  gap: 22px;
  max-width: 1512px;
  margin-top: 8px;
  padding: 0 30px;
  border-radius: 16px 16px 0 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(249, 248, 245, 0.8));
  box-shadow: 0 16px 44px rgba(31, 35, 41, 0.07);
}

body[data-template="pc-home"] .brand img {
  width: 44px;
  height: 44px;
  border-radius: 7px;
}

body[data-template="pc-home"] .brand strong {
  font-size: 25px;
  letter-spacing: 0;
}

body[data-template="pc-home"] .desktop-nav {
  justify-content: flex-start;
  gap: 62px;
  padding-left: 56px;
}

body[data-template="pc-home"] .desktop-nav a {
  height: 76px;
  font-size: 15px;
  font-weight: 500;
}

body[data-template="pc-home"] .desktop-nav a.active::after {
  bottom: 14px;
  width: 26px;
  height: 3px;
}

body[data-template="pc-home"] .header-search {
  width: 286px;
  height: 40px;
  padding-left: 20px;
  background: rgba(255, 255, 255, 0.72);
}

body[data-template="pc-home"] .header-search button {
  width: 30px;
  color: #4e535b;
  font-size: 19px;
}

.notice-icon {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #4d535c;
  font-size: 19px;
}

.notice-icon i {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 7px;
  height: 7px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: var(--gold);
}

body[data-template="pc-home"] .login-link {
  height: 40px;
  gap: 8px;
  padding: 0 16px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 8px 24px rgba(31, 35, 41, 0.05);
}

body[data-template="pc-home"] .page-shell {
  max-width: 1512px;
  padding: 16px 24px 32px;
}

.portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 16px;
  align-items: start;
}

.portal-main,
.portal-side {
  display: grid;
  gap: 16px;
  min-width: 0;
}

body[data-template="pc-home"] .hero-card {
  height: 350px;
  min-height: 350px;
  grid-template-columns: 48% 52%;
  align-self: start;
  border-radius: 14px;
  box-shadow: 0 18px 54px rgba(31, 35, 41, 0.08);
}

body[data-template="pc-home"] .hero-card::before {
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.68) 36%, rgba(255, 255, 255, 0.04) 100%),
    radial-gradient(circle at 70% 44%, rgba(228, 195, 110, 0.18), transparent 25%);
}

body[data-template="pc-home"] .hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), transparent 42%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0) 0 42px, rgba(228, 195, 110, 0.13) 43px, rgba(255, 255, 255, 0) 44px);
  opacity: 0.45;
  pointer-events: none;
}

body[data-template="pc-home"] .hero-copy {
  padding: 42px 52px 34px;
}

body[data-template="pc-home"] .portal-pill {
  height: 30px;
  padding: 0 17px;
  border-color: rgba(201, 154, 53, 0.2);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(31, 35, 41, 0.05);
}

body[data-template="pc-home"] .hero-copy h1 {
  margin-top: 24px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.12;
}

body[data-template="pc-home"] .hero-copy h1 i {
  width: 8px;
  height: 8px;
  margin: 0 21px 8px;
}

body[data-template="pc-home"] .hero-copy p {
  margin-top: 16px;
  color: #4e5662;
  font-size: 17px;
}

body[data-template="pc-home"] .hero-search {
  width: 455px;
  height: 54px;
  margin-top: 28px;
  padding: 0 18px 0 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 28px rgba(31, 35, 41, 0.07);
}

body[data-template="pc-home"] .hot-tags {
  margin-top: 16px;
  gap: 9px;
}

body[data-template="pc-home"] .hot-tags a {
  height: 24px;
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.62);
}

body[data-template="pc-home"] .hero-visual {
  min-height: 350px;
  background: transparent;
}

body[data-template="pc-home"] .hero-visual img {
  object-position: 58% center;
}

body[data-template="pc-home"] .hero-visual::before {
  inset: 0;
  z-index: 1;
  border: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 40%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 55%);
  transform: none;
}

body[data-template="pc-home"] .hero-visual::after {
  display: none;
}

.cube-c {
  right: 210px;
  bottom: 28px;
  width: 168px;
  height: 88px;
  opacity: 0.68;
}

body[data-template="pc-home"] .slider-dots {
  bottom: 18px;
  gap: 11px;
}

body[data-template="pc-home"] .panel-card,
body[data-template="pc-home"] .channel-strip {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 54px rgba(31, 35, 41, 0.07);
}

body[data-template="pc-home"] .section-head {
  margin-bottom: 16px;
}

body[data-template="pc-home"] .section-head h2 {
  font-size: 20px;
  font-weight: 800;
}

body[data-template="pc-home"] .section-head a::after {
  content: "  \203A";
}

body[data-template="pc-home"] .notice-card {
  height: 312px;
  padding: 28px 26px;
}

body[data-template="pc-home"] .notice-row {
  min-height: 45px;
  grid-template-columns: 22px 1fr 44px;
  border-color: rgba(31, 35, 41, 0.06);
}

body[data-template="pc-home"] .quick-card {
  height: 288px;
  padding: 26px;
}

body[data-template="pc-home"] .quick-grid {
  gap: 14px;
}

body[data-template="pc-home"] .quick-grid a {
  min-height: 68px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(31, 35, 41, 0.04);
}

body[data-template="pc-home"] .quick-grid span {
  font-size: 23px;
}

body[data-template="pc-home"] .channel-strip {
  height: 90px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-top: 0;
  padding: 13px 22px;
}

body[data-template="pc-home"] .channel-item {
  min-height: 64px;
  padding: 8px 12px;
  grid-template-columns: 46px 1fr;
  column-gap: 12px;
}

body[data-template="pc-home"] .channel-item span {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 23px;
  box-shadow: 0 8px 18px rgba(31, 35, 41, 0.04);
}

body[data-template="pc-home"] .channel-item strong {
  font-size: 14px;
}

body[data-template="pc-home"] .channel-item em {
  margin-top: 4px;
  font-size: 12px;
}

body[data-template="pc-home"] .news-panel {
  min-height: 286px;
  padding: 12px 24px 14px;
}

body[data-template="pc-home"] .news-panel .section-head {
  margin-bottom: 10px;
}

body[data-template="pc-home"] .news-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body[data-template="pc-home"] .news-card {
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.74);
}

body[data-template="pc-home"] .image-box {
  height: 98px;
}

body[data-template="pc-home"] .visual-fallback {
  background:
    linear-gradient(155deg, rgba(247, 230, 188, 0.86), rgba(255, 255, 255, 0.4) 58%),
    repeating-linear-gradient(115deg, transparent 0 26px, rgba(201, 154, 53, 0.12) 27px, transparent 28px);
}

body[data-template="pc-home"] .news-card:nth-child(2) .visual-fallback {
  background:
    linear-gradient(160deg, rgba(191, 205, 218, 0.68), rgba(255, 239, 205, 0.58)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.0) 0 34px, rgba(71, 101, 132, 0.12) 35px, transparent 36px);
}

body[data-template="pc-home"] .news-card:nth-child(3) .visual-fallback {
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.86), transparent 24%),
    linear-gradient(145deg, rgba(222, 209, 187, 0.78), rgba(255, 255, 255, 0.56)),
    repeating-linear-gradient(120deg, transparent 0 30px, rgba(201, 154, 53, 0.13) 31px, transparent 32px);
}

body[data-template="pc-home"] .image-box-building .visual-fallback,
body[data-template="pc-home"] .news-card:nth-child(4) .visual-fallback {
  background:
    linear-gradient(180deg, rgba(198, 218, 228, 0.68), rgba(255, 255, 255, 0.56)),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(61, 90, 112, 0.2) 35px, transparent 36px),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(61, 90, 112, 0.12) 25px, transparent 26px);
}

body[data-template="pc-home"] .image-box em {
  top: 9px;
  left: 10px;
  height: 23px;
  background: rgba(242, 224, 184, 0.82);
}

body[data-template="pc-home"] .card-body {
  padding: 10px 14px 10px;
}

body[data-template="pc-home"] .card-body h3 {
  min-height: 36px;
  font-size: 15px;
  line-height: 1.38;
}

body[data-template="pc-home"] .card-body p {
  height: 38px;
  min-height: 0;
  margin: 7px 0 10px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.55;
}

body[data-template="pc-home"] .card-body footer {
  justify-content: space-between;
  gap: 8px;
}

body[data-template="pc-home"] .card-body footer span::before {
  content: "\25CE  ";
}

body[data-template="pc-home"] .solution-card {
  min-height: 112px;
  padding: 20px 24px;
}

body[data-template="pc-home"] .solution-card .section-head {
  margin-bottom: 14px;
}

body[data-template="pc-home"] .solution-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

body[data-template="pc-home"] .solution-grid a {
  min-height: 68px;
  grid-template-columns: 42px 1fr;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

body[data-template="pc-home"] .solution-grid span {
  font-size: 28px;
}

body[data-template="pc-home"] .solution-grid strong {
  font-size: 14px;
}

body[data-template="pc-home"] .solution-grid em {
  font-size: 11px;
}

body[data-template="pc-home"] .cluster-card {
  min-height: 268px;
  padding: 26px;
}

body[data-template="pc-home"] .cluster-grid {
  gap: 12px;
}

body[data-template="pc-home"] .cluster-grid a {
  min-height: 46px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
  }

  .desktop-nav {
    gap: 24px;
  }

  .header-search {
    display: none;
  }

  .home-grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .side-stack {
    grid-template-columns: 1fr 1fr;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .right-column {
    display: contents;
  }
}

@media (max-width: 760px) {
  body {
    background: #f6f5f2;
  }

  .site-header {
    height: 58px;
    grid-template-columns: auto 1fr auto auto;
    gap: 8px;
    margin: 0;
    padding: 0 14px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand strong {
    font-size: 20px;
  }

  .desktop-nav,
  .login-link {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .mobile-menu {
    position: sticky;
    top: 58px;
    z-index: 19;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
  }

  .mobile-menu.open {
    display: grid;
  }

  .mobile-menu a {
    min-height: 40px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(201, 154, 53, 0.09);
    font-size: 14px;
  }

  .page-shell {
    padding: 12px 14px 28px;
  }

  .home-grid {
    gap: 12px;
  }

  .hero-card {
    min-height: 430px;
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .hero-copy {
    padding: 28px 20px 170px;
  }

  .portal-pill {
    height: 28px;
    font-size: 12px;
  }

  .hero-copy h1 {
    margin-top: 20px;
    font-size: 34px;
    white-space: normal;
  }

  .hero-copy h1 i {
    width: 6px;
    height: 6px;
    margin: 0 10px 6px;
  }

  .hero-copy p {
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-search {
    height: 48px;
    margin-top: 24px;
    padding-left: 18px;
  }

  .hot-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hot-tags span,
  .hot-tags a {
    flex: 0 0 auto;
  }

  .hero-visual {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 190px;
    opacity: 0.9;
  }

  .hero-visual::before {
    inset: 0;
    z-index: 1;
    border: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(246, 245, 242, 0.58));
    transform: none;
  }

  .hero-visual::after {
    display: none;
  }

  .hero-visual img {
    object-position: center;
  }

  .side-stack {
    grid-template-columns: 1fr;
  }

  .panel-card,
  .channel-strip,
  .page-hero {
    border-radius: 16px;
    padding: 18px;
  }

  .section-head {
    margin-bottom: 14px;
  }

  .section-head h2 {
    font-size: 18px;
  }

  .channel-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
  }

  .channel-item {
    min-height: 92px;
    grid-template-columns: 1fr;
    place-items: center;
    padding: 12px 6px;
    border: 1px solid var(--line);
    border-radius: 14px;
    text-align: center;
  }

  .channel-item span {
    grid-row: auto;
  }

  .channel-item em {
    display: none;
  }

  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .quick-grid a {
    min-height: 74px;
    font-size: 12px;
  }

  .quick-grid span {
    font-size: 21px;
  }

  .content-layout,
  .list-layout,
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .news-card {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .image-box {
    height: 100%;
    min-height: 128px;
  }

  .card-body h3 {
    min-height: 0;
    font-size: 15px;
  }

  .card-body p {
    min-height: 0;
    display: -webkit-box;
    margin-bottom: 10px;
    overflow: hidden;
    font-size: 12px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .solution-grid,
  .cluster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-grid a {
    min-height: 92px;
    grid-template-columns: 1fr;
    place-items: center;
    text-align: center;
  }

  .solution-grid span {
    grid-row: auto;
    font-size: 28px;
  }

  .solution-grid em {
    display: none;
  }

  .compact-hero h1,
  .article-detail h1 {
    font-size: 28px;
  }

  .page-hero p {
    font-size: 14px;
    line-height: 1.7;
  }

  .article-row {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }

  .row-image {
    min-height: 104px;
  }

  .article-row h2 {
    font-size: 16px;
  }

  .article-row p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .article-detail {
    padding: 22px 18px;
  }

  .subtitle,
  .rich-content {
    font-size: 15px;
  }

  .rich-content {
    line-height: 1.9;
  }

  .site-footer {
    padding: 8px 16px 20px;
  }
}

@media (max-width: 390px) {
  .quick-grid,
  .channel-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .image-box {
    height: 150px;
  }
}
