:root {
  --blue: #1f2897;
  --blue-deep: #10185e;
  --blue-dark: #151d7a;
  --blue-soft: #e9edf9;
  --red: #c30d23;
  --ink: #0d1636;
  --muted: #6d7488;
  --line: rgba(31, 40, 151, 0.16);
  --white: #fff;
  --shadow: 0 26px 70px rgba(9, 18, 76, 0.26);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.pagination a {
  min-width: 42px;
  padding: 10px 14px;
  text-align: center;
  background: var(--mist);
  color: var(--blue);
  font-weight: 700;
}

.pagination a.current {
  background: var(--blue);
  color: var(--white);
}

.pagination a.disabled {
  pointer-events: none;
  opacity: .42;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--blue-deep);
  font-family: "Source Han Sans SC", "Noto Sans CJK SC", "思源黑体", "Microsoft YaHei", Helvetica, Arial, sans-serif;
}

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

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

button {
  font: inherit;
}

.yeda-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(280px, 410px) 1fr auto auto;
  width: 100%;
  height: 86px;
  color: var(--white);
  background: linear-gradient(90deg, rgba(16, 24, 94, 0.94), rgba(31, 40, 151, 0.74));
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  padding-left: clamp(20px, 3.4vw, 56px);
  min-width: 0;
}

.brand img {
  width: min(330px, 21vw);
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.brand span {
  display: none;
  min-width: 150px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 0.35vw, 8px);
}

.top-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 86px;
  padding: 0 clamp(7px, 0.72vw, 13px);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.top-nav a::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 4px;
  content: "";
  background: var(--red);
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.top-nav a:hover::after {
  width: 56%;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 86px;
  padding: 0 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.site-search input {
  width: min(190px, 13vw);
  height: 38px;
  min-width: 132px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  outline: 0;
}

.site-search input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.site-search button {
  height: 38px;
  padding: 0 16px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--red);
  border: 0;
}

.menu-trigger {
  display: none;
  place-items: center;
  width: 72px;
  height: 86px;
  border: 0;
  color: var(--white);
  background: transparent;
}

.menu-trigger span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
}

.mega-menu {
  position: fixed;
  top: 86px;
  left: 0;
  width: 100%;
  min-height: 0;
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  --mega-kicker: "ABOUT YEDA";
  --mega-title: "走进城发";
  --mega-desc: "了解集团定位、组织架构、企业文化与发展脉络。";
}

.yeda-header[data-active-menu="about"] .mega-menu {
  --mega-kicker: "ABOUT YEDA";
  --mega-title: "走进城发";
  --mega-desc: "了解集团定位、组织架构、企业文化与发展脉络。";
}

.yeda-header[data-active-menu="party"] .mega-menu {
  --mega-kicker: "PARTY BUILDING";
  --mega-title: "党的建设";
  --mega-desc: "强化党建引领，凝聚组织力量，服务发展大局。";
}

.yeda-header[data-active-menu="business"] .mega-menu {
  --mega-kicker: "BUSINESS";
  --mega-title: "业务板块";
  --mega-desc: "围绕城市建设、海洋经济与资产运营，构建协同发展的服务体系。";
}

.yeda-header[data-active-menu="news"] .mega-menu {
  --mega-kicker: "NEWS CENTER";
  --mega-title: "新闻中心";
  --mega-desc: "聚焦集团动态、项目进展与媒体报道，及时传递发展信息。";
}

.yeda-header[data-active-menu="notice"] .mega-menu {
  --mega-kicker: "ANNOUNCEMENT";
  --mega-title: "信息公告";
  --mega-desc: "发布招采租赁、经营服务与重要事项等公开信息。";
}

.yeda-header[data-active-menu="special"] .mega-menu {
  --mega-kicker: "SPECIAL TOPIC";
  --mega-title: "专题聚焦";
  --mega-desc: "集中呈现重点专题、阶段成果与专项行动。";
}

