: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;
}

.d-home main {
  display: flex;
  flex-direction: column;
}

.d-home .home-module,
.d-home .home-extra-sections {
  width: 100%;
}

/* Homepage hero baseline locked to the approved composition. */
@media (min-width: 981px) {
  .d-home .hero-panel {
    min-height: clamp(650px, 78vh, 780px);
  }

  .d-home .hero-copy--locked {
    max-width: 820px;
    padding-left: clamp(32px, 5vw, 92px);
  }

  .d-home .hero-copy--locked h1 {
    margin: 0 0 26px;
    font-size: clamp(68px, 6.7vw, 110px);
    line-height: 1.14;
    letter-spacing: 0;
  }

  .d-home .hero-copy--locked p {
    max-width: 650px;
    font-size: clamp(18px, 1.45vw, 25px);
    line-height: 1.82;
  }

  .d-home .hero-copy--locked .hero-actions {
    margin-top: 48px;
  }
}

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(350px, 22vw);
  height: 72px;
  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: 20px;
  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;
  margin-left: 16px;
  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(90deg, 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: clamp(22px, 2vw, 30px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.08em;
  white-space: nowrap;
  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;
}

/* 首页首屏保持满屏，其余板块按内容收紧，避免内容下方出现大面积空白。 */
.panel:not(.hero-panel) {
  min-height: 0;
  padding-top: clamp(82px, 7vw, 108px);
  padding-bottom: clamp(62px, 5vw, 82px);
}

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

.hero-carousel,
.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-carousel {
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-slide.is-active {
  z-index: 2;
  opacity: 1;
}

.hero-carousel-dots {
  position: absolute;
  right: clamp(18px, 3vw, 52px);
  bottom: clamp(26px, 4vw, 52px);
  z-index: 8;
  display: flex;
  gap: 2px;
  pointer-events: auto;
}

.hero-carousel-dot {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.hero-carousel-dot::before {
  width: 9px;
  height: 9px;
  content: "";
  background: rgba(224, 228, 239, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-carousel-dot.is-active::before {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.25);
}

.hero-carousel-dot:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
  border-radius: 50%;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-carousel-dot::before {
    transition: none;
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 20, 84, .88) 0 42%, rgba(31, 40, 151, .22) 42% 68%, rgba(10, 17, 63, .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;
}

.d-home .hero-media {
  background:
    linear-gradient(90deg,
      rgba(12, 20, 84, 0.96) 0%,
      rgba(12, 20, 84, 0.9) 30%,
      rgba(19, 29, 106, 0.72) 48%,
      rgba(20, 34, 119, 0.42) 64%,
      rgba(15, 24, 91, 0.14) 80%,
      rgba(15, 24, 91, 0.06) 100%),
    var(--hero-image, url("./images/hero-ai-cartoon-2.jpg")) center / cover;
}

.hero-panel::before,
.about-panel::before,
.business-panel::before,
.special-panel::before,
.contact-panel::before {
  position: absolute;
  content: none;
  background: var(--blue);
}

.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);
}

.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);
}

.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);
}

.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;
}

.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;
  display: grid;
  grid-template-rows: 56px minmax(94px, auto) minmax(54px, auto);
  align-items: start;
}

.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-slider {
  position: relative;
  min-height: 430px;
  aspect-ratio: 1.35;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.news-slider .news-feature {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}

.news-slider .news-feature.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.news-slider-dots {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  gap: 1px;
}

.news-slider-dot {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.news-slider-dot::before {
  width: 22px;
  height: 3px;
  content: "";
  background: rgba(255, 255, 255, 0.48);
  transition: width 0.2s ease, background 0.2s ease;
}

.news-slider-dot.is-active::before {
  width: 28px;
  background: var(--white);
}

.news-slider-dot:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -4px;
}

@media (prefers-reduced-motion: reduce) {
  .news-slider .news-feature,
  .news-slider-dot::before {
    transition: none;
  }
}

.news-tabs > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

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

#news-group-tab:checked ~ .tabs label[for="news-group-tab"],
#news-media-tab:checked ~ .tabs label[for="news-media-tab"] {
  color: var(--white);
  background: var(--blue);
}

