/* 站点变量与基本排版 */

:where(.cqnu-site) {
  --navy: #052b5c;
  --blue: #1167b1;
  --sky: #eaf6ff;
  --red: #a21e32;
  --ink: #152238;
  --muted: #66758a;
  --line: #dae5f2;
  --bg: #f3f6fa;
  --white: #fff;
  --green: #16735f;
}

:where(.cqnu-site) * {
  box-sizing: border-box;
}

:where(.cqnu-site) {
  margin: 0;
  font-family: "Noto Sans SC","Microsoft YaHei",Arial,sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.62;
}

:where(.cqnu-site) a {
  text-decoration: none;
  color: inherit;
}

:where(.cqnu-site) .wrap {
  max-width: 1240px;
  margin: auto;
  padding: 0 24px;
}

:where(.cqnu-site) > header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}

:where(.cqnu-site) .headtop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
}

:where(.cqnu-site) .brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

:where(.cqnu-site) .school-logo {
  width: 142px;
  height: 58px;
  object-fit: contain;
  background: var(--navy);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 10px 24px rgba(5,43,92,.16);
}

:where(.cqnu-site) .badge {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg,var(--red),var(--navy));
  color: #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(162,30,50,.22);
}

:where(.cqnu-site) > header :is(h1,.site-name) {
  margin: 0;
  color: var(--navy);
  font-size: 23px;
}

:where(.cqnu-site) .sub {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

:where(.cqnu-site) .search {
  min-width: 240px;
  border: 1px solid var(--line);
  padding: 9px 12px;
  border-radius: 4px;
  color: #8b98aa;
  background: #f8fbff;
}

:where(.cqnu-site) > header nav {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  border-top: 1px solid #eef2f7;
}

:where(.cqnu-site) > header nav a {
  padding: 12px 15px;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
  color: #233b5c;
}

:where(.cqnu-site) > header nav>a.current,
:where(.cqnu-site) .nav-drop>a.current {
  background: var(--navy);
  color: #fff;
}

:where(.cqnu-site) .hero {
  position: relative;
  overflow: hidden;
  background: #052b5c;
  border-bottom: 1px solid var(--line);
  min-height: 700px;
  color: #fff;
}

:where(.cqnu-site) .hero:before {
  display: none;
}

:where(.cqnu-site) .hero-intro {
  background: linear-gradient(135deg,#052b5c,#1167b1);
  color: #fff;
}

:where(.cqnu-site) .hero-intro .wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding-top: 34px;
  padding-bottom: 34px;
}

:where(.cqnu-site) .hero-copy {
  display: none;
}

:where(.cqnu-site) .copy-panel {
  max-width: 720px;
}

:where(.cqnu-site) .hero h2 {
  font-size: 42px;
  line-height: 1.18;
  margin: 12px 0;
  color: #fff;
}

:where(.cqnu-site) .hero p {
  font-size: 17px;
  color: #eaf6ff;
  margin: 0;
  max-width: 680px;
}

:where(.cqnu-site) .label {
  display: inline-block;
  background: rgba(255,255,255,.14);
  border-left: 4px solid var(--red);
  padding: 7px 12px;
  color: #fff;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

:where(.cqnu-site) .hall {
  position: relative;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 22px 60px rgba(17,42,80,.13);
  backdrop-filter: blur(10px);
}

:where(.cqnu-site) .hall-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

:where(.cqnu-site) .hall-title h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
}

:where(.cqnu-site) .actions {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
}

:where(.cqnu-site) .action {
  padding: 18px 14px;
  border-radius: 8px;
  background: linear-gradient(180deg,#ffffff,#f6fbff);
  border: 1px solid var(--line);
  min-height: 112px;
  transition: .28s ease;
  position: relative;
  overflow: hidden;
}

:where(.cqnu-site) .action:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,transparent,rgba(255,255,255,.8),transparent);
  transform: translateX(-120%);
  transition: .6s ease;
}

:where(.cqnu-site) .action:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 34px rgba(17,103,177,.16);
  border-color: #b9d5f2;
}

:where(.cqnu-site) .action:hover:before {
  transform: translateX(120%);
}

:where(.cqnu-site) .action b {
  display: block;
  color: var(--blue);
  font-size: 18px;
  margin-bottom: 6px;
}

:where(.cqnu-site) .action span {
  font-size: 13px;
  color: var(--muted);
}

:where(.cqnu-site) .section {
  padding: 44px 0;
}

:where(.cqnu-site) .white {
  background: #fff;
}

:where(.cqnu-site) .service-dock {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 30px 0 34px;
}

:where(.cqnu-site) .dock-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

:where(.cqnu-site) .service-dock h2 {
  margin: 10px 0;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.25;
}

:where(.cqnu-site) .service-dock p {
  margin: 0;
  color: #4d6078;
}

:where(.cqnu-site) .service-dock .label {
  background: #eef6ff;
  color: var(--navy);
  border-left-color: var(--red);
}

:where(.cqnu-site) .section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

:where(.cqnu-site) .section-title h2 {
  margin: 0;
  color: var(--navy);
  font-size: 26px;
}

:where(.cqnu-site) .section-title p {
  margin: 4px 0 0;
  color: var(--muted);
}

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

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

