/* Homepage */
.hero-gzgs {
  box-sizing: border-box;
  height: 100dvh;
  min-height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--theme-hero-bg);
  padding-top: 0;
  overflow: hidden;
}

.hero-gzgs__stage {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero-gzgs-carousel {
  flex: 1 1 0;
  min-height: 0;
  position: relative;
}

.hero-gzgs-carousel .carousel-inner {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-gzgs-carousel .carousel-item {
  position: relative;
  height: 100%;
  min-height: 100%;
}

.hero-gzgs-carousel .carousel-item.active,
.hero-gzgs-carousel .carousel-item-next,
.hero-gzgs-carousel .carousel-item-prev,
.hero-gzgs-carousel .carousel-item-next:not(.carousel-item-start),
.hero-gzgs-carousel .carousel-item-prev:not(.carousel-item-end) {
  display: block;
}

.hero-banner-slide {
  position: relative;
  height: 100%;
  min-height: 100%;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--theme-hero-visual-bg);
}

.hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-gzgs-indicators {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.75rem;
  margin: 0;
  justify-content: center;
  z-index: 5;
}

.hero-gzgs-indicators [data-bs-target] {
  width: 2rem;
  height: 4px;
  border: none;
  border-radius: 2px;
  margin: 0 4px;
  background-color: rgba(255, 255, 255, 0.35);
  opacity: 1;
}

.hero-gzgs-indicators [data-bs-target].active {
  background-color: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.hero-gzgs-ctrl {
  width: 3rem;
  z-index: 5;
  opacity: 0.75;
}

.hero-gzgs-ctrl:hover {
  opacity: 1;
}

.hero-gzgs-carousel .carousel-control-prev-icon,
.hero-gzgs-carousel .carousel-control-next-icon {
  filter: invert(1) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.hero-gzgs__bottom {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.65rem 0;
}

.hero-gzgs__quick a {
  color: var(--theme-primary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.hero-gzgs__quick a:hover {
  text-decoration: underline;
}

.section-head-gzgs {
  margin-bottom: 1.25rem;
}

.section-head-gzgs h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--theme-heading);
  margin: 0;
}

.section-head-gzgs .bar {
  height: 4px;
  width: 100%;
  max-width: 200px;
  margin-top: 0.65rem;
  background: linear-gradient(
    90deg,
    var(--theme-primary) 0%,
    var(--theme-primary) 35%,
    var(--theme-border-subtle) 35%,
    var(--theme-border-subtle) 100%
  );
  border-radius: 2px;
}

.section-head-gzgs--media-center h2 {
  font-size: clamp(1.45rem, 3vw, 1.75rem);
}

.section-head-gzgs--media-center .bar {
  max-width: 12rem;
}

.section-head-gzgs--news-mid {
  text-align: center;
  margin-bottom: 0;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.section-head-gzgs__news-link {
  color: inherit;
  text-decoration: none;
}

.section-head-gzgs__news-link:hover {
  color: var(--theme-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.media-block-red {
  background: linear-gradient(145deg, #c4121a 0%, #8b0e14 100%);
  color: #fff;
  border-radius: 0.375rem;
  padding: 1.5rem 1.25rem;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(196, 18, 26, 0.25);
}

.media-block-red h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
}

.media-block-red p {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  opacity: 0.92;
}

.link-list-gzgs a {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  padding: 0.55rem 0;
  color: var(--theme-text);
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid var(--theme-border-light);
}

.link-list-gzgs__date {
  flex-shrink: 0;
  min-width: 5.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--theme-text-muted);
  font-variant-numeric: tabular-nums;
}

.link-list-gzgs__text {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
}

.link-list-gzgs a:hover {
  color: var(--theme-primary);
  padding-left: 0.25rem;
  transition: padding 0.15s ease;
}

.link-list-gzgs a:hover .link-list-gzgs__date {
  color: var(--theme-primary);
  opacity: 0.9;
}

.link-list-gzgs--notices a {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.85rem 0;
}

.link-list-gzgs--notices .link-list-gzgs__title {
  font-size: clamp(1.125rem, 2.4vw, 1.1875rem);
  font-weight: 800;
  color: var(--theme-heading);
  line-height: 1.45;
}

.link-list-gzgs--notices .link-list-gzgs__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--theme-text-muted);
  font-variant-numeric: tabular-nums;
}

.link-list-gzgs--notices .link-list-gzgs__clock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: #ff8a00;
  color: #fff;
  font-size: 0.55rem;
  line-height: 1;
}

.link-list-gzgs--notices a:hover .link-list-gzgs__title {
  color: var(--theme-primary);
}

.link-list-gzgs--notices a.link-list-gzgs__more {
  padding-top: 0.65rem;
}

.link-list-gzgs--notices a.link-list-gzgs__more .link-list-gzgs__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--theme-primary);
}

.link-list-gzgs--news a {
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 1rem;
}

.link-list-gzgs--news .link-list-gzgs__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--theme-heading);
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-list-gzgs--news .link-list-gzgs__date {
  flex: 0 0 auto;
  min-width: 5.25rem;
  text-align: right;
  font-size: 0.8125rem;
}

.link-list-gzgs--news a:hover {
  color: inherit;
}

.link-list-gzgs--news a:hover .link-list-gzgs__text {
  color: var(--theme-primary);
}

.link-list-gzgs__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.9rem;
}

.link-list-gzgs__more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--theme-primary);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
}

