/* AIAB 前台：在 Bootstrap 之上补充全局布局与排版 */

:root {
  /* 版式（颜色见 css/tokens.css，在 bootstrap 之后引入） */
  --page-max-width: 1400px;
  /* 各模块块标题：主 40px / 副 18px（按 16px 根折算 rem，可随 html 根字号略缩放） */
  --section-heading-title-size: 2.5rem;
  --section-heading-subtitle-size: 1.125rem;
  --section-heading-title-weight: 900;
  --section-heading-subtitle-weight: 400;
  --section-heading-gap: 0.5rem;
  --section-heading-title-color: var(--color-text-heading);
  --section-heading-subtitle-color: var(--color-text-muted);
  /* Banner 以下主内容模块：统一上下留白（与各页专有 class 叠加） */
  --page-section-y: clamp(2.25rem, 4.5vw, 3.5rem);
  --color-brand: var(--color-primary);
  --nav-link-muted: #868e96;
  --nav-link-hover: var(--color-text-body);
  /* 顶栏：总高 60、上下各 10（设计稿 px 折算为 rem，随根字号成比例） */
  --nav-bar-height: 3.75rem;
  --nav-bar-padding-y: 0.625rem;
  --nav-bar-inner-height: calc(var(--nav-bar-height) - 2 * var(--nav-bar-padding-y));
  /* 导航项之间约 10px（随根字号缩放） */
  --nav-item-gap: 0.625rem;
  /* 底部圆点：设计 5×5px，用 rem 随根字号缩放（16px 下为 0.3125rem） */
  --nav-dot-size: 0.3125rem;
  --nav-indicator-duration: 0.35s;
  --nav-indicator-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: clamp(0.875rem, 0.55rem + 1.2vw, 1.0625rem);
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body > main {
  flex: 1 0 auto;
  min-width: 0;
  width: 100%;
}

li{
  list-style: none;
}
/* 正文区域：约 80% 屏宽，大屏限制最大宽度 */
.page-container {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  max-width: var(--page-max-width);
  margin-left: auto;
  margin-right: auto;
}

/* 通版：主内容区模块（命名统一为 page-section，与 page-about__section / page-impact__section 等叠加） */
.page-section {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding-top: var(--page-section-y);
  padding-bottom: var(--page-section-y);
}

/* 全宽背景条：背景铺满视口，内层仍用 .page-container */
.section-fullbleed {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.btn,
.form-control,
.form-select {
  border-radius: 0 !important;
}

.btn-primary {
  --bs-btn-bg: #1A4A8C;
  --bs-btn-border-color: #1A4A8C;
  --bs-btn-hover-bg: #153e73;
  --bs-btn-hover-border-color: #153e73;
  --bs-btn-active-bg: #0f2f5c;
  --bs-btn-active-border-color: #0f2f5c;
  --bs-btn-disabled-bg: #1A4A8C;
  --bs-btn-disabled-border-color: #1A4A8C;
}

.btn-secondary,
.btn-warning {
  --bs-btn-bg: #d7bc6b;
  --bs-btn-border-color: #d7bc6b;
  --bs-btn-color: #061532;
  --bs-btn-hover-bg: #c4a653;
  --bs-btn-hover-border-color: #c4a653;
  --bs-btn-hover-color: #061532;
  --bs-btn-active-bg: #b89644;
  --bs-btn-active-border-color: #b89644;
  --bs-btn-active-color: #061532;
}

.btn-outline-primary,
.btn-outline-light {
  --bs-btn-color: #d7bc6b;
  --bs-btn-border-color: #d7bc6b;
  --bs-btn-hover-bg: #d7bc6b;
  --bs-btn-hover-border-color: #d7bc6b;
  --bs-btn-hover-color: #061532;
  --bs-btn-active-bg: #c4a653;
  --bs-btn-active-border-color: #c4a653;
  --bs-btn-active-color: #061532;
}

/* < 768px：移动端略加宽内容区，避免过窄 */
@media (max-width: 767.98px) {
  .page-container {
    width: 92%;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .page-container {
    width: 93%;
  }
}

/* —— 全站模块标题：主标题 + 可选副标题（与首页「联合主办机构」等块一致） —— */
.decc-section-head {
  text-align: center;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.decc-section-head__title {
  margin: 0;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, var(--section-heading-title-size));
  font-weight: var(--section-heading-title-weight);
  line-height: 1.35;
  color: var(--section-heading-title-color);
}

.decc-section-head__title:not(:last-child) {
  margin-bottom: var(--section-heading-gap);
}

.decc-section-head__sub {
  margin: 0;
  font-size: var(--section-heading-subtitle-size);
  font-weight: var(--section-heading-subtitle-weight);
  line-height: 1.5;
  color: var(--section-heading-subtitle-color);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* —— 顶栏：覆盖在 Banner 上，金色当前项 + 短横线 —— */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(3, 9, 28, 0.9), rgba(3, 9, 28, 0.45) 64%, rgba(3, 9, 28, 0));
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-bottom: 0;
}

.site-header .navbar {
  box-sizing: border-box;
  /* 使用顶栏自己的上下内边距，避免与 Bootstrap 默认 navbar padding 叠加 */
  --bs-navbar-padding-y: 0;
  --bs-navbar-padding-x: 0;
  padding-top: var(--nav-bar-padding-y);
  padding-bottom: var(--nav-bar-padding-y);
}

/* PC / 平板：固定总高；移动端折叠展开时允许增高 */
@media (min-width: 768px) {
  .site-header .navbar {
    min-height: 5.25rem;
  }
}

@media (max-width: 767.98px) {
  .site-header .navbar {
    min-height: var(--nav-bar-height);
  }
}

.site-header .navbar > .page-container {
  min-height: var(--nav-bar-inner-height);
  width: 92%;
  max-width: 1680px;
}

.site-header .navbar-brand {
  order: 1;
  margin-right: 1rem;
  min-width: 0;
}

.site-header .navbar-collapse {
  order: 2;
  flex-grow: 1;
}

.site-header__actions {
  order: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: 0.75rem;
}

.site-logo {
  display: block;
  max-height: 4.25rem;
  width: auto;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.site-nav {
  gap: var(--nav-item-gap);
  --bs-nav-link-padding-y: 0.35rem;
  --bs-nav-link-padding-x: 0.45rem;
  font-size: 0.88rem;
}

@media (min-width: 1200px) {
  .site-nav {
    --bs-nav-link-padding-x: 0.5rem;
    font-size: 0.9rem;
  }
}

.decc-brand-text {
  max-width: none;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.site-header .navbar-brand .decc-brand-text {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.site-header .navbar-brand .decc-brand-text__line {
  display: inline;
}

html[data-site-lang="en"] .site-header .navbar-brand .decc-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

html[data-site-lang="en"] .site-header .navbar-brand .decc-brand-text__line {
  display: block;
}

.decc-brand-text .text-muted {
  color: rgba(255, 255, 255, 0.82) !important;
}

.site-nav .nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 500;
  padding: 0.3125rem 0.5rem 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.25;
  transition: color 0.15s ease;
}

/* 当前项和 hover：文字宽度约一半的短横线 */
.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background-color: #f4d77d;
  transform: translateX(-50%);
  pointer-events: none;
  transition: width var(--nav-indicator-duration) var(--nav-indicator-ease);
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible {
  color: #f4d77d !important;
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link:focus-visible::after {
  width: 50%;
}

.site-nav .nav-link.active {
  color: #f4d77d !important;
}

.site-nav .nav-link.active:hover,
.site-nav .nav-link.active:focus-visible {
  color: #f4d77d !important;
}

/* 当前页：固定为文字宽度一半的短横线 */
.site-nav .nav-link.active::after {
  width: 50%;
  transition: none;
}

.site-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.site-lang__btn {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  min-width: 2rem;
  height: 1.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  line-height: 1;
  padding: 0 0.55rem;
}

.site-lang__btn[aria-pressed="true"] {
  border-color: #f4d77d;
  background: #f4d77d;
  color: #061532;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .site-header .navbar {
    min-height: 4.25rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .site-header .navbar > .page-container {
    width: calc(100% - 2rem) !important;
    max-width: none;
    min-height: 3.5rem;
  }

  .site-logo {
    max-height: 3.05rem;
  }

  .decc-brand-text {
    font-size: 1.5rem;
    line-height: 1.15;
  }

  html[data-site-lang="en"] .site-header .navbar-brand .decc-brand-text {
    font-size: 1.2rem;
  }

  .decc-brand-text .small {
    font-size: 0.78rem;
  }

  .site-header__actions {
    gap: 0.5rem;
    margin-left: 0.5rem;
  }

  .site-lang {
    gap: 0.32rem;
  }

  .site-lang__btn {
    min-width: 1.75rem;
    height: 1.7rem;
    padding: 0 0.45rem;
    font-size: 0.72rem;
  }

  .site-header .navbar-toggler {
    padding: 0.32rem 0.48rem;
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav .nav-link::after {
    transition: none;
  }
}

@media (max-width: 767.98px) {
  .site-header .navbar {
    min-height: 3.75rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
  }

  .site-header .navbar > .page-container {
    width: calc(100% - 2rem) !important;
    max-width: none;
    min-height: 3.15rem;
    flex-wrap: nowrap;
    align-items: center;
  }

  .site-logo {
    max-height: 2.55rem;
  }

  .site-header .navbar-brand {
    flex: 1 1 0;
    margin-right: 0.35rem;
    gap: 0.4rem !important;
    min-width: 0;
    max-width: calc(100% - 6.75rem);
    align-items: flex-start;
  }

  .site-header__actions {
    order: 2;
    flex: 0 0 auto;
    gap: 0.38rem;
    margin-left: auto;
  }

  .site-header .navbar-collapse {
    order: 3;
    flex-basis: 100%;
  }

  .site-header .navbar-brand .decc-brand-text {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .site-header .navbar-brand .decc-brand-text__line {
    display: block;
  }

  html[data-site-lang="en"] .site-header .navbar-brand .decc-brand-text {
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .decc-brand-text .small {
    font-size: 0.62rem;
  }

  .site-lang {
    gap: 0.25rem;
  }

  .site-lang__btn {
    min-width: 1.55rem;
    height: 1.55rem;
    padding: 0 0.36rem;
    font-size: 0.66rem;
  }

  .site-header .navbar-toggler {
    padding: 0.24rem 0.38rem;
    font-size: 0.82rem;
  }

  .site-nav .nav-link {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .site-header .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: rgba(3, 9, 28, 0.88);
    backdrop-filter: blur(10px);
  }
}

/* —— 共通：模块块标题（居中、主标题 + 副标题） */
.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading__title {
  margin: 0 0 var(--section-heading-gap);
  font-size: var(--section-heading-title-size);
  font-weight: var(--section-heading-title-weight);
  line-height: 1.25;
  color: var(--section-heading-title-color);
  letter-spacing: 0.02em;
}

.section-heading__subtitle {
  margin: 0;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--section-heading-subtitle-size);
  font-weight: var(--section-heading-subtitle-weight);
  line-height: 1.55;
  color: var(--section-heading-subtitle-color);
}

@media (min-width: 768px) and (max-width: 1024px) {
  .section-heading__title {
    font-size: 2.25rem;
  }
}

@media (max-width: 767.98px) {
  .section-heading {
    margin-bottom: 1.75rem;
  }

  .section-heading__title {
    font-size: clamp(1.65rem, 5vw, var(--section-heading-title-size));
  }

  .section-heading__subtitle {
    font-size: clamp(0.95rem, 2.8vw, var(--section-heading-subtitle-size));
  }
}

/* 与首页「参赛团队」副标题同款（内页未引 index.css 时仍可用） */
.section-teams__subtitle {
  margin: clamp(0.75rem, 2vw, 1.25rem) 0 0;
  font-size: clamp(0.95rem, 0.88rem + 0.45vw, 1.125rem);
  font-weight: 400;
  line-height: 1.55;
  color: #6b7280;
}

/*
 * 通版：左文右图分栏 + 滚动滑入
 * — HTML：section.page-split（可加 .page-split--reverse 图文对调）
 * — JS：main.js 在解锁滚动后用 IntersectionObserver 切换 .page-split--inview；根节点加 html.js-page-split-reveal
 */
.page-split__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.75rem);
  align-items: center;
}

.page-split__header {
  text-align: left;
  margin-bottom: clamp(1rem, 2.5vw, 1.35rem);
}

.page-split__header .section-heading__title {
  margin-bottom: var(--section-heading-gap);
}

.page-split__header .section-teams__subtitle {
  margin-top: clamp(0.5rem, 1.5vw, 0.85rem);
  max-width: 36rem;
}

.page-split__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-split__list > li {
  position: relative;
  padding-left: 1rem;
  margin: 0 0 0.65rem;
  font-size: clamp(0.9375rem, 0.88rem + 0.3vw, 1rem);
  line-height: 1.8;
  color: #3d4349;
}

.page-split__list > li:last-child {
  margin-bottom: 0;
}

.page-split__list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--color-brand);
  opacity: 0.85;
}

.page-split__accent {
  color: var(--color-brand);
  font-weight: 600;
}

.page-split__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0.35rem;
  object-fit: cover;
}

/* 右栏略贴右、与稿一致 */
.page-split__media {
  justify-self: end;
  width: 100%;
  max-width: min(100%, 36rem);
}

.page-split--reverse .page-split__grid {
  direction: rtl;
}

.page-split--reverse .page-split__text,
.page-split--reverse .page-split__media {
  direction: ltr;
}

.page-split--reverse .page-split__media {
  justify-self: start;
}

@media (max-width: 767.98px) {
  .page-split__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .page-split__media {
    justify-self: stretch;
    max-width: none;
  }

  .page-split--reverse .page-split__media {
    justify-self: stretch;
  }
}

html.js-page-split-reveal .page-split:not(.page-split--inview) .page-split__anim-left {
  opacity: 0;
  transform: translateX(-2.75rem);
}

html.js-page-split-reveal .page-split:not(.page-split--inview) .page-split__anim-right {
  opacity: 0;
  transform: translateX(2.75rem);
}

html.js-page-split-reveal .page-split--reverse:not(.page-split--inview) .page-split__anim-left {
  transform: translateX(2.75rem);
}

html.js-page-split-reveal .page-split--reverse:not(.page-split--inview) .page-split__anim-right {
  transform: translateX(-2.75rem);
}

html.js-page-split-reveal .page-split.page-split--inview .page-split__anim-left,
html.js-page-split-reveal .page-split.page-split--inview .page-split__anim-right {
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-page-split-reveal .page-split.page-split--inview .page-split__anim-right {
  transition-delay: 0.07s;
}

html.js-page-split-reveal .page-split--reverse.page-split--inview .page-split__anim-right {
  transition-delay: 0s;
}

html.js-page-split-reveal .page-split--reverse.page-split--inview .page-split__anim-left {
  transition-delay: 0.07s;
}

/* —— 内页共通顶图：全宽 <img> 按比例撑高，叠字 + 可选渐变遮罩；换页只改图片 src 与标题文案 */
.page-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.page-banner__img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .page-banner__img {
    height: clamp(18.75rem, 39vw, 25rem);
    object-fit: cover;
  }
}

@media (max-width: 767.98px) {
  .page-banner__img {
    height: clamp(13.5rem, 56vw, 20rem);
    object-fit: cover;
  }
}

.page-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 28, 58, 0.52) 0%,
    rgba(8, 28, 58, 0.3) 48%,
    rgba(8, 28, 58, 0.14) 100%
  );
  pointer-events: none;
}