.news-tabs .news-list--media { display: none; }
.news-tabs #news-media-tab:checked ~ .news-list--group { display: none; }
.news-tabs #news-media-tab:checked ~ .news-list--media { display: grid; }

.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: none;
  background: rgba(31, 40, 151, 0.42);
  filter: blur(1px);
}

.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(--white);
  background: linear-gradient(125deg, #10195b 0%, #24349a 100%);
}

.notice-panel .section-title span,
.notice-panel .section-title h2 { color: var(--white); }
.notice-panel .notice-list a { background: rgba(255,255,255,.96); }

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

.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(10, 18, 76, 0.68), rgba(31, 40, 151, 0.54)),
    var(--notice-image, url("./images/about-coastal-city-v2.jpg")) center / cover;
  border: 0;
  box-shadow: 0 22px 54px rgba(4, 9, 42, 0.36);
}

.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-lead .text-link {
  position: absolute;
  right: 54px;
  bottom: 56px;
  margin: 0;
}

.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: 0;
  color: var(--ink);
  background: linear-gradient(90deg, var(--blue-soft) 0 58%, var(--white) 58% 100%);
}

.special-panel .section-title span,
.special-panel .section-title h2 { color: var(--blue); }

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

.special-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: clamp(34px, 5vw, 88px);
  align-items: stretch;
  max-width: 1400px;
}

.special-copy {
  max-width: 760px;
}

.special-media {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 14px;
  background: linear-gradient(145deg, rgba(224, 232, 255, 0.96), rgba(184, 196, 238, 0.9));
  border: 1px solid rgba(31, 40, 151, 0.18);
  border-radius: 16px;
  box-shadow: 0 22px 46px rgba(9, 18, 76, 0.18);
}

.special-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(31, 40, 151, 0.12), rgba(10, 17, 68, 0.28));
}

.special-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
}

.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(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-left: 5px solid var(--red);
  border-top: 1px solid rgba(31, 40, 151, 0.10);
  border-right: 1px solid rgba(31, 40, 151, 0.10);
  border-bottom: 1px solid rgba(31, 40, 151, 0.10);
  box-shadow: 0 12px 30px rgba(9, 18, 76, 0.08);
}

.special-list b,
.special-list time {
  color: #68738e;
}

.special-list span {
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: 26px;
  padding: 34px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 18px;
}

.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 {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 12px 0;
  color: #4d566f;
  line-height: 1.7;
  border-bottom: 1px solid rgba(31, 40, 151, 0.1);
}

.contact-detail-list p:last-child {
  border-bottom: 0;
}

.contact-detail-list small {
  color: #7a839a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.contact-detail-list span {
  color: #26336f;
  font-size: 17px;
  font-weight: 700;
}

.contact-map-card {
  position: relative;
  display: block;
  min-height: 260px;
  overflow: hidden;
  color: var(--white);
  background: #dfe6f7;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(31, 40, 151, .1);
}

.contact-map-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.contact-map-card::after {
  position: absolute;
  inset: 35% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(9, 18, 76, .78));
}

.contact-map-card > span {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 1;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
}

.contact-map-card > span small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 500;
}

.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-resources {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr);
  gap: 28px;
  padding: 28px 34px;
  background: rgba(255,255,255,.98);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.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;
  gap: 10px;
  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 img {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
  border-radius: 4px;
}

.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: 0;
  color: var(--white);
  background: linear-gradient(125deg, #10195b 0%, #24349a 100%);
}

