:root {
  --brand: #1f45ad;
  --brand-dark: #16328a;
  --text: #1a2540;
  --muted: #66718d;
  --line: rgba(26, 56, 138, 0.1);
  --surface: rgba(255, 255, 255, 0.94);
  --shadow: 0 20px 48px rgba(20, 38, 91, 0.08);
  --hero-shadow: 0 18px 36px rgba(23, 50, 120, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0 0, rgba(31, 69, 173, 0.08), transparent 18%),
    radial-gradient(circle at 100% 42%, rgba(31, 69, 173, 0.06), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

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

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

.site-wrap {
  position: relative;
  overflow-x: clip;
}

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(23, 50, 120, 0.1);
  backdrop-filter: blur(14px);
}

.navbar {
  min-height: 88px;
  padding: 0;
}

.brand-logo,
.footer-brand {
  display: inline-flex;
  align-items: center;
}

.site-logo {
  width: 82px;
  height: auto;
}

.navbar-nav .nav-link {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 0.85rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--brand);
}

.dropdown-toggle::after {
  margin-left: 0.45rem;
  vertical-align: middle;
  border-top-width: 0.32em;
  border-right-width: 0.26em;
  border-left-width: 0.26em;
}

.nav-icon {
  font-size: 0.96rem;
}

.hero-section {
  padding: 1.8rem 0 2.35rem;
}

.hero-shell {
  position: relative;
  min-height: 400px;
  align-items: stretch;
  overflow: visible;
  margin-top: 50px;
  background: url("../images/hero/toronto-skyline.png") no-repeat;
  background-size: 60%;
  background-position: right center;
}

.hero-copy-panel {
  position: relative;
  display: flex;
  align-items: center;
}


.hero-copy {
  position: relative;
  width: 100%;
  padding: 10px 20px;
  z-index: 3;
  background-color: #f9fafd;
}


.hero-copy h1 {
  margin: 0 0 1rem;
  color: var(--brand);
  font-size: clamp(1.72rem, 2.5vw, 3rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin: 0 0 1.35rem;
  color: #4f5b77;
  font-size: 1rem;
  line-height: 1.62;
}

.hero-panel-bg,
.hero-outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-panel-bg {
  z-index: 1;
}

.hero-panel-bg polygon {
  fill: rgba(255, 255, 255, 0.98);
}

.hero-outline {
  z-index: 3;
}

.hero-outline path {
  fill: none;
  stroke: var(--brand);
  stroke-width: 3;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.circle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0.68rem 1rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
}

.circle-btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 14px 28px rgba(31, 69, 173, 0.18);
}

.circle-btn-secondary {
  color: var(--brand);
  background: #fff;
  border-color: rgba(31, 69, 173, 0.16);
  box-shadow: 0 12px 24px rgba(31, 69, 173, 0.08);
}

.hero-image-wrap {
  position: relative;
  min-height: 300px;
  z-index: 0;
}

.hero-image-wrap::after {
  content: "";
  position: absolute;
  top: -8px;
  left: -43%;
  width: 400px;
  height: 400px;
  z-index: 1;
  transform: rotate(76deg);
  background-color: #f9fafd;
  border: 2px solid #1f45ad;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: 79% 61%;
  box-shadow: var(--hero-shadow);
}

.tmu-badge {
  position: absolute;
  right: -0.15rem;
  bottom: 1.1rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.04rem;
  padding: 0.72rem 0.88rem;
  background: #0054a5;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.02;
  box-shadow: 10px 0 0 #f0c40c;
}

.content-section {
  position: relative;
  padding: 1.7rem 0 2.3rem;
}

.content-section::after {
  content: "";
  position: absolute;
  right: -8rem;
  top: 2rem;
  width: 30rem;
  height: 19rem;
  background: radial-gradient(circle, rgba(31, 69, 173, 0.16) 1px, transparent 1.3px);
  background-size: 11px 11px;
  opacity: 0.34;
  mask-image: radial-gradient(circle at center, #000 26%, transparent 72%);
  pointer-events: none;
}

.section-title {
  margin: 0 0 1.7rem;
  color: var(--brand);
  font-size: clamp(1.8rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.research-card,
.member-card,
.publication-panel,
.news-card,
.collab-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.research-card {
  height: 100%;
  padding: 1.55rem 1.25rem 1.45rem;
}

.research-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin-bottom: 20px;
  color: var(--brand);
  font-size: 2.8rem;
}

.research-card h3,
.member-copy h3,
.publication-item h3,
.news-body h3 {
  margin: 0 0 0.5rem;
  color: var(--brand-dark);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.42;
}

.research-card p,
.member-copy p,
.publication-item p,
.news-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.member-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 104px;
  padding: 0.9rem 0.95rem;
}

.member-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex: 0 0 auto;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(18, 35, 85, 0.16);
}

.image-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2148af, #0f275f);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.photo-one {
  background-image: linear-gradient(135deg, rgba(19, 40, 104, 0.08), rgba(19, 40, 104, 0.08)), url("../images/external/photo-1500648767791-00dcc994a43e-auto-format-fit-crop-w-300-q-80.jpg");
}

