/* 全站字体强制为微软雅黑，但排除图标字体类 */
body,
body *:not(.material-symbols-outlined):not(.ia-icon-svg):not([class*="icon-"]) {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif !important;
}

/* 确保图标字体不被覆盖 */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: #fff;
}

.demo-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.demo-brand-logo {
  display: block;
  overflow: hidden;
  flex: 0 0 auto;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-color: transparent;
}

body > nav a, body > nav button, body > nav .demo-brand-lockup {
  flex-shrink: 0;
}

body > nav a, body > nav button {
  white-space: nowrap;
}

@media (max-width: 1280px) {
  body > nav [class*="space-x-8"] > :not([hidden]) ~ :not([hidden]) {
    margin-left: 1.25rem;
  }

  body > nav [class*="gap-8"] {
    gap: 1.25rem;
  }

  body > nav input {
    max-width: 150px;
  }

}

.demo-page-rail {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-50%);
}

.demo-page-rail a, .demo-mobile-nav a {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--demo-line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--demo-primary);
  font: 700 13px/1.1 Inter, system-ui, sans-serif;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 32, 79, 0.08);
  backdrop-filter: blur(10px);
}

.demo-page-rail a {
  min-width: 94px;
  justify-content: flex-start;
  border-radius: 8px;
  padding: 10px 12px;
}

.demo-page-rail a.is-active, .demo-mobile-nav a.is-active {
  background: var(--demo-primary);
  border-color: var(--demo-primary);
  color: #fff;
}

.demo-page-rail .material-symbols-outlined, .demo-mobile-nav .material-symbols-outlined {
  font-size: 19px;
  line-height: 1;
}

.demo-mobile-nav {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  display: none;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  padding: 7px;
  border: 1px solid var(--demo-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 42px rgba(0, 32, 79, 0.16);
  backdrop-filter: blur(14px);
}

.demo-mobile-nav a {
  min-width: 0;
  height: 48px;
  flex-direction: column;
  justify-content: center;
  border-radius: 8px;
  padding: 4px 2px;
  font-size: 11px;
  box-shadow: none;
}

.demo-mobile-nav span:last-child {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-linked-card {
  cursor: pointer;
}

.demo-hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .demo-page-rail {
    display: none;
  }

  .demo-mobile-nav {
    display: grid;
  }

  body {
    padding-bottom: 76px;
  }

}

@media (max-width: 640px) {
  body > nav {
    overflow: hidden;
  }

  .demo-brand-logo-stm {
    width: 46px;
    height: 48px;
  }

  .demo-brand-logo-sie {
    width: 76px;
    height: 48px;
  }

  body > nav > div > div:last-child {
    display: none;
  }

  .demo-mobile-nav {
    left: 8px;
    right: 8px;
    bottom: 8px;
    gap: 4px;
    padding: 5px;
  }

  .demo-mobile-nav a {
    height: 44px;
    font-size: 10px;
  }

  .demo-mobile-nav .material-symbols-outlined {
    font-size: 18px;
  }

}

.ia-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.96);
  border-bottom: 1px solid var(--demo-line);
  backdrop-filter: blur(12px);
}

.ia-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 40px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.ia-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  overflow: visible;
  scrollbar-width: thin;
}

.ia-nav-item {
  position: relative;
  flex: 0 0 auto;
}

.ia-nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #44474f;
  font: 700 14px/1 Inter, system-ui, sans-serif;
  padding: 12px 2px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.ia-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 80;
  min-width: 190px;
  display: none;
  padding: 8px;
  background: #fff;
  border: 1px solid #c4c6d0;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 32, 79, 0.16);
}

.ia-nav-item:hover .ia-submenu, .ia-nav-item:focus-within .ia-submenu {
  display: grid;
  gap: 4px;
}

.ia-submenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  color: #00204f;
  border-radius: 6px;
  font: 700 16px/1.25 Inter, system-ui, sans-serif;
  white-space: nowrap;
}

.ia-submenu-group {
  padding: 8px 10px 6px;
  color: #747780;
  font: 700 12px/1.2 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.ia-submenu-nested {
  margin-left: 8px;
  padding-left: 8px;
  border-left: 2px solid #e0e3e6;
}

.ia-search {
  position: relative;
  flex: 0 0 auto;
}

.ia-search summary {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--demo-primary);
  background:var(--demo-primary);
  border: 1px solid #c4c6d0;
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
}

.ia-search summary::-webkit-details-marker {
  display: none;
}

.ia-search summary:hover {
  border-color: var(--demo-primary);
  box-shadow: 0 8px 22px rgba(0, 32, 79, 0.1);
}

.ia-search-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(520px, calc(100vw - 40px));
  padding: 22px;
  background: #fff;
  border: 1px solid #c4c6d0;
  border-radius: 10px;
  box-shadow: 0 18px 46px rgba(0, 32, 79, 0.18);
}

.ia-search:not([open]) .ia-search-panel {
  display: none;
}

.ia-search-panel form {
  display: flex;
  gap: 12px;
}

.ia-search-panel input {
  min-width: 0;
  flex: 1;
  border: 1px solid #c4c6d0;
  border-radius: 8px;
  padding: 14px 16px;
  color: #00204f;
  font-size: 16px;
}

.ia-search-panel button {
  border: 0;
  border-radius: 8px;
  padding: 0 24px;
  color: #fff;
  background: var(--demo-primary);
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
}

.ia-search-hint {
  margin-top: 12px;
  color: #747780;
  font-size: 14px;
  line-height: 1.5;
}

.ia-search summary .ia-icon-svg {
background:#fff !important;
}

.ia-results-search {
  margin-top: 30px;
  max-width: 760px;
  display: flex;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 10px;
}

.ia-results-search input {
  min-width: 0;
  flex: 1;
  height: 56px;
  padding: 0 18px;
  color: #00204f;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 18px;
}

.ia-results-search button {
  height: 56px;
  padding: 0 30px;
  color: #fff;
  background: #b6171e;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.ia-main {
  background: #fff;
}

.ia-hero {
  background: linear-gradient(135deg, #00204f 0%, #163d76 62%, #b6171e 140%);
  color: #fff;
  padding: 84px 40px 74px;
}

.ia-container {
  max-width: 1180px;
  margin: 0 auto;
}

.ia-eyebrow {
  color: #ffb3ac;
  font: 700 12px/1.4 "JetBrains Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ia-hero h1 {
  font: 800 52px/1.08 "Hanken Grotesk", Inter, sans-serif;
  margin: 0 0 18px;
  letter-spacing: 0;
}

.ia-hero p {
  max-width: 760px;
  color: #d8e2ff;
  font: 400 18px/1.7 Inter, system-ui, sans-serif;
}

.ia-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  padding: 48px 40px;
}

.ia-card {
  grid-column: span 4;
  background: #fff;
  border: 1px solid #c4c6d0;
  border-radius: 8px;
  padding: 28px;
  min-height: 220px;
}

.ia-card-wide {
  grid-column: span 6;
}

.ia-card-full {
  grid-column: 1 / -1;
}

.ia-card h2, .ia-card h3 {
  color: var(--demo-primary);
  font-family: "Hanken Grotesk", Inter, sans-serif;
  letter-spacing: 0;
}

.ia-card h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 14px;
}

.ia-card h3 {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 12px;
}

.ia-card p, .ia-card li {
  color: #44474f;
  font: 400 16px/1.7 Inter, system-ui, sans-serif;
}

.ia-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.ia-list li {
  padding: 12px 14px;
  background: #f2f4f7;
  border-left: 4px solid #b6171e;
}

.ia-link-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.ia-link-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: var(--demo-primary);
  background: #f2f4f7;
  border: 1px solid #e0e3e6;
  border-radius: 6px;
  font-weight: 700;
}

.ia-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ia-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  color: #00204f;
  background: #d8e2ff;
  border-radius: 999px;
  font: 700 13px/1 Inter, system-ui, sans-serif;
}

.ia-section-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.ia-side-menu {
  position: sticky;
  top: 92px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #c4c6d0;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(0, 32, 79, 0.06);
}

.ia-side-menu h2 {
  margin: 0;
  padding: 22px 22px 18px;
  color: #00204f;
  font: 800 24px/1.2 "Hanken Grotesk", Inter, sans-serif;
  letter-spacing: 0;
}

.ia-side-menu nav {
  display: grid;
  padding: 0 12px 14px;
}

.ia-side-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 12px;
  color: #44474f;
  border-left: 3px solid transparent;
  border-radius: 6px;
  font: 700 15px/1.25 Inter, system-ui, sans-serif;
}

.ia-side-menu a::after {
  content: "›";
  color: #9296a0;
  font-size: 20px;
  line-height: 1;
}

.ia-side-menu a:hover, .ia-side-menu a[aria-current="page"] {
  color: #00204f;
  background: #f2f4f7;
  border-left-color: #b6171e;
}

.ia-content-stack {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.ia-section-block {
  scroll-margin-top: 104px;
  background: #fff;
  border: 1px solid #c4c6d0;
  border-radius: 8px;
  padding: 30px;
}

.ia-section-block-plain {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.ia-section-block h2 {
  margin: 0 0 14px;
  color: #00204f;
  font: 800 32px/1.2 "Hanken Grotesk", Inter, sans-serif;
  letter-spacing: 0;
}

.ia-section-block h3 {
  margin: 0 0 10px;
  color: #00204f;
  font: 800 22px/1.25 "Hanken Grotesk", Inter, sans-serif;
  letter-spacing: 0;
}

.ia-section-block p, .ia-detail-panel p, .ia-media-list p, .ia-plain-list p {
  color: #44474f;
  font: 400 16px/1.75 Inter, system-ui, sans-serif;
}

.ia-detail-panel {
  display: grid;
  gap: 18px;
}

.ia-detail-lead {
  padding: 18px 20px;
  color: #00204f;
  background: #f2f4f7;
  border-left: 4px solid #b6171e;
  font: 700 17px/1.7 Inter, system-ui, sans-serif;
}

.ia-media-list, .ia-plain-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.ia-media-item {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  background: #f7f9fc;
  border: 1px solid #e0e3e6;
  border-radius: 8px;
}

.ia-media-thumb {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #00204f, #b6171e);
  border-radius: 6px;
  font: 800 28px/1 "Hanken Grotesk", Inter, sans-serif;
}

.ia-image-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ia-image-list a {
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: inherit;
  background: #fff;
  border: 1px solid #e0e3e6;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 32, 79, 0.04);
}

.ia-image-list a:hover {
  border-color: #b6171e;
  box-shadow: 0 14px 32px rgba(0, 32, 79, 0.08);
}

.ia-image-list img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.ia-image-list img.ia-link-logo {
  object-fit: contain;
  padding: 32px;
  background: #fff;
}

.ia-image-list-body {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 20px;
}

.ia-image-list h3 {
  margin: 0;
  color: #00204f;
  font: 800 22px/1.25 "Hanken Grotesk", Inter, sans-serif;
}

.ia-image-list p {
  margin: 0;
  color: #44474f;
  font: 400 16px/1.65 Inter, system-ui, sans-serif;
}

.ia-line-clamp-2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ia-media-meta, .ia-plain-meta {
  display: inline-flex;
  margin-bottom: 8px;
  color: #747780;
  font: 700 12px/1.2 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.ia-plain-list a, .ia-file-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 16px;
  color: #00204f;
  background: #f2f4f7;
  border: 1px solid #e0e3e6;
  border-radius: 6px;
  font-weight: 700;
}

.ia-file-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.ia-feature-detail {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.ia-feature-detail-stacked {
  grid-template-columns: 1fr;
}

.ia-feature-detail-stacked .ia-feature-photo img {
  aspect-ratio: 16 / 9;
}

.ia-feature-photo {
  position: relative;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.ia-feature-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.ia-feature-photo-wide img {
  aspect-ratio: 16 / 9;
}

.ia-photo-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 14px 18px;
  color: #fff;
  background: rgba(0, 32, 79, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 32, 79, 0.18);
  backdrop-filter: blur(10px);
  font: 700 14px/1.5 Inter, system-ui, sans-serif;
}

.ia-article-body {
  display: grid;
  gap: 18px;
}

.ia-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 8px;
  color: #747780;
  font: 700 13px/1.4 "JetBrains Mono", monospace;
}

.ia-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: #747780;
  font: 700 13px/1.4 Inter, system-ui, sans-serif;
}

.ia-breadcrumb a {
  color: #00204f;
}

.ia-breadcrumb a:hover {
  color: #b6171e;
}

.ia-breadcrumb .material-symbols-outlined {
  color: #9296a0;
  font-size: 16px;
}

.ia-notice-list {
  display: grid;
  gap: 0;
  margin-top: 0;
  border: 1px solid #e0e3e6;
  border-radius: 8px;
  overflow: hidden;
}

.ia-notice-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 68px;
  padding: 18px 20px;
  color: #00204f;
  background: #fff;
  border-bottom: 1px solid #e0e3e6;
  font-weight: 800;
}

.ia-notice-list a:last-child {
  border-bottom: 0;
}

.ia-notice-list a:hover {
  background: #f2f4f7;
  color: #b6171e;
}

.ia-notice-date {
  color: #747780;
  font: 700 13px/1.3 "JetBrains Mono", monospace;
  white-space: nowrap;
}

.ia-teacher-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.ia-teacher-card {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #e0e3e6;
  border-radius: 8px;
}

.ia-teacher-card h3 {
  margin-bottom: 8px;
  color: #00204f;
  font: 800 22px/1.3 "Hanken Grotesk", Inter, sans-serif;
}

.ia-teacher-role {
  margin-bottom: 10px;
  color: #b6171e;
  font-weight: 800;
}

.ia-teacher-card p:last-child {
  color: #4a4e57;
  line-height: 1.85;
}

.ia-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 10px;
  color: #00204f;
  font-weight: 800;
}

.ia-article-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e0e3e6;
}

.ia-article-pager a, .ia-article-pager span {
  min-height: 70px;
  display: grid;
  gap: 6px;
  align-content: center;
  padding: 14px 16px;
  border: 1px solid #e0e3e6;
  border-radius: 8px;
  background: #f7f9fc;
}

.ia-article-pager a {
  color: #00204f;
}

.ia-article-pager a:hover {
  border-color: #b6171e;
  color: #b6171e;
}

.ia-article-pager span {
  color: #9296a0;
}

.ia-article-pager small {
  color: #747780;
  font: 700 12px/1.2 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.ia-article-pager strong {
  font: 800 15px/1.35 Inter, system-ui, sans-serif;
}

.ia-article-pager-next {
  text-align: right;
}

.ia-footer {
  background: #00204f;
  color: #d8e2ff;
  padding: 42px 40px;
}

.ia-footer a {
  color: #ffdeac;
  text-decoration: underline;
}

.global-contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 40px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 72px;
  align-items: center;
}

.global-contact-footer h2 {
  margin: 0 0 24px;
  font: 800 48px/1.12 "Hanken Grotesk", Inter, sans-serif;
  letter-spacing: 0;
}

.global-contact-lead {
  max-width: 560px;
  margin-bottom: 34px;
  color: #aec6ff;
  font: 400 18px/1.7 Inter, system-ui, sans-serif;
}

.global-contact-list {
  display: grid;
  gap: 20px;
}

.global-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.global-contact-item strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.global-contact-item p {
  color: #aec6ff;
  line-height: 1.6;
}