.contact-panel .section-title span,
.contact-panel .section-title h2,
.contact-panel .contact-intro { color: 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-main {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.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: 980px) {
  .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,
  .contact-resources,
  .friendship-list {
    grid-template-columns: 1fr;
  }

  .contact-card {
    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;
  }

  .notice-lead .text-link {
    position: static;
    margin-top: 20px;
  }

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

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

  .special-main {
    max-width: 860px;
  }

  .special-media {
    min-height: 300px;
    clip-path: none;
  }

  .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-card,
  .contact-resources {
    padding: 24px;
  }

  .contact-map-card,
  .contact-map-card img {
    min-height: 220px;
  }

  .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;
  }

  .special-media {
    min-height: 230px;
  }

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

/* 2026-08 visual refinements. */
.hero-copy > img {
  width: min(360px, 42vw);
}

.section-rail a {
  position: relative;
}

.section-rail a::before {
  position: absolute;
  right: calc(100% + 12px);
  width: max-content;
  padding: 6px 9px;
  content: attr(data-label);
  color: #fff;
  background: rgba(10, 17, 68, 0.9);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.section-rail a:hover::before,
.section-rail a:focus-visible::before,
.section-rail a.active::before {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 680px) {
  .brand img {
    width: 188px;
    height: 40px;
  }

  .hero-copy > img {
    width: 210px;
    max-height: 44px;
  }
}

/* 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 {
  align-items: center;
  gap: 0;
}

.site-search-display input,
.site-search-display button {
  display: block;
  flex: 0 0 auto;
  align-self: center;
  height: 38px;
  min-height: 38px;
  max-height: 38px;
  margin: 0;
  line-height: 1;
  vertical-align: top;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.site-search-display input::-webkit-search-decoration,
.site-search-display input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.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;
  line-height: 1;
  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;
}

.site-search-display button {
  display: grid;
  place-items: center;
  line-height: 1;
}

.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(90deg, #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 (min-width: 1361px) and (max-width: 1600px) {
  .yeda-header {
    grid-template-columns: 340px minmax(0, 1fr) auto;
  }

  .brand {
    padding-left: 28px;
  }

  .brand img {
    width: 290px;
  }

  .top-nav {
    gap: 0;
  }

  .top-nav a {
    padding-inline: 6px;
    font-size: 18px;
    letter-spacing: 0.05em;
  }
}

@media (min-width: 1361px) and (max-width: 1500px) {
  .yeda-header {
    grid-template-columns: 320px minmax(0, 1fr) auto;
  }

  .top-nav {
    gap: clamp(6px, 0.6vw, 10px);
  }

  .top-nav a {
    padding-inline: clamp(9px, 0.7vw, 12px);
  }

  .header-tools {
    display: flex;
    margin-left: 12px;
    padding-inline: 10px;
  }

  .site-search-display input {
    width: 132px;
    min-width: 132px;
  }

  .site-search-display button {
    padding-inline: 12px;
  }
}

@media (max-width: 1360px) {
  .yeda-header {
    grid-template-columns: 250px minmax(0, 1fr) auto;
  }

  .brand {
    padding-left: 20px;
  }

  .brand img {
    width: 210px;
  }

  .top-nav {
    gap: clamp(5px, 0.55vw, 8px);
  }

  .top-nav a {
    padding-inline: clamp(8px, 0.7vw, 11px);
    font-size: 16px;
    letter-spacing: 0.04em;
  }

  .header-tools {
    display: flex;
    margin-left: 10px;
    padding-inline: 8px;
  }

  .site-search-display input {
    width: 104px;
    min-width: 104px;
  }

  .site-search-display button {
    padding-inline: 10px;
  }
}

@media (max-width: 1100px) {
  .yeda-header {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .header-tools {
    display: none;
  }
}

@media (max-width: 980px) {
  .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;
  }
}

/* Keep the fixed header offset in one place; avoid the large blank band above inner pages. */
.d-subpage .subpage-hero,
.d-subpage .detail {
  margin-top: 0;
}

@media (max-width: 680px) {
  .brand img {
    width: 188px;
    height: 40px;
  }

  .hero-copy > img {
    width: 210px;
    max-height: 44px;
  }
}