.photo-two {
  background-image: linear-gradient(135deg, rgba(19, 40, 104, 0.08), rgba(19, 40, 104, 0.08)), url("../images/external/photo-1506794778202-cad84cf45f1d-auto-format-fit-crop-w-300-q-80.jpg");
}

.photo-three {
  background-image: linear-gradient(135deg, rgba(19, 40, 104, 0.08), rgba(19, 40, 104, 0.08)), url("../images/external/photo-1494790108377-be9c29b29330-auto-format-fit-crop-w-300-q-80.jpg");
}

.photo-four {
  background-image: linear-gradient(135deg, rgba(19, 40, 104, 0.08), rgba(19, 40, 104, 0.08)), url("../images/external/photo-1504593811423-6dd665756598-auto-format-fit-crop-w-300-q-80.jpg");
}

.photo-five {
  background-image: linear-gradient(135deg, rgba(19, 40, 104, 0.08), rgba(19, 40, 104, 0.08)), url("../images/external/photo-1504257432389-52343af06ae3-auto-format-fit-crop-w-300-q-80.jpg");
}

.photo-six {
  background-image: linear-gradient(135deg, rgba(19, 40, 104, 0.08), rgba(19, 40, 104, 0.08)), url("../images/external/photo-1488426862026-3ee34a7d66df-auto-format-fit-crop-w-300-q-80.jpg");
}

.photo-seven {
  background-image: linear-gradient(135deg, rgba(19, 40, 104, 0.08), rgba(19, 40, 104, 0.08)), url("../images/external/photo-1501196354995-cbb51c65aaea-auto-format-fit-crop-w-300-q-80.jpg");
}

.photo-eight {
  background-image: linear-gradient(135deg, rgba(19, 40, 104, 0.08), rgba(19, 40, 104, 0.08)), url("../images/external/photo-1487412720507-e7ab37603c6f-auto-format-fit-crop-w-300-q-80.jpg");
}

.member-copy h3 {
  margin-bottom: 0.2rem;
  color: var(--text) !important;
  font-size: 1rem;
}

.member-copy p {
  margin-bottom: 0.3rem;
  font-size: 0.84rem;
  line-height: 1.45;
}

.member-copy a,
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand);
  font-size: 0.95rem;
  font-weight: 600;
}