.global-contact-map {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.global-contact-map img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.global-map-caption h3 {
  margin: 0 0 6px;
  color: #00204f;
  font: 800 24px/1.25 "Hanken Grotesk", Inter, sans-serif;
}

.global-map-caption p {
  color: #44474f;
}

.global-copyright {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(216, 226, 255, 0.72);
  text-align: center;
  font: 500 12px/1.5 "JetBrains Mono", monospace;
}

@media (max-width: 980px) {
  .ia-header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 20px;
  }

  .ia-nav {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
  }

  .ia-search {
    position: absolute;
    top: 13px;
    right: 20px;
  }

  .ia-hero, .ia-grid, .ia-section-layout {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ia-section-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ia-side-menu {
    position: static;
  }

  .ia-side-menu nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .ia-side-menu a {
    flex: 0 0 auto;
  }

  .ia-media-item {
    grid-template-columns: 1fr;
  }

  .ia-image-list {
    grid-template-columns: 1fr;
  }

  .ia-image-list-body {
    padding: 18px;
  }

  .ia-feature-detail {
    grid-template-columns: 1fr;
  }

  .ia-notice-list a {
    grid-template-columns: 1fr;
  }

  .ia-article-pager {
    grid-template-columns: 1fr;
  }

  .ia-article-pager-next {
    text-align: left;
  }

  .ia-hero h1 {
    font-size: 40px;
  }

  .ia-results-search {
    flex-direction: column;
  }

  .global-contact-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 56px 20px 42px;
  }

  .global-contact-footer h2 {
    font-size: 40px;
  }

  .global-copyright {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ia-card, .ia-card-wide {
    grid-column: 1 / -1;
  }

}

/* warm theme + enlarged header logos */

:root {
  --demo-primary: #8f1d14;
  --demo-red: #c63d16;
  --demo-orange: #f47c20;
  --demo-surface: #fffaf5;
  --demo-line: #ead8ca;
}

.ia-header {
  background: #fffaf7;
  border-bottom-color: #ead8ca;
}

.ia-header-inner {
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  padding-top: 20px;
  padding-bottom: 12px;
}

.demo-brand-lockup {
  width: 100%;
  min-width: 0;
  gap: 24px;
}

.demo-brand-logo {
  width: 150px;
  height: 68px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}

.ia-nav {
  width: calc(100% - 96px);
}

.hero-gradient, .ia-hero, .ia-page-hero {
  background: linear-gradient(135deg, #8f1d14 0%, #c63d16 58%, #f47c20 130%) !important;
}

.bg-primary, .ia-footer, .ia-photo-caption, .absolute.bg-primary {
  background-color: #8f1d14 !important;
}

.text-primary, .ia-section-title, .ia-content h1, .ia-content h2, .ia-content h3 {
  color: #8f1d14 !important;
}

.text-secondary, .ia-nav-item > a:hover, .group:hover .group-hover\:text-secondary {
  color: #c63d16 !important;
}

.bg-secondary {
  background-color: #c63d16 !important;
}

.border-outline-variant, .border-surface, .ia-card, .ia-feature-detail {
  border-color: #ead8ca !important;
}

.ring-primary\/20 {
  --tw-ring-color: rgba(198, 61, 22, 0.2) !important;
}

@media (max-width: 900px) {
  .demo-brand-lockup {
    gap: 14px;
  }

  .demo-brand-logo {
    width: 132px;
    height: 58px;
  }

  .demo-brand-logo-sie {
    width: 150px;
  }

  .ia-nav {
    width: 100%;
  }

}

/* home warm redesign, based on the provided reference screen */

@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&family=Source+Serif+4:wght@600;700;800&display=swap"); :root {
  --demo-primary: #771307;
  --demo-primary-soft: #982b1c;
  --demo-red: #a33e00;
  --demo-orange: #fd6c1a;
  --demo-surface: #fff8f5;
  --demo-surface-low: #fbf2ed;
  --demo-line: #dfbfba;
  --demo-text: #1e1b18;
  --demo-muted: #58413e;
}

.font-display-lg, .font-headline-lg, .font-title-md, h1, h2, h3, h4 {
  font-family: "Source Serif 4", "Hanken Grotesk", Georgia, serif !important;
  letter-spacing: 0 !important;
}

.font-body-lg, .font-body-md {
  font-family: "Source Sans 3", Inter, system-ui, sans-serif !important;
}

.ia-header {
  position: sticky;
  background: rgba(255, 248, 245, 0.94);
  border-bottom: 1px solid rgba(223, 191, 186, 0.92);
  box-shadow: 0 8px 28px rgba(119, 19, 7, 0.06);
  backdrop-filter: blur(14px);
}

.ia-header-inner {
  max-width: 1280px;
  min-height: 86px;
  padding: 12px 24px;
  gap: 22px;
}

.demo-brand-lockup {
  gap: 14px;
  min-width: 188px;
}

.demo-brand-logo {
  background-size: contain;
  background-position: left center;
}

.ia-nav {
  gap: 22px;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.ia-nav::-webkit-scrollbar {
  display: none;
}

.ia-nav-item > a {
  color: var(--demo-text);
  font: 700 16px/1.2 "Source Sans 3", system-ui, sans-serif;
  padding: 18px 0 14px;
  border-bottom-width: 3px;
}

.ia-nav-item > a:hover, .ia-nav-item > a.is-active {
  color: var(--demo-primary);
  border-bottom-color: var(--demo-orange);
}

.ia-submenu {
  border-color: var(--demo-line);
  background: rgba(255, 248, 245, 0.98);
  box-shadow: 0 18px 40px rgba(119, 19, 7, 0.12);
}

.ia-search summary {
  width: 46px;
  height: 46px;
  color: var(--demo-primary);
  border-color: rgba(223, 191, 186, 0.9);
  background: var(--demo-primary);
}

.ia-search-panel {
  border-color: var(--demo-line);
  background: #fffaf7;
  box-shadow: 0 18px 42px rgba(119, 19, 7, 0.14);
}

.ia-search-panel input {
  background: #fbf2ed;
  border-color: var(--demo-line);
}

.ia-search-panel button {
  background: var(--demo-primary);
}

.hero-gradient {
  min-height: 760px;
  background: radial-gradient(circle at 74% 26%, rgba(253, 108, 26, 0.34), transparent 32%),
    linear-gradient(135deg, #771307 0%, #982b1c 47%, #fd6c1a 120%) !important;
}

.hero-gradient > .relative {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  gap: 64px;
  align-items: center;
}

.hero-gradient > .relative::after {
  content: "";
  display: block;
  min-height: 232px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.22));
  box-shadow: 0 28px 80px rgba(64, 2, 0, 0.22);
  backdrop-filter: blur(14px);
}

.hero-gradient .md\:w-2\/3 {
  width: 100% !important;
}

.hero-gradient span.inline-block {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-radius: 999px;
  padding: 6px 14px;
}

.hero-gradient h1 {
  max-width: 720px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.05;
  font-weight: 800;
}

.hero-gradient h1 span {
  color: #ffb596 !important;
  text-decoration-color: rgba(255, 219, 205, 0.8);
}

.hero-gradient p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84) !important;
  font-size: 20px;
  line-height: 1.8;
}

.hero-gradient .hidden.md\:flex {
  display: none !important;
}

.bg-surface, .bg-background {
  background-color: #fff8f5 !important;
}

.bg-surface-container-low, .bg-surface-container, .bg-surface-container-high {
  background-color: #fbf2ed !important;
}

.text-primary, .group:hover .group-hover\:text-primary {
  color: var(--demo-primary) !important;
}

.text-secondary, .group:hover .group-hover\:text-secondary, .hover\:text-secondary-container:hover {
  color: var(--demo-red) !important;
}

.text-on-surface-variant {
  color: var(--demo-muted) !important;
}

.bg-primary, .absolute.bg-primary, .hover\:bg-primary:hover {
  background-color: var(--demo-primary) !important;
}

.bg-secondary, .hover\:bg-secondary-container:hover {
  background-color: var(--demo-orange) !important;
}

.bg-primary-container {
  background-color: #982b1c !important;
}

.bg-secondary-fixed, .bg-tertiary-fixed {
  background-color: #ffdbcd !important;
}

.text-secondary-fixed-dim, .text-tertiary-fixed-dim {
  color: #ffb596 !important;
}

.border-outline-variant, .border-surface, .border-white {
  border-color: var(--demo-line) !important;
}

main > section:nth-of-type(2) {
  background: #fffaf7 !important;
}

main > section:nth-of-type(2) .gap-16 {
  gap: 80px;
}

main > section:nth-of-type(2) .md\:w-1\/2:first-child::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: 10px;
  background: #ffb4a7;
  transform: rotate(2.5deg);
}

main > section:nth-of-type(2) .rounded-xl.overflow-hidden {
  border-radius: 8px;
  border-color: #fff !important;
  box-shadow: 0 24px 55px rgba(119, 19, 7, 0.2);
}

main > section:nth-of-type(2) img.w-full.h-\[500px\] {
  height: 560px !important;
}

main > section:nth-of-type(2) .absolute.-bottom-6 {
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--demo-primary) !important;
  border: 1px solid var(--demo-line);
  border-radius: 6px;
  box-shadow: 0 18px 38px rgba(119, 19, 7, 0.16);
  backdrop-filter: blur(12px);
}

main > section:nth-of-type(2) .absolute.-bottom-6 h4 {
  color: var(--demo-primary);
}

main > section:nth-of-type(2) .absolute.-bottom-6 p {
  color: var(--demo-muted);
  opacity: 1;
}

main > section:nth-of-type(2) span.text-secondary {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

main > section:nth-of-type(2) h2 {
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.12;
}

main > section:nth-of-type(2) .mt-10 {
  padding-top: 28px;
  border-top: 1px solid var(--demo-line);
}

main > section:nth-of-type(3) {
  background: #fbf2ed !important;
}

main > section:nth-of-type(3) > .max-w-\[1280px\] {
  align-items: flex-end;
}

main > section:nth-of-type(3) h2, main > section:nth-of-type(4) h2 {
  font-size: 40px;
  line-height: 1.18;
}

main > section:nth-of-type(3) .min-w-\[400px\] {
  min-width: 380px;
  border-radius: 4px;
  border-color: var(--demo-line) !important;
  box-shadow: none;
}

main > section:nth-of-type(3) .min-w-\[400px\]:hover {
  box-shadow: 0 18px 45px rgba(119, 19, 7, 0.12);
}

main > section:nth-of-type(3) .h-56 {
  height: 230px;
}

main > section:nth-of-type(3) .absolute.top-4 {
  top: 0;
  left: 0;
  border-radius: 0 0 4px 0;
  background: var(--demo-orange) !important;
}

main > section:nth-of-type(3) button, main > section:nth-of-type(4) button {
  border: 1px solid var(--demo-primary);
  color: var(--demo-primary) !important;
  background: transparent !important;
}

main > section:nth-of-type(4) {
  background: #fffaf7 !important;
}

main > section:nth-of-type(4) .space-y-4 > .p-4 {
  background: #fbf2ed !important;
  border: 0 !important;
  border-radius: 2px;
}

main > section:nth-of-type(4) .w-16.h-16 {
  background: #ffdbcd !important;
  color: var(--demo-primary);
}

main > section:nth-of-type(4) .grid.grid-cols-2.grid-rows-2 > div {
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(119, 19, 7, 0.12);
}

.global-contact-footer {
  background: #efe6e2;
  color: var(--demo-text);
}

.global-contact-footer h2, .global-contact-item strong, .global-map-caption h3 {
  color: var(--demo-primary);
}

.global-contact-map, .global-map-caption {
  border-color: var(--demo-line);
  background: #fff8f5;
}

.global-copyright {
  background: #e9e1dc;
  color: #8b716c;
}

@media (max-width: 1100px) {
  .ia-header-inner {
    flex-wrap: wrap;
  }

  .demo-brand-lockup {
    width: 100%;
  }

  .ia-nav {
    order: 2;
    width: calc(100% - 68px);
    justify-content: flex-start;
  }

  .hero-gradient > .relative {
    grid-template-columns: 1fr;
  }

  .hero-gradient > .relative::after {
    display: none;
  }

}

@media (max-width: 720px) {
  .ia-header-inner {
    min-height: auto;
    padding: 10px 16px;
  }

  .demo-brand-lockup {
    gap: 10px;
  }

  .demo-brand-logo-stm {
    width: 50px;
    height: 48px;
  }

  .demo-brand-logo-sie {
    width: 104px;
    height: 48px;
  }

  .hero-gradient {
    min-height: 620px;
  }

  .hero-gradient h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-gradient p {
    font-size: 18px;
  }

  main > section:nth-of-type(2) .absolute.-bottom-6 {
    position: static;
    margin-top: -88px;
    margin-left: 16px;
    margin-right: 16px;
  }

  main > section:nth-of-type(3) .min-w-\[400px\] {
    min-width: 310px;
  }

}

/* hero stats + reference footer */

.home-hero-inner {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 72px;
  align-items: center;
}

.home-hero-badge {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font: 700 13px/1 "Source Sans 3", sans-serif;
}

.home-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 46px;
  padding: 34px 38px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  box-shadow: 0 28px 80px rgba(64,2,0,.2);
  backdrop-filter: blur(14px);
}

.home-hero-stats span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,.68);
  font-size: 14px;
}

.home-hero-stats strong {
  color: #fff;
  font: 800 42px/1 "Source Serif 4", serif;
}

.global-contact-footer {
  background: #efe6e2 !important;
}

.global-contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.15fr;
  gap: 72px;
}

.global-contact-footer h2, .global-contact-footer h3 {
  margin: 0 0 18px;
  color: #771307;
  font-family: "Source Serif 4", serif;
}

.global-contact-brand p {
  color: #58413e;
  line-height: 1.8;
}

.global-contact-qr {
  width: 82px;
  height: 82px;
  margin-top: 28px;
  display: grid;
  place-items: end center;
  color: #771307;
  font-size: 12px;
  border: 1px solid #dfbfba;
  background: #fff8f5;
}

.global-contact-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 18px;
  margin-bottom: 22px;
}

.global-contact-item .material-symbols-outlined {
  color: #a33e00;
  font-size: 28px;
}

.global-contact-item strong {
  color: #771307;
  font-size: 18px;
}

.global-contact-item p {
  color: #58413e;
  margin-top: 6px;
}

.global-contact-map img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
  border: 1px solid #dfbfba;
  background: #fff8f5;
}

.global-map-caption {
  margin-top: 8px;
  padding: 10px 14px;
  border: 1px solid #dfbfba;
  background: #fff8f5;
  color: #771307;
}

@media (max-width: 980px) {
  .home-hero-inner, .global-contact-inner {
    grid-template-columns: 1fr;
  }

  .home-hero-stats {
    max-width: 520px;
  }

}

/* full homepage reference rebuild, keeping original top navigation */

@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&family=Source+Serif+4:wght@400;600;700;800&display=swap"); :root {
  --ref-primary: #771307;
  --ref-primary-2: #982b1c;
  --ref-orange: #fd6c1a;
  --ref-secondary: #a33e00;
  --ref-bg: #fff8f5;
  --ref-low: #fbf2ed;
  --ref-line: #dfbfba;
  --ref-text: #1e1b18;
  --ref-muted: #58413e;
}

body {
  background: var(--ref-bg) !important;
  color: var(--ref-text);
  font-family: "Source Sans 3",Inter,system-ui,sans-serif;
}

.home-ref-main {
  background: var(--ref-bg);
}

.home-ref-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.home-ref-main h1, .home-ref-main h2, .home-ref-main h3, .home-ref-main h4, .home-ref-footer h2, .home-ref-footer h3 {
  font-family: "Source Serif 4",Georgia,serif;
  letter-spacing: 0;
  color: var(--ref-primary);
}

.home-ref-hero {
  position: relative;
  min-height: 819px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.home-ref-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,#771307 0%,#982b1c 50%,#fd6c1a 100%);
  opacity: .96;
}

.home-ref-hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  /* display: grid; */
  /* grid-template-columns: 1fr minmax(340px,520px);*/
  /*gap: 72px;*/
  align-items: center;
}

.home-ref-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  margin-bottom: 32px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.11);
  color: #fff;
  font: 700 13px/1 "Source Sans 3",sans-serif;
}

.home-ref-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ref-orange);
}

.home-ref-hero h1 {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(48px,6vw,76px);
  line-height: 1.05;
  font-weight: 800;
}

.home-ref-hero h1 em {
  font-style: normal;
  color: #fd6c1a;
}

.home-ref-hero p {
  max-width: 680px;
  color: rgba(255,255,255,.86);
  font-size: 18px;
  line-height: 1.85;
}

.home-ref-stats {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 30px 52px;
  padding: 36px 40px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  box-shadow: 0 28px 80px rgba(64,2,0,.22);
  backdrop-filter: blur(14px);
}

.home-ref-stats span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,.66);
  font-size: 14px;
}

.home-ref-stats strong {
  color: #fff;
  font: 800 42px/1 "Source Serif 4",serif;
}

.home-ref-dean {
  padding: 96px 0;
  background: #fff;
}

.home-ref-dean-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 96px;
  align-items: center;
}

.home-ref-dean-photo-wrap {
  position: relative;
}

.home-ref-dean-tilt {
  position: absolute;
  inset: -16px;
  background: #ffb4a7;
  border-radius: 8px;
  transform: rotate(3deg);
}

.home-ref-dean-photo {
  position: relative;
  margin: 0;
  border: 4px solid #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(119,19,7,.18);
}

.home-ref-dean-photo img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.home-ref-dean-photo figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--ref-line);
  border-radius: 6px;
  box-shadow: 0 18px 38px rgba(119,19,7,.16);
  backdrop-filter: blur(12px);
}

.home-ref-dean-photo strong {
  display: block;
  color: var(--ref-primary);
  font: 700 24px/1.2 "Source Serif 4",serif;
}

.home-ref-dean-photo span {
  display: block;
  margin-top: 5px;
  color: var(--ref-muted);
  font-size: 13px;
}

.home-ref-dean-photo .material-symbols-outlined {
  color: var(--ref-secondary);
  font-size: 34px;
}

.home-ref-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--ref-secondary);
  font: 700 12px/1 "JetBrains Mono",monospace;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.home-ref-dean-copy h2, .home-ref-achievements-copy h2, .home-ref-section-head h2 {
  margin: 0;
  color: var(--ref-primary);
  font-size: clamp(36px,4vw,56px);
  line-height: 1.12;
}

.home-ref-dean-copy p {
  color: var(--ref-muted);
  font-size: 18px;
  line-height: 1.85;
}

.home-ref-signature {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid #e9e1dc;
}

.home-ref-signature span {
  font-family: cursive;
  color: #8b716c;
  font-size: 28px;
}

.home-ref-signature i {
  width: 1px;
  height: 48px;
  background: #e9e1dc;
}

.home-ref-signature b {
  color: var(--ref-muted);
  font: 600 13px/1 "Source Sans 3",sans-serif;
}

.home-ref-news {
  padding: 96px 0;
  background: var(--ref-low);
}

.home-ref-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
}

.home-ref-section-head p {
  max-width: 640px;
  color: var(--ref-muted);
  line-height: 1.7;
}

.home-ref-section-head a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ref-secondary);
  font-weight: 700;
  text-decoration: none;
}

.home-ref-news-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}

.home-ref-news-card {
  background: #fff;
  border: 1px solid var(--ref-line);
  border-radius: 4px;
  overflow: hidden;
  transition: .25s ease;
}

.home-ref-news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(119,19,7,.12);
}

