.home-news {
  position: relative;
  z-index: 2;
  padding: 44px 28px 54px;
  color: #183b76;
  background: #f8f9fb;
}

.home-news .section-inner {
  width: 100%;
  margin: 0 auto;
}

.home-news__header p {
  margin: 7px 0 0;
  color: #4268a5;
  font-size: 0.95rem;
  line-height: 1.35;
}

.home-news__layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: stretch;
}

.home-news__featured {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  background: #08234a;
  border-radius: 8px;
}

.home-news__viewport {
  overflow: hidden;
  height: 100%;
}

.home-news__track {
  display: flex;
  height: 100%;
  transition: transform 360ms ease;
  will-change: transform;
}

.home-news__slide {
  flex: 0 0 100%;
  min-width: 0;
  overflow: hidden;
}

.home-news__slide-link {
  display: grid;
  grid-template-rows: minmax(300px, 1fr) 160px;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.home-news__slide-link:focus-visible,
.home-news__mini-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -6px;
}

.home-news__slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 322px;
  object-fit: cover;
  object-position: center;
  transition: filter 260ms ease, transform 460ms ease;
}

.home-news__slide-link:hover img,
.home-news__slide-link:focus-visible img {
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.018);
}

.home-news__slide-body {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 24px;
  row-gap: 8px;
  align-items: start;
  min-height: 160px;
  overflow: visible;
  padding: 20px 30px 18px 38px;
  color: #ffffff;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(90, 162, 196, 0.16) 0%, rgba(14, 62, 119, 0.08) 44%, rgba(8, 40, 86, 0) 72%),
    linear-gradient(112deg, #0b2d61 0%, #123f78 58%, #082955 100%);
}

.home-news__date-stack {
  align-self: start;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.home-news__date-card {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 120px;
  min-height: 60px;
  /* margin-top: -20px; */
  color: #55585e;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 14px 22px rgba(8, 38, 85, 0.14);
  transform: translateX(-38px);
}

.home-news__date-card strong {
  display: block;
  font-family: var(--font-numeric);
  font-size: 1.95rem;
  font-weight: 900;
  line-height: 1;
}

.home-news__date-card span {
  margin-top: 3px;
  color: #55585e;
  font-size: 0.90rem;
  line-height: 1;
}

.home-news__date-stack .home-news__pill {
  transform: translateX(-38px);
}

.home-news__slide-copy {
  align-self: start;
  min-width: 0;
  max-height: none;
  overflow: hidden;
  padding-right: 16px;
}

.home-news__slide h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
}

.home-news__continue {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  top: -18px;
  justify-self: end;
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 96px;
  min-height: 34px;
  margin-bottom: 32px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-news__continue span {
  font-size: 1rem;
  line-height: 0.7;
}

.home-news__slide-link:hover .home-news__continue,
.home-news__slide-link:focus-visible .home-news__continue {
  color: #17478d;
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

.home-news__controls {
  position: absolute;
  right: 18px;
  top: calc(100% - 160px - 70px);
  z-index: 3;
  display: inline-flex;
  gap: 10px;
  pointer-events: auto;
}

.home-news__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 60px;
  padding: 0;
  color: #ffffff;
  background: rgba(31, 78, 137, 0.78);
  border: 1px solid rgba(214, 231, 250, 0.38);
  border-radius: 999px;
  box-shadow: 0 18px 30px rgba(13, 43, 84, 0.22);
  cursor: pointer;
  opacity: 0.7;
  pointer-events: auto;
  transition: opacity 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-news__control--prev {
  order: 1;
}

.home-news__control--next {
  order: 3;
}

.home-news__control--autoplay {
  order: 2;
}

.home-news__control svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.home-news__featured:hover .home-news__control,
.home-news__featured:focus-within .home-news__control,
.home-news__control:hover,
.home-news__control:focus-visible {
  opacity: 1;
}

.home-news__control:hover,
.home-news__control:focus-visible {
  color: #ffffff;
  background: rgba(22, 65, 124, 0.94);
  border-color: rgba(226, 239, 255, 0.62);
  box-shadow: 0 18px 30px rgba(13, 43, 84, 0.32);
}

.home-news__control:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.home-news__control[aria-pressed="true"]:not(:disabled) {
  color: #17478d;
  background: #ffffff;
  border-color: rgba(226, 239, 255, 0.82);
  opacity: 1;
}

.home-news__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-news__mini {
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 18px 30px rgba(31, 48, 79, 0.08);
}

.home-news__mini-link {
  display: grid;
  grid-template-rows: 176px 1fr;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.home-news__mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease, filter 420ms ease;
}

.home-news__mini:hover img,
.home-news__mini:focus-within img {
  filter: saturate(1.06) contrast(1.02);
  transform: scale(1.04);
}

.home-news__mini-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 82px;
  padding: 8px 11px 10px;
}

.home-news__mini h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #173f7d;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-news__mini-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.home-news__mini time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: #244f96;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.home-news__mini time svg {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}

.home-news__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  min-height: 30px;
  padding: 0 15px;
  color: #ffffff;
  border-radius: 8px;
  font-size: 0.70rem;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-news__pill::before {
  content: "";
  width: 9px;
  height: 9px;
  background: currentColor;
  border-radius: 3px;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  opacity: 0.9;
}

.home-news__pill--campus {
    background: #187591;
}

.home-news__pill--rose {
    background: #c9636a;
}

.home-news__pill--blue {
    background: #158bdd;
}

.news-archive-news-card {
  min-height: 100%;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(14, 40, 64, 0.06);
}

.news-archive-news-card .home-news__mini-link {
  grid-template-rows: 280px 1fr;
}

.news-archive-news-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center center;
}

.news-archive-news-card .home-news__mini-body {
  min-height: 148px;
  padding: 16px 16px 17px;
}

.news-archive-news-card h3 {
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  -webkit-line-clamp: 3;
}

.news-archive-news-card .home-news__mini-meta {
  gap: 10px;
}

.news-archive-news-card time {
  color: #244f96;
  font-family: "Noto Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
}

.news-archive-news-card .home-news__pill {
  min-height: 26px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 0.64rem;
}

@media (max-width: 1199.98px) {
  .home-news__layout {
    grid-template-columns: 1fr;
  }

  .home-news__featured {
    min-height: 470px;
    order: -1;
  }

  .home-news__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-news__mini-link {
    grid-template-rows: 170px 1fr;
  }

  .home-news__mini-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .home-news {
    padding: 34px 16px 42px;
  }

  .home-news__layout {
    gap: 0;
  }

  .home-news__featured {
    min-height: 0;
    border-radius: 8px;
  }

  .home-news__slide-link {
    grid-template-rows: minmax(220px, 52vw) auto;
  }

  .home-news__slide img {
    min-height: 220px;
  }

  .home-news__slide-body {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 12px;
    overflow: visible;
    min-height: 176px;
    padding: 24px 18px 24px 0;
  }

  .home-news__slide-copy {
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: start;
    padding: 0 0 0 18px;
  }

  .home-news__date-stack {
    display: contents;
  }

  .home-news__date-card {
    grid-column: 1;
    grid-row: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 70px;
    min-height: 32px;
    margin: 0;
    padding: 7px 10px;
    gap: 5px;
    transform: none;
  }

  .home-news__date-stack .home-news__pill {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    align-self: end;
    margin-left: 0;
    transform: none;
  }

  .home-news__date-card strong {
    font-size: 0.95rem;
  }

  .home-news__date-card span {
    margin-top: 0;
    font-size: 0.72rem;
  }

  .home-news__slide h3 {
    font-size: 1rem;
  }

  .home-news__continue {
    grid-column: 3;
    grid-row: 2;
    top: 0;
    justify-self: end;
    align-self: end;
    min-height: 32px;
    margin-bottom: 0;
  }

  .home-news__control {
    width: 48px;
    height: 60px;
  }

  .home-news__controls {
    top: max(156px, calc(52vw - 64px));
    right: 12px;
    gap: 8px;
  }

  .home-news__grid {
    display: none;
  }
}

@media (max-width: 420px) {
  .home-news__date-card {
    min-width: 64px;
  }

  .home-news__slide-body {
    column-gap: 8px;
  }
}