.member-copy a {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.publication-panel {
  overflow: hidden;
}

.publication-item {
  padding: 1.45rem 1.5rem;
}

.publication-item+.publication-item {
  border-top: 1px solid var(--line);
}

.publication-item span,
.news-date {
  display: inline-block;
  color: #7b86a3;
  font-size: 0.92rem;
}

.news-card {
  overflow: hidden;
}

.news-media {
  min-height: 154px;
  background-position: center;
  background-size: cover;
}

.news-media-one {
  background-image:
    linear-gradient(rgba(11, 24, 73, 0.08), rgba(11, 24, 73, 0.08)),
    url("../images/external/photo-1552664730-d307ca884978-auto-format-fit-crop-w-800-q-80.jpg");
}

.news-media-two {
  background-image:
    linear-gradient(rgba(11, 24, 73, 0.08), rgba(11, 24, 73, 0.08)),
    url("../images/external/photo-1516321318423-f06f85e504b3-auto-format-fit-crop-w-800-q-80.jpg");
}

.news-body {
  padding: 1rem 1rem 1.15rem;
}

.news-date {
  margin-bottom: 0.45rem;
}

.news-body p {
  margin-bottom: 0.95rem;
  font-size: 0.9rem;
}

.news-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(31, 69, 173, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 600;
}

.collab-card {
  min-height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.2rem;
}

.collab-logo {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.tmu-logo {
  position: relative;
  max-width: 170px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 0.02rem;
  padding: 0.72rem 0.95rem;
  background: #0054a5;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.03;
}

.tmu-logo::after {
  content: "";
  position: absolute;
  top: 0;
  right: -28px;
  width: 28px;
  height: 100%;
  background: #f0c40c;
}

.tsl-logo .logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: conic-gradient(from 215deg, #c45446 0 36%, #ececec 36% 50%, #54a9ba 50% 100%);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.04);
}

.tsl-logo .logo-text {
  color: #8b8c92;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.encore-logo .logo-mark {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

.encore-logo .logo-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, #214b91 2px, transparent 2.6px),
    radial-gradient(circle at 20% 50%, #214b91 2px, transparent 2.6px),
    radial-gradient(circle at 80% 50%, #214b91 2px, transparent 2.6px),
    radial-gradient(circle at 50% 20%, #214b91 2px, transparent 2.6px),
    radial-gradient(circle at 50% 80%, #214b91 2px, transparent 2.6px),
    radial-gradient(circle at 28% 28%, #214b91 2px, transparent 2.6px),
    radial-gradient(circle at 72% 28%, #214b91 2px, transparent 2.6px),
    radial-gradient(circle at 28% 72%, #214b91 2px, transparent 2.6px),
    radial-gradient(circle at 72% 72%, #214b91 2px, transparent 2.6px);
}

.encore-logo .logo-text {
  color: #24488b;
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.vector-logo {
  gap: 0.65rem;
}

.vector-logo .logo-mark {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  background: #32478d;
  clip-path: polygon(50% 0, 100% 50%, 50% 33%, 0 50%);
}

.vector-logo .logo-text {
  color: #32478d;
  font-family: Georgia, serif;
  font-size: 2.3rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.site-footer {
  position: relative;
  margin-top: 3.8rem;
  padding: 2.8rem 0 1rem;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(rgba(10, 23, 66, 0.84), rgba(10, 23, 66, 0.9)),
    url("../images/hero/toronto-skyline.png") center/cover no-repeat;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.12) inset, 0 24px 60px rgba(9, 18, 52, 0.32);
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}

.site-footer::before {
  bottom: -18px;
  height: 170px;
  background:
    radial-gradient(120% 140% at 0% 100%, rgba(86, 132, 255, 0.35) 0, transparent 36%),
    radial-gradient(90% 110% at 100% 100%, rgba(245, 204, 95, 0.36) 0, transparent 22%);
}

.site-footer::after {
  bottom: 0;
  height: 110px;
  background:
    radial-gradient(circle at 12% 110%, rgba(255, 255, 255, 0.18) 0, transparent 30%),
    radial-gradient(circle at 88% 102%, rgba(252, 205, 98, 0.32) 0, transparent 18%);
}

.footer-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1.45fr 0.95fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 1.8rem;
}

.footer-logo {
  width: 170px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-divider {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding-left: 1.75rem;
}

.footer-nav-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  margin-bottom: 1rem;
}

.footer-nav-top a,
.footer-contact-col h3 {
  color: #fff;
  font-weight: 600;
}

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

.footer-links a,
.footer-contact-col p {
  color: rgba(255, 255, 255, 0.84);
}

.footer-contact-col h3 {
  margin: 0 0 1rem;
  font-size: 1.08rem;
}

.footer-contact-col p {
  margin: 0 0 0.28rem;
  line-height: 1.65;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.95rem;
}

.footer-social a {
  color: #fff;
  font-size: 1.05rem;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.people-page .team-hero-section {
  padding: 2rem 0 1.4rem;
}

.people-page .team-hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: 0;
  overflow: visible;
  border-radius: 30px;
}

.people-page .team-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
  padding: 2.6rem 2rem 2.45rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 255, 0.96));
  clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%);
  border-radius: 30px 0 0 30px;
}

.people-page .team-hero-copy h1 {
  margin: 0 0 1rem;
  color: var(--brand);
  font-size: clamp(2.1rem, 4.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.people-page .team-hero-copy p {
  max-width: 29rem;
  margin: 0 0 1.5rem;
  color: #53607d;
  font-size: 1.03rem;
  line-height: 1.75;
}

.people-page .team-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.people-page .team-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(31, 69, 173, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand);
  font-size: 0.93rem;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(18, 35, 85, 0.06);
}

.people-page .team-shortcut.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.people-page .team-hero-media {
  position: relative;
  min-height: 360px;
  z-index: 0;
  border-radius: 0 30px 30px 0;
}

.people-page .team-hero-media::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -43%;
  width: 400px;
  height: 400px;
  z-index: 3;
  transform: rotate(76deg);
  background-color: #f9fafd;
  border: 2px solid #1f45ad;
}

.people-page .team-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(18, 35, 85, 0.08)),
    radial-gradient(circle at 18% 84%, rgba(255, 255, 255, 0.16), transparent 22%);
}

.people-page .team-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 30px 30px 0;
}

.people-page .people-directory-section {
  position: relative;
  padding: 1.2rem 0 0;
}

.people-page .people-directory-section::before {
  content: "";
  position: absolute;
  inset: 1rem 0 auto auto;
  width: 28rem;
  height: 28rem;
  background:
    radial-gradient(circle, rgba(31, 69, 173, 0.16) 1px, transparent 1.4px);
  background-size: 12px 12px;
  mask-image: radial-gradient(circle at center, #000 18%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.people-page .directory-intro {
  position: relative;
  z-index: 1;
}

.people-page .team-filter-bar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.45rem;
}

.people-page .team-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1rem;
  border: 1px solid rgba(31, 69, 173, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: #68748f;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(18, 35, 85, 0.04);
}

.people-page .team-filter-chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 14px 28px rgba(31, 69, 173, 0.18);
}

.people-page .people-grid {
  position: relative;
  z-index: 1;
}

.people-page .people-grid > [hidden] {
  display: none !important;
}

.people-page .people-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  height: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(31, 69, 173, 0.08);
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(17, 34, 80, 0.06);
}

.people-page .people-card-photo {
  width: 72px;
  height: 72px;
  box-shadow: 0 10px 24px rgba(18, 35, 85, 0.16);
}

.people-page .people-card-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.people-page .people-card-copy h3 {
  margin: 0 0 0.18rem;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
}

.people-page .people-role,
.people-page .people-focus {
  margin: 0;
  color: var(--muted);
}

.people-page .people-role {
  font-size: 0.88rem;
  font-weight: 600;
}

.people-page .people-focus {
  margin-top: 0.22rem;
  font-size: 0.84rem;
  line-height: 1.55;
}

.people-page .people-card-copy a {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-top: 0.65rem;
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.people-page .site-footer {
  margin-top: 3.2rem;
}

.projects-page .projects-section,
.projects-page .project-stream-section {
  position: relative;
}

.project-card,
.project-stream-card {
  height: 100%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 63, 149, 0.1);
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(20, 34, 75, 0.08);
}

.project-card {
  overflow: hidden;
}

.project-card-featured {
  background:
    linear-gradient(145deg, rgba(22, 63, 149, 0.06), rgba(255, 255, 255, 0.98)),
    rgba(255, 255, 255, 0.96);
}

.project-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(22, 63, 149, 0.08);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card-body {
  padding: 1.6rem 1.7rem 1.75rem;
}

.project-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(22, 63, 149, 0.1);
  color: var(--circle-blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-card h3,
.project-stream-card h3 {
  margin-bottom: 0.65rem;
  color: var(--circle-blue);
  font-size: 1.35rem;
  font-weight: 800;
}

.project-meta {
  margin-bottom: 1rem;
  color: var(--circle-blue);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.project-card p,
.project-stream-card p {
  margin-bottom: 0;
  color: rgba(24, 33, 59, 0.84);
}

.project-stream-card {
  padding: 2rem;
}

.contact-page .contact-section {
  padding-top: 1.1rem;
}

.contact-page .contact-card {
  height: 100%;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(31, 69, 173, 0.08);
  border-radius: 20px;
  box-shadow: 0 18px 36px rgba(18, 35, 85, 0.06);
}

.contact-page .contact-card h3 {
  margin: 0 0 1.2rem;
  color: var(--brand-dark);
  font-size: 1.2rem;
  font-weight: 700;
}

.contact-page .contact-info-list {
  display: grid;
  gap: 0.95rem;
  margin-bottom: 1.3rem;
}

.contact-page .contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(31, 69, 173, 0.08);
}

.contact-page .contact-info-item:last-child {
  padding-bottom: 0;
}

.contact-page .contact-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(31, 69, 173, 0.08);
  color: var(--brand);
  font-size: 0.95rem;
  flex: 0 0 auto;
}

.contact-page .contact-info-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.contact-page .contact-map {
  position: relative;
  min-height: 205px;
  margin-top: 1.4rem;
  overflow: hidden;
  border: 1px solid rgba(31, 69, 173, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.56)),
    linear-gradient(135deg, #edf1fb 0%, #f9fbff 100%);
}

.contact-page .contact-map-grid {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(108, 122, 161, 0.12) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(108, 122, 161, 0.12) 0 1px, transparent 1px 54px);
}