:where(.cqnu-site) .grid2 {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
}

:where(.cqnu-site) .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  transition: .28s ease;
}

:where(.cqnu-site) .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(5,43,92,.12);
}

:where(.cqnu-site) .card h3 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 19px;
}

:where(.cqnu-site) .card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

:where(.cqnu-site) .service-card {
  border-top: 5px solid var(--red);
}

:where(.cqnu-site) .service-card:nth-child(2n) {
  border-top-color: var(--blue);
}

:where(.cqnu-site) .service-card:nth-child(3n) {
  border-top-color: var(--green);
}

:where(.cqnu-site) .process {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

:where(.cqnu-site) .process h3 {
  margin: 0;
  padding: 16px 18px;
  background: #f7fbff;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

:where(.cqnu-site) .steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px;
}

:where(.cqnu-site) .step {
  background: #edf6ff;
  color: #24415f;
  padding: 8px 11px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: .2s;
}

:where(.cqnu-site) .step:hover,
:where(.cqnu-site) .step.active {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

:where(.cqnu-site) .arrow {
  color: var(--red);
  font-weight: 900;
  align-self: center;
}

:where(.cqnu-site) .panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

:where(.cqnu-site) .panel h3 {
  margin: 0;
  padding: 16px 18px;
  background: #f7fbff;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

:where(.cqnu-site) .list {
  list-style: none;
  margin: 0;
  padding: 8px 18px 15px;
}

:where(.cqnu-site) .list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed #d8e2ee;
}

:where(.cqnu-site) .list li:last-child {
  border-bottom: 0;
}

:where(.cqnu-site) .list time {
  color: #8794a8;
  font-size: 13px;
  white-space: nowrap;
}

:where(.cqnu-site) .tag {
  display: inline-block;
  margin: 8px 6px 0 0;
  padding: 4px 8px;
  border-radius: 4px;
  background: #eef6ff;
  color: var(--blue);
  font-size: 12px;
}

:where(.cqnu-site) .notice {
  background: linear-gradient(90deg,var(--navy),#0f5b9a);
  color: #fff;
  border-radius: 8px;
  padding: 24px;
}

:where(.cqnu-site) .notice h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

:where(.cqnu-site) .notice p {
  margin: 0;
  color: #e9f4ff;
}

:where(.cqnu-site) .toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--navy);
  color: #fff;
  padding: 14px 18px;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0,0,0,.2);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  z-index: 99;
}

:where(.cqnu-site) .toast.show {
  opacity: 1;
  transform: none;
}

:where(.cqnu-site) .service-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 700px;
  overflow: hidden;
  background: #052b5c;
}

:where(.cqnu-site) .service-slide {
  position: absolute;
  inset: 0;
  padding: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: scale(1.04);
  transition: .65s ease;
}

:where(.cqnu-site) .service-slide.active {
  opacity: 1;
  transform: scale(1);
}

:where(.cqnu-site) .service-slide:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(5,43,92,.82),rgba(5,43,92,.48) 48%,rgba(5,43,92,.12)),var(--slide-bg);
  background-size: cover;
  background-position: center;
  z-index: -1;
}

:where(.cqnu-site) .service-caption {
  width: 100%;
  background: linear-gradient(90deg,rgba(5,43,92,.88),rgba(5,43,92,.52),rgba(5,43,92,.06));
  padding: 26px calc((100% - 1240px)/2 + 24px) 34px;
}

:where(.cqnu-site) .service-slide h3 {
  margin: 0 0 6px;
  font-size: 28px;
}

:where(.cqnu-site) .service-slide p {
  margin: 0;
  color: #eaf6ff;
  max-width: 720px;
}

:where(.cqnu-site) .carousel-tools {
  position: absolute;
  right: 32px;
  bottom: 32px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

:where(.cqnu-site) .carousel-tools button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.16);
  color: #fff;
  cursor: pointer;
}

:where(.cqnu-site) .service-dots {
  position: absolute;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 5;
}

:where(.cqnu-site) .service-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
}

:where(.cqnu-site) .service-dots button.active {
  background: #fff;
}

:where(.cqnu-site) .reveal-ready {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease,transform .7s ease;
}

:where(.cqnu-site) .reveal-in {
  opacity: 1;
  transform: none;
}

@keyframes softShift {
  to {
    transform: translate3d(28px,18px,0) scale(1.02);
  }
}

/* 门户的色彩、版式与断点 */

:where(.cqnu-site) {
  background: linear-gradient(90deg,rgba(17,103,177,.045) 1px,transparent 1px),
      linear-gradient(0deg,rgba(17,103,177,.045) 1px,transparent 1px),
      #eef4f8;
  background-size: 28px 28px;
}

:where(.cqnu-site) > header {
  background: var(--navy);
  border-bottom: 0;
  box-shadow: 0 16px 36px rgba(5,43,92,.18);
}

:where(.cqnu-site) .headtop {
  padding-top: 14px;
  padding-bottom: 14px;
}

:where(.cqnu-site) .school-logo {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: none;
}

:where(.cqnu-site) .badge {
  border-radius: 4px;
  background: var(--red);
  box-shadow: none;
}