.yeda-header.has-active-menu .mega-menu,
.yeda-header.is-menu-open .mega-menu,
.yeda-header:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(16, 24, 94, 0.96) 0 48%, rgba(31, 40, 151, 0.92) 48% 100%),
    url("./images/sea-contact-bg.jpg") center / cover;
}

.mega-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.18), transparent 34%);
}

.mega-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(820px, 1.58fr);
  gap: clamp(24px, 2.4vw, 42px);
  width: min(1420px, calc(100% - 56px));
  margin: 0 auto;
  padding: 22px 0;
}

.mega-lead {
  position: relative;
  max-width: 440px;
  padding: 6px 0 6px 28px;
}

.mega-lead::before {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.24em;
  content: var(--mega-kicker);
}

.mega-lead::after {
  position: absolute;
  top: 10px;
  left: 0;
  width: 4px;
  height: 78px;
  content: "";
  background: var(--red);
}

.mega-lead img {
  display: none;
}

.mega-lead p {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0;
  line-height: 1.65;
}

.mega-lead p::before {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.08em;
  content: var(--mega-title);
}

.mega-lead p::after {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.72;
  content: var(--mega-desc);
}

.mega-panels {
  position: relative;
  min-height: 82px;
}

.mega-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.mega-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.yeda-header:has(.top-nav a[data-menu]:hover) .mega-panel {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.yeda-header:has(.top-nav a[data-menu="about"]:hover) .mega-panel[data-menu="about"],
.yeda-header:has(.top-nav a[data-menu="business"]:hover) .mega-panel[data-menu="business"],
.yeda-header:has(.top-nav a[data-menu="party"]:hover) .mega-panel[data-menu="party"],
.yeda-header:has(.top-nav a[data-menu="news"]:hover) .mega-panel[data-menu="news"],
.yeda-header:has(.top-nav a[data-menu="special"]:hover) .mega-panel[data-menu="special"],
.yeda-header:has(.top-nav a[data-menu="notice"]:hover) .mega-panel[data-menu="notice"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-panel.single-panel .mega-links {
  grid-template-columns: minmax(190px, 260px);
}

.mega-panel strong {
  display: none;
}

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

.mega-links a {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 0 20px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  word-break: keep-all;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  transition: color 0.18s ease, background 0.18s ease;
}

.mega-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.section-rail {
  position: fixed;
  right: 30px;
  top: 50%;
  z-index: 12;
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}

.section-rail a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: rgba(31, 40, 151, 0.88);
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 40, 151, 0.14);
  box-shadow: 0 8px 20px rgba(13, 22, 68, 0.08);
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

.section-rail a.active,
.section-rail a:hover {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 10px 22px rgba(194, 34, 42, 0.24);
}

.panel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 120px clamp(28px, 7vw, 112px) 72px;
}

.hero-panel {
  display: grid;
  align-items: center;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(12, 20, 84, 0.88) 0 42%, rgba(31, 40, 151, 0.22) 42% 68%, rgba(10, 17, 63, 0.34) 68%),
    var(--hero-image, url("./images/hero-ai-cartoon-2.jpg")) center / cover;
  transform: scale(1.01);
  animation: imageDrift 14s ease-in-out infinite alternate;
}

.hero-panel::before,
.about-panel::before,
.business-panel::before,
.special-panel::before,
.contact-panel::before {
  position: absolute;
  content: "";
  background: var(--blue);
  transform: skewX(-32deg);
  transform-origin: center;
}

.hero-panel::before {
  top: 0;
  right: 8%;
  width: 32vw;
  height: 100%;
  opacity: 0.78;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-left: clamp(0px, 3vw, 44px);
}

.hero-copy img {
  width: min(440px, 70vw);
  height: auto;
  max-height: 76px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.96;
}

.hero-copy h1 {
  margin: 32px 0 20px;
  font-size: clamp(48px, 6.8vw, 104px);
  line-height: 0.96;
  letter-spacing: 0.02em;
}

.hero-copy p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 38px;
}

.hero-actions a,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 48px;
  padding: 0 24px;
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--red);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 18px 100%);
}