.home-ref-news-image {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.home-ref-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-ref-news-image span {
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px 14px;
  background: var(--ref-primary);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

.home-ref-news-body {
  padding: 28px;
}

.home-ref-news-body time {
  color: #8b716c;
  font-size: 13px;
}

.home-ref-news-body h3 {
  margin: 12px 0;
  color: var(--ref-primary);
  font-size: 21px;
  line-height: 1.35;
}

.home-ref-news-body p {
  color: var(--ref-muted);
  line-height: 1.7;
}

.home-ref-achievements {
  padding: 96px 0;
  background: #fff;
}

.home-ref-achievements-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.home-ref-achievements-copy>p {
  color: var(--ref-muted);
  line-height: 1.75;
}

.home-ref-achievement-list {
  display: grid;
  gap: 16px;
  margin: 36px 0;
}

.home-ref-achievement-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 18px;
  background: var(--ref-low);
}

.home-ref-achievement-list .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: #ffdbcd;
  color: var(--ref-primary);
}

.home-ref-achievement-list h3 {
  margin: 0;
  color: var(--ref-primary);
  font-size: 19px;
}

.home-ref-achievement-list p {
  margin: 6px 0 0;
  color: #8b716c;
  font-size: 13px;
}

.home-ref-outline-btn {
  display: inline-flex;
  padding: 13px 28px;
  border: 1px solid var(--ref-primary);
  color: var(--ref-primary);
  font-weight: 700;
  text-decoration: none;
}

.home-ref-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 270px 270px;
  gap: 24px;
}

.home-ref-bento figure {
  position: relative;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(119,19,7,.12);
}

.home-ref-bento img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-ref-bento figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 22px;
  color: #fff;
  background: linear-gradient(to top,rgba(119,19,7,.8),transparent);
}

.home-ref-bento figcaption span {
  display: block;
  font-size: 13px;
  opacity: .8;
}

.home-ref-bento figcaption strong {
  font-size: 20px;
}

.home-ref-score {
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--ref-primary);
  color: #fff;
  border-radius: 6px;
}

.home-ref-score .material-symbols-outlined {
  color: #ffb961;
}

.home-ref-score strong {
  margin-top: 8px;
}

.home-ref-footer {
  background: #efe6e2;
  color: var(--ref-text);
}

.home-ref-footer-grid {
  padding-top: 72px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.15fr;
  gap: 72px;
}

.home-ref-footer p {
  color: var(--ref-muted);
  line-height: 1.75;
}

.home-ref-qr {
  width: 82px;
  height: 82px;
  margin-top: 28px;
  display: grid;
  place-items: end center;
  padding-bottom: 8px;
  border: 1px solid var(--ref-line);
  background: #fff8f5;
  color: var(--ref-primary);
  font-size: 12px;
}

.home-ref-footer-contact p {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  margin: 18px 0;
}

.home-ref-footer-contact .material-symbols-outlined {
  color: var(--ref-secondary);
}

.home-ref-footer-map img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 1px solid var(--ref-line);
  background: #fff8f5;
}

.home-ref-footer-map>p {
  margin: 8px 0 0;
  padding: 10px 14px;
  border: 1px solid var(--ref-line);
  background: #fff8f5;
  color: var(--ref-primary);
}

.home-ref-copyright {
  padding: 20px;
  text-align: center;
  background: #e9e1dc;
  color: #8b716c;
  font-size: 13px;
}

@media (max-width:980px) {
  .home-ref-hero-grid, .home-ref-dean-grid, .home-ref-achievements-grid, .home-ref-footer-grid {
    grid-template-columns: 1fr;
  }

  .home-ref-news-grid {
    grid-template-columns: 1fr;
  }

  .home-ref-stats {
    max-width: 560px;
  }

  .home-ref-hero {
    min-height: 720px;
  }

  .home-ref-bento {
    grid-template-rows: 240px 240px;
  }

}

@media (max-width:640px) {
  .home-ref-container {
    padding: 0 16px;
  }

  .home-ref-hero h1 {
    font-size: 42px;
  }

  .home-ref-stats {
    grid-template-columns: 1fr 1fr;
    padding: 24px;
  }

  .home-ref-stats strong {
    font-size: 30px;
  }

  .home-ref-dean-photo img {
    height: 420px;
  }

  .home-ref-dean-photo figcaption {
    position: static;
    margin: -92px 16px 18px;
  }

  .home-ref-section-head {
    display: block;
  }

  .home-ref-bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .home-ref-bento figure {
    height: 260px;
  }

  .home-ref-bento-large {
    grid-row: auto;
  }

}

/* adjust achievement bento: put award card beside the third image */

.home-ref-bento {
  grid-template-columns: 1fr 0.72fr 0.72fr !important;
  grid-template-rows: 270px 270px !important;
}

.home-ref-bento-large {
  grid-row: 1 / span 2 !important;
}

.home-ref-bento figure:nth-of-type(2) {
  grid-column: 2 / span 2;
}

.home-ref-bento figure:nth-of-type(3) {
  grid-column: 2;
  grid-row: 2;
}

.home-ref-score {
  grid-column: 3;
  grid-row: 2;
  min-height: 0;
  padding: 22px;
}

@media (max-width: 980px) {
  .home-ref-bento {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 240px 240px 180px !important;
  }

  .home-ref-bento-large {
    grid-row: 1 / span 2 !important;
  }

  .home-ref-bento figure:nth-of-type(2), .home-ref-bento figure:nth-of-type(3), .home-ref-score {
    grid-column: auto;
    grid-row: auto;
  }

}

@media (max-width: 640px) {
  .home-ref-bento {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }

  .home-ref-bento-large, .home-ref-bento figure:nth-of-type(2), .home-ref-bento figure:nth-of-type(3), .home-ref-score {
    grid-column: auto !important;
    grid-row: auto !important;
  }

}

.home-ref-footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.home-ref-footer-logo .demo-brand-logo-stm {
  width: 72px;
  height: 58px;
}

.home-ref-footer-logo .demo-brand-logo-sie {
  width: 132px;
  height: 58px;
}

.home-ref-qr {
  width: 118px;
  height: auto;
  padding: 10px;
  display: block;
  text-align: center;
}

.home-ref-qr img {
  width: 96px;
  height: 96px;
  margin: 0 auto 8px;
}

.home-ref-qr span {
  color: #771307;
  font-size: 13px;
  font-weight: 700;
}

.home-ref-signature img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

/* reduce banner height by 20% */

.home-ref-hero {
  min-height: 655px !important;
}

/* footer logo before title */

.home-ref-footer-brand-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.home-ref-footer-brand-title h2 {
  margin: 0;
}

@media (max-width: 640px) {
  .home-ref-hero {
    min-height: 524px !important;
  }

  .home-ref-footer-brand-title {
    flex-wrap: wrap;
  }

}

/* incubator page reference layout */

.inc-ref-container, .inc-ref-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.inc-ref-hero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 92px;
  background-image: linear-gradient(rgba(255, 248, 245, 0.86), rgba(255, 248, 245, 0.86)), url('https://lh3.googleusercontent.com/aida-public/AB6AXuDGNin7WHtWwG-PBFoZG-hm6GR7iSvSelGPQDT13O67HRqpCr5i4nZAOab4d-8PZLGmaiC64UN04RjymqV7758imXw5gUPWSLAlDi1f9NL7a2dhva7EemgRjGpjJrGeGNAMb2iDrekuh6l7XyrLz2hJ_AnKuS9UnFxPvE5pJoUsWKlrxcu7LLzTV3rGllQ7-jA7Lj0lwrKWHZ3ZJDnSy-b4b9APgAxpqhOkQoUynR9igXz01OSj6tnhfw');
  background-size: cover;
  background-position: center;
}

.inc-ref-hero-copy {
  max-width: 760px;
}

.inc-ref-hero h1 {
  margin: 0 0 24px;
  color: #771307;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.12;
}

.inc-ref-hero p {
  max-width: 720px;
  color: #58413e;
  font-size: 20px;
  line-height: 1.75;
}

.inc-ref-layout {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 96px;
}

.inc-ref-side {
  align-self: start;
  position: sticky;
  top: 110px;
  padding: 16px;
  border: 1px solid #dfbfba;
  border-radius: 8px;
  background: #fbf2ed;
  box-shadow: 0 10px 30px rgba(119, 19, 7, 0.06);
}

.inc-ref-side nav {
  display: grid;
  gap: 8px;
}

.inc-ref-side a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 6px;
  color: #58413e;
  font-weight: 700;
  text-decoration: none;
}

.inc-ref-side a:hover {
  background: #efe6e2;
}

.inc-ref-side a[aria-current="page"] {
  color: #fff;
  background: #771307;
  box-shadow: 0 12px 24px rgba(119, 19, 7, 0.18);
}

.inc-ref-side a[aria-current="page"]:hover {
  background: #771307;
}

.inc-ref-side .material-symbols-outlined {
  font-size: 20px;
}

.inc-ref-content {
  display: grid;
  gap: 48px;
}

.inc-ref-highlight {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  overflow: hidden;
  border-radius: 8px;
  background: #771307;
  color: #fff;
  box-shadow: 0 22px 52px rgba(119, 19, 7, 0.18);
}

.inc-ref-highlight-copy {
  padding: 44px;
}

.inc-ref-highlight h2 {
  margin: 0 0 18px;
  color: #fff;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 34px;
  line-height: 1.2;
}

.inc-ref-highlight p, .inc-ref-highlight li {
  color: rgba(255,255,255,0.9);
  line-height: 1.75;
}

.inc-ref-highlight ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.inc-ref-highlight li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inc-ref-highlight li .material-symbols-outlined {
  color: #ffb596;
}

.inc-ref-highlight-img {
  min-height: 340px;
  background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuDca05cpDrL-VgFGXxOUVIjwXAKd2xuNHVd2oYbbzsptvBKXSmvnKJIJL4ZGx0gI22TcMO22_kzkgqmeb1n1oCpQx4efAgDNexwKqi8nw-rEvEvsrRtVeyCfmg_JDA7m4bWhHqlCUxh8bsOwkSM19w2rKkv6UtUeyBAaa0DOsmhKPrfDRZb3ywc_g4y7qdINo4M_RvJJoT5Vb7h20r80x7uoD5Z0gVw2KtsI-rzUSf2ldLR8EuaBKMsZQ');
  background-size: cover;
  background-position: center;
}

.inc-ref-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.inc-ref-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(119, 19, 7, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(119, 19, 7, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.inc-ref-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(119, 19, 7, 0.1);
}

.inc-ref-card-img {
  min-height: 260px;
  background-size: cover;
  background-position: center;
  transition: transform 0.45s ease;
}

.inc-ref-card:hover .inc-ref-card-img {
  transform: scale(1.04);
}

.inc-ref-card-img-1 {
  background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuDKtTI_PM5X5-y1dv4XrbxpzB8IUSLCD-HDkBNKccOqZ3wuocxwYXK4GFpGtWgaJiAnm5LIt7dLJ5xNamDgPkdsFY8nZigfPJ-_9MdbYD-UFBbOcxKlEB5FOwgabQtZ8KzsgxLta8wwDq6JG80surb9YRjVNpJbHOAV9BCbk1xi8wQ4ANt8pONO8dnuXRlIoxds1BhdauHKRypjVkRhatz7XobbAX854GKYJHVHThc71fpXx3XInd-dUA');
}

.inc-ref-card-img-2 {
  background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuB_D7U3b7EUR72oYa7CXWmkokcvIOHBNKnvJMnbZGNw5pdj8nk_xISiGN4gPp6Pz_ToWKJVS39ezeJaZTfBtFH-0-AbxVE1SUa4tdeKSnoM1HF0OOXJUjS07iwPpT15ts5eRBaTyoP__YRkpC_LyozWfVNjp4TdI0bvMrKohTLsY8tC_fniMmMOeJiXuA5k7RI-E45zD5wCSLLl_VPMDVxdfVYOcxOEh5tZrB9FWIZKenFNDE0Q7oqVLA');
}

.inc-ref-card-img-3 {
  background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuBN-j0HTVP4KOVFtJAvaAbF-XI1059ImgXNvfUPNgtlxdCX5dCDruPNQUGcCP-YBelBXZWYriKD74bHv4Pftjr9KUfZk3BW63HOK2nHSa_18E9IyIDNI_R9bkdqq1ekLY8cyj7LuMEXKuCPv2xY3LqBB90S9Tq0rPwjUTEyWibXEtHQ7YFuPlCpyY4HALtGwi_bprXaQB1u7C3Qw7AN91_o-Im4nhsab_GGe4m6-pQ8LSozy2G6bzr1Pw');
}

.inc-ref-card-wide {
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
}

.inc-ref-card-body {
  padding: 28px;
}

.inc-ref-card-body h3 {
  margin: 0 0 12px;
  color: #771307;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 28px;
  line-height: 1.25;
}

.inc-ref-card-body p {
  color: #58413e;
  line-height: 1.75;
}

.inc-ref-card-body > span {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #dfbfba;
  color: #a33e00;
  font-weight: 700;
}

@media (max-width: 980px) {
  .inc-ref-layout, .inc-ref-highlight, .inc-ref-card-wide {
    grid-template-columns: 1fr;
  }

  .inc-ref-side {
    position: static;
  }

  .inc-ref-cards {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {
  .inc-ref-container, .inc-ref-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

  .inc-ref-hero {
    padding-top: 96px;
    padding-bottom: 64px;
  }

  .inc-ref-highlight-copy, .inc-ref-card-body {
    padding: 24px;
  }

}

/* technology manager reference banner and side nav */

.tm-ref-container, .tm-ref-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.tm-ref-hero {
  position: relative;
  overflow: hidden;
  padding: 128px 0 82px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://lh3.googleusercontent.com/aida-public/AB6AXuAzbsdc6BifklMzi_2y3GgzSL-hdCAzJLH6RotLJIbag0u9gomAo1RbzQyXxedIa9bf74v3AcsClCHf62JLHJ9ZLlR_ccS6gJnsuEYKrGCkiejtBsKhA3Bn-XfK40Iw91xthFxyucxMVV3ck6HaMCerPFT3tr41itNU5K5cxT2LtfeGGMpSA9VvD8N6cKSuFoXyO_bb4IdRI5FYRTjzAEWqvqSw0C1hqaYWNCNiXGDqjkRzSZ3ZxGSqmA');
  background-size: cover;
  background-position: center;
}

.tm-ref-hero-inner {
  text-align: center;
  color: #fff;
}

.tm-ref-hero h1 {
  margin: 0 0 24px;
  color: #fff;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.12;
  font-weight: 700;
}

.tm-ref-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.75;
}

.tm-ref-layout {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 96px;
}

.tm-ref-side {
  align-self: start;
  position: sticky;
  top: 110px;
  padding: 16px;
  border: 1px solid #dfbfba;
  border-radius: 8px;
  background: #fbf2ed;
  box-shadow: 0 10px 30px rgba(119, 19, 7, 0.06);
}

.tm-ref-side nav {
  display: grid;
  gap: 6px;
}

.tm-ref-side a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 6px;
  color: #58413e;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.tm-ref-side a:hover {
  background: #efe6e2;
}

.tm-ref-side a[aria-current="page"] {
  background: #771307;
  color: #fff;
  box-shadow: 0 12px 24px rgba(119, 19, 7, 0.18);
}

.tm-ref-side a[aria-current="page"]:hover {
  background: #771307;
}

.tm-ref-side .material-symbols-outlined {
  font-size: 20px;
}

@media (max-width: 980px) {
  .tm-ref-layout {
    grid-template-columns: 1fr;
  }

  .tm-ref-side {
    position: static;
  }

}

@media (max-width: 640px) {
  .tm-ref-container, .tm-ref-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tm-ref-hero {
    padding-top: 96px;
    padding-bottom: 64px;
  }

  .tm-ref-hero p {
    font-size: 18px;
  }

}

/* technology manager faculty reference cards */

.tm-faculty-section h2 {
  margin: 0 0 28px;
  color: #002b5c;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.15;
}

.tm-faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.tm-faculty-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 32px;
  border: 1px solid rgba(121, 19, 7, 0.08);
  border-top: 4px solid #771307;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(119, 19, 7, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tm-faculty-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(121, 19, 7, 0.08);
}

.tm-faculty-card-secondary {
  border-top-color: #a33e00;
}

.tm-faculty-watermark {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #771307;
  font-size: 88px;
  opacity: 0.05;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48;
  pointer-events: none;
}

.tm-faculty-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.tm-faculty-head img {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border: 2px solid rgba(119, 19, 7, 0.14);
  border-radius: 999px;
  object-fit: cover;
}

.tm-faculty-head h3 {
  margin: 0 0 4px;
  color: #771307;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 24px;
  line-height: 1.2;
}

.tm-faculty-head p {
  margin: 0;
  color: #a33e00;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1.4;
}

.tm-faculty-tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 12px;
  border-radius: 4px;
  background: rgba(163, 62, 0, 0.1);
  color: #a33e00;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1.4;
}

.tm-faculty-card-primary .tm-faculty-tag {
  background: rgba(119, 19, 7, 0.1);
  color: #771307;
}

.tm-faculty-card > p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #58413e;
  font-size: 16px;
  line-height: 1.75;
}

@media (max-width: 640px) {
  .tm-faculty-card {
    padding: 24px;
  }

  .tm-faculty-grid {
    grid-template-columns: 1fr;
  }

}

/* module-specific banner backgrounds */