:where(.cqnu-site) > header :is(h1,.site-name) {
  color: #fff;
}

:where(.cqnu-site) .sub {
  color: #c9dcf3;
}

:where(.cqnu-site) .search {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
  color: #e8f4ff;
  border-radius: 3px;
}

:where(.cqnu-site) > header nav {
  background: #fff;
  border-top: 0;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 12px 28px rgba(5,43,92,.08);
  overflow: visible;
  justify-content: space-between;
}

:where(.cqnu-site) > header nav a {
  position: relative;
  padding: 14px 17px;
  font-size: 16px;
  font-weight: 600;
  color: #1b3555;
}

:where(.cqnu-site) > header nav>a.current,
:where(.cqnu-site) .nav-drop>a.current {
  background: transparent;
  color: var(--red);
  font-weight: 800;
}

:where(.cqnu-site) > header nav>a.current:after,
:where(.cqnu-site) .nav-drop>a.current:after,
:where(.cqnu-site) > header nav a:hover:after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  background: var(--red);
}

:where(.cqnu-site) .hero {
  min-height: 640px;
}

:where(.cqnu-site) .service-carousel {
  min-height: 640px;
}

:where(.cqnu-site) .service-slide:before {
  background: linear-gradient(90deg,rgba(5,43,92,.18),rgba(5,43,92,.08)),var(--slide-bg);
  background-size: cover;
  background-position: center;
}

:where(.cqnu-site) .service-caption {
  width: auto;
  max-width: 600px;
  margin: 0 0 34px calc((100% - 1240px)/2 + 24px);
  padding: 18px 22px;
  border-left: 5px solid var(--red);
  background: rgba(5,43,92,.78);
  backdrop-filter: blur(8px);
  border-radius: 4px;
}

:where(.cqnu-site) .service-slide h3 {
  font-size: 25px;
}

:where(.cqnu-site) .service-dock {
  background: linear-gradient(135deg,#f8fbff,#eef6fd);
  padding: 34px 0 38px;
}

:where(.cqnu-site) .dock-grid {
  grid-template-columns: .72fr 1.28fr;
}

:where(.cqnu-site) .service-dock h2 {
  font-size: 30px;
}

:where(.cqnu-site) .service-dock .label {
  border-left: 0;
  border-radius: 3px;
  background: var(--navy);
  color: #fff;
}

:where(.cqnu-site) .hall {
  border-radius: 4px;
  border: 1px solid #c9d8e8;
  box-shadow: 0 18px 42px rgba(5,43,92,.16);
  background: #fff;
}

:where(.cqnu-site) .hall-title {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

:where(.cqnu-site) .actions {
  counter-reset: service;
}

:where(.cqnu-site) .action {
  border-radius: 4px;
  min-height: 104px;
  padding: 16px 14px 16px 50px;
  background: #fff;
  border-color: #d8e4f1;
  box-shadow: inset 4px 0 0 #d8e4f1;
}

:where(.cqnu-site) .action:after {
  counter-increment: service;
  content: "0" counter(service);
  position: absolute;
  left: 14px;
  top: 16px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: #eef6ff;
  color: var(--blue);
  font-weight: 800;
  border-radius: 3px;
  font-size: 12px;
}

:where(.cqnu-site) .action:hover {
  transform: translateY(-4px);
  box-shadow: inset 4px 0 0 var(--red),0 14px 28px rgba(17,103,177,.13);
}

:where(.cqnu-site) .section-title {
  border-left: 5px solid var(--red);
  padding-left: 14px;
  align-items: center;
}

:where(.cqnu-site) .section-title h2 {
  font-size: 24px;
}

:where(.cqnu-site) .card {
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(5,43,92,.05);
}

:where(.cqnu-site) .service-card {
  border-top: 0;
  border-left: 5px solid var(--red);
}

:where(.cqnu-site) .process {
  border-radius: 4px;
  background: #fbfdff;
}

:where(.cqnu-site) .process h3 {
  background: var(--navy);
  color: #fff;
}

:where(.cqnu-site) .steps {
  gap: 6px;
}

:where(.cqnu-site) .step {
  border-radius: 3px;
  background: #fff;
  border: 1px solid #cbdbea;
}

:where(.cqnu-site) .arrow {
  color: #7a8da5;
}

:where(.cqnu-site) .panel {
  border-radius: 4px;
}

:where(.cqnu-site) .panel h3 {
  background: #eef6ff;
}

:where(.cqnu-site) > footer {
  background: #052b5c;
  color: #dcecff;
  padding: 34px 0;
}

:where(.cqnu-site) .foot {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
}

:where(.cqnu-site) > footer h2,
:where(.cqnu-site) > footer h3 {
  color: #fff;
  margin: 0 0 10px;
}

:where(.cqnu-site) > footer p {
  margin: 5px 0;
}

@media (max-width:980px) {
  :where(.cqnu-site) .dock-grid,
  :where(.cqnu-site) .hero-copy,
  :where(.cqnu-site) .hero-intro .wrap,
  :where(.cqnu-site) .grid2,
  :where(.cqnu-site) .foot {
    grid-template-columns: 1fr;
  }

  :where(.cqnu-site) .grid4 {
    grid-template-columns: repeat(2,1fr);
  }

  :where(.cqnu-site) .grid3,
  :where(.cqnu-site) .actions {
    grid-template-columns: repeat(2,1fr);
  }

  :where(.cqnu-site) .search {
    display: none;
  }
}

@media (max-width:640px) {
  :where(.cqnu-site) > header :is(h1,.site-name) {
    font-size: 19px;
  }

  :where(.cqnu-site) .headtop {
    align-items: flex-start;
  }

  :where(.cqnu-site) .hero,
  :where(.cqnu-site) .hero-copy,
  :where(.cqnu-site) .service-carousel {
    min-height: 760px;
  }

  :where(.cqnu-site) .hero-copy {
    padding-top: 36px;
    padding-bottom: 64px;
  }

  :where(.cqnu-site) .service-caption {
    padding: 20px 24px 44px;
  }

  :where(.cqnu-site) .hero h2 {
    font-size: 29px;
  }

  :where(.cqnu-site) .dock-grid,
  :where(.cqnu-site) .grid4,
  :where(.cqnu-site) .grid3,
  :where(.cqnu-site) .actions {
    grid-template-columns: 1fr;
  }

  :where(.cqnu-site) .section-title {
    display: block;
  }

  :where(.cqnu-site) .list li {
    display: block;
  }

  :where(.cqnu-site) .list time {
    display: block;
    margin-top: 3px;
  }
}

/* 新闻、通知与附属单位组件 */

:where(.cqnu-site) .newsboard {
  padding-top: 38px;
  padding-bottom: 42px;
}

:where(.cqnu-site) .board-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr .84fr;
  gap: 18px;
  align-items: stretch;
}

:where(.cqnu-site) .board {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #c9d8e8;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(5,43,92,.05);
  overflow: hidden;
}

:where(.cqnu-site) .board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  background: linear-gradient(90deg,var(--navy),#0f5b9a);
}

:where(.cqnu-site) .board-head h3 {
  margin: 0;
  padding: 13px 0;
  color: #fff;
  font-size: 17px;
  background: none;
  border-bottom: 0;
}

:where(.cqnu-site) .board-head .more {
  color: #cfe4f8;
  font-size: 13px;
}

:where(.cqnu-site) .board-head .more:hover {
  color: #fff;
  text-decoration: underline;
}

:where(.cqnu-site) .news-list {
  padding: 5px 16px 10px;
  display: flex;
  flex-direction: column;
}

:where(.cqnu-site) .news-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px dashed #d8e2ee;
}