.page-banner > .page-banner__inner {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: clamp(1.25rem, 3.5vw, 2.5rem);
  padding-bottom: clamp(1.25rem, 3.5vw, 2.5rem);
  box-sizing: border-box;
}

.page-banner__title {
  margin: 0;
  font-size: clamp(1.65rem, 1rem + 3.2vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.28);
}

.page-banner__subtitle {
  margin: clamp(0.65rem, 2vw, 1.15rem) 0 0;
  max-width: 38rem;
  font-size: clamp(0.9rem, 0.82rem + 0.45vw, 1.2rem);
  line-height: 1.6;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}

@media (max-width: 767.98px) {
  .page-banner > .page-banner__inner {
    width: 92%;
    padding-top: clamp(2.5rem, 11vw, 4rem);
    padding-bottom: clamp(2.5rem, 11vw, 4rem);
  }

  .page-banner__title {
    font-size: clamp(2.45rem, 9.8vw, 3.4rem);
    line-height: 1.12;
  }

  .page-banner__subtitle {
    margin-top: clamp(0.9rem, 3vw, 1.25rem);
    max-width: 21rem;
    font-size: clamp(1.08rem, 4.1vw, 1.38rem);
    line-height: 1.55;
  }
}

html.js-page-banner-reveal .page-banner .page-banner__title,
html.js-page-banner-reveal .page-banner .page-banner__subtitle {
  will-change: opacity, transform;
}