.inc-ref-hero-about {
  /* background-image: linear-gradient(rgba(255, 248, 245, 0.82), rgba(255, 248, 245, 0.82)), url('sztu-campus.jpg'); */
  background-image: linear-gradient(rgba(255, 248, 245, 0.82), rgba(255, 248, 245, 0.82)), url('banner-news.png');
  background-position: center 45%;
}

.inc-ref-hero-commercialization {
  /* background-image: linear-gradient(rgba(255, 248, 245, 0.82), rgba(255, 248, 245, 0.82)), url('banner-commercialization.png'); */
  background-image: linear-gradient(rgba(255, 248, 245, 0.82), rgba(255, 248, 245, 0.82)), url('banner-news.png');
  background-position: center;
}

.inc-ref-hero-policies {
  /* background-image: linear-gradient(rgba(255, 248, 245, 0.84), rgba(255, 248, 245, 0.84)), url('banner-policies.png'); */
  background-image: linear-gradient(rgba(255, 248, 245, 0.84), rgba(255, 248, 245, 0.84)), url('banner-news.png');
  background-position: center;
}

.inc-ref-hero-project {
  /* background-image: linear-gradient(rgba(255, 248, 245, 0.82), rgba(255, 248, 245, 0.82)), url('list-roadshow.jpg'); */
  background-image: linear-gradient(rgba(255, 248, 245, 0.82), rgba(255, 248, 245, 0.82)), url('banner-news.png');
  background-position: center;
}

.inc-ref-hero-news {
  background-image: linear-gradient(rgba(255, 248, 245, 0.82), rgba(255, 248, 245, 0.82)), url('banner-news.png');
  background-position: center;
}

.inc-ref-hero-entrepreneurs {
  /* background-image: linear-gradient(rgba(255, 248, 245, 0.82), rgba(255, 248, 245, 0.82)), url('banner-entrepreneurs.png'); */
  background-image: linear-gradient(rgba(255, 248, 245, 0.82), rgba(255, 248, 245, 0.82)), url('banner-news.png');
  background-position: center;
}

.inc-ref-hero-links {
  /* background-image: linear-gradient(rgba(255, 248, 245, 0.82), rgba(255, 248, 245, 0.82)), url('sztu-campus-alt.jpg'); */
  background-image: linear-gradient(rgba(255, 248, 245, 0.82), rgba(255, 248, 245, 0.82)), url('banner-news.png');
  background-position: center;
}

.inc-ref-hero-search {
  /* background-image: linear-gradient(rgba(255, 248, 245, 0.84), rgba(255, 248, 245, 0.84)), url('list-innovation.jpg'); */
  background-image: linear-gradient(rgba(255, 248, 245, 0.84), rgba(255, 248, 245, 0.84)), url('banner-news.png');
  background-position: center;
}

/* final top navigation dropdown behavior */

.ia-header {
  z-index: 1000;
  overflow: visible;
}

.ia-header-inner, .ia-nav, .ia-nav-item {
  overflow: visible !important;
}

.ia-nav {
  scrollbar-width: auto;
}

.ia-nav-item {
  position: relative;
}