:where(.cqnu-site) .news-item:last-child {
  border-bottom: 0;
}

:where(.cqnu-site) .news-item img {
  width: 118px;
  height: 76px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
  flex-shrink: 0;
  transition: .25s ease;
}

:where(.cqnu-site) .news-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

:where(.cqnu-site) .news-info b {
  color: var(--navy);
  font-size: 15px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:where(.cqnu-site) .news-info span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:where(.cqnu-site) .news-info time {
  color: #8794a8;
  font-size: 12px;
}

:where(.cqnu-site) .news-item:hover img {
  box-shadow: 0 8px 18px rgba(5,43,92,.18);
}

:where(.cqnu-site) .news-item:hover b {
  color: var(--red);
}

:where(.cqnu-site) .notice-list {
  list-style: none;
  margin: 0;
  padding: 5px 16px 10px;
}

:where(.cqnu-site) .notice-list li {
  border-bottom: 1px dashed #d8e2ee;
}

:where(.cqnu-site) .notice-list li:last-child {
  border-bottom: 0;
}

:where(.cqnu-site) .notice-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
}

:where(.cqnu-site) .date-block {
  flex-shrink: 0;
  width: 54px;
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--line);
}

:where(.cqnu-site) .date-block b {
  display: block;
  background: linear-gradient(180deg,#c22740,var(--red));
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
  padding: 4px 0;
}

:where(.cqnu-site) .date-block i {
  display: block;
  font-style: normal;
  background: #f2f6fb;
  color: #5d6f86;
  font-size: 12px;
  padding: 2px 0;
}

:where(.cqnu-site) .notice-txt {
  min-width: 0;
  flex: 1;
}

:where(.cqnu-site) .notice-txt .t {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:where(.cqnu-site) .notice-txt .s {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:where(.cqnu-site) .notice-item:hover .t {
  color: var(--red);
}

:where(.cqnu-site) .unit-list {
  list-style: none;
  margin: 0;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

:where(.cqnu-site).site-home .unit-list::-webkit-scrollbar {
  width: 6px;
}

:where(.cqnu-site).site-home .unit-list::-webkit-scrollbar-track {
  background: #f2f6fb;
  border-radius: 3px;
}

:where(.cqnu-site).site-home .unit-list::-webkit-scrollbar-thumb {
  background: #c9d8e8;
  border-radius: 3px;
}

:where(.cqnu-site).site-home .unit-list::-webkit-scrollbar-thumb:hover {
  background: #a9c6e8;
}

:where(.cqnu-site).site-home .unit-list {
  max-height: 424px;
  overflow-y: auto;
}

:where(.cqnu-site) .unit-list a {
  display: block;
  border: 1px solid #d8e4f1;
  border-radius: 4px;
  padding: 11px 14px 11px 18px;
  background: linear-gradient(180deg,#fff,#f7fbff);
  transition: .25s ease;
  box-shadow: inset 4px 0 0 #d8e4f1;
}

:where(.cqnu-site) .unit-list li:nth-child(odd) a {
  box-shadow: inset 4px 0 0 var(--red);
}

:where(.cqnu-site) .unit-list li:nth-child(even) a {
  box-shadow: inset 4px 0 0 var(--blue);
}

:where(.cqnu-site) .unit-list b {
  display: block;
  color: var(--navy);
  font-size: 15px;
}

:where(.cqnu-site) .unit-list span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

:where(.cqnu-site) .unit-list li:nth-child(odd) a:hover {
  transform: translateY(-3px);
  border-color: #b9d5f2;
  box-shadow: inset 4px 0 0 var(--red),0 12px 26px rgba(17,103,177,.14);
}

:where(.cqnu-site) .unit-list li:nth-child(even) a:hover {
  transform: translateY(-3px);
  border-color: #b9d5f2;
  box-shadow: inset 4px 0 0 var(--blue),0 12px 26px rgba(17,103,177,.14);
}

@media (max-width:980px) {
  :where(.cqnu-site) .board-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:640px) {
  :where(.cqnu-site) .news-item img {
    width: 94px;
    height: 64px;
  }
}

/* 顶部导航下拉菜单 */

:where(.cqnu-site) .nav-drop {
  position: relative;
}

:where(.cqnu-site) .nav-drop>a {
  display: block;
}

:where(.cqnu-site) .drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  padding: 6px 0;
  background: linear-gradient(180deg,#0d4c8f,var(--navy));
  border-radius: 0 0 4px 4px;
  box-shadow: 0 16px 32px rgba(5,43,92,.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .22s ease;
  z-index: 60;
}

:where(.cqnu-site) .nav-drop:hover .drop-menu,
:where(.cqnu-site) .nav-drop:focus-within .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

:where(.cqnu-site) .drop-menu a {
  display: block;
  padding: 11px 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
}

:where(.cqnu-site) .drop-menu a:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}

:where(.cqnu-site) .drop-menu a:hover:after {
  display: none;
}

@media (max-width:980px) {
  :where(.cqnu-site) > header nav {
    overflow-x: auto;
  }
}

/* 页脚二维码与版权行 */

:where(.cqnu-site) .foot .qr-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
  margin-top: 10px;
}

:where(.cqnu-site) .foot .qr-row figure {
  margin: 0;
  text-align: center;
}

:where(.cqnu-site) .foot .qr-row img {
  display: block;
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 4px;
  background: #fff;
  padding: 3px;
  margin: 0 auto;
  box-sizing: content-box;
}

:where(.cqnu-site) .foot .qr-row figcaption {
  font-size: 12px;
  color: #c9dcf3;
  margin-top: 5px;
}

:where(.cqnu-site) .foot-line {
  border-top: 1px solid rgba(255,255,255,.18);
  margin-top: 10px;
  padding: 14px 0;
  text-align: center;
  color: #c9dcf3;
  font-size: 13px;
}

/* 子页横幅 */

:where(.cqnu-site) .page-banner {
  background: linear-gradient(135deg,#052b5c,#1167b1);
  color: #fff;
  padding: 44px 0 40px;
  border-bottom: 1px solid var(--line);
}

:where(.cqnu-site) .page-banner .crumbs {
  margin: 0 0 14px;
  color: #c9dcf3;
  font-size: 13px;
}

:where(.cqnu-site) .page-banner .crumbs a {
  color: #c9dcf3;
}

:where(.cqnu-site) .page-banner .crumbs a:hover {
  color: #fff;
  text-decoration: underline;
}

:where(.cqnu-site) .page-banner h2 {
  margin: 10px 0 12px;
  color: #fff;
  font-size: 34px;
}

:where(.cqnu-site) .page-banner .lead {
  margin: 0;
  color: #eaf6ff;
  max-width: 860px;
  font-size: 16px;
}

/* 左侧悬浮导航（同栏目子页快速切换） */

:where(.cqnu-site) .side-nav {
  position: fixed;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  min-width: 100px;
  background: #fff;
  border: 1px solid #c9d8e8;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(5,43,92,.14);
  overflow: hidden;
}

:where(.cqnu-site) .side-nav b {
  display: block;
  padding: 9px 12px;
  background: linear-gradient(180deg,#0d4c8f,var(--navy));
  color: #fff;
  font-size: 13px;
  text-align: center;
}

:where(.cqnu-site) .side-nav a {
  display: block;
  padding: 9px 10px;
  border-top: 1px solid #eef2f7;
  font-size: 13px;
  color: #1b3555;
  text-align: center;
  transition: .2s;
}

:where(.cqnu-site) .side-nav a:hover {
  background: #eef6ff;
  color: var(--red);
}

:where(.cqnu-site) .side-nav a.on {
  background: var(--red);
  color: #fff;
  font-weight: 700;
}

@media (max-width:1420px) {
  :where(.cqnu-site) .side-nav {
    display: none;
  }
}

/* 日期式文章列表与分页 */

:where(.cqnu-site) .article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

:where(.cqnu-site) .article-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid #e3e9f4;
}

:where(.cqnu-site) .article-item:last-child {
  border-bottom: 0;
}

:where(.cqnu-site) .article-item .date-block {
  flex-shrink: 0;
  width: 64px;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
}

:where(.cqnu-site) .article-item .date-block b {
  display: block;
  background: #fff;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.3;
  padding: 6px 0;
}

:where(.cqnu-site) .article-item .date-block i {
  display: block;
  font-style: normal;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  padding: 3px 0;
}

:where(.cqnu-site) .article-info {
  min-width: 0;
  flex: 1;
}

:where(.cqnu-site) .article-info h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  transition: .2s;
}

:where(.cqnu-site) .article-info p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

:where(.cqnu-site) .article-info .more {
  color: var(--blue);
  font-size: 14px;
}

:where(.cqnu-site) .article-item:hover h3 {
  color: var(--red);
}

:where(.cqnu-site) .pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 26px 0 4px;
}

:where(.cqnu-site) .pager > :is(a,span) {
  min-width: 34px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: #41526b;
  font-size: 14px;
  text-align: center;
  transition: .2s;
}

:where(.cqnu-site) .pager a:hover {
  border-color: var(--navy);
  color: var(--navy);
}

:where(.cqnu-site) .pager .on {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* 联系我们内容 */

:where(.cqnu-site) .contact-info {
  padding: 34px 40px 44px;
}

:where(.cqnu-site) .contact-info h2 {
  margin: 0 0 18px;
  text-align: center;
  color: var(--ink);
  font-size: 26px;
}

:where(.cqnu-site) .contact-info p {
  margin: 0 0 26px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.9;
}

:where(.cqnu-site) .contact-info p:last-child {
  margin-bottom: 0;
}

/* 组织架构图 */

:where(.cqnu-site) .org-chart {
  --oc-line: #a9c6e8;
  --oc-bd: #b9d5f2;
  background: linear-gradient(180deg,#f8fbff,#edf4fb);
  border: 1px solid #c9d8e8;
  border-radius: 6px;
  padding: 34px 24px 30px;
  overflow: hidden;
}

:where(.cqnu-site) .oc-center {
  margin-left: auto;
  margin-right: auto;
}

:where(.cqnu-site) .oc-root {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  background: linear-gradient(100deg,#0d4c8f,#2f8fe0);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1px;
  padding: 13px 32px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(13,76,143,.22);
}

:where(.cqnu-site) .oc-root.school {
  font-size: 18px;
  padding: 11px 30px;
}

:where(.cqnu-site) .oc-ico {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: none;
}

:where(.cqnu-site) .oc-ico svg {
  width: 100%;
  height: 100%;
}

:where(.cqnu-site) .oc-div {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,.5);
  flex: none;
}

:where(.cqnu-site) .oc-dept {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  color: #fff;
  font-weight: 800;
  font-size: 16.5px;
  padding: 11px 20px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(13,76,143,.16);
  text-align: center;
}

:where(.cqnu-site) .oc-dept .oc-div {
  height: 18px;
}

:where(.cqnu-site) .org-chart .dep-blue {
  background: linear-gradient(100deg,#1257a8,#3f97ec);
}

:where(.cqnu-site) .org-chart .dep-green {
  background: linear-gradient(100deg,#0c7a58,#2fb58a);
}

:where(.cqnu-site) .org-chart .dep-orange {
  background: linear-gradient(100deg,#d96f16,#f5a344);
}

:where(.cqnu-site) .oc-vline {
  display: block;
  width: 2px;
  height: 18px;
  background: var(--oc-line);
  margin: 0 auto;
}

:where(.cqnu-site) .oc-vline.s {
  height: 13px;
}

:where(.cqnu-site) .oc-vline.l {
  height: 34px;
}

:where(.cqnu-site) .oc-branch {
  position: relative;
  --n: 3;
}

:where(.cqnu-site) .oc-n6 {
  --n: 6;
}

:where(.cqnu-site) .oc-hline {
  position: absolute;
  top: 0;
  left: calc(100%/var(--n)/2);
  right: calc(100%/var(--n)/2);
  height: 2px;
  background: var(--oc-line);
}

:where(.cqnu-site) .oc-pics {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  padding-top: 12px;
}

:where(.cqnu-site) .oc-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  background: #fff;
  border: 1.5px solid var(--oc-bd);
  border-radius: 10px;
  padding: 9px 12px;
  color: #5b7ba6;
  font-size: 13.5px;
}

:where(.cqnu-site) .oc-pics>.oc-photo:before,
:where(.cqnu-site) .oc-schools>.oc-school:before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 12px;
  background: var(--oc-line);
}

:where(.cqnu-site) .oc-photo .cam {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e8f2fd;
  align-items: center;
  justify-content: center;
  flex: none;
}

:where(.cqnu-site) .oc-photo .cam svg {
  width: 15px;
  height: 15px;
}

:where(.cqnu-site) .oc-photo.has-img {
  padding: 0;
  overflow: hidden;
  min-height: 64px;
}

:where(.cqnu-site) .oc-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:where(.cqnu-site) .oc-grid3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
  align-items: start;
}

:where(.cqnu-site) .oc-schools {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 12px;
  padding-top: 12px;
}

:where(.cqnu-site) .oc-school {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--oc-bd);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(13,76,143,.08);
  transition: .25s ease;
}

:where(.cqnu-site) .oc-school:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(13,76,143,.16);
}

:where(.cqnu-site) .oc-school .head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  padding: 8px 10px;
  color: #fff;
  font-weight: 800;
  font-size: 13.5px;
  line-height: 1.35;
  text-align: center;
}

:where(.cqnu-site) .oc-school .head .oc-ico {
  width: 22px;
  height: 22px;
}

:where(.cqnu-site) .org-chart .hd-blue {
  background: linear-gradient(135deg,#1257a8,#3f97ec);
}

:where(.cqnu-site) .org-chart .hd-green {
  background: linear-gradient(135deg,#0c7a58,#2fb58a);
}

:where(.cqnu-site) .org-chart .hd-orange {
  background: linear-gradient(135deg,#d96f16,#f5a344);
}

:where(.cqnu-site) .org-chart .hd-purple {
  background: linear-gradient(135deg,#6a46c8,#9d7ae8);
}

:where(.cqnu-site) .oc-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 8px;
}

:where(.cqnu-site) .oc-shots .oc-photo {
  min-height: 52px;
  font-size: 12px;
  gap: 5px;
  flex-direction: column;
  padding: 6px;
}

:where(.cqnu-site) .oc-shots .oc-photo.has-img {
  min-height: 56px;
}

@media (max-width:980px) {
  :where(.cqnu-site) .oc-grid3 {
    grid-template-columns: 1fr;
  }

  :where(.cqnu-site) .oc-schools {
    grid-template-columns: repeat(3,1fr);
  }

  :where(.cqnu-site) .oc-hline,
  :where(.cqnu-site) .oc-pics>.oc-photo:before,
  :where(.cqnu-site) .oc-schools>.oc-school:before {
    display: none;
  }

  :where(.cqnu-site) .org-chart {
    padding: 24px 16px;
  }
}

@media (max-width:640px) {
  :where(.cqnu-site) .oc-schools {
    grid-template-columns: repeat(2,1fr);
  }

  :where(.cqnu-site) .oc-pics {
    grid-template-columns: repeat(2,1fr);
  }

  :where(.cqnu-site) .oc-root {
    font-size: 16px;
    padding: 11px 20px;
  }
}

/* 成果展示：图文并茂卡片 */

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

:where(.cqnu-site) .show-card {
  background: #fff;
  border: 1px solid #c9d8e8;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(5,43,92,.05);
  transition: .28s ease;
  display: flex;
  flex-direction: column;
}

:where(.cqnu-site) .show-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(5,43,92,.14);
  border-color: #b9d5f2;
}

:where(.cqnu-site) .show-card img {
  width: 100%;
  height: 172px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  display: block;
}

:where(.cqnu-site) .show-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

:where(.cqnu-site) .show-body h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  border-left: 4px solid var(--red);
  padding-left: 10px;
}

:where(.cqnu-site) .show-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  flex: 1;
}

:where(.cqnu-site) .show-row {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid #c9d8e8;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(5,43,92,.05);
  transition: .28s ease;
}

:where(.cqnu-site) .show-row:hover {
  box-shadow: 0 16px 34px rgba(5,43,92,.13);
  border-color: #b9d5f2;
}

:where(.cqnu-site) .show-row img {
  width: 300px;
  height: 190px;
  object-fit: cover;
  flex-shrink: 0;
}

:where(.cqnu-site) .show-row .show-body {
  padding: 18px 20px;
}

:where(.cqnu-site) .show-row .show-body h3 {
  border-left-color: var(--blue);
}

@media (max-width:980px) {
  :where(.cqnu-site) .show-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width:640px) {
  :where(.cqnu-site) .show-grid {
    grid-template-columns: 1fr;
  }

  :where(.cqnu-site) .show-row {
    flex-direction: column;
  }

  :where(.cqnu-site) .show-row img {
    width: 100%;
    height: 180px;
  }
}

/* 定稿中的首页轮播和附属学校横幅共用校园图片 */
:where(.cqnu-site) .campus-image-1 { --campus-image: url("./图片1.png"); }
:where(.cqnu-site) .campus-image-2 { --campus-image: url("./图片2.png"); }
:where(.cqnu-site) .campus-image-3 { --campus-image: url("./图片3.png"); }
:where(.cqnu-site) .campus-image-4 { --campus-image: url("./图片4.png"); }
:where(.cqnu-site) .campus-image-5 { --campus-image: url("./图片5.png"); }
:where(.cqnu-site) .campus-image-6 { --campus-image: url("./图片6.png"); }

:where(.cqnu-site) .service-slide {
  --slide-bg: var(--campus-image);
}

:where(.cqnu-site) .campus-banner {
  --campus-mask: linear-gradient(90deg, rgba(4, 36, 80, .92) 0%, rgba(4, 36, 80, .70) 35%, rgba(4, 36, 80, .32) 60%, rgba(4, 36, 80, .08) 100%);
  background: var(--campus-mask), var(--campus-image) center / cover no-repeat;
}

:where(.cqnu-site) .campus-banner.campus-image-4 {
  --campus-mask: linear-gradient(90deg, rgba(4, 36, 80, .90) 0%, rgba(4, 36, 80, .60) 28%, rgba(4, 36, 80, .20) 52%, rgba(4, 36, 80, .04) 78%, rgba(4, 36, 80, 0) 100%);
  background-position: 0% 0%, center 72%;
}

/* 机构、部门与文章列表的布局修饰类 */
:where(.cqnu-site) .intro-text {
  margin: 0;
  padding: 6px 18px 16px;
  color: #41526b;
  text-indent: 2em;
}

:where(.cqnu-site) .org-service-wide {
  grid-column: span 2;
}

:where(.cqnu-site) .staff-board {
  padding: 14px;
}

:where(.cqnu-site) .staff-board img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

:where(.cqnu-site) .article-board {
  padding: 6px 22px;
}

:where(.cqnu-site) :is([id^="entry-"], #article-archive) {
  scroll-margin-top: 150px;
}

:where(.cqnu-site) .list a:hover,
:where(.cqnu-site) .article-info .more:hover {
  color: var(--red);
  text-decoration: underline;
}

:where(.cqnu-site) .pager [aria-disabled] {
  color: var(--muted);
}

:where(.cqnu-site) :is(a, button):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

:where(.cqnu-site) :is(.board-head, .drop-menu, .detail-trail) a:focus-visible {
  outline-color: #fff;
  outline-offset: -2px;
}

/* 公用详情页 */
:where(.cqnu-site) > header .site-name {
  margin: 0;
  font-weight: 700;
}

:where(.cqnu-site) .detail-trail {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #eaf6ff;
  font-size: 14px;
  padding: 20px 0;
}

:where(.cqnu-site) .detail-trail ol {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

:where(.cqnu-site) .detail-trail li + li::before {
  content: "/";
  margin-inline-end: 12px;
  color: #bcd7f1;
}

:where(.cqnu-site) .detail-trail a:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}

:where(.cqnu-site) .detail-layout {
  padding-block: clamp(22px, 4vw, 52px) clamp(38px, 6vw, 72px);
}

:where(.cqnu-site) .detail-sheet {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(22px, 5vw, 64px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(5, 43, 92, .06);
  overflow-wrap: anywhere;
}

:where(.cqnu-site) .detail-heading {
  display: grid;
  gap: 12px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}

:where(.cqnu-site) .detail-heading h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(24px, 3.3vw, 39px);
  line-height: 1.28;
}

:where(.cqnu-site) .detail-category {
  margin: 0;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
}

:where(.cqnu-site) .detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
  color: var(--muted);
  font-size: 14px;
}

:where(.cqnu-site) .detail-tags .tag {
  margin: 0 8px 0 0;
}

:where(.cqnu-site) .detail-figure {
  margin: 28px 0;
}

:where(.cqnu-site) .detail-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 380px;
  height: auto;
  border-radius: 4px;
  margin: 0 auto;
}