.hero-actions a:nth-child(2) {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-card {
  display: none;
}

.hero-card span {
  color: rgba(255, 255, 255, 0.66);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  margin: 12px 0 10px;
  font-size: 38px;
  line-height: 1;
}

.hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.scroll-next {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 20px;
  transform: translateX(-50%);
}

.scroll-next::before {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 9px;
  content: "";
  background: var(--white);
  border-radius: 4px;
  transform: translateX(-50%);
  animation: scrollDot 1.2s ease-in-out infinite;
}

.section-title {
  position: relative;
  z-index: 2;
  margin-bottom: 42px;
}

.section-title span {
  display: block;
  color: var(--blue);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section-title h2 {
  margin: 8px 0 0;
  color: var(--blue);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  letter-spacing: 0.05em;
}

.section-title.light span,
.section-title.light h2 {
  color: var(--white);
}

.section-title.red span,
.section-title.red h2 {
  color: var(--white);
}

.about-panel {
  color: var(--ink);
  background: var(--blue-soft);
}

.about-panel::before {
  right: -18vw;
  top: -10vh;
  width: 40vw;
  height: 120vh;
  opacity: 0.12;
}

.about-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(520px, 0.9fr) minmax(250px, 0.36fr) minmax(520px, 1fr);
  gap: clamp(22px, 2.4vw, 44px);
  align-items: end;
}

.about-panel .section-title {
  margin-bottom: 18px;
}

.about-copy {
  align-self: start;
  padding: 0 0 20px;
  min-width: 0;
}

.about-copy h3 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(30px, 2.55vw, 40px);
  line-height: 1.18;
  white-space: nowrap;
  word-break: keep-all;
}

.about-copy p {
  margin: 0 0 18px;
  color: #4e5870;
  font-size: 16px;
  line-height: 2;
  text-indent: 2em;
}

.text-link {
  margin-top: 20px;
  background: var(--blue);
}

.about-stat {
  display: grid;
  gap: 16px;
  align-self: center;
}

.about-stat div {
  padding: 22px 24px;
  color: var(--white);
  background: var(--blue);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, 100% 0, calc(100% - 34px) 100%, 0 100%);
}

.about-stat b {
  display: block;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 42px;
  line-height: 1;
}

.about-stat .unit {
  display: inline-block;
  margin-left: 2px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 800;
  vertical-align: baseline;
}

.about-stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.about-image {
  position: relative;
  margin: 0;
  min-height: 520px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--blue);
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center center;
}

.business-panel {
  color: var(--white);
  background: var(--blue-deep);
}

.business-panel::before {
  left: -24vw;
  bottom: -30vh;
  width: 50vw;
  height: 90vh;
  opacity: 0.36;
}

.business-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  transition: grid-template-columns 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.business-grid:has(.business-card:nth-child(1):hover) {
  grid-template-columns: 1.25fr 0.88fr 0.88fr;
}

.business-grid:has(.business-card:nth-child(2):hover) {
  grid-template-columns: 0.88fr 1.25fr 0.88fr;
}

.business-grid:has(.business-card:nth-child(3):hover) {
  grid-template-columns: 0.88fr 0.88fr 1.25fr;
}

.business-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #0b123f;
  clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
}

.business-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.business-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 15%, rgba(6, 12, 48, 0.82) 100%);
}

.business-card div {
  position: absolute;
  left: 38px;
  right: 52px;
  bottom: 38px;
  z-index: 2;
}

.business-card span {
  display: block;
  color: var(--red);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}

.business-card h3 {
  margin: 12px 0 12px;
  font-size: clamp(26px, 2.5vw, 42px);
  line-height: 1.12;
}

.business-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.8;
}

.business-card:hover img {
  opacity: 0.9;
  transform: scale(1.08);
}

.news-panel {
  background:
    linear-gradient(90deg, var(--blue-soft) 0 58%, var(--white) 58%),
    var(--white);
}

.news-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 4vw, 70px);
  align-items: center;
}

