/* Homepage-only lower content redesign, 2026-10-23. */
.tun26.tun26-home-v2 .tun26-content .tun26-bottom {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas:
    "pei pei pei pei schools schools schools schools schools explore explore explore"
    "news news news news news index index index index index index index";
  gap: 24px;
  align-items: stretch;
  padding-top: 14px;
}

.tun26.tun26-home-v2 .tun26-content .tun26-bottom > .tun26-pei-host { grid-row: 1; grid-column: 1 / span 4; }
.tun26.tun26-home-v2 .tun26-content .tun26-bottom > .tun26-schools { grid-row: 1; grid-column: 5 / span 5; }
.tun26.tun26-home-v2 .tun26-content .tun26-bottom > #brxe-tsqpsd.tun26-explore { grid-row: 1; grid-column: 10 / span 3; }
.tun26.tun26-home-v2 .tun26-content .tun26-bottom > .tun26-news { grid-row: 2; grid-column: 1 / span 5; }
.tun26.tun26-home-v2 .tun26-content .tun26-bottom > .tun26-campus-index-home { grid-row: 2; grid-column: 6 / span 7; }

.tun26.tun26-home-v2 .tun26-pei-host,
.tun26.tun26-home-v2 .tun26-schools,
.tun26.tun26-home-v2 .tun26-news,
.tun26.tun26-home-v2 .tun26-campus-index-home,
.tun26.tun26-home-v2 .tun26-explore {
  min-width: 0;
  border: 1px solid #e5eaf5;
  border-radius: 24px;
  box-shadow: 0 14px 42px rgba(20, 38, 82, .07);
}

.tun26.tun26-home-v2 .tun26-pei-host,
.tun26.tun26-home-v2 .tun26-schools,
.tun26.tun26-home-v2 .tun26-news {
  padding: 22px;
  background: #fff;
}