.contact-page .contact-map-road {
  position: absolute;
  display: block;
  background: rgba(250, 194, 55, 0.95);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.84);
}

.contact-page .contact-map .road-one {
  top: 26px;
  left: -12px;
  width: 240px;
  height: 9px;
  transform: rotate(14deg);
}

.contact-page .contact-map .road-two {
  top: 92px;
  right: -30px;
  width: 280px;
  height: 11px;
  transform: rotate(-20deg);
}

.contact-page .contact-map .road-three {
  bottom: 28px;
  left: 24px;
  width: 250px;
  height: 9px;
  transform: rotate(-6deg);
}

.contact-page .contact-map .road-four {
  top: -6px;
  right: 130px;
  width: 10px;
  height: 230px;
}

.contact-page .contact-map .road-five {
  top: 16px;
  left: 88px;
  width: 11px;
  height: 215px;
}

.contact-page .contact-map-marker {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 28px rgba(17, 34, 80, 0.12);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  max-width: 13rem;
}

.contact-page .contact-map-marker i {
  color: #d84b5b;
  font-size: 1rem;
}

.contact-page .contact-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.2rem;
}

.contact-page .contact-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(31, 69, 173, 0.08);
  color: var(--brand);
}

.contact-page .contact-form {
  display: grid;
  gap: 0.85rem;
}

.contact-page .contact-field input,
.contact-page .contact-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(31, 69, 173, 0.12);
  border-radius: 12px;
  background: rgba(249, 251, 255, 0.96);
  color: var(--text);
  font: inherit;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-page .contact-field input::placeholder,
.contact-page .contact-field textarea::placeholder {
  color: #8793ae;
}

.contact-page .contact-field input:focus,
.contact-page .contact-field textarea:focus {
  border-color: rgba(31, 69, 173, 0.4);
  box-shadow: 0 0 0 4px rgba(31, 69, 173, 0.08);
}

.contact-page .contact-field textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-page .contact-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.2rem;
}

.contact-page .contact-actions .circle-btn {
  min-width: 172px;
  justify-content: center;
}

.contact-page .site-footer {
  margin-top: 3.2rem;
}

.publications-page .publication-hero-filters .circle-btn {
  min-height: 40px;
  padding-inline: 0.95rem;
  box-shadow: 0 10px 22px rgba(18, 35, 85, 0.06);
}

.publications-page .publications-section {
  padding-top: 1.1rem;
}

