/*
Theme Name: Fortunelink
Text Domain: fortunelink
Description: 通润汇沣 FORTUNELINK 官网主题，基于静态站重构：包含首页/关于我们/业务领域/公司环境/新闻动态/联系我们/人才招聘页面，支持中英双语切换、首屏轮播与下拉菜单。
Version: 1.0.4
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
*/

:root {
  --brand: #303068;
  --brand-deep: #20204d;
  --brand-soft: #eff0fa;
  --accent: #d99a2b;
  --ink: #20233a;
  --muted: #6e7284;
  --line: rgba(48, 48, 104, 0.14);
  --paper: #ffffff;
  --wash: #f6f7fb;
  --shadow: 0 24px 70px rgba(32, 32, 77, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body [id] {
  scroll-margin-top: 104px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 6%, rgba(217, 154, 43, 0.16), transparent 26rem),
    linear-gradient(135deg, #ffffff 0%, #f5f6fb 56%, #eef0fb 100%);
  font-family: "Lato", "Microsoft YaHei", "PingFang SC", sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

h1,
h2,
h3 {
  text-wrap: balance;
  word-break: normal;
}

.container {
  width: min(1180px, calc(100% - 44px));
  margin-inline: auto;
}

.hero-inner > *,
.two-col > *,
.media-preview-grid > *,
.video-feature > *,
.contact-grid > *,
.news-card > *,
.service-row > *,
.detail-row > * {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
}

.logo img {
  width: 244px;
  height: auto;
}

.logo {
  order: 1;
  flex: 0 0 auto;
}

.nav {
  order: 2;
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 30px 0;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  z-index: 30;
  display: grid;
  min-width: 210px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 38px rgba(32, 32, 77, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown a {
  padding: 11px 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-dropdown a::after {
  display: none;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  order: 4;
  display: none;
}

.lang-toggle {
  order: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  color: var(--brand);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  border-color: var(--accent);
  color: var(--brand-deep);
  background: #fffaf0;
  outline: none;
}

body.lang-en {
  font-family: "Segoe UI", Arial, sans-serif;
}

body.lang-en .nav {
  gap: 24px;
  font-size: 14px;
}

body.lang-en .hero h1 {
  font-size: 56px;
}

body.lang-en .section-head h2,
body.lang-en .section-title h2,
body.lang-en .news-strip h2,
body.lang-en .contact-info h2 {
  font-size: 38px;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #fff;
  background: var(--brand-deep);
}

.hero.compact {
  min-height: 680px;
}

.material-hero .hero-mask {
  background:
    linear-gradient(90deg, rgba(32, 32, 77, 0.92) 0%, rgba(48, 48, 104, 0.58) 50%, rgba(48, 48, 104, 0.06) 100%),
    linear-gradient(0deg, rgba(32, 32, 77, 0.7), transparent 58%);
}

.hero-bg,
.hero-mask {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background: center/cover no-repeat;
  transform: scale(1.03);
  transition: opacity 0.5s ease, transform 4s ease;
}

.hero-bg.is-changing {
  opacity: 0.55;
  transform: scale(1.08);
}

.hero-mask {
  background:
    linear-gradient(90deg, rgba(32, 32, 77, 0.94) 0%, rgba(48, 48, 104, 0.76) 48%, rgba(48, 48, 104, 0.2) 100%),
    linear-gradient(0deg, rgba(32, 32, 77, 0.66), transparent 46%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 54px;
  align-items: end;
  min-height: inherit;
  padding: 84px 0 74px;
}

.eyebrow,
.kicker {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: "Manrope", "Microsoft YaHei", sans-serif;
  font-size: 60px;
  line-height: 1.12;
  overflow-wrap: normal;
}

.hero h1 {
  max-width: 680px;
}

.hero p,
.page-hero p {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
}

.btn.primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 14px 34px rgba(48, 48, 104, 0.24);
}

.hero .btn.primary,
.contact-form .btn.primary {
  color: var(--brand-deep);
  background: var(--accent);
}

.btn.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.btn.secondary.dark {
  color: var(--brand);
  border-color: var(--line);
  background: #fff;
}

.hero-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.video-card {
  padding: 14px;
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #111;
}

.hero-card span {
  color: var(--accent);
  font-weight: 900;
}

.hero-card strong {
  display: block;
  margin: 8px 0 12px;
  font-family: "Manrope", sans-serif;
  font-size: 64px;
  line-height: 1;
}

.hero-card p {
  margin: 0;
  font-size: 15px;
}

.media-preview-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 1.25fr);
  gap: 46px;
  align-items: center;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.photo-mosaic img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.photo-mosaic img:first-child {
  grid-row: span 2;
  height: 474px;
}

.inline-photo {
  width: 100%;
  margin-top: 26px;
  border: 8px solid #fff;
  box-shadow: var(--shadow);
}

.hero-dots {
  position: absolute;
  z-index: 3;
  right: calc((100% - min(1180px, calc(100% - 44px))) / 2);
  bottom: 36px;
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 38px;
  height: 4px;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--accent);
}

.section {
  padding: 86px 0;
}

.section.light {
  background: var(--brand-soft);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.section-head h2,
.section-title h2,
.news-strip h2,
.contact-info h2 {
  margin: 0;
  color: var(--brand);
  font-family: "Manrope", "Microsoft YaHei", sans-serif;
  font-size: 42px;
  line-height: 1.2;
  overflow-wrap: normal;
}

.contact-info h2 {
  font-size: 38px;
}

.section-title {
  margin-bottom: 38px;
}

.intro-text p,
.article p,
.feature p,
.service-row p,
.contact-info p,
.news-card p {
  color: var(--muted);
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--brand);
  font-weight: 900;
  border-bottom: 2px solid var(--accent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature {
  min-height: 250px;
  padding: 30px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.feature:hover {
  z-index: 1;
  transform: translateY(-6px);
  background: #fff;
  box-shadow: var(--shadow);
}

.service-note {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 26px 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: var(--shadow);
}

.service-note strong {
  color: var(--accent);
  font-size: 22px;
}

.service-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.85;
}

.feature span,
.service-row > span {
  color: var(--accent);
  font-family: "Manrope", sans-serif;
  font-weight: 900;
}

.feature h3 {
  margin: 70px 0 12px;
  color: var(--brand);
  font-size: 21px;
}

.feature p {
  margin: 0;
}

.feature p + p {
  margin-top: 8px;
  color: var(--brand);
  font-weight: 700;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.flow-item {
  min-height: 220px;
  padding: 28px 20px;
  background: #fff;
}

.flow-item span {
  color: var(--accent);
  font-family: "Manrope", sans-serif;
  font-weight: 900;
}

.flow-item h3 {
  margin: 54px 0 12px;
  color: var(--brand);
  font-size: 21px;
}

.flow-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.news-strip {
  padding: 58px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(32, 32, 77, 0.94), rgba(48, 48, 104, 0.82)),
    var(--fl-hero-earth) center/cover;
}

.news-strip h2 {
  color: #fff;
  font-size: 38px;
}

.news-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.news-strip-inner > div {
  min-width: 0;
}

.news-strip-inner .btn {
  flex: 0 0 auto;
}

.page-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(32, 32, 77, 0.94), rgba(48, 48, 104, 0.72)),
    var(--fl-hero-earth) center/cover;
  padding: 92px 0;
}

.page-hero h1 {
  font-size: 52px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stat {
  color: inherit;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.stat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  color: var(--brand);
  font-family: "Manrope", sans-serif;
  font-size: 34px;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.service-list {
  border-top: 1px solid var(--line);
}

.detail-list {
  border-top: 1px solid var(--line);
}

.detail-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 34px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.detail-row > span {
  color: var(--accent);
  font-family: "Manrope", sans-serif;
  font-weight: 900;
}

.detail-row h2 {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 32px;
}

.detail-row p {
  max-width: 840px;
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 17px;
}

.service-row {
  display: grid;
  grid-template-columns: 72px minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.service-visual {
  align-self: start;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--brand-soft);
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-row:hover .service-visual img {
  transform: scale(1.04);
}

.service-copy {
  min-width: 0;
}

.service-row:nth-child(even) .service-visual {
  grid-column: 3;
}

.service-row:nth-child(even) .service-copy {
  grid-column: 2;
  grid-row: 1;
}

.service-row h2 {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 32px;
}

.service-row p {
  max-width: 800px;
  margin: 0;
  font-size: 17px;
}

.service-row p + p {
  margin-top: 12px;
}

.service-row p strong {
  color: var(--brand);
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 28px;
  align-items: start;
}

.news-board {
  display: grid;
  gap: 16px;
}

.news-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.news-card time {
  color: var(--accent);
  font-weight: 900;
}

.news-card h2 {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 24px;
  overflow-wrap: normal;
}

.news-card h2 a {
  transition: color 0.2s ease;
}

.news-card h2 a:hover {
  color: var(--accent);
}

.news-card p {
  margin: 0;
}

.official-account-card {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
  padding: 30px;
  color: #fff;
  background: var(--brand);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow);
}

.official-account-card h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.3;
}

.official-account-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.official-account-qr {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 4px;
}

.official-account-qr img {
  width: min(220px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  padding: 8px;
  background: #fff;
}

.official-account-qr span {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.single-article {
  max-width: 820px;
}

.entry-content {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.9;
}

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

.entry-content h2,
.entry-content h3 {
  margin: 30px 0 12px;
  color: var(--brand);
}

.entry-content img {
  margin: 18px 0;
  border-radius: 4px;
}

.back-news {
  margin-top: 34px;
}

.video-feature {
  display: grid;
  grid-template-columns: minmax(320px, 1.25fr) minmax(280px, 0.75fr);
  gap: 42px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.video-feature video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.video-feature h2 {
  margin: 0 0 16px;
  color: var(--brand);
  font-family: "Manrope", "Microsoft YaHei", sans-serif;
  font-size: 34px;
  line-height: 1.16;
  overflow-wrap: normal;
}

.video-feature p {
  color: var(--muted);
  line-height: 1.9;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 12px 30px rgba(32, 32, 77, 0.08);
}

.event-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--brand-soft);
}

.event-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.event-gallery figure:hover img {
  transform: scale(1.03);
}

.event-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 16px 14px;
  color: #fff;
  background: linear-gradient(transparent, rgba(20, 22, 43, 0.82));
  font-size: 14px;
  font-weight: 700;
}

.section-title > p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.event-gallery {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
}

.event-gallery figure {
  aspect-ratio: 16 / 10;
}

.clip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.clip-grid video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #111;
}

.pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.pagination button {
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  color: var(--brand);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.pagination button.is-active {
  color: #fff;
  background: var(--brand);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 32px;
  align-items: stretch;
}

.contact-info {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.2fr);
  align-content: start;
  column-gap: 34px;
  padding: 36px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  background: rgba(255, 255, 255, 0.78);
}

.contact-info h2 {
  grid-column: 1 / -1;
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 36px;
  line-height: 1.28;
}

.contact-info h3 {
  grid-column: 1 / -1;
  margin: 28px 0 0;
  padding: 24px 0 16px;
  border-top: 1px solid var(--line);
  color: var(--brand);
  font-size: 19px;
}

.contact-info p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.contact-info p:first-of-type {
  grid-column: 1 / -1;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: var(--wash);
}

.contact-info p:nth-of-type(2) {
  grid-column: 1;
  padding: 2px 0 14px;
  color: var(--ink);
  font-weight: 700;
}

.contact-info p:nth-of-type(3) {
  grid-column: 2;
  grid-row: 4 / span 2;
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.contact-info p:nth-of-type(4) {
  grid-column: 1;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.contact-info p:last-of-type {
  grid-column: 1 / -1;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: 32px;
  color: #fff;
  background: var(--brand);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin: 0;
  color: #fff;
  font-family: "Manrope", "Microsoft YaHei", sans-serif;
  font-size: 36px;
}

.contact-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.9;
}

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

.career-package {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.career-package-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  align-items: stretch;
}

.career-package-main,
.career-package-item {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 34px;
}

.career-package-main {
  padding-left: 0;
}

.career-package-item {
  border-left: 1px solid var(--line);
}

.career-package span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.career-package strong {
  color: var(--brand);
  font-size: 23px;
  line-height: 1.35;
}

.career-package-main strong {
  font-size: 34px;
}

.career-package p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.career-block {
  padding: 34px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  background: #fff;
}

.career-block h2,
.career-contact h2,
.career-entry h2 {
  margin: 0;
  color: var(--brand);
  font-size: 34px;
}

.career-block ol {
  display: grid;
  gap: 15px;
  margin: 26px 0 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.75;
}

.career-block li::marker {
  color: var(--accent);
  font-weight: 900;
}

.career-service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.career-service-grid span {
  display: grid;
  place-items: center;
  min-height: 116px;
  padding: 20px;
  color: var(--brand);
  background: #fff;
  text-align: center;
  font-weight: 800;
}

.career-note {
  max-width: 880px;
  margin: 28px 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.career-contact,
.career-entry {
  padding: 54px 0;
  background: #fff;
}

.career-contact-inner,
.career-entry-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.career-contact p,
.career-entry p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.career-contact .btn,
.career-entry .btn {
  flex: 0 0 auto;
}

.career-application-copy {
  min-width: 0;
}

.career-email {
  display: inline-block;
  margin-top: 14px;
  color: var(--brand);
  font-size: 18px;
  font-weight: 900;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(48, 48, 104, 0.28);
  text-underline-offset: 5px;
}

.career-application-actions {
  display: grid;
  justify-items: end;
  gap: 12px;
  max-width: 360px;
  text-align: right;
}

.career-application-actions span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.wechat-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.wechat-contact img {
  width: min(240px, 100%);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  padding: 8px;
  background: #fff;
}

.wechat-contact span {
  color: #fff;
  font-weight: 700;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--brand-deep);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
  grid-template-rows: auto auto auto;
  align-items: start;
  column-gap: 72px;
  row-gap: 8px;
  padding: 38px 0 34px;
}

.footer-inner > div {
  display: contents;
}

.footer-logo {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  justify-self: start;
}

.footer-inner img {
  width: 178px;
}

.footer-inner > div > p:not(.icp) {
  grid-column: 1;
  grid-row: 2;
  margin: 12px 0 0;
  line-height: 1.75;
}

.footer-inner > p {
  grid-column: 2;
  grid-row: 3;
  justify-self: center;
  margin: 6px 0 0;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.footer-wechat {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  gap: 8px;
  margin: 0;
}

.footer-wechat img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  padding: 4px;
  background: #fff;
}

.footer-wechat span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.footer-inner a,
.contact-info a {
  color: inherit;
}

.footer-inner .icp a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.footer-inner .icp {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  margin: 0;
}

.footer-inner .icp a:hover {
  color: #fff;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: reveal-in 0.72s ease both;
  }
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: grid;
    gap: 6px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
  }

  .lang-toggle {
    margin-left: auto;
    height: 40px;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--brand);
  }

  .nav {
    position: fixed;
    top: 82px;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 0;
    padding: 16px 22px calc(40px + env(safe-area-inset-bottom));
    margin-left: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a::after {
    display: none;
  }

  .nav-item {
    display: block;
    width: min(100%, 380px);
    border-bottom: 1px solid var(--line);
  }

  .nav-item > a {
    justify-content: center;
    width: 100%;
    padding: 15px 12px;
    color: var(--brand-deep);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.3;
  }

  .nav-item > a.is-active {
    color: var(--accent);
  }

  .nav-item > a.has-dropdown::before {
    content: "▾";
    margin-right: 10px;
    color: var(--accent);
    font-size: 15px;
  }

  .nav-dropdown {
    position: static;
    display: block;
    width: 100%;
    min-width: 0;
    padding: 6px 0 10px;
    border: 0;
    border-top: 1px solid var(--line);
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown a {
    display: block;
    padding: 13px 18px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
  }

  .nav-dropdown a:active {
    color: var(--brand);
    background: var(--brand-soft);
  }

  .hero-inner,
  .two-col,
  .contact-grid,
  .news-layout {
    grid-template-columns: 1fr;
  }

  .official-account-card {
    position: static;
  }

  .hero h1 {
    font-size: 44px;
  }

  .section-head h2,
  .section-title h2,
  .news-strip h2,
  .contact-info h2 {
    font-size: 34px;
  }

  body.lang-en .hero h1 {
    font-size: 40px;
  }

  body.lang-en .section-head h2,
  body.lang-en .section-title h2,
  body.lang-en .news-strip h2,
  body.lang-en .contact-info h2 {
    font-size: 32px;
  }

  .hero-card {
    max-width: 420px;
  }

  .feature-grid,
  .flow-grid,
  .stats,
  .gallery-grid,
  .clip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-preview-grid,
  .video-feature {
    grid-template-columns: 1fr;
  }

  .career-service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .career-package-grid {
    grid-template-columns: 1fr 1fr;
  }

  .career-package-main {
    grid-column: 1 / -1;
    padding: 4px 0 26px;
  }

  .career-package-item {
    padding: 24px 24px 4px;
    border-top: 1px solid var(--line);
  }

  .career-package-item:nth-child(2) {
    padding-left: 0;
    border-left: 0;
  }

  .news-strip-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    column-gap: 36px;
  }

  .footer-inner > p {
    white-space: normal;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .contact-info h2,
  .contact-info h3,
  .contact-info p,
  .contact-info p:first-of-type,
  .contact-info p:nth-of-type(2),
  .contact-info p:nth-of-type(3),
  .contact-info p:nth-of-type(4),
  .contact-info p:last-of-type {
    grid-column: 1;
    grid-row: auto;
  }

  .contact-info p:nth-of-type(3) {
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .wechat-contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 34px), 1180px);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }

  .footer-logo,
  .footer-inner > div > p:not(.icp),
  .footer-wechat,
  .footer-inner .icp,
  .footer-inner > p {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .footer-wechat {
    align-items: flex-start;
    margin-top: 8px;
  }

  .header-inner {
    min-height: 72px;
  }

  .logo img {
    width: 190px;
  }

  .header-inner {
    gap: 8px;
  }

  .nav {
    top: 72px;
  }

  .hero.compact {
    min-height: 640px;
  }

  .hero-inner {
    padding: 58px 0 58px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.18;
  }

  body.lang-en .hero h1 {
    font-size: 34px;
  }

  .page-hero h1 {
    font-size: 38px;
    line-height: 1.16;
  }

  body.lang-en .page-hero h1 {
    font-size: 35px;
  }

  .section-head h2,
  .section-title h2,
  .news-strip h2,
  .contact-info h2,
  .contact-card h2 {
    font-size: 28px;
    line-height: 1.28;
  }

  body.lang-en .section-head h2,
  body.lang-en .section-title h2,
  body.lang-en .news-strip h2,
  body.lang-en .contact-info h2,
  body.lang-en .contact-card h2 {
    font-size: 26px;
  }

  .video-feature h2,
  .detail-row h2,
  .service-row h2 {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .news-strip {
    padding: 52px 0;
  }

  .news-strip-inner {
    gap: 26px;
  }

  .footer-inner > div {
    display: contents;
  }

  .feature-grid,
  .flow-grid,
  .stats,
  .news-card,
  .service-row,
  .service-note,
  .detail-row,
  .gallery-grid,
  .clip-grid,
  .photo-mosaic {
    grid-template-columns: 1fr;
  }

  .career-columns,
  .career-service-grid,
  .career-package-grid {
    grid-template-columns: 1fr;
  }

  .career-package {
    padding: 28px 0;
  }

  .career-package-main,
  .career-package-item,
  .career-package-item:nth-child(2) {
    grid-column: auto;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .career-package-main {
    padding-top: 0;
    border-top: 0;
  }

  .career-package-main strong {
    font-size: 30px;
  }

  .career-contact-inner,
  .career-entry-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .career-block {
    padding: 26px 22px;
  }

  .career-block h2,
  .career-contact h2,
  .career-entry h2 {
    font-size: 28px;
  }

  .service-row {
    gap: 18px;
  }

  .service-row:nth-child(even) .service-visual,
  .service-row:nth-child(even) .service-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .photo-mosaic img,
  .photo-mosaic img:first-child,
  .gallery-grid img {
    height: auto;
  }

  .contact-info {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }

  .contact-info h2,
  .contact-info h3,
  .contact-info p,
  .contact-info p:first-of-type,
  .contact-info p:nth-of-type(2),
  .contact-info p:nth-of-type(3),
  .contact-info p:nth-of-type(4),
  .contact-info p:last-of-type {
    grid-column: 1;
    grid-row: auto;
  }

  .contact-info h2 {
    font-size: 29px;
  }

  .contact-info p:nth-of-type(3) {
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .event-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .event-gallery figure {
    aspect-ratio: 4 / 3;
  }

  .feature h3 {
    margin-top: 46px;
  }

  .page-hero {
    padding: 68px 0;
  }

  .video-feature,
  .contact-card,
  .news-card {
    padding: 22px;
  }

  .contact-info p,
  .contact-card p,
  .news-card p,
  .service-row p,
  .detail-row p {
    overflow-wrap: anywhere;
  }

  .footer-inner {
    gap: 26px;
    padding: 32px 0;
  }
}