.tun26.tun26-home-v2 .tun26-pei-host {
  background: linear-gradient(145deg, #eef8ff 0%, #fff 70%);
  align-content: start;
}

.tun26.tun26-home-v2 .tun26-pei-host > p { margin-top: 4px; }

.tun26.tun26-home-v2 .tun26-schools {
  border-left: 1px solid #e5eaf5;
}

.tun26.tun26-home-v2 .tun26-schools .tun26-section-heading { flex-wrap: nowrap; }
.tun26.tun26-home-v2 .tun26-schools .tun26-section-heading h2 { flex: 1; min-width: 0; }
.tun26.tun26-home-v2 .tun26-schools-more {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid #796bdd;
  border-radius: 999px;
  color: #5f55d8;
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.tun26.tun26-home-v2 .tun26-schools-more:hover { background: #f0edff; }
.tun26.tun26-home-v2 .tun26-schools-more:focus-visible { outline: 3px solid #168cff; outline-offset: 3px; }

.tun26.tun26-home-v2 .tun26-school-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tun26.tun26-home-v2 .tun26-school {
  min-height: 104px;
  padding: 12px 8px;
  gap: 8px;
  border-color: transparent;
  background: transparent;
  font-size: 14px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tun26.tun26-home-v2 .tun26-school:hover {
  transform: translateY(-3px);
  border-color: rgba(143, 134, 245, .45);
  background: rgba(245, 246, 255, .72);
  box-shadow: 0 10px 22px rgba(70, 77, 166, .1);
}

.tun26.tun26-home-v2 .tun26-school-logo {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 11px;
  background: #fff;
}

.tun26.tun26-home-v2 #brxe-tsqpsd.tun26-explore {
  position: relative;
  min-height: 100%;
  height: auto;
  padding: 22px;
  background-position: 64% center;
  overflow: hidden;
}

.tun26.tun26-home-v2 .tun26-explore::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(232, 242, 255, .96) 0%, rgba(232, 242, 255, .76) 52%, rgba(232, 242, 255, .08) 100%);
  pointer-events: none;
}

.tun26.tun26-home-v2 .tun26-explore > * { position: relative; z-index: 1; }
.tun26.tun26-home-v2 #brxe-tsqpsd.tun26-explore h2 { max-width: 72%; }
.tun26.tun26-home-v2 #brxe-tsqpsd.tun26-explore .tun26-cta { max-width: 76%; }

.tun26.tun26-home-v2 .tun26-pei-host h2,
.tun26.tun26-home-v2 .tun26-schools h2,
.tun26.tun26-home-v2 #brxe-tsqpsd.tun26-explore h2,
.tun26.tun26-home-v2 .tun26-news h2,
.tun26.tun26-home-v2 .tun26-campus-index-heading h2,
.tun26.tun26-home-v2 .tun26-lower-heading h2 {
  font-size: 25px !important;
  line-height: 1.32;
  font-weight: 900;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.tun26.tun26-home-v2 .tun26-pei-host p,
.tun26.tun26-home-v2 #brxe-tsqpsd.tun26-explore p,
.tun26.tun26-home-v2 #brxe-tsqpsd.tun26-explore a { font-size: 14px; }

.tun26.tun26-home-v2 .tun26-news { align-content: start; }
.tun26.tun26-home-v2 .tun26-news-list { margin-top: 6px; }
.tun26.tun26-home-v2 .tun26-news-row { padding: 12px 0; border-top: 1px solid #edf0f7; }
.tun26.tun26-home-v2 .tun26-news-row:first-child { border-top: 0; }
.tun26.tun26-home-v2 .tun26-news-title { font-size: 15px; line-height: 1.55; font-weight: 650; }
.tun26.tun26-home-v2 .tun26-date { font-size: 13px; }

.tun26.tun26-home-v2 .tun26-campus-index-home {
  padding: 24px;
  background:
    radial-gradient(circle at 88% 8%, rgba(50, 193, 255, .18), transparent 26%),
    linear-gradient(140deg, #f6f3ff, #f2fbff 54%, #fff);
}

.tun26.tun26-home-v2 .tun26-campus-index-heading,
.tun26.tun26-home-v2 .tun26-lower-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.tun26.tun26-home-v2 .tun26-campus-index-heading h2,
.tun26.tun26-home-v2 .tun26-lower-heading h2 {
  margin: 2px 0 0;
}

.tun26.tun26-home-v2 .tun26-home-kicker {
  display: block;
  color: #6f63df;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.tun26.tun26-home-v2 .tun26-campus-index-more {
  flex: none;
  color: #5f55d8;
  font-size: 14px;
  font-weight: 800;
}

.tun26.tun26-home-v2 .tun26-campus-index-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  margin-top: 18px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #5f55d8;
  color: #fff;
  box-shadow: 0 9px 20px rgba(95, 85, 216, .22);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.tun26.tun26-home-v2 .tun26-campus-index-cta:hover {
  transform: translateY(-2px);
  background: #4f45c7;
  color: #fff;
  box-shadow: 0 12px 24px rgba(95, 85, 216, .28);
}

.tun26.tun26-home-v2 .tun26-campus-index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.tun26.tun26-home-v2 .tun26-campus-index-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 78px;
  padding: 12px;
  border: 0;
  border-bottom: 1px solid rgba(126, 119, 220, .18);
  border-radius: 0;
  background: transparent;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tun26.tun26-home-v2 .tun26-campus-index-item:hover {
  transform: translateY(-3px);
  border-color: rgba(143, 134, 245, .58);
  border-radius: 14px;
  background: rgba(255, 255, 255, .48);
  box-shadow: 0 8px 18px rgba(63, 75, 145, .08);
}

.tun26.tun26-home-v2 .tun26-campus-index-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, #7563ef, #36bff5);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.tun26.tun26-home-v2 .tun26-campus-index-copy { min-width: 0; }
.tun26.tun26-home-v2 .tun26-campus-index-copy strong { display: block; font-size: 15px; line-height: 1.35; }
.tun26.tun26-home-v2 .tun26-campus-index-copy small { display: block; margin-top: 3px; color: #596683; font-size: 13px; line-height: 1.4; }
.tun26.tun26-home-v2 .tun26-campus-index-arrow { color: #7366e5; font-weight: 900; }

.tun26.tun26-home-v2 #tun26-resources.tun26-resource-links {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding-top: 0;
  border-top: 0;
}

.tun26.tun26-home-v2 .tun26-learning-activities {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px;
  width: 100%;
  align-items: stretch;
}

.tun26.tun26-home-v2 .tun26-learning-panel,
.tun26.tun26-home-v2 .tun26-activity-panel {
  min-width: 0;
  padding: 24px;
  border: 1px solid #e5eaf5;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(20, 38, 82, .07);
}

.tun26.tun26-home-v2 .tun26-learning-panel {
  background: linear-gradient(145deg, #fff, #f7f7ff);
}

.tun26.tun26-home-v2 .tun26-lower-heading { align-items: flex-start; }
.tun26.tun26-home-v2 .tun26-lower-heading > p {
  max-width: 230px;
  margin: 0;
  color: #596683;
  font-size: 14px;
  line-height: 1.6;
}

.tun26.tun26-home-v2 .tun26-learning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.tun26.tun26-home-v2 .tun26-learning-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  transition: transform .2s ease, box-shadow .2s ease;
}

.tun26.tun26-home-v2 .tun26-learning-card:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

.tun26.tun26-home-v2 .tun26-learning-image {
  position: relative;
  display: block;
  width: 76px;
  height: 76px;
  aspect-ratio: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #eef4ff;
}
.tun26.tun26-home-v2 .tun26-learning-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.tun26.tun26-home-v2 .tun26-learning-card:hover img { transform: scale(1.06); }
.tun26.tun26-home-v2 .tun26-learning-copy { display: flex; flex-direction: column; justify-content: flex-start; min-width: 0; padding: 0; overflow-wrap: anywhere; }
.tun26.tun26-home-v2 .tun26-learning-copy strong { font-size: 16px; line-height: 1.35; }
.tun26.tun26-home-v2 .tun26-learning-copy small { margin-top: 5px; color: #596683; font-size: 13px; line-height: 1.5; }
.tun26.tun26-home-v2 .tun26-learning-copy > span { margin-top: 6px; color: #5e54d9; font-size: 13px; font-weight: 800; }

.tun26.tun26-home-v2 .tun26-activity-heading { align-items: center; }
.tun26.tun26-home-v2 .tun26-slider-controls { display: flex; align-items: center; gap: 8px; }
.tun26.tun26-home-v2 .tun26-slider-controls button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #dce2ef;
  border-radius: 50%;
  background: rgba(246, 247, 255, .86);
  color: #172653;
  cursor: pointer;
}
.tun26.tun26-home-v2 .tun26-slider-controls button:hover:not(:disabled) { border-color: #7769e8; color: #6256db; }
.tun26.tun26-home-v2 .tun26-slider-controls button:disabled { opacity: .35; cursor: default; }
.tun26.tun26-home-v2 .tun26-slider-status { min-width: 46px; color: #67728c; font-size: 13px; text-align: center; }

.tun26.tun26-home-v2 .tun26-activity-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  margin-top: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}
.tun26.tun26-home-v2 .tun26-activity-track::-webkit-scrollbar { display: none; }
.tun26.tun26-home-v2 .tun26-activity-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 224px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  scroll-snap-align: start;
}
.tun26.tun26-home-v2 .tun26-activity-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  transition: transform .35s ease;
}
.tun26.tun26-home-v2 .tun26-activity-card:hover img { transform: scale(1.06); }
.tun26.tun26-home-v2 .tun26-activity-card > span { display: flex; flex: 1; flex-direction: column; justify-content: space-between; padding: 13px 2px 4px; }
.tun26.tun26-home-v2 .tun26-activity-card strong { font-size: 15px; line-height: 1.45; }
.tun26.tun26-home-v2 .tun26-activity-card small { color: #665add; font-size: 13px; font-weight: 800; }

@media (max-width: 1180px) {
  .tun26.tun26-home-v2 .tun26-content .tun26-bottom {
    grid-template-areas:
      "pei pei pei pei pei pei schools schools schools schools schools schools"
      "explore explore explore explore news news news news news news news news"
      "index index index index index index index index index index index index";
  }
  .tun26.tun26-home-v2 .tun26-content .tun26-bottom > .tun26-pei-host { grid-row: 1; grid-column: 1 / span 6; }
  .tun26.tun26-home-v2 .tun26-content .tun26-bottom > .tun26-schools { grid-row: 1; grid-column: 7 / span 6; }
  .tun26.tun26-home-v2 .tun26-content .tun26-bottom > #brxe-tsqpsd.tun26-explore { grid-row: 2; grid-column: 1 / span 4; }
  .tun26.tun26-home-v2 .tun26-content .tun26-bottom > .tun26-news { grid-row: 2; grid-column: 5 / span 8; }
  .tun26.tun26-home-v2 .tun26-content .tun26-bottom > .tun26-campus-index-home { grid-row: 3; grid-column: 1 / -1; }
  .tun26.tun26-home-v2 .tun26-learning-activities { grid-template-columns: 1fr; }
  .tun26.tun26-home-v2 #brxe-tsqpsd.tun26-explore { min-height: 230px; }
}

@media (max-width: 820px) {
  .tun26.tun26-home-v2 .tun26-content .tun26-bottom {
    grid-template-columns: 1fr;
    grid-template-areas: "pei" "schools" "explore" "news" "index";
    gap: 18px;
  }
  .tun26.tun26-home-v2 .tun26-content .tun26-bottom > .tun26-pei-host { grid-row: 1; grid-column: 1; }
  .tun26.tun26-home-v2 .tun26-content .tun26-bottom > .tun26-schools { grid-row: 2; grid-column: 1; }
  .tun26.tun26-home-v2 .tun26-content .tun26-bottom > #brxe-tsqpsd.tun26-explore { grid-row: 3; grid-column: 1; }
  .tun26.tun26-home-v2 .tun26-content .tun26-bottom > .tun26-news { grid-row: 4; grid-column: 1; }
  .tun26.tun26-home-v2 .tun26-content .tun26-bottom > .tun26-campus-index-home { grid-row: 5; grid-column: 1; }
  .tun26.tun26-home-v2 .tun26-campus-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tun26.tun26-home-v2 .tun26-activity-track { grid-auto-columns: calc((100% - 16px) / 2); }
}

@media (max-width: 560px) {
  .tun26.tun26-home-v2 .tun26-pei-host,
  .tun26.tun26-home-v2 .tun26-schools,
  .tun26.tun26-home-v2 .tun26-news,
  .tun26.tun26-home-v2 .tun26-campus-index-home,
  .tun26.tun26-home-v2 .tun26-learning-panel,
  .tun26.tun26-home-v2 .tun26-activity-panel { padding: 18px; border-radius: 20px; }
  .tun26.tun26-home-v2 .tun26-school-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tun26.tun26-home-v2 .tun26-school { min-height: 102px; }
  .tun26.tun26-home-v2 .tun26-campus-index-heading,
  .tun26.tun26-home-v2 .tun26-lower-heading { align-items: flex-start; flex-direction: column; }
  .tun26.tun26-home-v2 .tun26-pei-host h2,
  .tun26.tun26-home-v2 .tun26-schools h2,
  .tun26.tun26-home-v2 #brxe-tsqpsd.tun26-explore h2,
  .tun26.tun26-home-v2 .tun26-news h2,
  .tun26.tun26-home-v2 .tun26-campus-index-heading h2,
  .tun26.tun26-home-v2 .tun26-lower-heading h2 { font-size: 23px !important; }
  .tun26.tun26-home-v2 .tun26-campus-index-grid { grid-template-columns: 1fr; }
  .tun26.tun26-home-v2 .tun26-learning-grid { grid-template-columns: 1fr; }
  .tun26.tun26-home-v2 .tun26-learning-card { display: grid; }
  .tun26.tun26-home-v2 .tun26-lower-heading > p { max-width: none; }
  .tun26.tun26-home-v2 .tun26-activity-heading { flex-direction: row; align-items: center; }
  .tun26.tun26-home-v2 .tun26-activity-track { grid-auto-columns: 88%; }
  .tun26.tun26-home-v2 .tun26-news-row { grid-template-columns: 74px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .tun26.tun26-home-v2 .tun26-school,
  .tun26.tun26-home-v2 .tun26-campus-index-item,
  .tun26.tun26-home-v2 .tun26-learning-card,
  .tun26.tun26-home-v2 .tun26-learning-image img,
  .tun26.tun26-home-v2 .tun26-activity-card img { transition: none; }
}