.publications-page .publication-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.45fr) repeat(3, minmax(140px, 0.72fr));
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.publications-page .publication-search {
  position: relative;
  display: block;
}

.publications-page .publication-search i {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: #8a95b1;
  font-size: 0.9rem;
}

.publications-page .publication-search input,
.publications-page .publication-toolbar select {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(31, 69, 173, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font: inherit;
  box-shadow: 0 10px 20px rgba(18, 35, 85, 0.04);
}

.publications-page .publication-search input {
  padding-left: 2.75rem;
}

.publications-page .publication-search input::placeholder {
  color: #8a95b1;
}

.publications-page .publication-list {
  display: grid;
  gap: 0.95rem;
}

.publications-page .publication-list-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(31, 69, 173, 0.08);
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(17, 34, 80, 0.06);
}

.publications-page .publication-thumb {
  min-height: 92px;
  border-radius: 14px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 10px 22px rgba(17, 34, 80, 0.12);
}

.publications-page .publication-thumb-one {
  background-image:
    linear-gradient(rgba(10, 24, 70, 0.12), rgba(10, 24, 70, 0.12)),
    url("../images/external/photo-1522202176988-66273c2fd55f-auto-format-fit-crop-w-600-q-80.jpg");
}

.publications-page .publication-thumb-two {
  background-image:
    linear-gradient(rgba(10, 24, 70, 0.12), rgba(10, 24, 70, 0.12)),
    url("../images/external/photo-1516321318423-f06f85e504b3-auto-format-fit-crop-w-600-q-80.jpg");
}

.publications-page .publication-thumb-three {
  background-image:
    linear-gradient(rgba(10, 24, 70, 0.12), rgba(10, 24, 70, 0.12)),
    url("../images/external/photo-1516321497487-e288fb19713f-auto-format-fit-crop-w-600-q-80.jpg");
}

.publications-page .publication-thumb-four {
  background-image:
    linear-gradient(rgba(10, 24, 70, 0.12), rgba(10, 24, 70, 0.12)),
    url("../images/external/photo-1552664730-d307ca884978-auto-format-fit-crop-w-600-q-80.jpg");
}

.publications-page .publication-thumb-five {
  background-image:
    linear-gradient(rgba(10, 24, 70, 0.12), rgba(10, 24, 70, 0.12)),
    url("../images/external/photo-1576091160550-2173dba999ef-auto-format-fit-crop-w-600-q-80.jpg");
}

.publications-page .publication-list-copy h3 {
  margin: 0 0 0.32rem;
  color: var(--brand-dark);
  font-size: 1.16rem;
  font-weight: 700;
}

.publications-page .publication-list-copy p {
  margin: 0 0 0.18rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.publications-page .publication-list-copy span {
  color: #6f7b98;
  font-size: 0.88rem;
  font-weight: 600;
}

.publications-page .publication-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(31, 69, 173, 0.14);
  border-radius: 10px;
  background: #fff;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.publications-page .publication-empty {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px dashed rgba(31, 69, 173, 0.2);
  border-radius: 14px;
  color: #66718d;
  background: rgba(255, 255, 255, 0.84);
}

.publications-page .publication-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.publications-page .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 700;
}

.publications-page .page-link.active {
  background: var(--brand);
  color: #fff;
}

.publications-page .page-link.muted {
  color: #7a85a1;
}

.team-detail-page .detail-hero-copy {
  padding: 1.1rem 1.25rem 1.1rem 0.55rem;
}

.team-detail-page .detail-hero-copy h1 {
  margin-bottom: 0.45rem;
}

.team-detail-page .detail-hero-role,
.team-detail-page .detail-hero-focus {
  margin: 0;
  color: var(--brand-dark);
  font-weight: 700;
  line-height: 1.4;
}

.team-detail-page .detail-hero-role {
  font-size: 1.02rem;
}

.team-detail-page .detail-hero-focus {
  margin-top: 0.15rem;
  color: #4f5b77;
  font-size: 0.98rem;
}

.team-detail-page .detail-hero-summary {
  margin-top: 1.15rem;
  max-width: 31rem;
}

.team-detail-page .member-detail-section {
  padding-top: 1.1rem;
}

.team-detail-page .detail-sidebar-card,
.team-detail-page .detail-content-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(31, 69, 173, 0.08);
  border-radius: 20px;
  box-shadow: 0 18px 36px rgba(18, 35, 85, 0.06);
}

.team-detail-page .detail-sidebar-card {
  position: sticky;
  top: 1.5rem;
  padding: 1.2rem;
}

.team-detail-page .detail-avatar-shell {
  display: flex;
  justify-content: center;
  margin-top: -3.7rem;
  margin-bottom: 1rem;
}

.team-detail-page .detail-avatar {
  width: 128px;
  height: 128px;
  border: 6px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 32px rgba(17, 34, 80, 0.16);
}

.team-detail-page .detail-avatar.member-placeholder {
  font-size: 2rem;
}

.team-detail-page .detail-sidebar-block + .detail-sidebar-block {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(31, 69, 173, 0.08);
}