.news-feature {
  position: relative;
  display: block;
  min-height: 430px;
  aspect-ratio: 1.35;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-deep);
  box-shadow: var(--shadow);
}

.news-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-feature::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(9, 18, 76, 0) 0%, rgba(9, 18, 76, 0.05) 48%, rgba(9, 18, 76, 0.28) 68%, rgba(9, 18, 76, 0.9) 100%),
    linear-gradient(90deg, rgba(9, 18, 76, 0.18) 0%, rgba(9, 18, 76, 0.04) 54%, rgba(195, 13, 35, 0.04) 100%);
}

.news-feature::after {
  position: absolute;
  left: -14%;
  bottom: -62%;
  z-index: 1;
  width: 76%;
  height: 74%;
  content: "";
  background: rgba(31, 40, 151, 0.42);
  filter: blur(1px);
  transform: skewX(-26deg);
}

.news-feature-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  align-content: center;
  height: 25%;
  min-height: 0;
  padding: 14px 34px 16px;
  background:
    linear-gradient(90deg, rgba(8, 15, 60, 0.9), rgba(8, 15, 60, 0.68) 58%, rgba(8, 15, 60, 0.36)),
    rgba(8, 15, 60, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 -22px 45px rgba(7, 13, 52, 0.34);
  backdrop-filter: blur(5px);
}

.news-feature time {
  color: #ff4055;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.news-feature h3 {
  max-width: 640px;
  margin: 6px 0 0;
  color: var(--white);
  font-size: clamp(21px, 1.8vw, 30px);
  line-height: 1.16;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.36);
}

.news-feature p {
  display: none;
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.tabs button {
  height: 42px;
  padding: 0 22px;
  color: var(--white);
  border: 0;
  background: var(--blue);
  font-weight: 800;
}

.tabs button:nth-child(2) {
  color: var(--blue);
  background: var(--blue-soft);
}

.tabs span {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 22px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.tabs span:nth-child(2) {
  color: var(--blue);
  background: var(--blue-soft);
}

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

.news-list a {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 76px;
  padding: 0 22px;
  background: var(--white);
  border-left: 5px solid transparent;
  box-shadow: 0 12px 34px rgba(9, 18, 76, 0.08);
}

.news-list a:hover {
  border-left-color: var(--red);
}

.news-list time {
  color: var(--blue);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.news-list span {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.notice-panel {
  color: var(--ink);
  background:
    linear-gradient(110deg, var(--white) 0 46%, var(--blue-soft) 46% 100%),
    var(--white);
}

.notice-panel::before {
  position: absolute;
  left: -16vw;
  bottom: -34vh;
  width: 42vw;
  height: 92vh;
  content: "";
  background: var(--blue);
  opacity: 0.08;
  transform: skewX(-32deg);
}

.notice-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(440px, 1.02fr) minmax(500px, 0.98fr);
  gap: clamp(28px, 5vw, 86px);
  align-items: stretch;
}

.notice-lead {
  position: relative;
  min-height: 500px;
  padding: 56px 54px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 24, 94, 0.96), rgba(31, 40, 151, 0.86)),
    var(--notice-image, url("./images/about-coastal-city-v2.jpg")) center / cover;
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, 100% 0, calc(100% - 42px) 100%, 0 100%);
}

.notice-lead span {
  display: inline-flex;
  margin-bottom: 30px;
  padding-left: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  font-weight: 800;
  border-left: 4px solid var(--red);
}

.notice-lead time {
  display: block;
  color: #ff4055;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.notice-lead h3 {
  max-width: 620px;
  margin: 22px 0 38px;
  font-size: clamp(36px, 3.1vw, 52px);
  line-height: 1.22;
}

.notice-list {
  display: grid;
  gap: 14px;
  align-content: center;
}

.notice-list a {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 24px;
  align-items: center;
  min-height: 78px;
  padding: 0 26px;
  background: var(--white);
  border-left: 5px solid transparent;
  box-shadow: 0 12px 34px rgba(9, 18, 76, 0.08);
}

.notice-list a:hover {
  border-left-color: var(--red);
}