:where(.cqnu-site) .detail-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

:where(.cqnu-site) .detail-copy {
  margin: 28px 0;
  max-width: 76ch;
  color: #33465f;
  line-height: 1.9;
}

:where(.cqnu-site) .detail-copy h2,
:where(.cqnu-site) .detail-attachments h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 19px;
}

:where(.cqnu-site) .detail-copy p {
  margin: 0 0 1em;
}

:where(.cqnu-site) .detail-attachments {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f5f9fe;
}

:where(.cqnu-site) .detail-attachments ul {
  margin: 0;
  padding-inline-start: 1.2em;
}

:where(.cqnu-site) .detail-attachments a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: .2em;
}

:where(.cqnu-site) .detail-empty {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

:where(.cqnu-site) .detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

:where(.cqnu-site) .detail-return {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--navy);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
}

:where(.cqnu-site) .detail-return:hover {
  background: var(--blue);
}

:where(.cqnu-site) .detail-neighbors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--blue);
  font-size: 14px;
}

:where(.cqnu-site) .detail-neighbors a:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}

:where(.cqnu-site) .detail-sheet [hidden],
:where(.cqnu-site) .detail-trail [hidden] {
  display: none;
}

@media (max-width: 640px) {
  :where(.cqnu-site).site-detail .brand {
    gap: 8px;
  }

  :where(.cqnu-site).site-detail .school-logo {
    width: clamp(82px, 27vw, 112px);
    height: 48px;
    flex: none;
  }

  :where(.cqnu-site).site-detail .badge {
    width: 36px;
    height: 42px;
    flex: none;
    font-size: 13px;
  }

  :where(.cqnu-site).site-detail .site-name {
    font-size: 17px;
    line-height: 1.4;
  }

  :where(.cqnu-site).site-detail .detail-layout {
    padding-inline: 14px;
  }

  :where(.cqnu-site).site-detail .foot .qr-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  :where(.cqnu-site).site-detail .foot .qr-row img {
    width: min(74px, calc(100% - 6px));
    height: auto;
    aspect-ratio: 1;
  }
}