.team-detail-page .detail-sidebar-block h3,
.team-detail-page .detail-content-card h2 {
  margin: 0 0 0.75rem;
  color: var(--brand-dark);
  font-size: 1.1rem;
  font-weight: 700;
}

.team-detail-page .detail-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.team-detail-page .detail-info-item + .detail-info-item {
  margin-top: 0.8rem;
}

.team-detail-page .detail-info-item i {
  color: var(--brand);
  margin-top: 0.12rem;
}

.team-detail-page .detail-info-item strong,
.team-detail-page .detail-info-item span,
.team-detail-page .detail-sidebar-block p {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.team-detail-page .detail-mini-list {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
}

.team-detail-page .detail-sidebar-socials {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.15rem;
}

.team-detail-page .detail-sidebar-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(31, 69, 173, 0.08);
  color: var(--brand);
}

.team-detail-page .detail-main-grid {
  display: grid;
  gap: 1rem;
}

.team-detail-page .detail-content-card {
  padding: 1.25rem 1.3rem;
}

.team-detail-page .detail-content-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.team-detail-page .detail-interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.team-detail-page .detail-interest-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(31, 69, 173, 0.12);
  border-radius: 10px;
  background: rgba(249, 251, 255, 0.96);
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 600;
}

.team-detail-page .detail-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.team-detail-page .detail-card-heading a {
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 700;
}

.team-detail-page .detail-content-card h3,
.team-detail-page .detail-publication-item h3 {
  margin: 0 0 0.28rem;
  color: var(--brand-dark);
  font-size: 1.05rem;
  font-weight: 700;
}

.team-detail-page .detail-publication-item span {
  display: inline-block;
  margin-top: 0.22rem;
  color: #6f7b98;
  font-size: 0.9rem;
  font-weight: 600;
}

.team-detail-page .site-footer {
  margin-top: 3.2rem;
}