.notice-list time {
  color: var(--blue);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.notice-list span {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.special-panel {
  min-height: 680px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 24, 94, 0.96), rgba(31, 40, 151, 0.88)),
    url("./images/sea-contact-bg.jpg") center / cover;
}

.special-panel::before {
  right: -14vw;
  top: 0;
  width: 38vw;
  height: 100%;
  opacity: 0.46;
}

.special-main {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.special-list {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.special-list a {
  display: grid;
  grid-template-columns: 118px 1fr 110px;
  gap: 18px;
  align-items: center;
  min-height: 78px;
  padding: 0 24px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-left: 5px solid var(--red);
}

.special-list b,
.special-list time {
  color: rgba(255, 255, 255, 0.68);
}

.special-list span {
  font-size: 18px;
  font-weight: 800;
}

.contact-card {
  padding: 42px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, 100% 0, calc(100% - 44px) 100%, 0 100%);
}

.contact-layout > .section-title {
  align-self: center;
  max-width: 360px;
  margin-bottom: 0;
}

.contact-intro {
  margin: 24px 0 0;
  color: #6d7488;
  font-size: 16px;
  line-height: 1.9;
}

.contact-primary h3 {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 34px;
}

.contact-primary p {
  margin: 0 0 12px;
  color: #4d566f;
  line-height: 1.7;
}

.contact-extra {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: 28px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(31, 40, 151, 0.12);
}

.contact-sub {
  min-width: 0;
}

.contact-subhead {
  margin-bottom: 18px;
}

.contact-subhead span {
  display: block;
  color: var(--blue);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.contact-subhead small {
  display: block;
  margin-top: 8px;
  color: #7a839a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: 0.04em;
}

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

.friendship-list a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  border-bottom: 1px solid rgba(31, 40, 151, 0.12);
}

.friendship-list a:hover {
  color: var(--blue-dark);
  border-bottom-color: rgba(31, 40, 151, 0.28);
}

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

.qr-grid figure {
  margin: 0;
  text-align: center;
}

.qr-grid img {
  width: 100%;
  max-width: 126px;
  margin: 0 auto;
  border: 6px solid #f4f6fc;
  box-shadow: 0 12px 24px rgba(9, 18, 76, 0.08);
}

.qr-grid figcaption {
  margin-top: 10px;
  color: #4d566f;
  font-size: 15px;
  font-weight: 700;
}

.contact-panel {
  min-height: 680px;
  color: var(--ink);
  background:
    linear-gradient(112deg, var(--blue-soft) 0 54%, var(--white) 54% 100%),
    var(--white);
}

.contact-panel::before {
  right: -18vw;
  top: -18vh;
  width: 44vw;
  height: 120vh;
  opacity: 0.1;
}

.contact-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(260px, 0.54fr) minmax(760px, 1.16fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.contact-panel footer {
  position: absolute;
  left: clamp(28px, 7vw, 112px);
  right: clamp(28px, 7vw, 112px);
  bottom: 28px;
  z-index: 3;
  color: #6d7488;
  font-size: 13px;
  line-height: 1.8;
}

@keyframes imageDrift {
  from {
    transform: scale(1.01) translateX(0);
  }
  to {
    transform: scale(1.12) translateX(-2.5%);
  }
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

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

  .top-nav {
    display: none;
  }

  .menu-trigger {
    display: grid;
  }

  .mega-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 980px) {
  .section-rail,
  .hero-card {
    display: none;
  }

  .panel {
    min-height: auto;
    padding: 110px 24px 64px;
  }

  .hero-panel {
    min-height: 760px;
  }

  .about-layout,
  .business-grid,
  .news-layout,
  .notice-layout,
  .special-main,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-extra,
  .friendship-list {
    grid-template-columns: 1fr;
  }

  .qr-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-layout > .section-title {
    max-width: none;
  }

  .contact-intro {
    max-width: 620px;
  }

  .business-grid:has(.business-card:nth-child(1):hover),
  .business-grid:has(.business-card:nth-child(2):hover),
  .business-grid:has(.business-card:nth-child(3):hover) {
    grid-template-columns: 1fr;
  }

  .about-image,
  .about-image img,
  .business-card {
    min-height: 360px;
  }

  .business-card,
  .notice-lead,
  .about-image,
  .contact-card {
    clip-path: none;
  }

  .news-feature {
    min-height: 430px;
  }

  .news-feature img {
    min-height: 430px;
  }

  .mega-panel {
    position: static;
    grid-template-columns: 1fr;
    gap: 18px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .mega-panels {
    display: grid;
    gap: 22px;
    min-height: 0;
  }

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

@media (max-width: 680px) {
  .yeda-header {
    height: 72px;
  }

  .brand {
    padding-left: 18px;
  }

  .brand img {
    width: 218px;
    height: 46px;
  }

  .brand span,
  .header-tools {
    display: none;
  }

  .menu-trigger {
    width: 62px;
    height: 72px;
  }

  .mega-menu {
    top: 72px;
    min-height: 0;
  }

  .mega-inner {
    padding: 28px 0;
  }

  .mega-lead {
    display: none;
  }

  .mega-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mega-links a {
    min-height: 54px;
    padding: 0 16px;
    font-size: 16px;
    border-left: 3px solid rgba(255, 255, 255, 0.22);
  }

  .hero-panel {
    min-height: 700px;
  }

  .hero-copy img {
    width: 260px;
    max-height: 52px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .special-list a,
  .notice-list a,
  .news-list a {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }

  .news-feature-copy,
  .contact-card {
    padding: 28px;
  }

  .contact-primary h3 {
    font-size: 28px;
  }

  .contact-extra {
    gap: 28px;
    margin-top: 28px;
    padding-top: 24px;
  }

  .contact-intro {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.8;
  }

  .friendship-list a {
    min-height: 48px;
    padding: 0 16px;
    font-size: 15px;
  }

  .news-feature-copy {
    height: 25%;
    padding: 14px 22px 16px;
  }

  .contact-panel footer {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 48px;
  }
}

/* CMS integration: preserve the D visual language without public JavaScript. */
.yeda-header {
  grid-template-columns: minmax(280px, 410px) 1fr auto;
}

.mega-menu {
  --mega-kicker: "YEDA VISION";
  --mega-title: "根植城市 服务发展";
  --mega-desc: "面向城市发展、产业伙伴与公众服务需求，提供稳定高效的综合运营支持。";
}

.top-nav {
  min-width: 0;
}

.header-tools.site-search-display {
  gap: 0;
}

.site-search-display span,
.site-search-display b {
  display: grid;
  place-items: center;
  height: 38px;
}

.site-search-display input {
  width: min(190px, 13vw);
  min-width: 132px;
  height: 38px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  outline: 0;
}

.site-search-display input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.site-search-display input:focus {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.18);
}

.site-search-display button,
.search-page-form button {
  height: 38px;
  padding: 0 16px;
  color: var(--white);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--red);
  border: 0;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.search-page {
  padding: 70px 0 100px;
}

.search-page-head {
  padding: 48px 58px;
  color: var(--white);
  background: linear-gradient(120deg, #2d377e 0 35%, #222f98 35% 68%, #3f51b5 68%);
}

.search-page-head h1 {
  margin: 18px 0 12px;
  font-size: clamp(42px, 5vw, 72px);
}

.search-page-head p {
  margin: 0 0 28px;
  color: #dce1f5;
  font-size: 18px;
}

.search-page-form {
  display: flex;
  max-width: 680px;
  gap: 10px;
}

.search-page-form input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
  border: 0;
}

.search-page-form button {
  height: 48px;
  padding-inline: 28px;
}

.search-result-head {
  margin-top: 42px;
  color: var(--blue);
  font-size: 28px;
  font-weight: 800;
}

.search-result-head span {
  margin-left: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.search-results {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.search-result {
  display: block;
  padding: 25px 10px;
  border-bottom: 1px solid var(--line);
}

.search-result:hover {
  background: #f5f7fc;
}

.search-result-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
}

.search-result h2 {
  margin: 9px 0 6px;
  color: var(--ink);
  font-size: 24px;
}

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

.search-empty {
  margin-top: 42px;
  padding: 58px 20px;
  color: var(--muted);
  text-align: center;
  background: var(--mist);
}

.search-pagination {
  margin-top: 30px;
}

/* Laravel's default paginator uses utility classes from Tailwind. The public
   theme does not load Tailwind, so constrain the fallback SVGs explicitly. */
.search-pagination nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.search-pagination nav > div:first-child,
.search-pagination nav > div:nth-child(2) > div:first-child {
  display: none;
}

.search-pagination nav > div:nth-child(2) {
  display: flex;
  justify-content: center;
  width: 100%;
}

.search-pagination nav > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-pagination a,
.search-pagination span {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--blue);
  text-decoration: none;
  background: var(--mist);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.search-pagination a:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.search-pagination span[aria-current="page"] {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.search-pagination svg {
  display: block;
  width: 18px !important;
  height: 18px !important;
  max-width: 18px;
  max-height: 18px;
}

.site-search-display span {
  width: min(190px, 13vw);
  min-width: 132px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.site-search-display b {
  padding: 0 16px;
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.08em;
  background: var(--red);
}

.yeda-header:has(.top-nav:hover) .mega-menu,
.mega-menu:hover,
.yeda-header:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-panel.mega-all {
  position: static;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.mega-links-all {
  grid-template-columns: repeat(7, minmax(104px, 1fr));
  align-items: start;
}

.mega-column {
  min-width: 0;
  padding: 0 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.mega-column > strong {
  display: block;
  padding: 8px 4px 10px;
  color: var(--white);
  font-size: 17px;
}

.mega-column > a {
  min-height: 38px;
  padding: 7px 4px;
  font-size: 14px;
  white-space: normal;
  border: 0;
}

.mobile-nav {
  display: none;
}

.mobile-nav summary {
  list-style: none;
  cursor: pointer;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-panel {
  position: fixed;
  top: 86px;
  left: 0;
  right: 0;
  max-height: calc(100vh - 86px);
  overflow: auto;
  padding: 18px 24px 28px;
  background: linear-gradient(120deg, rgba(16, 24, 94, 0.99), rgba(31, 40, 151, 0.98));
  box-shadow: var(--shadow);
}

.mobile-nav-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-nav-group > a {
  display: block;
  padding: 15px 0 10px;
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
}

.mobile-nav-children {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  padding: 0 0 14px;
}

.mobile-nav-children a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.d-home > .site-footer {
  display: none;
}

.d-subpage {
  color: var(--ink);
  background: #eef1fa;
}

.d-subpage .subpage-hero {
  margin-top: 128px;
}

.d-subpage .detail {
  margin-top: 128px;
}

.d-subpage .site-footer {
  background: #091044;
}

@media (max-width: 1360px) {
  .brand img {
    width: min(280px, 19vw);
  }

  .top-nav a {
    padding-inline: 8px;
    font-size: 15px;
  }

  .header-tools {
    padding-inline: 12px;
  }
}

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

  .mobile-nav {
    display: block;
  }

  .mega-menu {
    display: none;
  }
}

@media (max-width: 980px) {
  .about-copy h3 {
    white-space: normal;
  }

  .d-subpage .subpage-hero {
    margin-top: 100px;
  }

  .d-subpage .detail {
    margin-top: 100px;
  }
}

@media (max-width: 680px) {
  .brand img {
    width: 218px;
    max-width: calc(100vw - 90px);
  }

  .mobile-nav-panel {
    top: 72px;
    max-height: calc(100vh - 72px);
  }

  .mobile-nav-children {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy h1 {
    font-size: 46px;
    word-break: keep-all;
  }

  .about-stat {
    grid-template-columns: 1fr;
  }

  .d-subpage .subpage-hero {
    margin-top: 92px;
  }

  .d-subpage .detail {
    margin-top: 92px;
  }
}