html.js-page-banner-reveal .page-banner:not(.page-banner--play) .page-banner__title {
  opacity: 0;
  transform: translate3d(-2rem, 0, 0);
}

html.js-page-banner-reveal .page-banner:not(.page-banner--play) .page-banner__subtitle {
  opacity: 0;
  transform: translate3d(0, 1rem, 0);
}

html.js-page-banner-reveal .page-banner.page-banner--play .page-banner__title,
html.js-page-banner-reveal .page-banner.page-banner--play .page-banner__subtitle {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-page-banner-reveal .page-banner.page-banner--play .page-banner__subtitle {
  transition-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
  html.js-page-banner-reveal .page-banner .page-banner__title,
  html.js-page-banner-reveal .page-banner .page-banner__subtitle {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* —— 全站页脚（设计：四栏 + 底栏；≥768 保持栅格，移动端纵向堆叠） */
.site-footer {
  margin-top: auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #f0f2f5;
  color: #374151;
  font-size: clamp(0.875rem, 0.82rem + 0.2vw, 0.9375rem);
}

.site-footer__main {
  border-top: 1px solid #e3e6eb;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(2rem, 4vw, 2.75rem);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.75fr) minmax(0, 0.75fr) minmax(0, 1.4fr);
    gap: clamp(1rem, 2.5vw, 1.6rem);
  }
}

.site-footer__logo-link {
  display: inline-block;
  line-height: 0;
}

.site-footer__logo {
  display: block;
  width: clamp(8.5rem, 24vw, 12rem);
  height: auto;
}

.site-footer__tagline {
  margin: 1rem 0 0;
  max-width: 20rem;
  line-height: 1.65;
  color: #4b5563;
  font-size: clamp(0.8125rem, 0.78rem + 0.25vw, 0.875rem);
}

.site-footer__heading {
  margin: 0 0 1rem;
  font-size: clamp(0.9375rem, 0.88rem + 0.35vw, 1.0625rem);
  font-weight: 700;
  color: #0d47a1;
  letter-spacing: 0.02em;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li {
  margin-bottom: 0.5rem;
}

.site-footer__links a {
  color: #374151;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: #0d47a1;
}

.site-footer__contact {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  color: #374151;
}

.site-footer__contact a {
  color: #374151;
  text-decoration: none;
}

.site-footer__contact a:hover,
.site-footer__contact a:focus-visible {
  color: #0d47a1;
}

.site-footer__icon-svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: #6b7280;
}

.site-footer__social {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.site-footer__social-link {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.35rem;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  background: #d1d5db;
}

.site-footer__bottom {
  border-top: 1px solid #e3e6eb;
  padding: clamp(1rem, 2.5vw, 1.35rem) 0;
  background: #f0f2f5;
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.5rem;
  font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  color: #9ca3af;
}

.site-footer__bottom-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer__bottom-inner a {
  color: #9ca3af;
  text-decoration: none;
}

.site-footer__bottom-inner a:hover,
.site-footer__bottom-inner a:focus-visible {
  color: #6b7280;
}

.decc-footer {
  background: #1A4A8C;
  color: rgba(255, 255, 255, 0.86);
  margin-top: auto;
  font-size: 0.9rem;
}

.decc-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(10rem, 0.7fr) minmax(12rem, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-top: clamp(2.3rem, 4.8vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3.2rem);
}

.decc-footer__brand {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
}

.decc-footer__brand .site-logo {
  flex-shrink: 0;
  width: 5.5rem;
  max-height: none;
  height: auto;
}

.decc-footer__brand .decc-brand-text {
  max-width: min(24rem, 100%);
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 700;
  color: #fff;
}

.decc-footer__brand .decc-brand-text .small {
  line-height: 1.65;
}

.decc-footer__heading {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  font-weight: 850;
  color: #f4d77d;
}

.decc-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.decc-footer__links a,
.decc-footer__legal a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.16s ease;
}

.decc-footer__links a:hover,
.decc-footer__links a:focus-visible,
.decc-footer__legal a:hover,
.decc-footer__legal a:focus-visible {
  color: #f4d77d;
}

.decc-footer__contact p {
  margin: 0 0 0.45rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.decc-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.decc-footer__bottom-inner {
  min-height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.decc-footer__bottom-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.decc-footer__legal {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
}

@media (max-width: 767.98px) {
  .decc-footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.75rem 1.5rem;
    padding-top: 2rem;
    padding-bottom: 1.75rem;
  }

  .decc-footer__brand {
    grid-column: 1 / -1;
  }

  .decc-footer__brand .decc-brand-text {
    max-width: 18rem;
  }

  .decc-footer__nav,
  .decc-footer__contact {
    min-width: 0;
  }

  .decc-footer__heading {
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
  }

  .decc-footer__links {
    gap: 0.45rem;
  }

  .decc-footer__contact p {
    font-size: 0.82rem;
  }

  .decc-footer__bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .decc-footer__legal {
    gap: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}