@media (max-width: 1199.98px) {
  .content-section::after {
    width: 24rem;
    right: -8.5rem;
  }

  .hero-copy-panel {
    margin-right: -1.6rem;
  }

  .hero-copy {
    max-width: 27rem;
    padding-right: 1.25rem;
  }

  .footer-panel {
    grid-template-columns: 1fr 1fr;
  }

  .footer-contact-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991.98px) {
  .hero-copy-panel {
    margin-right: -1rem;
  }

  .hero-copy {
    max-width: 24rem;
    padding: 1.2rem 1.1rem 1.2rem 0.35rem;
  }

  .hero-copy h1 {
    font-size: 1.72rem;
  }

  .content-section {
    padding: 1.4rem 0 2rem;
  }

  .section-title {
    margin-bottom: 1.35rem;
  }

  .footer-divider {
    border-left: 0;
    padding-left: 0;
  }

  .contact-page .contact-map-marker {
    right: 1.2rem;
    bottom: 1.2rem;
  }

  .publications-page .publication-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .publications-page .publication-list-item {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .publications-page .publication-action {
    grid-column: 2;
    justify-self: start;
  }

  .team-detail-page .detail-sidebar-card {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .site-logo {
    width: 72px;
  }

  .navbar {
    min-height: auto;
    padding: 0.95rem 0;
  }

  .navbar-collapse {
    padding-top: 0.85rem;
  }

  .hero-section {
    padding-top: 1.3rem;
  }

  .hero-shell {
    min-height: auto;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .hero-copy-panel {
    margin-right: 0;
    display: block;
  }

  .hero-copy {
    padding: 0.4rem 0.2rem 1.15rem;
    background: transparent;
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(1.9rem, 7.2vw, 2.45rem);
    line-height: 1.16;
  }

  .hero-panel-bg,
  .hero-outline {
    display: none;
  }

  .hero-actions .circle-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-image-wrap {
    min-height: auto;
  }

  .hero-image {
    min-height: 240px;
    border-radius: 18px;
    object-position: 72% center;
  }

  .tmu-badge {
    position: absolute;
    right: 0.7rem;
    bottom: 0.7rem;
    display: inline-flex;
    flex-direction: column;
    gap: 0.04rem;
    padding: 0.62rem 0.74rem;
    background: #0054a5;
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.02;
    box-shadow: 10px 0 0 #f0c40c;
  }

  .content-section::after {
    display: none;
  }

  .research-card,
  .member-card,
  .publication-item,
  .news-body,
  .collab-card {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .member-card {
    min-height: 98px;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .member-photo {
    width: 54px;
    height: 54px;
  }

  .news-media {
    min-height: 180px;
  }

  .vector-logo .logo-text {
    font-size: 2rem;
  }

  .site-footer {
    margin-top: 3rem;
  }

  .footer-panel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-page .contact-card {
    padding: 1.15rem;
  }

  .contact-page .contact-map {
    min-height: 180px;
  }

  .contact-page .contact-map-marker {
    right: 1rem;
    bottom: 1rem;
    max-width: 10rem;
    font-size: 0.72rem;
  }

  .contact-page .contact-actions .circle-btn {
    width: 100%;
  }

  .publications-page .publication-toolbar {
    grid-template-columns: 1fr;
  }

  .publications-page .publication-list-item {
    grid-template-columns: 1fr;
  }

  .publications-page .publication-thumb {
    min-height: 180px;
  }

  .publications-page .publication-action {
    grid-column: auto;
    width: 100%;
  }

  .publications-page .publication-pagination {
    flex-wrap: wrap;
  }

  .team-detail-page .detail-avatar-shell {
    margin-top: 0;
  }

  .team-detail-page .detail-content-card,
  .team-detail-page .detail-sidebar-card {
    padding: 1rem;
  }

  .team-detail-page .detail-card-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 1199.98px) {
  .people-page .team-hero-copy {
    padding-right: 1.4rem;
  }
}

@media (max-width: 991.98px) {
  .people-page .team-hero-shell {
    grid-template-columns: 1fr;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .people-page .team-hero-copy {
    min-height: auto;
    padding: 1.9rem 1.4rem 1.2rem;
    clip-path: none;
    background: transparent;
    border-radius: 0;
  }

  .people-page .team-hero-copy p {
    max-width: none;
  }

  .people-page .team-hero-media {
    min-height: 290px;
    border-radius: 0;
  }

  .people-page .team-hero-media::before {
    left: -35%;
    width: 320px;
    height: 320px;
  }
}

@media (max-width: 767.98px) {
  .people-page .team-hero-section {
    padding-top: 1.3rem;
  }

  .people-page .team-hero-copy {
    padding: 1.45rem 1rem 1rem;
  }

  .people-page .team-shortcuts a {
    width: 100%;
    justify-content: center;
  }

  .people-page .team-filter-bar {
    gap: 0.5rem;
  }

  .people-page .team-filter-chip {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
    min-width: 0;
  }

  .people-page .team-hero-media {
    min-height: 230px;
  }

  .people-page .team-hero-media::before {
    display: none;
  }

  .people-page .team-hero-image {
    border-radius: 0;
  }

  .people-page .people-card {
    padding: 0.95rem;
  }

  .people-page .people-card-photo {
    width: 64px;
    height: 64px;
  }

  .people-page .people-card-copy h3 {
    font-size: 1rem;
  }
}

.news-media-three {
  background-image:
    linear-gradient(rgba(11, 24, 73, 0.08), rgba(11, 24, 73, 0.08)),
    url("../images/external/photo-1511578314322-379afb476865-auto-format-fit-crop-w-900-q-80.jpg");
}

.news-media-four {
  background-image:
    linear-gradient(rgba(11, 24, 73, 0.08), rgba(11, 24, 73, 0.08)),
    url("../images/external/photo-1517048676732-d65bc937f952-auto-format-fit-crop-w-900-q-80.jpg");
}

.news-media-five {
  background-image:
    linear-gradient(rgba(11, 24, 73, 0.08), rgba(11, 24, 73, 0.08)),
    url("../images/external/photo-1516321165247-4aa89a48be28-auto-format-fit-crop-w-900-q-80.jpg");
}

.news-media-six {
  background-image:
    linear-gradient(rgba(11, 24, 73, 0.08), rgba(11, 24, 73, 0.08)),
    url("../images/external/photo-1521737604893-d14cc237f11d-auto-format-fit-crop-w-900-q-80.jpg");
}

.news-media-seven {
  background-image:
    linear-gradient(rgba(11, 24, 73, 0.08), rgba(11, 24, 73, 0.08)),
    url("../images/external/photo-1522202176988-66273c2fd55f-auto-format-fit-crop-w-900-q-80.jpg");
}

.news-page .news-directory-section {
  padding-top: 0.6rem;
}

.news-page .news-directory-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.2rem;
  margin-bottom: 1.5rem;
}

.news-page .news-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.news-page .news-toolbar-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.news-page .news-toolbar-controls select {
  min-width: 150px;
  min-height: 42px;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(31, 69, 173, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 14px 28px rgba(31, 69, 173, 0.06);
}

.news-page .news-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.news-page .news-directory-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.news-page .news-directory-media-link {
  display: block;
}

.news-page .news-directory-media {
  min-height: 190px;
  background-position: center;
  background-size: cover;
  transition: transform 0.3s ease;
}

.news-page .news-directory-card:hover .news-directory-media {
  transform: scale(1.03);
}

.news-page .news-directory-body {
  padding: 1rem 1rem 1.15rem;
}

.news-page .news-directory-body h2 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.42;
}

.news-page .news-directory-body h2 a {
  color: var(--brand-dark);
}

.news-page .news-directory-body h2 a:hover {
  color: var(--brand);
}

.news-page .news-directory-date {
  margin: 0 0 0.7rem;
  color: #7b86a3;
  font-size: 0.88rem;
  font-weight: 600;
}

.news-category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  background: rgba(31, 69, 173, 0.08);
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.news-page .news-empty {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px dashed rgba(31, 69, 173, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  font-weight: 600;
}

.news-page .news-pagination,
.news-detail-page .news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

.news-page .news-pagination .page-link,
.news-detail-page .news-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0.5rem 0.78rem;
  border: 1px solid rgba(31, 69, 173, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(18, 35, 85, 0.05);
}

.news-page .news-pagination .page-link.active,
.news-detail-page .news-pagination .page-link.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 14px 28px rgba(31, 69, 173, 0.18);
}

.news-page .news-pagination .page-link.muted,
.news-detail-page .news-pagination .page-link.muted {
  min-width: auto;
  padding-inline: 0.2rem;
  border: 0;
  background: transparent;
  color: #7a85a1;
  box-shadow: none;
}

.news-page .news-pagination .page-link:not(.active):not(.muted):hover,
.news-detail-page .news-pagination .page-link:not(.active):not(.muted):hover {
  border-color: rgba(31, 69, 173, 0.22);
  background: rgba(31, 69, 173, 0.05);
}

.news-detail-page .news-article-intro {
  margin-bottom: 1rem;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.95rem;
  color: #7a86a2;
  font-size: 0.82rem;
  font-weight: 700;
}

.page-breadcrumb a:hover {
  color: var(--brand);
}

.news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.news-detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 34px;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(31, 69, 173, 0.07);
  color: #6a7694;
  font-size: 0.82rem;
  font-weight: 700;
}

.news-detail-page .news-detail-section {
  padding-top: 0.65rem;
}

.news-detail-page .news-article-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.news-detail-page .news-article-feature {
  min-height: 360px;
  background-position: center;
  background-size: cover;
}

.news-detail-page .news-article-body {
  padding: 1.55rem 1.6rem 1.7rem;
}

.news-detail-page .news-article-body h2 {
  margin: 0 0 0.9rem;
  color: var(--brand-dark);
  font-size: clamp(1.6rem, 2.2vw, 2.3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.news-detail-page .news-article-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.news-detail-page .news-article-body h3 {
  margin: 1.55rem 0 0.75rem;
  color: var(--brand-dark);
  font-size: 1.28rem;
  font-weight: 800;
}

.news-detail-page .news-article-quote {
  margin: 1.45rem 0;
  padding: 1.1rem 1.2rem;
  border-left: 4px solid var(--brand);
  border-radius: 0 16px 16px 0;
  background: rgba(31, 69, 173, 0.06);
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.8;
}

.news-detail-page .news-article-quote span {
  display: block;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.news-detail-page .news-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.news-detail-page .news-article-tags a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.45rem 0.78rem;
  border: 1px solid rgba(31, 69, 173, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
}

.news-detail-page .news-sidebar {
  display: grid;
  gap: 1rem;
}

.news-detail-page .news-side-card {
  padding: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.news-detail-page .news-side-card h3 {
  margin: 0 0 0.85rem;
  color: var(--brand-dark);
  font-size: 1.05rem;
  font-weight: 800;
}

.news-detail-page .news-share-card {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.news-detail-page .news-share-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(31, 69, 173, 0.14);
  border-radius: 10px;
  background: #fff;
  color: var(--brand);
}

.news-detail-page .news-side-list {
  display: grid;
  gap: 0.55rem;
}

.news-detail-page .news-side-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0.7rem 0.82rem;
  border: 1px solid rgba(31, 69, 173, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.news-detail-page .news-side-list a::after {
  content: "\203A";
  color: var(--brand);
  font-size: 1.1rem;
}

.news-detail-page .news-side-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 0.94rem;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(31, 69, 173, 0.18);
}

.news-detail-page .related-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.news-detail-page .related-team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 0.8rem;
  border: 1px solid rgba(31, 69, 173, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  text-align: center;
}

.news-detail-page .related-team-photo {
  width: 72px;
  height: 72px;
}

.news-detail-page .related-team-copy {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.news-detail-page .related-team-copy strong {
  color: var(--text);
  font-size: 0.93rem;
}

.news-detail-page .related-team-copy span {
  color: var(--muted);
  font-size: 0.79rem;
}

.news-detail-page .related-team-link {
  display: inline-flex;
  margin-top: 0.95rem;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 1199.98px) {
  .news-page .news-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-detail-page .news-article-feature {
    min-height: 300px;
  }
}

@media (max-width: 991.98px) {
  .news-page .news-directory-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .news-page .news-toolbar-controls {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .news-detail-page .news-article-body {
    padding: 1.35rem;
  }
}

@media (max-width: 767.98px) {
  .news-page .news-directory-grid {
    grid-template-columns: 1fr;
  }

  .news-page .news-toolbar-controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .news-page .news-toolbar-controls select {
    width: 100%;
  }

  .news-page .news-pagination,
  .news-detail-page .news-pagination {
    gap: 0.45rem;
  }

  .news-page .news-pagination .page-link,
  .news-detail-page .news-pagination .page-link {
    min-width: 34px;
    min-height: 34px;
    padding: 0.45rem 0.62rem;
  }

  .news-detail-page .news-detail-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-detail-page .news-article-feature {
    min-height: 220px;
  }

  .news-detail-page .news-article-body {
    padding: 1.15rem 1rem 1.25rem;
  }

  .news-detail-page .news-side-card {
    padding: 1rem;
  }

  .news-detail-page .related-team-grid {
    grid-template-columns: 1fr 1fr;
  }
}