.ia-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 1200;
  display: grid;
  min-width: 190px;
  gap: 4px;
  padding: 10px;
  border: 1px solid #dfbfba;
  border-radius: 8px;
  background: rgba(255, 248, 245, 0.98);
  box-shadow: 0 18px 40px rgba(119, 19, 7, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.ia-submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.ia-nav-item:hover > .ia-submenu, .ia-nav-item:focus-within > .ia-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.ia-submenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #58413e;
  font: 700 14px/1.25 "Source Sans 3", system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.ia-submenu a:hover {
  color: #771307;
  background: #fff0e9;
}

/* uniform inner-page banner height */

.inc-ref-hero, .tm-ref-hero {
  padding-top: 132px !important;
  padding-bottom: 92px !important;
  min-height: 0 !important;
}

@media (max-width: 640px) {
  .inc-ref-hero, .tm-ref-hero {
    padding-top: 96px !important;
    padding-bottom: 64px !important;
  }

}

/* full header logos from provided artwork */

.ia-header-inner {
  justify-content: center;
}

.demo-brand-lockup {
  width: 100% !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 28px !important;
  margin: 0 auto;
  padding: 2px 96px 6px;
}

.demo-brand-logo-stm {
  width: clamp(260px, 34vw, 430px) !important;
  height: clamp(50px, 6.5vw, 82px) !important;
  background-image: url('logo-technology-managers-full.png') !important;
  background-position: center !important;
  background-size: contain !important;
}

.demo-brand-logo-sie {
  width: clamp(330px, 44vw, 560px) !important;
  height: clamp(50px, 6.5vw, 82px) !important;
  background-image: url('logo-innovation-entrepreneurship-full.png') !important;
  background-position: center !important;
  background-size: contain !important;
}

.ia-nav {
  flex-basis: 100%;
}

.ia-search {
  position: absolute;
  right: 24px;
  top: 22px;
}

@media (max-width: 980px) {
  .demo-brand-lockup {
    justify-content: center;
    gap: 14px !important;
    padding-right: 72px;
    padding-left: 16px;
  }

}

@media (max-width: 640px) {
  .demo-brand-lockup {
    flex-direction: column;
    gap: 8px !important;
    padding-right: 56px;
  }

}

/* reduce provided header logos by 50 percent */

.demo-brand-lockup {
  gap: 14px !important;
  padding-top: 0;
  padding-bottom: 2px;
}

.demo-brand-logo-stm {
  width: clamp(130px, 17vw, 215px) !important;
  height: clamp(25px, 3.25vw, 41px) !important;
}

.demo-brand-logo-sie {
  width: clamp(165px, 22vw, 280px) !important;
  height: clamp(25px, 3.25vw, 41px) !important;
}

@media (max-width: 980px) {
  .demo-brand-logo-stm {
    width: min(21vw, 150px) !important;
    height: 29px !important;
  }

  .demo-brand-logo-sie {
    width: min(24vw, 180px) !important;
    height: 29px !important;
  }

}

@media (max-width: 640px) {
  .demo-brand-logo-stm, .demo-brand-logo-sie {
    width: min(58vw, 220px) !important;
    height: 32px !important;
  }

}

/* swap header logo order and brighten logo area */

.ia-header {
  background: #fffdfb !important;
}

.ia-header-inner {
  background: #fffdfb !important;
}

/* footer logos: smaller and aligned with description text */

.home-ref-footer-brand-title {
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 10px !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.home-ref-footer-brand-title .demo-brand-logo-stm {
  width: 35px !important;
  height: 29px !important;
  background-position: left center !important;
  background-size: contain !important;
}

.home-ref-footer-brand-title .demo-brand-logo-sie {
  width: 67px !important;
  height: 29px !important;
  background-position: left center !important;
  background-size: contain !important;
}

.home-ref-footer-brand p {
  margin-left: 0 !important;
}

/* enlarge footer logos to double current size */

.home-ref-footer-brand-title {
  gap: 24px !important;
  margin-bottom: 24px !important;
}

.home-ref-footer-brand-title .demo-brand-logo-stm {
  width: 106px !important;
  height: 88px !important;
}

.home-ref-footer-brand-title .demo-brand-logo-sie {
  width: 202px !important;
  height: 88px !important;
}

/* reference-style policy list */

.policy-ref-list {
  overflow: hidden;
  border: 1px solid rgba(119, 19, 7, 0.14);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(119, 19, 7, 0.08);
}

.policy-ref-item + .policy-ref-item, .policy-ref-footer {
  border-top: 1px solid #f0e2dd;
}

.policy-ref-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 32px;
  color: inherit;
  text-decoration: none;
  transition: background 0.22s ease;
}

.policy-ref-item a:hover {
  background: #fff8f5;
}

.policy-ref-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.policy-ref-title-line {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.policy-ref-title-line h3 {
  margin: 0;
  color: #00204f;
  font: 800 22px/1.35 "Source Sans 3", Inter, system-ui, sans-serif;
  letter-spacing: 0;
}

.policy-ref-item a:hover h3 {
  color: #8f1208;
}

.policy-ref-copy p {
  margin: 0;
  color: #6f625f;
  font-size: 15px;
  line-height: 1.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.policy-ref-tag {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 8px;
  border-radius: 4px;
  font: 800 10px/1 "Source Sans 3", Inter, system-ui, sans-serif;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.policy-ref-tag-important {
  background: rgba(253, 108, 26, 0.13);
  color: #b43b12;
}

.policy-ref-tag-draft {
  background: rgba(0, 32, 79, 0.08);
  color: #00204f;
}

.policy-ref-meta {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  gap: 8px;
  color: #00204f;
}

.policy-ref-meta time {
  color: #817573;
  font: 700 13px/1.2 "JetBrains Mono", monospace;
}

.policy-ref-meta .material-symbols-outlined {
  color: #8f1208;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.policy-ref-item a:hover .policy-ref-meta .material-symbols-outlined {
  opacity: 1;
  transform: translateX(0);
}

.policy-ref-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 32px;
  color: #817573;
  font-size: 13px;
}

.policy-ref-pages {
  display: flex;
  align-items: center;
  gap: 6px;
}

.policy-ref-pages button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #dfbfba;
  border-radius: 8px;
  background: #fff;
  color: #4f403d;
  font-weight: 800;
}

.policy-ref-pages button.is-active {
  border-color: #8f1208;
  background: #8f1208;
  color: #fff;
}

.policy-ref-pages .material-symbols-outlined {
  font-size: 20px;
}

@media (max-width: 720px) {
  .policy-ref-item a, .policy-ref-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .policy-ref-title-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .policy-ref-copy p {
    white-space: normal;
  }

  .policy-ref-meta {
    justify-items: start;
  }

}

/* match incubator highlight image height to service card image */

.inc-ref-highlight-img {
  min-height: 260px !important;
  height: 260px !important;
  align-self: end;
}

@media (max-width: 980px) {
  .inc-ref-highlight-img {
    align-self: auto;
  }

}

/* homepage hero campus image with red overlay */

.home-ref-hero {
  background-image: url('sztu-campus.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.home-ref-hero-bg {
  background: linear-gradient(135deg, rgba(119, 19, 7, 0.90) 0%, rgba(152, 43, 28, 0.86) 52%, rgba(253, 108, 26, 0.78) 100%) !important;
  opacity: 1 !important;
}

/* incubator highlight card white default hover red */

.inc-ref-highlight {
  align-items: stretch !important;
  background: transparent !important;
  color: var(--ref-text) !important;
  box-shadow: none !important;
  gap: 0 !important;
}

.inc-ref-highlight-copy {
  min-height: 260px !important;
  height: 260px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 30px 44px !important;
  background: #fff !important;
  border: 1px solid #dfbfba !important;
  border-radius: 8px 0 0 8px !important;
  color: var(--ref-text) !important;
  box-shadow: 0 16px 38px rgba(119, 19, 7, 0.08) !important;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease !important;
  overflow: hidden !important;
}

.inc-ref-highlight-copy h2 {
  margin-bottom: 10px !important;
  color: var(--ref-primary) !important;
  font-size: 30px !important;
}

.inc-ref-highlight-copy p, .inc-ref-highlight-copy li {
  color: var(--ref-muted) !important;
  line-height: 1.55 !important;
}

.inc-ref-highlight-copy p {
  margin: 0 !important;
}

.inc-ref-highlight-copy ul {
  gap: 7px !important;
  margin-top: 14px !important;
}

.inc-ref-highlight-copy li .material-symbols-outlined {
  color: var(--ref-secondary) !important;
}

.inc-ref-highlight-more {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  width: fit-content !important;
  margin-top: 14px !important;
  color: var(--ref-primary) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: color .25s ease !important;
}

.inc-ref-highlight-more .material-symbols-outlined {
  font-size: 20px !important;
}

.inc-ref-highlight-copy:hover {
  background: var(--ref-primary) !important;
  color: #fff !important;
  box-shadow: 0 22px 52px rgba(119, 19, 7, 0.18) !important;
  transform: translateY(-4px) !important;
}

.inc-ref-highlight-copy:hover h2, .inc-ref-highlight-copy:hover p, .inc-ref-highlight-copy:hover li, .inc-ref-highlight-copy:hover .inc-ref-highlight-more {
  color: #fff !important;
}

.inc-ref-highlight-copy:hover li .material-symbols-outlined {
  color: #ffb596 !important;
}

.inc-ref-highlight-img {
  min-height: 260px !important;
  height: 260px !important;
  border-radius: 0 8px 8px 0 !important;
}

@media (max-width: 980px) {
  .inc-ref-highlight-copy {
    border-radius: 8px 8px 0 0 !important;
  }

  .inc-ref-highlight-img {
    border-radius: 0 0 8px 8px !important;
  }

}

@media (max-width: 640px) {
  .inc-ref-highlight-copy {
    height: auto !important;
    min-height: 260px !important;
    padding: 24px !important;
  }

}

/* incubator service cards hover red */

.inc-ref-card {
  background: #fff !important;
}

.inc-ref-card-body {
  background: #fff !important;
  color: var(--ref-text) !important;
  transition: background-color .25s ease, color .25s ease !important;
}

.inc-ref-card-body h3 {
  color: var(--ref-primary) !important;
  transition: color .25s ease !important;
}

.inc-ref-card-body p {
  color: var(--ref-muted) !important;
  transition: color .25s ease !important;
}

.inc-ref-card-body > span {
  color: var(--ref-secondary) !important;
  transition: color .25s ease, border-color .25s ease !important;
}

.inc-ref-card:hover .inc-ref-card-body {
  background: var(--ref-primary) !important;
  color: #fff !important;
}

.inc-ref-card:hover .inc-ref-card-body h3, .inc-ref-card:hover .inc-ref-card-body p, .inc-ref-card:hover .inc-ref-card-body > span {
  color: #fff !important;
}

.inc-ref-card:hover .inc-ref-card-body > span {
  border-top-color: rgba(255, 255, 255, 0.32) !important;
}

/* incubator highlight final polish */

.inc-ref-highlight-copy {
  border-color: rgba(119, 19, 7, 0.08) !important;
  box-shadow: 0 8px 28px rgba(119, 19, 7, 0.05) !important;
}

.inc-ref-highlight-more {
  margin-top: 22px !important;
  padding-top: 18px !important;
  border-top: 1px solid #dfbfba !important;
}

.inc-ref-highlight-copy:hover .inc-ref-highlight-more {
  border-top-color: rgba(255, 255, 255, 0.32) !important;
}

/* final pending layout polish */

.inc-ref-card-feature {
  grid-column: 1 / -1 !important;
  grid-template-columns: 1fr 1fr !important;
}

.inc-ref-card-feature .inc-ref-highlight-img {
  min-height: 260px !important;
  height: auto !important;
  border-radius: 0 !important;
  align-self: stretch !important;
}

.inc-ref-card-feature .inc-ref-card-body {
  min-height: 260px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.ia-article-title {
  margin: 26px 0 24px !important;
  text-align: center !important;
  color: var(--demo-primary, #002b5c) !important;
  font-family: var(--demo-font-title, "Hanken Grotesk", sans-serif) !important;
  font-size: clamp(30px, 4vw, 46px) !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

@media (max-width: 980px) {
  .inc-ref-card-feature {
    grid-template-columns: 1fr !important;
  }

}

/* footer intro and qr side by side */

.home-ref-footer-brand {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 150px !important;
  column-gap: 28px !important;
  align-items: start !important;
}

.home-ref-footer-brand-title {
  grid-column: 1 / -1 !important;
}

.home-ref-footer-brand > p {
  grid-column: 1 !important;
  margin: 0 !important;
}

.home-ref-footer-brand .home-ref-qr {
  grid-column: 2 !important;
  grid-row: 2 !important;
  width: 150px !important;
  height: 150px !important;
  margin: 0 !important;
  place-items: center !important;
  padding: 12px !important;
}

.home-ref-footer-brand .home-ref-qr img {
  width: 96px !important;
  height: 96px !important;
}

.home-ref-footer-brand .home-ref-qr span {
  margin-top: 6px !important;
}

@media (max-width: 760px) {
  .home-ref-footer-brand {
    grid-template-columns: 1fr !important;
  }

  .home-ref-footer-brand .home-ref-qr {
    grid-column: 1 !important;
    grid-row: auto !important;
    margin-top: 18px !important;
  }

}

.home-ref-footer-brand, .home-ref-footer-contact, .home-ref-footer-map {
  align-self: start !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.home-ref-footer-brand-title {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  transform: translateX(-30px) !important;
  align-self: start !important;
}

.home-ref-footer-brand-title .demo-brand-logo-stm, .home-ref-footer-brand-title .demo-brand-logo-sie {
  width: 164px !important;
  height: 71px !important;
  background-size: contain !important;
  background-position: left center !important;
}

.home-ref-footer-contact h3, .home-ref-footer-map h3 {
  margin-top: 0 !important;
}

/* use latest supplied logo artwork */

.demo-brand-logo-stm, .home-ref-footer-brand-title .demo-brand-logo-stm, .home-ref-footer-logo .demo-brand-logo-stm {
  background-image: url("../imges/logo1.png") !important;
  width: 260px !important;
  height: 49px !important;
  background-size: contain !important;
  background-position: left center !important;
  background-repeat: no-repeat !important;
}

.demo-brand-logo-sie, .home-ref-footer-brand-title .demo-brand-logo-sie, .home-ref-footer-logo .demo-brand-logo-sie {
  background-image: url("../imges/logo2.png") !important;
  width: 245px !important;
  height: 52px !important;
  background-size: contain !important;
  background-position: left center !important;
  background-repeat: no-repeat !important;
}

.demo-brand-lockup, .home-ref-footer-brand-title, .home-ref-footer-logo {
  align-items: center !important;
}

/* swap latest logo visual order */

.demo-brand-logo-stm, .home-ref-footer-brand-title .demo-brand-logo-stm, .home-ref-footer-logo .demo-brand-logo-stm {
  background-image: url("../imges/logo2.png") !important;
  width: 245px !important;
  height: 52px !important;
}

.demo-brand-logo-sie, .home-ref-footer-brand-title .demo-brand-logo-sie, .home-ref-footer-logo .demo-brand-logo-sie {
  background-image: url("../imges/logo1.png") !important;
  width: 260px !important;
  height: 49px !important;
}

.demo-brand-logo-stm {
  order: 2 !important;
}

.demo-brand-logo-sie {
  order: 1 !important;
}

/* tune latest logo size and spacing */

.demo-brand-lockup {
  gap: 56px !important;
}

.home-ref-footer-map img {
  margin-top: 20px !important;
}

/* footer logos another 95 percent reduction */

.home-ref-footer-brand-title .demo-brand-logo-stm, .home-ref-footer-logo .demo-brand-logo-stm {
  width: 177px !important;
  height: 38px !important;
}

/* single SIE logo in header and footer */

.ia-header .demo-brand-logo-stm, .home-ref-footer-brand-title .demo-brand-logo-stm, .home-ref-footer-logo .demo-brand-logo-stm {
  display: none !important;
}

/* final single-logo compact tune */

.ia-header .ia-header-inner {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

.ia-header .demo-brand-lockup {
  gap: 0 !important;
  min-height: 132px !important;
  height: 132px !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.ia-header .demo-brand-logo-stm, .home-ref-footer-brand-title .demo-brand-logo-stm, .home-ref-footer-logo .demo-brand-logo-stm, .home-ref-footer-brand-title .home-ref-footer-logo {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.ia-header .demo-brand-logo-sie {
  display: block !important;
  width: 820px !important;
  height: 132px !important;
  max-width: calc(100vw - 180px) !important;
  background-image: url("../imges/logo1.png") !important;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.home-ref-footer-brand {
  padding-top: 0 !important;
}

.home-ref-footer-brand-title, .home-ref-footer-logo {
  margin-top: 0 !important;
  margin-bottom: 14px !important;
  gap: 0 !important;
  align-items: flex-start !important;
}

.home-ref-footer-brand-title .demo-brand-logo-sie, .home-ref-footer-logo .demo-brand-logo-sie {
  display: block !important;
  width: 480px !important;
  height: 90px !important;
  max-width: 100% !important;
  background-image: url("../imges/logo1.png") !important;
  background-size: contain !important;
  background-position: left top !important;
  background-repeat: no-repeat !important;
}

/* footer logo lower spacing tune */

.home-ref-footer-brand-title, .home-ref-footer-logo {
  margin-bottom: 0 !important;
}

.home-ref-footer-brand-title + p, .home-ref-footer-logo + p {
  margin-top: -40px !important;
}

/* map address overlay */

.home-ref-footer-map {
  position: relative !important;
}

.home-ref-footer-map img {
  display: block !important;
}

.home-ref-footer-map p {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  margin: 0 !important;
  padding: 14px 18px !important;
  background: rgba(255, 248, 244, 0.86) !important;
  color: #7f1d1d !important;
  border: 0 !important;
  backdrop-filter: blur(6px) !important;
  box-sizing: border-box !important;
}

/* footer text and qr vertical tune */

.home-ref-footer-brand > p {
  transform: translateY(10px) !important;
}

/* footer map caption font size tune */

.home-ref-footer-map p {
  font-size: 12px !important;
}

/* hide footer map address caption */

.home-ref-footer-map p {
  display: none !important;
}

/* footer qr and address micro adjust */

.home-ref-footer-brand .home-ref-qr {
  transform: translateY(-25px) !important;
}

.home-ref-footer-contact p:first-of-type {
  transform: translateY(5px) !important;
}

/* homepage hero size tune */

.home-ref-hero h1 {
  font-size: clamp(42px, 6vw, 70px) !important;
}

.home-ref-stats {
  max-width: 500px !important;
}

/* homepage notices and news carousel */

.home-ref-signature-plain {
  padding-top: 22px !important;
}

.home-ref-notices {
  padding: 88px 0 0;
  background: var(--ref-low);
}

.home-ref-notice-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.home-ref-notice-item {
  display: grid;
  grid-template-columns: 118px 1fr 28px;
  gap: 18px;
  align-items: center;
  min-height: 86px;
  padding: 22px 24px;
  border: 1px solid var(--ref-line);
  border-radius: 6px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.home-ref-notice-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(119, 19, 7, .1);
}

.home-ref-notice-item time {
  color: #8b716c;
  font-weight: 700;
}

.home-ref-notice-item strong {
  color: var(--ref-primary);
  font-size: 19px;
  line-height: 1.35;
}

.home-ref-notice-item .material-symbols-outlined {
  color: var(--ref-secondary);
}

.home-ref-news-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.home-ref-news-carousel::-webkit-scrollbar {
  display: none;
}

.home-ref-news-track {
  display: flex;
  gap: 28px;
  align-items: stretch;
}

.home-ref-news-track .home-ref-news-card {
  flex: 0 0 calc((100% - 56px) / 3);
  scroll-snap-align: start;
}

.home-ref-footer-brand-title, .home-ref-footer-brand > p {
  display: none !important;
}

.home-ref-footer-brand {
  display: flex;
  align-items: flex-start;
}

@media (max-width: 980px) {
  .home-ref-notice-list {
    grid-template-columns: 1fr;
  }

  .home-ref-news-track .home-ref-news-card {
    flex-basis: calc((100% - 28px) / 2);
  }

}

@media (max-width: 640px) {
  .home-ref-notice-item {
    grid-template-columns: 1fr 28px;
    gap: 10px;
  }

  .home-ref-notice-item time {
    grid-column: 1 / -1;
  }

  .home-ref-news-track .home-ref-news-card {
    flex-basis: 100%;
  }

}

.home-ref-qr-group {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  width: 100%;
}

.home-ref-footer-qr-only .home-ref-qr {
  margin-top: 0 !important;
  transform: none !important;
  width: 198px !important;
  height: 166px !important;
  padding: 16px !important;
  place-items: center !important;
  box-sizing: border-box;
}

.home-ref-footer-qr-only .home-ref-qr span {
  margin-top: 8px;
  font-size: 14px !important;
  line-height: 1.2;
  white-space: nowrap;
}

.home-ref-footer-qr-only {
  align-items: flex-start !important;
}

@media (max-width: 980px) {
  .home-ref-footer-grid {
    grid-template-columns: 1fr !important;
  }

}

@media (max-width: 980px) {
  .home-ref-footer-qr-only {
    justify-content: flex-end !important;
  }

  .home-ref-qr-group {
    justify-content: flex-end !important;
  }

}

/* technology manager course detail cards */

.tm-course-intro {
  margin-bottom: 30px;
  padding: 30px 32px;
  border-left: 5px solid #8f1408;
  background: #fff;
  box-shadow: 0 10px 26px rgba(119, 19, 7, 0.05);
}

.tm-course-intro h2 {
  margin: 0;
  color: #771307;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
}

.tm-course-list {
  margin-top: 0;
}

.tm-course-card {
  min-height: 220px;
}

.tm-course-card h3 {
  position: relative;
  z-index: 1;
  margin: 14px 0 12px;
  color: #771307;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 26px;
  line-height: 1.25;
}

/* temporarily hide project application top navigation */

.ia-nav-project-hidden {
  display: none !important;
}

/* temporarily hide innovation links top navigation */

.ia-nav-links-hidden {
  display: none !important;
}

/* home innovation links */

.home-ref-links {
  padding: 82px 0;
  background: #f7fbff;
}

.home-ref-link-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 24px;
}

.home-ref-link-logo-card {
  display: grid;
  min-height: 168px;
  padding: 28px;
  align-content: center;
  justify-items: center;
  gap: 18px;
  color: var(--ref-primary);
  background: #fff;
  border: 1px solid rgba(121, 19, 7, 0.16);
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 32, 79, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-ref-link-logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(121, 19, 7, 0.32);
  box-shadow: 0 18px 40px rgba(119, 19, 7, 0.1);
}

.home-ref-link-logo-card img {
  display: block;
  max-width: 320px;
  width: 100%;
  height: 78px;
  object-fit: contain;
}

.home-ref-link-logo-card span {
  font-weight: 800;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .home-ref-link-logo-card img {
    max-width: 260px;
  }

}

/* technology manager hero right alignment */

.tm-ref-hero-inner {
  text-align: right !important;
}

.tm-ref-hero p {
  margin-left: auto !important;
  margin-right: 0 !important;
}

@media (max-width: 640px) {
  .tm-ref-hero-inner {
    text-align: left !important;
  }

  .tm-ref-hero p {
    margin-left: 0 !important;
  }

}

.ia-header .demo-brand-logo-sztu {
  display: block;
  width: 82px;
  height: 100px;
  flex: 0 0 auto;
  object-fit: contain;
}

@media (max-width: 760px) {
  .ia-header .demo-brand-logo-sie {
    max-width: calc(100vw - 150px) !important;
  }

}

/* SZTU logo separator */

.ia-header .demo-brand-logo-sztu {
  padding-right: 32px;
  margin-right: 4px;
  border-right: 1px solid rgba(0, 32, 79, 0.28);
  box-sizing: content-box;
}

.ia-header .demo-brand-logo-sztu {
  width: 284px !important;
  height: 88px !important;
  padding-right: 38px !important;
  margin-right: 0 !important;
  border-right: 1px solid rgba(0, 32, 79, 0.28);
  box-sizing: content-box;
}

.ia-header .demo-brand-logo-sie {
  max-width: min(884px, calc(100vw - 306px)) !important;
}

@media (max-width: 760px) {
  .ia-header .demo-brand-logo-sztu {
    width: 48px !important;
    height: 59px !important;
    padding-right: 18px !important;
    margin-right: 0 !important;
  }

}

/* SZTU separator final spacing and color */

.ia-header .demo-brand-lockup {
  gap: 58px !important;
}

.ia-header .demo-brand-logo-sztu {
  padding-right: 58px !important;
  border-right: 4px solid #003b8f !important;
}

@media (max-width: 760px) {
  .ia-header .demo-brand-lockup {
    gap: 38px !important;
  }

  .ia-header .demo-brand-logo-sztu {
    padding-right: 38px !important;
  }

}

/* real QR image display */

.home-ref-footer-qr-only .home-ref-qr img {
  background: #fff;
}

/* QR and SZTU separator fine tune */

.ia-header .demo-brand-logo-sztu {
  border-right-width: 2px !important;
}

.home-ref-footer-qr-only .home-ref-qr {
  width: 226px !important;
  height: 202px !important;
  padding: 18px 20px !important;
}

.home-ref-footer-qr-only .home-ref-qr img {
  width: 132px !important;
  height: 132px !important;
  object-fit: cover !important;
}

@media (max-width: 980px) {
  .home-ref-qr-group {
    margin-left: auto !important;
    margin-right: 0 !important;
  }

}

@media (max-width: 640px) {
  .home-ref-qr-group {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px !important;
  }

  .home-ref-footer-qr-only .home-ref-qr {
    width: 100% !important;
    height: 176px !important;
  }

  .home-ref-footer-qr-only .home-ref-qr img {
    width: 112px !important;
    height: 112px !important;
  }

}

/* QR card background */

.home-ref-footer-qr-only .home-ref-qr {
  background: #ffffff !important;
}

/* homepage notices split layout */

.home-ref-notices-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .85fr);
  gap: 42px;
  align-items: stretch;
}

.home-ref-notices .home-ref-notice-list {
  grid-template-columns: 1fr !important;
  gap: 16px !important;
}

.home-ref-notices .home-ref-notice-item {
  min-height: 92px;
}

.home-ref-notice-feature {
  position: relative;
  min-height: 100%;
  padding: 42px 38px;
  border: 1px solid var(--ref-line);
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, #fff8f5 62%, #f7e7df 100%);
}

.home-ref-notice-feature h2 {
  margin: 0;
  font-size: clamp(42px, 4vw, 62px);
  line-height: 1.08;
}

.home-ref-notice-feature p {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin: 22px 0 30px;
  color: var(--ref-muted);
  font-size: 17px;
  line-height: 1.75;
}

.home-ref-notice-feature a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ref-secondary);
  font-weight: 800;
  text-decoration: none;
}

.home-ref-notice-art {
  position: absolute;
  right: 30px;
  bottom: 26px;
  width: 158px;
  height: 158px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(143, 22, 12, .24);
  border-radius: 6px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 22px 48px rgba(119, 19, 7, .10);
}

.home-ref-notice-art::before, .home-ref-notice-art::after {
  content: "";
  position: absolute;
  background: #8f160c;
  opacity: .18;
}

.home-ref-notice-art::before {
  width: 92px;
  height: 2px;
  left: -52px;
  top: 42px;
}

.home-ref-notice-art::after {
  width: 2px;
  height: 86px;
  right: 34px;
  top: -36px;
}

.home-ref-notice-art .material-symbols-outlined {
  color: var(--ref-primary);
  font-size: 76px;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 48;
}

@media (max-width: 980px) {
  .home-ref-notice-feature {
    order: -1;
    min-height: 260px;
  }

}

@media (max-width: 640px) {
  .home-ref-notice-feature {
    padding: 34px 24px;
  }

  .home-ref-notice-art {
    width: 112px;
    height: 112px;
    right: 18px;
    bottom: 18px;
  }

}

/* innovation links five-column logo grid */

.home-ref-link-logo-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.home-ref-link-logo-card {
  min-height: 150px !important;
  padding: 22px 16px !important;
}

.home-ref-link-logo-card img {
  max-width: 150px !important;
  height: 62px !important;
}

.home-ref-link-logo-card span {
  font-size: 15px;
}

@media (max-width: 1100px) {
  .home-ref-link-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

}

@media (max-width: 760px) {
  .home-ref-link-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

}

@media (max-width: 520px) {
  .home-ref-link-logo-grid {
    grid-template-columns: 1fr !important;
  }

}

/* homepage notices refined three-item layout */

.home-ref-notices-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr) !important;
  align-items: stretch !important;
}

.home-ref-notices .home-ref-notice-list {
  align-content: stretch !important;
}

.home-ref-notices .home-ref-notice-item {
  grid-template-columns: 56px 1fr 28px !important;
  gap: 18px !important;
  min-height: 112px !important;
  padding: 20px !important;
  background: var(--ref-low) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.home-ref-notices .home-ref-notice-item:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 30px rgba(119, 19, 7, .08) !important;
}

.home-ref-notice-icon {
  display: grid !important;
  place-items: center !important;
  width: 56px !important;
  height: 56px !important;
  background: #ffdbcd !important;
  color: var(--ref-primary) !important;
  font-size: 28px !important;
}

.home-ref-notice-item div {
  min-width: 0;
}

.home-ref-notices .home-ref-notice-item time {
  display: block;
  margin-top: 7px;
  color: #8b716c;
  font-size: 13px;
  font-weight: 600;
}

.home-ref-notices .home-ref-notice-item > .material-symbols-outlined:last-child {
  color: var(--ref-secondary);
}

.home-ref-notice-feature {
  display: flex !important;
  flex-direction: column !important;
  padding: 6px 8px 0 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.home-ref-notice-feature p {
  margin-bottom: 28px !important;
}

.home-ref-notice-feature a {
  margin-top: auto !important;
  align-self: flex-start !important;
  padding-bottom: 8px;
}

.home-ref-notice-art {
  right: 8px !important;
  bottom: 56px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: .72;
}

@media (max-width: 980px) {
  .home-ref-notices-layout {
    grid-template-columns: 1fr !important;
  }

  .home-ref-notice-feature {
    min-height: 260px !important;
    padding: 0 !important;
  }

}

@media (max-width: 640px) {
  .home-ref-notices .home-ref-notice-item {
    grid-template-columns: 48px 1fr 24px !important;
    min-height: 102px !important;
    padding: 16px !important;
  }

  .home-ref-notice-icon {
    width: 48px !important;
    height: 48px !important;
    font-size: 24px !important;
  }

}

/* footer overlap fix */

.home-ref-footer-grid {
  grid-template-columns: 470px minmax(320px, 1fr) minmax(360px, 1.05fr) !important;
  gap: 36px !important;
}

.home-ref-footer-qr-only {
  min-width: 0 !important;
  justify-content: flex-start !important;
}

.home-ref-qr-group {
  width: 100% !important;
  max-width: 470px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  gap: 18px !important;
  justify-content: flex-start !important;
}

.home-ref-footer-qr-only .home-ref-qr {
  width: 226px !important;
  flex: 0 0 226px !important;
}

.home-ref-footer-contact {
  min-width: 0 !important;
}

.home-ref-footer-contact p {
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .home-ref-footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .home-ref-footer-qr-only {
    grid-column: 1 / -1;
  }

}

@media (max-width: 760px) {
  .home-ref-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

}

/* notices background and button position tune */

.home-ref-notices {
  background: #ffffff !important;
}

.home-ref-notice-feature a {
  transform: translateY(-56px);
}

@media (max-width: 980px) {
  .home-ref-notice-feature a {
    margin-top: 8px !important;
    transform: translateY(-24px);
  }

}

@media (max-width: 640px) {
  .home-ref-notice-feature a {
    transform: translateY(-16px);
  }

}

/* footer vertical balance */

.home-ref-footer-grid {
  align-items: center !important;
  padding-top: 66px !important;
  padding-bottom: 66px !important;
}

.home-ref-footer-brand, .home-ref-footer-contact, .home-ref-footer-map {
  align-self: center !important;
}

.home-ref-footer-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-ref-footer-map {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-ref-footer-map img {
  height: 190px !important;
  object-fit: cover !important;
}

.home-ref-footer-map > p {
  display: none !important;
}

@media (max-width: 1180px) {
  .home-ref-footer-grid {
    align-items: start !important;
  }

  .home-ref-footer-brand, .home-ref-footer-contact, .home-ref-footer-map {
    align-self: start !important;
  }

}

/* notices final pale background match achievements */

.home-ref-main .home-ref-notices, .home-ref-main .home-ref-notices-layout, .home-ref-main .home-ref-notices .home-ref-notice-item {
  background: #ffffff !important;
}

.home-ref-main .home-ref-notices .home-ref-notice-item:last-child {
  border-bottom: 0 !important;
}

/* notice items keep pale card background */

.home-ref-main .home-ref-notices .home-ref-notice-item {
  background: #fbf2ed !important;
}

/* notice more bordered button */

.home-ref-notice-feature .home-ref-notice-more {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px;
  padding: 0 24px !important;
  border: 1px solid var(--ref-primary) !important;
  color: var(--ref-primary) !important;
  background: transparent !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

.home-ref-notice-feature .home-ref-notice-more:hover {
  background: var(--ref-primary) !important;
  color: #ffffff !important;
}

/* compact notice block and matching button size */

.home-ref-notices {
  padding: 68px 0 0 !important;
}

.home-ref-notices-layout {
  gap: 34px !important;
}

.home-ref-notices .home-ref-notice-list {
  gap: 12px !important;
}

.home-ref-main .home-ref-notices .home-ref-notice-item {
  min-height: 88px !important;
  padding: 16px 20px !important;
  border-bottom: 0 !important;
}

.home-ref-notice-icon {
  width: 48px !important;
  height: 48px !important;
  font-size: 24px !important;
}

.home-ref-notice-feature {
  padding-top: 0 !important;
}

.home-ref-notice-feature .home-ref-notice-more {
  min-height: 0 !important;
  padding: 13px 28px !important;
  line-height: 1.2 !important;
}

@media (max-width: 640px) {
  .home-ref-main .home-ref-notices .home-ref-notice-item {
    min-height: 82px !important;
    padding: 14px 16px !important;
  }

}

/* header academy logo gap tune */

.ia-header .demo-brand-logo-sie {
  background-image: url("../imges/logo1-tight.png") !important;
}

/* notice section vertical spacing balance */

.home-ref-notices {
  padding-top: 68px !important;
  padding-bottom: 68px !important;
}

.home-ref-notice-feature {
  justify-content: center !important;
}

@media (max-width: 640px) {
  .home-ref-notices {
    padding-top: 54px !important;
    padding-bottom: 54px !important;
  }

}

/* notice more button aligns with last item */

.home-ref-notices-layout {
  align-items: stretch !important;
}

.home-ref-notice-feature {
  justify-content: flex-start !important;
  min-height: 100% !important;
}

.home-ref-notice-feature .home-ref-notice-more {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  transform: none !important;
}

@media (min-width: 761px) and (max-width: 980px) {
  .home-ref-notices-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr) !important;
    align-items: stretch !important;
  }

  .home-ref-notice-feature {
    order: 0 !important;
    min-height: 100% !important;
    padding: 0 8px 0 18px !important;
  }

  .home-ref-notice-feature .home-ref-notice-more {
    margin-top: auto !important;
    transform: none !important;
  }

}

@media (max-width: 760px) {
  .home-ref-notice-feature .home-ref-notice-more {
    margin-top: 20px !important;
    transform: none !important;
  }

}

/* SZTU logo and separator vertical centering */

.ia-header .demo-brand-lockup {
  align-items: center !important;
}

.ia-header .demo-brand-logo-sztu {
  align-self: center !important;
  object-position: center center !important;
  border-right: 0 !important;
  background-image: linear-gradient(#003b8f, #003b8f) !important;
  background-repeat: no-repeat !important;
  background-size: 2px 68px !important;
  background-position: right center !important;
}

@media (max-width: 760px) {
  .ia-header .demo-brand-logo-sztu {
    background-size: 2px 39px !important;
  }

}

/* technology manager faculty portrait layout */

.tm-faculty-watermark {
  display: none !important;
}

.tm-faculty-head {
  flex-direction: row-reverse !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 24px !important;
  margin-bottom: 18px !important;
}

.tm-faculty-head img {
  width: 104px !important;
  height: 104px !important;
  flex: 0 0 104px !important;
  border-width: 3px !important;
  box-shadow: 0 12px 26px rgba(119, 19, 7, 0.12) !important;
}

.tm-faculty-head > div {
  min-width: 0 !important;
  padding-top: 8px !important;
}

@media (max-width: 640px) {
  .tm-faculty-head img {
    width: 84px !important;
    height: 84px !important;
    flex-basis: 84px !important;
  }

}

/* technology manager faculty larger portraits and inline tags */

.tm-faculty-head img {
  width: 208px !important;
  height: 208px !important;
  flex: 0 0 208px !important;
}

.tm-faculty-head > div {
  display: flex !important;
  min-height: 208px !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  padding-top: 18px !important;
}

.tm-faculty-head .tm-faculty-tag {
  margin-top: 22px !important;
  margin-bottom: 0 !important;
}

.tm-faculty-card > .tm-faculty-tag {
  display: none !important;
}

@media (max-width: 760px) {
  .tm-faculty-head img {
    width: 148px !important;
    height: 148px !important;
    flex-basis: 148px !important;
  }

  .tm-faculty-head > div {
    min-height: 148px !important;
    padding-top: 10px !important;
  }

}

@media (max-width: 520px) {
  .tm-faculty-head {
    flex-direction: column !important;
  }

  .tm-faculty-head img {
    width: 132px !important;
    height: 132px !important;
    flex-basis: 132px !important;
  }

  .tm-faculty-head > div {
    min-height: 0 !important;
  }

}

/* news carousel label colors */

.home-ref-news-image .home-ref-news-label-info {
  background: #003b8f !important;
  color: #ffffff !important;
}

.home-ref-news-image .home-ref-news-label-startup {
  background: #8f1408 !important;
  color: #ffffff !important;
}

/* excellence course image cards */

.tm-course-news-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 28px !important;
}

.tm-course-news-card {
  min-height: 0 !important;
}

.tm-course-news-card .home-ref-news-image {
  height: 220px !important;
}

.tm-course-news-card .home-ref-news-image span {
  background: #8f1408 !important;
}

.tm-course-news-card .home-ref-news-body h3 {
  margin-top: 0 !important;
  font-size: 26px !important;
}

.tm-course-news-card .home-ref-news-body p {
  margin-bottom: 0 !important;
}

@media (max-width: 820px) {
  .tm-course-news-grid {
    grid-template-columns: 1fr !important;
  }

}

/* excellence course card color refinement */

.tm-course-news-card {
  border-color: #d9dde5 !important;
}

.tm-course-news-card .home-ref-news-body h3 {
  color: #00204f !important;
}

/* excellence course card hover stays still */

.tm-course-news-card {
  box-shadow: 0 14px 34px rgba(119, 19, 7, 0.12) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.tm-course-news-card:hover {
  transform: none !important;
  border-color: #8f1408 !important;
  box-shadow: 0 14px 34px rgba(119, 19, 7, 0.12) !important;
}

/* header search icon from attachment */

.ia-search summary .material-symbols-outlined {
  display: block !important;
  width: 30px !important;
  height: 30px !important;
  font-size: 0 !important;
  background: #8f1408 !important;
  -webkit-mask: url("search-fuzzy.svg") center / contain no-repeat;
  mask: url("search-fuzzy.svg") center / contain no-repeat;
}

.ia-search summary {
  color: #8f1408 !important;
  border-color: rgba(143, 20, 8, .28) !important;
}

.ia-search summary:hover {
  border-color: #8f1408 !important;
}

/* homepage notice feature icon direction */

.home-ref-notice-art .material-symbols-outlined {
  font-size: 152px !important;
  transform: scaleX(-1) !important;
  transform-origin: center !important;
}

@media (max-width: 640px) {
  .home-ref-notice-art .material-symbols-outlined {
    font-size: 108px !important;
  }

}

/* homepage achievement hover interactions */

.home-ref-achievement-list article, .home-ref-bento figure, .home-ref-score {
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
  will-change: transform;
}

.home-ref-achievement-list article:hover {
  transform: translateY(-6px);
  background: #fff8f5;
  box-shadow: 0 18px 38px rgba(119, 19, 7, .12);
}

.home-ref-bento figure:hover, .home-ref-score:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 52px rgba(119, 19, 7, .18);
}

.home-ref-bento figure img {
  transition: transform .35s ease;
}

.home-ref-bento figure:hover img {
  transform: scale(1.045);
}

.home-ref-bento figure:hover figcaption {
  background: linear-gradient(to top, rgba(119, 19, 7, .92), rgba(119, 19, 7, .08));
}

.home-ref-score:hover {
  background: #a92814;
}

/* keep achievement list icons unchanged on hover */

.home-ref-achievement-list article:hover .material-symbols-outlined {
  background: #ffdbcd !important;
  color: var(--ref-primary) !important;
}

/* tech achievements button hover */

.home-ref-achievements .home-ref-outline-btn {
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.home-ref-achievements .home-ref-outline-btn:hover {
  background: #8f1408 !important;
  border-color: #8f1408 !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(143, 20, 8, .18);
}

/* homepage dean detail button */

.home-ref-dean .home-ref-signature-plain {
  justify-content: space-between !important;
  align-items: center !important;
}

.home-ref-dean-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 13px 28px;
  border: 1px solid var(--ref-primary);
  color: var(--ref-primary);
  font-weight: 800;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.home-ref-dean-more:hover {
  background: #8f1408;
  border-color: #8f1408;
  color: #fff;
  box-shadow: 0 14px 28px rgba(143, 20, 8, .18);
}

@media (max-width: 640px) {
  .home-ref-dean .home-ref-signature-plain {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

}

/* mobile header fix (2026-09): a leftover column-stack rule for .demo-brand-lockup
   from an old design (~line 2876) never got updated when the header switched to a
   single combined logo image + fixed 132px row height, so on narrow screens the
   two logo elements stacked inside a box too short to hold them, pushing the SZTU
   shield above the visible header and squashing the combined logo into a thin sliver.
   This block forces the row layout back and gives both logos sane, proportional
   mobile sizes instead. It also makes the main nav horizontally scrollable, since
   it was overflowing the viewport with no wrap and no way to reach the hidden items. */

@media (max-width: 640px) {
  .ia-header .demo-brand-lockup {
    flex-direction: row !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }

  .ia-header .demo-brand-logo-sztu {
    width: 40px !important;
    height: 48px !important;
    padding-right: 12px !important;
  }

  .ia-header .demo-brand-logo-sie {
    width: auto !important;
    height: 48px !important;
    max-width: calc(100vw - 140px) !important;
  }

  .ia-header .ia-nav {
    flex-basis: 100% !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    justify-content: flex-start !important;
    white-space: nowrap !important;
  }

}

/* mobile search panel fix (2026-09): .ia-search-panel is positioned relative to the
   small search icon (.ia-search), anchored with "top: calc(100% + 12px)". On mobile
   the panel's own content (~154px tall) no longer fits in the gap between the icon
   and the header's real bottom edge (the header got taller once the logo/nav mobile
   fix above made it wrap to two rows), so the dropdown spilled out of the header and
   overlapped the hero heading beneath it. Turning it into a fixed sheet anchored just
   below the header, with a dimming backdrop, keeps it fully inside the header's own
   box on any page and makes it read as an intentional overlay instead of a glitch.
   145px = current header height (137px, see .ia-header) + an 8px gap; update this if
   the mobile header height above changes again.
   The backdrop starts at that same 145px line (not inset:0/top:0) rather than
   covering the whole viewport: .ia-header is a positioned element with its own
   z-index, so a fixed, full-viewport backdrop nested under it (via ::before) gets
   painted inside the header's own stacking context, on top of the header's own
   content -- including the summary icon that's supposed to close it. That silently
   ate every tap on the icon, so once opened the panel could never be closed again.
   Starting the backdrop below the header sidesteps the whole stacking fight. */

@media (max-width: 640px) {
  .ia-search[open]::before {
    content: "";
    position: fixed;
    top: 145px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 20, .45);
    z-index: 900;
  }

  .ia-search-panel {
    position: fixed !important;
    top: 145px !important;
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
    z-index: 950 !important;
  }

}

/* news carousel controls (2026-09): the carousel already auto-advanced via
   JS, but with no arrows/dots/hover-pause it just silently shifted every
   5s with zero visual sign it was a carousel at all -- easy to mistake for
   "not implemented" on a quick look. Adds real controls on top of it. */
.home-ref-news-carousel {
  position: relative;
}

.home-ref-carousel-arrow {
  position: absolute;
  top: 49%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ref-line, #dfbfba);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ref-primary, #771307);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(119, 19, 7, 0.16);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.home-ref-carousel-arrow:hover {
  background: var(--ref-primary, #771307);
  color: #fff;
}

.home-ref-carousel-prev {
  left: 12px;
}

.home-ref-carousel-next {
  right: 12px;
}

@media (max-width: 900px) {
  .home-ref-carousel-arrow {
    display: none;
  }
}

.home-ref-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.home-ref-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--ref-line, #dfbfba);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-ref-carousel-dot.is-active {
  background: var(--ref-primary, #771307);
  transform: scale(1.3);
}

/* hero banner carousel (2026-09): .home-ref-hero is a flex row, so when a
   second .home-ref-hero-grid slide was added it simply sat side by side with
   the first instead of behaving like a slideshow. Stack every slide on top of
   each other and fade between them, so any number of slides works and a
   single-slide hero still renders exactly as before. */
.home-ref-hero > .home-ref-hero-grid {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
  z-index: 1;
}

.home-ref-hero > .home-ref-hero-grid.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* a hero with only one slide keeps its original in-flow layout */
.home-ref-hero.is-single-slide > .home-ref-hero-grid {
  position: relative;
  top: auto;
  transform: none;
  opacity: 1;
  visibility: visible;
}

.home-ref-hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.home-ref-hero.is-single-slide .home-ref-hero-dots {
  display: none;
}

.home-ref-hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, width 0.2s ease;
}

.home-ref-hero-dot:hover {
  background: rgba(255, 255, 255, 0.75);
}

.home-ref-hero-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: #fff;
}

/* hero banner carousel: full-bleed image slides (2026-09)
   When the slides are images fed by a Boda <#list> loop instead of the
   original text + stats layout, they have to cover the whole hero exactly
   like .home-ref-hero-bg does. The slide div usually still carries
   .home-ref-container, whose max-width:1280px + side padding would letterbox
   the image instead, so those constraints are cleared here.

   Add .home-ref-hero-slide-img to the slide div to opt in. The :has() rules
   further down do the same thing automatically for a slide whose child is an
   <img>, but they are deliberately kept as SEPARATE rules: a comma-separated
   selector list is discarded wholesale by any browser that doesn't recognise
   one of its parts, so pairing them would let missing :has() support take the
   class-based rules down with it. */
.home-ref-hero > .home-ref-hero-slide-img {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  transform: none;
}

/* !important because the CMS image component emits the <img> with its own
   inline width (measured 1313px on the live page while the slide div around
   it was correctly 1905px), and an inline style outranks any normal rule
   here no matter how specific the selector is. */
.home-ref-hero > .home-ref-hero-slide-img img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
}

/* a single image slide still needs to fill the hero, so keep it absolute
   rather than falling back to the in-flow single-slide layout */
.home-ref-hero.is-single-slide > .home-ref-hero-slide-img {
  position: absolute;
  opacity: 1;
  visibility: visible;
}

/* the image itself can be stretched without knowing anything about the parent,
   so this one needs no :has() and covers untagged slides too. Same !important
   reasoning as above: it has to beat the CMS's inline width on the <img>. */
.home-ref-hero > .home-ref-hero-grid > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
}

/* :has() versions: same effect without the extra class, on browsers that
   support it. Isolated on purpose -- see the note above. */
.home-ref-hero > .home-ref-hero-grid:has(> img) {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  transform: none;
}

.home-ref-hero.is-single-slide > .home-ref-hero-grid:has(> img) {
  position: absolute;
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   搜索结果页 (search.html / search.boda.html)
   ========================================================================== */

.search-ref-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 32px;
  padding: 56px 0 72px;
}

/* --- 结果统计条 --- */

.search-ref-summary {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f0e2dd;
}

.search-ref-summary p {
  margin: 0;
  color: #6f625f;
  font-size: 15px;
}

.search-ref-summary strong {
  color: #8f1208;
  font-weight: 800;
}

.search-ref-summary .search-ref-count {
  color: #00204f;
  font: 800 20px/1.3 "Source Sans 3", Inter, system-ui, sans-serif;
  margin-right: 4px;
}

/* --- 栏目筛选 --- */

.search-ref-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.search-ref-filter {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  color: #6f625f;
  background: #fff;
  border: 1px solid rgba(119, 19, 7, 0.16);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.search-ref-filter:hover {
  color: #8f1208;
  border-color: rgba(143, 18, 8, 0.4);
}

.search-ref-filter.is-active {
  color: #fff;
  background: #8f1208;
  border-color: #8f1208;
}

/* --- 结果列表 --- */

.search-ref-list {
  overflow: hidden;
  border: 1px solid rgba(119, 19, 7, 0.14);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(119, 19, 7, 0.08);
}

.search-ref-item + .search-ref-item {
  border-top: 1px solid #f0e2dd;
}

.search-ref-item > a {
  display: grid;
  gap: 10px;
  padding: 26px 30px;
  color: inherit;
  text-decoration: none;
  transition: background 0.22s ease;
}

.search-ref-item > a:hover {
  background: #fff8f5;
}

.search-ref-item h3 {
  margin: 0;
  color: #00204f;
  font: 800 20px/1.4 "Source Sans 3", Inter, system-ui, sans-serif;
  transition: color 0.22s ease;
}

.search-ref-item > a:hover h3 {
  color: #8f1208;
}

/* 关键词高亮：博达检索组件通常输出 <font color> 或 <em>，这里一并兜住 */

.search-ref-item mark,
.search-ref-item em,
.search-ref-item font[color] {
  padding: 0 2px;
  color: #8f1208 !important;
  background: rgba(253, 108, 26, 0.16);
  border-radius: 3px;
  font-style: normal;
  font-weight: 700;
}

.search-ref-snippet {
  margin: 0;
  color: #6f625f;
  font-size: 15px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-ref-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #817573;
  font-size: 13px;
}

.search-ref-meta .search-ref-column {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  color: #00204f;
  background: rgba(0, 32, 79, 0.08);
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
}

.search-ref-meta time {
  font: 700 13px/1.2 "JetBrains Mono", monospace;
}

.search-ref-meta .search-ref-sep {
  color: #d8c8c3;
}

/* --- 空结果 --- */

.search-ref-empty {
  padding: 64px 32px;
  text-align: center;
  border: 1px solid rgba(119, 19, 7, 0.14);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(119, 19, 7, 0.08);
}

.search-ref-empty .ia-icon-svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  background-color: #e0cfc9;
}

.search-ref-empty h3 {
  margin: 0 0 10px;
  color: #00204f;
  font: 800 20px/1.4 "Source Sans 3", Inter, system-ui, sans-serif;
}

.search-ref-empty p {
  margin: 0 auto;
  max-width: 420px;
  color: #6f625f;
  font-size: 15px;
  line-height: 1.75;
}

/* --- 分页 --- */

.search-ref-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.search-ref-pager a,
.search-ref-pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  color: #6f625f;
  background: #fff;
  border: 1px solid rgba(119, 19, 7, 0.16);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.search-ref-pager a:hover {
  color: #8f1208;
  border-color: rgba(143, 18, 8, 0.4);
}

.search-ref-pager .is-current {
  color: #fff;
  background: #8f1208;
  border-color: #8f1208;
}

.search-ref-pager .is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* --- 侧栏 --- */

.search-ref-side {
  display: grid;
  gap: 20px;
}

.search-ref-panel {
  padding: 24px;
  border: 1px solid rgba(119, 19, 7, 0.14);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(119, 19, 7, 0.08);
}

.search-ref-panel h3 {
  margin: 0 0 14px;
  color: #00204f;
  font: 800 16px/1.4 "Source Sans 3", Inter, system-ui, sans-serif;
}

.search-ref-panel p {
  margin: 0;
  color: #6f625f;
  font-size: 14px;
  line-height: 1.75;
}

.search-ref-hotwords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-ref-hotwords a {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  color: #6f625f;
  background: #fff8f5;
  border: 1px solid rgba(119, 19, 7, 0.12);
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.search-ref-hotwords a:hover {
  color: #fff;
  background: #8f1208;
  border-color: #8f1208;
}

.search-ref-quicklinks {
  display: grid;
  gap: 2px;
}

.search-ref-quicklinks a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  color: #00204f;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #f6ece9;
  transition: color 0.2s ease;
}

.search-ref-quicklinks a:last-child {
  border-bottom: 0;
}

.search-ref-quicklinks a:hover {
  color: #8f1208;
}

.search-ref-quicklinks .ia-icon-svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

/* --- 响应式 --- */

@media (max-width: 1024px) {
  .search-ref-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 40px 0 56px;
  }
}

@media (max-width: 640px) {
  .search-ref-item > a {
    padding: 20px 18px;
  }

  .search-ref-item h3 {
    font-size: 17px;
  }

  .search-ref-snippet {
    font-size: 14px;
  }

  .search-ref-panel {
    padding: 18px;
  }

  .search-ref-empty {
    padding: 44px 20px;
  }

  .search-ref-pager a,
  .search-ref-pager span {
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    font-size: 13px;
  }
}


/* ===== 覆盖博达分页容器（SVG版·无空格） ===== */
.pb_sys_common {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 20px;
    padding: 0;
    font-family: "Source Sans 3", Inter, system-ui, sans-serif;
    color: #817573;
    font-size: 13px;
    line-height: 1;
    text-align: right;
}

/* 隐藏“共X条” */
.pb_sys_common .p_t,
.pb_sys_common .p_total,
.pb_sys_common .p_info,
.pb_sys_common span:first-child {
    display: none !important;
}

/* 隐藏首页、尾页 */
.pb_sys_common .p_first,
.pb_sys_common .p_first_d,
.pb_sys_common .p_last,
.pb_sys_common .p_last_d {
    display: none !important;
}

/* 统一所有按钮尺寸 */
.pb_sys_common .p_prev a,
.pb_sys_common .p_prev_d,
.pb_sys_common .p_next a,
.pb_sys_common .p_next_d,
.pb_sys_common .p_no a,
.pb_sys_common .p_no_d {
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfbfba !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #4f403d !important;
    font-weight: 800 !important;
    margin-left: 6px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s !important;
    flex-shrink: 0 !important;
}

/* 当前页高亮 */
.pb_sys_common .p_no_d {
    border-color: #8f1208 !important;
    background: #8f1208 !important;
    color: #fff !important;
}

/* ---- 核心修复：彻底隐藏文字，避免占位 ---- */
.pb_sys_common .p_prev a,
.pb_sys_common .p_prev_d,
.pb_sys_common .p_next a,
.pb_sys_common .p_next_d {
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

/* ---- 伪元素（图标）恢复显示 ---- */
.pb_sys_common .p_prev a::before,
.pb_sys_common .p_prev_d::before,
.pb_sys_common .p_next a::before,
.pb_sys_common .p_next_d::before {
    text-indent: 0 !important;
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    content: "" !important;
}

/* 左箭头（上一页） */
.pb_sys_common .p_prev a::before,
.pb_sys_common .p_prev_d::before {
    background-image: url("./icons/icon-chevron_left.svg");  /* 请改成您的实际路径 */
}

/* 右箭头（下一页） */
.pb_sys_common .p_next a::before,
.pb_sys_common .p_next_d::before {
    background-image: url("./icons/icon-chevron_right.svg"); /* 请改成您的实际路径 */
}

/* 禁用状态变灰 */
.pb_sys_common .p_prev_d::before,
.pb_sys_common .p_next_d::before {
    filter: grayscale(100%) opacity(0.5);
}

/* 省略号 */
.pb_sys_common .p_dot {
    margin-left: 6px;
    color: #817573;
}

/* 隐藏跳转框 */
.pb_sys_common .p_goto {
    display: none !important;
}

/* 悬停效果 */
.pb_sys_common .p_no a:hover,
.pb_sys_common .p_prev a:hover,
.pb_sys_common .p_next a:hover {
    background: #f7efeb !important;
    border-color: #8f1208 !important;
    color: #8f1208 !important;
}
.pb_sys_common .p_prev a:hover::before,
.pb_sys_common .p_next a:hover::before {
    filter: brightness(0) saturate(100%) invert(13%) sepia(78%) saturate(5588%) hue-rotate(356deg) brightness(84%) contrast(90%);
}
/* 博达分页组件落在静态版的 .search-ref-pager 容器里时，让博达那套接管。
   .search-ref-pager a / span 是给静态示例的按钮写的，会漏到组件输出的元素上 ——
   带 !important 的 .pb_sys_common 规则挡得住，但像 .p_dot 这种博达没设边框背景的，
   就会被套上一个多余的方框。这里把这些属性归零，交回给 .pb_sys_common。 */

/* 静态版分页是居中的，博达那套写的是右对齐（.pb_sys_common 的 justify-content:flex-end
   和内联 text-align:right）。外层 .search-ref-pager 是 flex + center，会把它整体居中，
   于是右对齐失效。margin-left:auto 把它推回右边，且不需要 :has() 支持。 */
.search-ref-pager .pb_sys_common {
  margin-left: auto;
}

.search-ref-pager .pb_sys_common a,
.search-ref-pager .pb_sys_common span {
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

/* 博达检索组件把整个结果区包在它自己的 <form> 里，于是 form 成了
   .search-ref-layout 这个两列网格的直接子项。form 在部分浏览器里带默认外边距，
   而网格子项的 min-width 默认是 auto —— 长标题会把第一列撑破。这里都归零。 */

.search-ref-layout > form {
  min-width: 0;
  margin: 0;
}

/* excellence page two-part redesign */
.tm-excellence-program,
.tm-excellence-articles {
  padding: 34px;
  background: #ffffff;
  border: 1px solid #d9dde5;
  box-shadow: 0 14px 34px rgba(119, 19, 7, 0.08);
}

.tm-excellence-articles {
  margin-top: 34px;
}

.tm-excellence-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.tm-excellence-section-head span {
  color: #8f1408;
  font: 700 12px/1 "JetBrains Mono", monospace;
  letter-spacing: .18em;
}

.tm-excellence-section-head h2 {
  margin: 0;
  color: #771307;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.16;
}

.tm-excellence-intro-text {
  padding-left: 26px;
  border-left: 4px solid #8f1408;
}

.tm-excellence-intro-text p {
  margin: 0;
  color: var(--ref-muted);
  font-size: 18px;
  line-height: 1.85;
}

.tm-excellence-roster-head {
  margin-top: 34px;
}

.tm-excellence-roster-list {
  display: grid;
  gap: 18px;
}

.tm-excellence-roster-card {
  padding: 26px 28px;
  background: #f7fbff;
  border: 1px solid #d9dde5;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.tm-excellence-roster-card:hover {
  border-color: #8f1408;
  box-shadow: 0 16px 34px rgba(119, 19, 7, 0.10);
}

.tm-excellence-roster-card h3 {
  margin: 14px 0 10px;
  color: #00204f;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.tm-excellence-roster-card > p:not(.tm-excellence-students) {
  margin: 0 0 18px;
  color: var(--ref-muted);
  font-size: 16px;
  line-height: 1.7;
}

.tm-excellence-roster-card .tm-excellence-meta span {
  font-size: 28px !important;
}

.tm-excellence-article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.tm-excellence-article-card {
  border-color: #d9dde5 !important;
  box-shadow: 0 14px 34px rgba(119, 19, 7, 0.10) !important;
}

.tm-excellence-article-card:hover {
  border-color: #8f1408 !important;
  transform: none !important;
}

.tm-excellence-article-card .home-ref-news-image {
  height: 210px;
}

.tm-excellence-article-card .home-ref-news-image span {
  background: #8f1408;
}

.tm-excellence-article-card .home-ref-news-body h3 {
  color: #00204f;
  font-size: 20px;
}

@media (max-width: 980px) {
  .tm-excellence-article-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .tm-excellence-program,
  .tm-excellence-articles {
    padding: 26px 18px;
  }

  .tm-excellence-section-head {
    display: block;
  }
}

.vsbcontent_img img {
display: inline-block !important;
}

/* 页脚三列对齐（2026-09）
   之前三列是各自垂直居中（align-items:center），而三列高度并不相等
   （二维码 202 / 联系 244 / 地图 234），于是顶部互相错开；再加上联系首行被
   transform:translateY(5px) 单独推过、地图图片的上边距是 20px 而联系首行是 18px，
   两个小标题差了 5px。这里统一改成顶部对齐，并把那两处硬推的微调去掉。

   二维码那一列没有小标题，所以补一段和标题等高的上边距（标题 24px + 内容间距 18px），
   让它的卡片和另外两列的正文顶端落在同一条线上。 */

.home-ref-footer-grid {
  align-items: start !important;
}

.home-ref-footer-brand,
.home-ref-footer-contact,
.home-ref-footer-map {
  align-self: start !important;
}

.home-ref-footer-contact p:first-of-type {
  transform: none !important;
}

.home-ref-footer-map img {
  margin-top: 18px !important;
}

@media (min-width: 1181px) {
  .home-ref-footer-qr-only {
    padding-top: 42px !important;
  }
}

/* 文章正文区（详情页）—— 刻意把控制权交给博达编辑器
   ================================================
   编辑在后台调的字号、颜色、行间距是写成行内样式的（<p style="font-size:18px">）。
   行内样式虽然优先级高，但只压得过「普通规则」，压不过针对同一个标签写死的站内规则：
   .ia-section-block p 就直接命中正文里的每个 p，把字号行距按站内那套改掉。

   所以这里只在容器上给一层可继承的基准，容器里面的标签一律不写规则；再把站内那几条
   会伸进正文的规则还原成 inherit。这样：
     - 编辑什么都不设 -> 用容器这层基准，正常好看
     - 编辑设了字号/颜色/行距 -> 行内样式直接生效，不会被站内样式压回去
   注意都不要加 !important，加了就把编辑器的设置也一起挡掉了。 */

.ia-article-content {
  color: #2a2422;
  font-family: "Source Sans 3", Inter, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.9;
  /* 从 Word 粘过来的宽表格会顶破布局，给它一个横向滚动的余地 */
  overflow-x: auto;
}

/* 站内规则会直接命中这些标签，压过容器的继承值。还原成继承，
   让基准和编辑器的行内样式说了算。选择器权重与 .ia-section-block p 相同，
   靠位置在后面取胜 —— 所以这段必须留在文件末尾，别往前挪。 */

.ia-article-content p,
.ia-article-content div,
.ia-article-content span,
.ia-article-content li,
.ia-article-content td,
.ia-article-content th,
.ia-article-content blockquote {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* 正文里的图片、表格给一点必要的兜底，避免超出栏宽把版面撑破。
   这些是防溢出，不是排版，不影响编辑器调字。 */

.ia-article-content img,
.ia-article-content video,
.ia-article-content iframe {
  max-width: 100%;
  height: auto;
}

.ia-article-content table {
  max-width: 100%;
}



.tm-faculty-profile-link { color: inherit; text-decoration: none; }
.tm-faculty-profile-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.tm-faculty-card:focus-within { outline: 3px solid #a33e00; outline-offset: 4px; }
.tm-faculty-card .tm-faculty-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: #771307; font-size: 14px; font-weight: 600; }

/* Faculty detail: portrait and identity above a plain article. */
.tm-profile { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.tm-profile-hero { display: grid; grid-template-columns: minmax(0, 1fr); width: min(100%, 560px); margin: 14px auto 42px; padding: 0; isolation: isolate; }
.tm-profile-hero img { grid-area: 1 / 1; align-self: start; display: block; width: min(400px, 86%); height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; border: 1px solid rgba(119, 19, 7, .08); border-radius: 8px; box-sizing: border-box; box-shadow: 0 12px 30px rgba(65, 35, 25, .10); }
.tm-profile-identity { grid-area: 1 / 1; align-self: end; justify-self: end; z-index: 1; box-sizing: border-box; width: min(280px, 80%); min-width: 0; margin-top: 260px; padding: 28px; border: 1px solid rgba(255, 255, 255, .85); border-top: 2px solid rgba(119, 19, 7, .6); border-radius: 6px; background: rgba(255, 248, 244, .80); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 12px 32px rgba(85, 42, 28, .12); }
.tm-profile #profile-name { margin: 0 0 14px; color: #771307; font-family: "Source Serif 4", Georgia, serif; font-size: clamp(30px, 3.5vw, 40px); line-height: 1.25; letter-spacing: .08em; }
.tm-profile-role { margin: 0 0 22px; color: #58413e; font-size: 18px; line-height: 1.5; }
.tm-profile .tm-faculty-tag { display: inline-block; margin: 0; padding: 5px 12px; border-left: 2px solid #a33e00; border-radius: 0; background: #faf4f0; color: #89503a; font-family: inherit; font-size: 13px; line-height: 1.7; }
.tm-profile-body { padding: 0 0 32px; }
.tm-profile-prose { gap: 20px; color: #454545; font-size: 16px; line-height: 2; }
.tm-profile-prose p { margin: 0; text-indent: 2em; }
.tm-profile-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 36px; color: #771307; font-size: 14px; font-weight: 600; text-decoration: none; }
.tm-profile-back:hover { text-decoration: underline; }
.tm-profile-back:focus-visible { outline: 3px solid #a33e00; outline-offset: 4px; }
@media (max-width: 520px) {
  .tm-profile-hero { margin-top: 8px; margin-bottom: 32px; }
  .tm-profile-identity { margin-top: clamp(180px, 54vw, 260px); padding: 22px; }
  .tm-profile #profile-name { font-size: 28px; margin-bottom: 10px; }
  .tm-profile-role { font-size: 16px; margin-bottom: 14px; }
  .tm-profile .tm-faculty-tag { padding: 3px 8px; font-size: 12px; }
}
.tm-faculty-card:has(.tm-faculty-profile-link) .tm-faculty-head { position: static; }
/* 头部 logo 居左、缩小（2026-09）
   之前 logo 组居中，学院 logo 高 132px。这里改成贴容器左边、整体缩到约一半高度，
   分隔线跟着缩短。只管 761px 以上 —— 760/640 以下另有移动端规则，别互相打架。 */

@media (min-width: 761px) {
  /* 搜索按钮贴着头部右边 24px；容器原来限宽 1280 居中，logo 离左边远得多。
     放开限宽，logo 就和搜索一样贴边，左右对称。导航本身是居中的，不受影响。 */
  .ia-header .ia-header-inner {
    max-width: none !important;
  }

  .ia-header .demo-brand-lockup {
    justify-content: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 8px 0 2px !important;
  }

  .ia-header .demo-brand-logo-sztu {
    width: auto !important;
    height: 36px !important;
    padding-right: 20px !important;
    background-size: 2px 28px !important;
  }

  .ia-header .demo-brand-logo-sie {
    width: auto !important;
    height: 46px !important;
    max-width: none !important;
  }

  /* logo 缩小后行高变矮，搜索按钮原来 top:22px 会比 logo 中线低一截，上移对齐 */
  .ia-header .ia-search {
    top: 3px !important;
  }
}

/* 头部固定在顶部（2026-09）
   .ia-header 早就写了 position: sticky，但一直没生效：html 和 body 都设了
   overflow-x: hidden，body 因此被当成滚动容器，sticky 只相对 body 起作用 ——
   而真正在滚的是 html，body 自己从不滚，头部就跟着页面一起滚走了。
   overflow-x: clip 同样裁掉横向溢出，但不会生成滚动容器，sticky 就回到相对视口。
   不支持 clip 的老浏览器会忽略这条、沿用 hidden，只是头部不固定，不会出别的问题。 */

html,
body,
body.overflow-x-hidden {
  /* 首页等页面的 body 带 Tailwind 的 overflow-x-hidden 类，类选择器权重高于 body，
     不加这个复合选择器就压不过它，首页的头部照样固定不住 */
  overflow-x: clip;
}

.ia-header {
  position: sticky !important;
  top: 0 !important;
}


/* 创新创业联接：横向滚动 + 左右箭头（2026-09）
   原来是固定 5 列网格，第 6 个起就换行。改成横向滚动轨道：一屏 5 个，超出部分左右滑动，
   两侧留出箭头位置。箭头由脚本在内容超出时才显示（见 index.html 底部脚本）。 */

.home-ref-link-carousel {
  position: relative;
}

.home-ref-link-carousel.is-scrollable {
  padding: 0 56px;
}

.home-ref-link-carousel .home-ref-link-logo-grid {
  display: flex !important;
  gap: 18px !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 6px 2px 14px;
}

.home-ref-link-carousel .home-ref-link-logo-grid::-webkit-scrollbar {
  display: none;
}

.home-ref-link-carousel .home-ref-link-logo-card {
  flex: 0 0 calc((100% - 18px * 4) / 5);
  min-width: 0;
  scroll-snap-align: start;
}

.home-ref-link-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ref-primary, #771307);
  background: #fff;
  border: 1px solid var(--ref-line, #dfbfba);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(119, 19, 7, 0.14);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.home-ref-link-arrow[hidden] {
  display: none;
}

.home-ref-link-arrow:hover:not(:disabled) {
  color: #fff;
  background: var(--ref-primary, #771307);
}

.home-ref-link-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.home-ref-link-prev {
  left: 0;
}

.home-ref-link-next {
  right: 0;
}

@media (max-width: 1100px) {
  .home-ref-link-carousel .home-ref-link-logo-card {
    flex-basis: calc((100% - 18px * 2) / 3);
  }
}

@media (max-width: 760px) {
  .home-ref-link-carousel.is-scrollable {
    padding: 0 44px;
  }

  .home-ref-link-carousel .home-ref-link-logo-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .home-ref-link-arrow {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 520px) {
  .home-ref-link-carousel .home-ref-link-logo-card {
    flex-basis: 100%;
  }
}

/* 页脚「联系我们」图标与文字对齐（2026-09）
   每行是「图标 | 文字」两列网格、顶部对齐。文字一行高 28px，图标框却只有 24px（字体图标）
   或 16px（博达里的 mask 图标），图标贴着行顶，中线比文字高出 1.5px / 5.5px。
   这里把图标框固定成一行文字那么高，图标在框里居中：多行地址对准第一行，单行电话/邮箱正好居中。
   行高也显式写成 28px，不依赖线上其它规则算出来的值。
   博达的 mask 图标自带行内 width/height，只能用 !important 覆盖。 */

.home-ref-footer-contact p {
  align-items: start !important;
  line-height: 28px !important;
}

.home-ref-footer-contact p > .material-symbols-outlined {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 28px !important;
  line-height: 28px !important;
  font-size: 22px !important;
}

.home-ref-footer-contact p .ia-icon-svg {
  width: 20px !important;
  height: 20px !important;
  vertical-align: middle !important;
}


/* 顶部改版：三个 SVG logo + 导航 + 搜索同一排（2026-09）
   ================================================
   logo 换成了三个独立 SVG，并改用新类名 .ia-brand / .ia-brand-logo-*。
   旧的 .demo-brand-lockup / .demo-brand-logo-sie / -stm 身上叠着几十条历史规则
   （给 img 设 logo1.png 背景图、强制隐藏 stm、宽度 100% !important……），
   新 SVG 是透明底，沿用旧类名会让旧 PNG 从底下透出来，所以整体换名绕开。

   宽屏：logo | 导航 | 搜索 一排。窄一些放不下时，导航掉到第二排（logo 和搜索仍在第一排）。 */

.ia-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 16px;
  text-decoration: none;
}

.ia-brand-logo {
  display: block;
  width: auto;
  max-width: none;
  background: none;
}

.ia-brand-logo-sztu {
  height: 42px;
  padding-right: 16px;
  /* 深技大与两个学院 logo 之间的竖分隔线 */
  background: linear-gradient(#003b8f, #003b8f) right center / 2px 32px no-repeat;
  box-sizing: content-box;
}

.ia-brand-logo-sie {
  height: 34px;
}

.ia-brand-logo-stm {
  height: 38px;
}

/* 导航字号 14px */
.ia-header .ia-nav-item > a {
  font-size: 16px !important;
}

.ia-header .ia-header-inner {
  max-width: none !important;
  /* ≤980px 有条旧规则把这里改成 column，三项会竖排居中，导航自身 756px 宽把整列撑开，
     手机上 logo 被挤出屏幕。强制横排：放不下时导航换到第二排。 */
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  column-gap: 20px !important;
  row-gap: 0 !important;
  padding: 8px 24px !important;
}

/* 搜索不再绝对定位，作为这一排的最后一项 */
.ia-header .ia-search {
  position: static !important;
  top: auto !important;
  right: auto !important;
  order: 2;
  /* details 默认是块级、行高 24px，里面的按钮按基线对齐会在底下多出 10px，
     整体比 logo 和导航低 5px。改成 flex 居中去掉这段空隙。 */
  display: flex !important;
  align-items: center;
}

.ia-header .ia-nav {
  order: 3;
  flex: 1 1 100% !important;
  width: auto !important;
  min-width: 0 !important;
  justify-content: center !important;
}

@media (min-width: 1360px) {
  .ia-header .ia-header-inner {
    flex-wrap: nowrap !important;
  }

  .ia-header .ia-nav {
    order: 1;
    flex: 1 1 auto !important;
    justify-content: flex-end !important;
    gap: 30px !important;
  }
}

@media (max-width: 760px) {
  .ia-header .ia-header-inner {
    padding: 8px 16px !important;
    column-gap: 12px !important;
  }

  .ia-brand {
    gap: 8px;
    min-width: 0;
  }

  .ia-brand-logo-sztu {
    height: 26px;
    padding-right: 8px;
    background-size: 2px 18px;
  }

  .ia-brand-logo-sie {
    height: 20px;
  }

  .ia-brand-logo-stm {
    height: 22px;
  }
}


/* 手机搜索面板位置跟随新头部高度（2026-09）
   上面「mobile search panel fix」按旧头部高 137px 写死了 145px。换成三个 SVG logo、
   logo 和搜索同一排后，手机头部实测 114px，面板和头部之间会空出 31px 缝。
   按 114 + 8 改成 122px；以后头部高度再变，这里要跟着改。 */

@media (max-width: 640px) {
  .ia-search[open]::before {
    top: 122px;
  }

  .ia-search-panel {
    top: 122px !important;
  }
}


.img_vsb_content {
 margin:0 auto !important;
}

/* 首页资讯轮播修正（2026-09）
   - 左右箭头原来放在横向滚动容器 .home-ref-news-carousel 里面，绝对定位的元素会跟着内容滚动，
     翻到第二组后两个箭头都滚出画面。现在箭头移到外层 .home-ref-news-carousel-wrap，以它为定位参照。
   - 整张卡片可点击（博达输出的是 article 上的 onclick），补上手型光标。 */

.home-ref-news-carousel-wrap {
  position: relative;
}

.home-ref-news-card {
  cursor: pointer;
}

/* 导航 16px 时 1366 宽度下的顶部（2026-09）
   导航字号改回 16px 后，logo + 导航 + 搜索放一排需要 1401px，而一排的断点是 1360px，
   1360–1400 之间（常见的 1366 笔记本）导航会压到 logo 上 14px。
   只在这个区间把三个 logo 缩小一点，腾出约 50px；导航间距不动，16px 的字挤在一起不好看。 */

@media (min-width: 1360px) and (max-width: 1439px) {
  .ia-brand-logo-sztu {
    height: 38px;
  }

  .ia-brand-logo-sie {
    height: 30px;
  }

  .ia-brand-logo-stm {
    height: 34px;
  }
}

/* 红色搜索按钮的白色图标：静态页（非博达模板）的搜索图标是 .material-symbols-outlined，
   被更早的一条规则用 #8f1408 画成深红，叠在红底上看不见。
   博达模板里这个外层 span 带行内 background:none!important，行内优先，不受这条影响。 */

.ia-search summary .material-symbols-outlined {
  background: #fff !important;
}

/* 页脚联系我们：行距收紧、多邮箱分行（2026-09）
   - 每行上下各 18px 外边距，加上 28px 行高，三行之间显得很松，收到 10px。
   - 多个邮箱连成一段文字时断行位置不受控。约定写法：图标后面跟一个 span，
     span 里每个邮箱之间用 <br> 换行。每行是「图标 | 文字」两列网格，
     如果文字和 <br> 直接放在 p 里，每一段文字会被网格当成单独的格子，排版会乱，
     所以文字必须包在一个元素里。这里不依赖 class，博达编辑器清掉 class 也能生效。 */

.home-ref-footer-contact p {
  margin: 10px 0 !important;
}

.home-ref-footer-contact p > :not(.material-symbols-outlined):not(.ia-icon-svg) {
  display: block;
  min-width: 0;
}

/* 首页各板块标题与简介统一（2026-09），以「通知公告」为准
   - 标题 40px。原来通知公告、资讯动态的 40px 来自按 section 序号生效的旧规则
     main > section:nth-of-type(3/4) h2，板块顺序一变就会失效；技术成果展示、创新创业联接是 56px。
     这里按板块类名直接指定，不再依赖顺序。
   - 简介 17px / 行高 1.75，标题到简介 22px。
   - 板块上下内边距统一 68px（原来 96 / 96 / 82）。 */

.home-ref-notice-feature h2,
.home-ref-news .home-ref-section-head h2,
.home-ref-achievements-copy h2,
.home-ref-links .home-ref-section-head h2 {
  margin: 0 !important;
  font-size: 40px !important;
  line-height: 1.18 !important;
}

.home-ref-notice-feature .home-ref-kicker,
.home-ref-news .home-ref-section-head .home-ref-kicker,
.home-ref-achievements-copy .home-ref-kicker,
.home-ref-links .home-ref-section-head .home-ref-kicker {
  margin-bottom: 16px !important;
}

.home-ref-news .home-ref-section-head h2 + p,
.home-ref-achievements-copy h2 + p,
.home-ref-links .home-ref-section-head h2 + p {
  margin-top: 22px !important;
  font-size: 17px !important;
  line-height: 1.75 !important;
}

.home-ref-news,
.home-ref-achievements,
.home-ref-links {
  padding-top: 68px !important;
  padding-bottom: 68px !important;
}

/* 手机端跟通知公告一样是 54px（通知公告在 640px 以下另有规则） */
@media (max-width: 640px) {
  .home-ref-news,
  .home-ref-achievements,
  .home-ref-links {
    padding-top: 54px !important;
    padding-bottom: 54px !important;
  }
}

/* 首页院长寄语与其它板块统一（2026-09）
   标题 40px（原 56px，仍保留 <br> 分成两行）、正文 17px / 1.75、眉题到标题 16px、
   标题到第一段 22px、板块上下 68px（手机 54px），与通知公告等板块一致。
   院长寄语是整段致辞，每段首行缩进 2 个字；段间距保持为 0，靠缩进区分段落。 */

.home-ref-dean-copy > h2 {
  margin: 0 !important;
  font-size: 40px !important;
  line-height: 1.18 !important;
}

.home-ref-dean-copy > .home-ref-kicker {
  margin-bottom: 16px !important;
}

.home-ref-dean-copy > p {
  font-size: 17px !important;
  line-height: 1.75 !important;
  text-indent: 2em;
}

.home-ref-dean-copy > h2 + p {
  margin-top: 22px !important;
}

.home-ref-dean {
  padding-top: 68px !important;
  padding-bottom: 68px !important;
}

@media (max-width: 640px) {
  .home-ref-dean {
    padding-top: 54px !important;
    padding-bottom: 54px !important;
  }
}


/* 首页 banner 文案 + 数据卡，按设计稿还原（2026-10）
   必须放在文件末尾。
   - 只给带 .home-ref-hero-text 的文字幻灯片上两列网格，图片幻灯片不受影响。
   - 标题和数字要用衬线体：文件开头的全站微软雅黑规则是
     body *:not(...):not(...):not(...)，权重 0,3,1 且带 !important，单写 h1 压不住。
     这里用 .home-ref-main .home-ref-hero ... 凑到同等权重，靠位置在后取胜。 */

.home-ref-main .home-ref-hero {
  min-height: clamp(655px, 45vw, 860px) !important;
}

.home-ref-hero > .home-ref-hero-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(656px, 34vw);
  column-gap: clamp(48px, 5.5vw, 104px);
  align-items: center;
  max-width: 1680px;
  margin: 0 auto;           /* 轮播规则给了 left:0;right:0，配合 auto 外边距居中 */
  padding: 0 40px;
  box-sizing: border-box;
}

/* 标题：白色衬线粗体，两行，重点词橙色 */
.home-ref-main .home-ref-hero .home-ref-hero-copy h1 {
  margin: 0 0 clamp(28px, 2.6vw, 48px);
  color: #fff;
  font-family: "Source Serif 4", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif !important;
  font-size: clamp(48px, 4.8vw, 92px) !important;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0 !important;
  white-space: nowrap;
}

.home-ref-main .home-ref-hero .home-ref-hero-copy h1 em {
  font-family: inherit !important;
  font-style: normal;
  color: #fd6c1a;
}

/* 简介：无衬线，首行缩进两字，宽度与标题齐 */
.home-ref-main .home-ref-hero .home-ref-hero-copy p {
  max-width: 840px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.16vw, 22px);
  line-height: 2;
  text-indent: 2em;
}

/* 数据卡：毛玻璃 2×2 */
.home-ref-main .home-ref-hero .home-ref-stats {
  max-width: none !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 64px;
  padding: 52px 54px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 80px rgba(64, 2, 0, 0.18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.home-ref-main .home-ref-hero .home-ref-stats span {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(14px, 0.95vw, 18px);
  line-height: 1.2;
}

.home-ref-main .home-ref-hero .home-ref-stats strong {
  display: block;
  color: #fff;
  font-family: "Source Serif 4", "Noto Serif SC", "Songti SC", Georgia, serif !important;
  font-size: clamp(32px, 2.7vw, 52px) !important;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

/* 平板：上下排列。幻灯片是绝对定位、不撑高 banner，所以这里手动加高 */
@media (max-width: 980px) {
  .home-ref-main .home-ref-hero {
    min-height: 820px !important;
  }

  .home-ref-hero > .home-ref-hero-text {
    grid-template-columns: 1fr;
    row-gap: 40px;
    padding: 0 24px;
  }

  .home-ref-main .home-ref-hero .home-ref-hero-copy h1 {
    font-size: clamp(36px, 7vw, 64px) !important;
    white-space: normal;
  }

  .home-ref-main .home-ref-hero .home-ref-stats {
    max-width: 560px !important;
    padding: 32px 36px;
  }
}

/* 手机 */
@media (max-width: 640px) {
  .home-ref-main .home-ref-hero {
    min-height: 720px !important;
  }

  .home-ref-hero > .home-ref-hero-text {
    row-gap: 28px;
    padding: 0 16px;
  }

  .home-ref-main .home-ref-hero .home-ref-hero-copy h1 {
    font-size: 34px !important;
  }

  .home-ref-main .home-ref-hero .home-ref-hero-copy p {
    font-size: 15px;
    line-height: 1.85;
  }

  .home-ref-main .home-ref-hero .home-ref-stats {
    gap: 22px 28px;
    padding: 22px 24px;
  }

  .home-ref-main .home-ref-hero .home-ref-stats span {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .home-ref-main .home-ref-hero .home-ref-stats strong {
    font-size: 30px !important;
  }
}