.link-list-gzgs__more-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.media-focus-carousel {
  position: relative;
  border-radius: 0.375rem;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.media-focus-carousel__inner {
  border-radius: 0.375rem;
}

.media-focus-carousel .carousel-item {
  position: relative;
}

.media-focus-card {
  display: block;
  position: relative;
  color: inherit;
  overflow: hidden;
  border-radius: 0.375rem;
}

.media-focus-card__media {
  aspect-ratio: 16 / 9;
  background: #1a1a1a;
}

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

.media-focus-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 4rem;
  padding: 0.55rem 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.25rem;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(6px);
  z-index: 2;
}

.media-focus-card__time {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

.media-focus-card__title {
  color: #fff;
  font-size: clamp(0.875rem, 2.1vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.media-focus-card:hover .media-focus-card__title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.media-focus-carousel__indicators {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7rem;
  margin: 0;
  padding: 0 0.5rem;
  justify-content: center;
  gap: 0.35rem;
  z-index: 3;
}

.media-focus-carousel__indicators [data-bs-target] {
  width: 1.75rem;
  height: 4px;
  border: none;
  border-radius: 2px;
  margin: 0;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.media-focus-carousel__indicators [data-bs-target].active {
  background-color: #fff;
}

.media-focus-carousel__ctrl {
  width: 2.5rem;
  z-index: 4;
  opacity: 0.88;
}

.media-focus-carousel__ctrl:hover {
  opacity: 1;
}

.media-focus-carousel .carousel-control-prev-icon,
.media-focus-carousel .carousel-control-next-icon {
  filter: invert(1) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.topic-card {
  background: #fff;
  border: 1px solid var(--theme-border-light);
  border-radius: 0.375rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.topic-card .topic-visual {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 4px solid var(--theme-primary);
  box-shadow: 0 8px 24px rgba(var(--theme-primary-rgb), 0.15);
}

.topic-card .topic-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link-arrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  color: var(--theme-text);
  text-decoration: none;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--theme-border-light);
}

.link-arrow:hover {
  color: var(--theme-primary);
}

.link-arrow i {
  color: var(--theme-primary);
  font-size: 1.1rem;
}

.stats-band {
  position: relative;
  background: var(--theme-primary);
  color: #fff;
  overflow: hidden;
}

.stats-band__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04)),
    url("../../images/home/campus-3.png") center / 70% no-repeat;
    opacity: 0.14;
  mix-blend-mode: normal;
}

.stats-band .container {
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.stat-item .icon-line {
  font-size: 2.25rem;
  opacity: 0.95;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-item .num {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.stat-item .lbl {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

.video-panel {
  border-radius: 0.375rem;
  overflow: hidden;
  background: var(--theme-video-outer-bg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.video-panel video {
  cursor: pointer;
}

.video-panel .ratio {
  background: var(--theme-video-inner-bg);
}

.video-panel__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campus-show .play-btn,
.video-panel .play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--theme-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.side-menu-blue {
  background: var(--theme-primary);
  color: #fff;
  border-radius: 0.375rem;
  padding: 0;
  overflow: hidden;
  height: 100%;
  min-height: 280px;
  box-shadow: 0 12px 40px rgba(var(--theme-primary-rgb), 0.2);
}

.side-menu-blue__head {
  padding: 1.25rem 1.25rem 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.side-menu-blue a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 0.9375rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-menu-blue a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.section-gray {
  background: var(--gs-gray-bg);
}

.card-gzgs-feature {
  border: none;
  border-radius: 0.375rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.card-gzgs-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(var(--theme-primary-rgb), 0.12);
}

.card-gzgs-feature img {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.card-gzgs-feature .card-footer {
  background: #fff;
  border-top: none;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.85rem 1rem;
  color: var(--theme-heading);
}

.campus-show .main-shot {
  position: relative;
  border-radius: 0.375rem;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.campus-show .main-shot img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.campus-blue-box {
  background: var(--theme-primary);
  color: #fff;
  border-radius: 0.375rem;
  padding: 2rem 1.75rem;
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(var(--theme-primary-rgb), 0.2);
}

.campus-blue-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.campus-blue-box p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  opacity: 0.92;
}

.thumb-row img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 0.375rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.media-wall {
  background: #fff;
}

.media-wall__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.media-wall__item {
  display: block;
  border-radius: 0.375rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  aspect-ratio: 16 / 9;
}

.media-wall__item--disabled {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}

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

@media (max-width: 991.98px) {
  .media-wall__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-gzgs {
    /* min-height: 42rem; */
     min-height: 30dvh;
    max-height: none;
    height: 30dvh;
  }

  .hero-gzgs__stage {
    /* min-height: 28rem; */
    height: 30dvh;
  }

  .hero-gzgs-carousel .carousel-inner,
  .hero-gzgs-carousel,
  .hero-gzgs-carousel .carousel-item,
  .hero-banner-slide {
    position: relative;
    /* min-height: 28rem; */
     height: 30dvh;
  }
}

@media (max-width: 575.98px) {
  .media-wall__grid {
    grid-template-columns: 1fr;
  }

  .media-focus-carousel__indicators {
    bottom: 6.25rem;
  }

  .link-list-gzgs__date {
    min-width: 4.75rem;
    font-size: 0.75rem;
  }
}

.reveal-item {
  opacity: 1;
}

.reveal-enabled .reveal-item {
  opacity: 0;
  will-change: opacity, transform;
}

.reveal-enabled .reveal-host:not(.reveal-host--visible) .reveal-item {
  opacity: 0;
  animation: none;
}

.reveal-enabled .reveal-host--visible .reveal-item {
  opacity: 1;
  animation-name: fadeInUp;
  animation-duration: 0.9s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-delay: calc(var(--reveal-stagger, 0) * 120ms);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1 !important;
    will-change: auto;
  }

  .reveal-enabled .reveal-host--visible .reveal-item {
    animation: none !important;
  }
}
