@media (min-width: 1024px) {
  .navbar {
    position: relative;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .navbar-nav {
    gap: var(--nav-gap);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center !important;
    margin-inline: 0;
    flex-wrap: nowrap;
    max-width: calc(100% - var(--brand-logo-width) - var(--nav-right-width));
  }

  .navbar-nav > :not(:last-child) {
    margin-inline: 0;
  }

  .navbar > .order-1 {
    flex: 0 0 var(--nav-right-width);
    justify-content: flex-end;
    white-space: nowrap;
  }
}

@media (max-width: 1400px) and (min-width: 1024px) {
  .navbar-nav {
    position: static;
    left: auto;
    transform: none;
    margin-inline: 0;
  }

  .navbar-brand {
    margin-left: calc(var(--spacing) * 6);
  }
}

:root {
  --brand-logo-width: clamp(170px, 20vw, 300px);
  --brand-logo-height: clamp(42px, 7vw, 100px);
  --brand-logo-left: clamp(0.5rem, 2.5vw, 3.75rem);
  --nav-font-size: clamp(0.95rem, 1.2vw, 1.3rem);
  --nav-gap: clamp(0.5rem, 1.6vw, 2.5rem);
  --nav-right-width: clamp(6rem, 12vw, 10rem);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--brand-logo-width);
  height: var(--brand-logo-height);
  margin-left: var(--brand-logo-left);
  background: var(--site-logo-light) no-repeat center / contain;
  overflow: hidden;
  text-indent: -9999px;
  white-space: nowrap;
  font-size: 0;
}

.dark .navbar-brand {
  background-image: var(--site-logo-dark);
}

@media (max-width: 1023.98px) {
  .navbar {
    min-height: var(--brand-logo-height);
    justify-content: space-between;
  }

  .navbar-nav {
    position: static;
    left: auto;
    transform: none;
    margin-inline: 0;
    gap: calc(var(--spacing) * 4);
  }

  .navbar-brand {
    margin-left: calc(var(--spacing) * 2);
  }

  .nav-link {
    font-size: calc(var(--text-base) * 1);
  }
}

@media (max-width: 768px) {
  :root {
    --brand-logo-width: 170px;
    --brand-logo-height: 42px;
  }

  .navbar-brand {
    margin-left: calc(var(--spacing) * 2);
  }
}

/* Keep sticky nav above scrolling homepage content. */
.page-header {
  z-index: 90;
  isolation: isolate;
}

#site-header.header {
  position: relative;
  z-index: 1;
  padding-block: 0;
}

.navbar {
  min-height: var(--brand-logo-height);
  align-items: center;
}

.nav-link {
  font-size: var(--nav-font-size);
  white-space: nowrap;
}

@media (max-width: 1280px) {
  .nav-link {
    font-size: var(--nav-font-size);
  }

  .navbar-nav {
    gap: var(--nav-gap);
  }
}

@media (max-width: 1023.98px) {
  .nav-link {
    font-size: var(--nav-font-size);
  }

  .navbar-nav {
    gap: var(--nav-gap);
  }
}

.hero-carousel-wrapper {
  margin: 0 calc(50% - 50vw);
}

/* Remove top gap above the hero carousel so it touches the navbar */
#hero-carousel {
  margin-top: 0;
  padding-top: 0;
}

.hero-carousel {
  position: relative;
  width: 100vw;
  height: 90vh;
  overflow: hidden;
  background: #000;
}

/* Reduce gap between hero carousel and next section on home */
.page-home #hero-carousel {
  padding-bottom: 0;
}

.page-home #hero-carousel + .hbb-section {
  padding-top: 5;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 800ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35));
}

.hero-slide-content {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  padding: 0 6vw;
}

.hero-slide-title {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.hero-slide-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  opacity: 0.9;
}

.hero-slide-title,
.hero-slide-subtitle {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease, transform 700ms ease;
}

.pdf-preview {
  margin: 2rem 0;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.dark .pdf-preview {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: none;
}

.pdf-preview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1rem;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08), rgba(14, 165, 233, 0.14));
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.dark .pdf-preview__header {
  background: rgba(30, 41, 59, 0.92);
  border-bottom-color: rgba(148, 163, 184, 0.2);
}

.pdf-preview__header a {
  font-weight: 600;
  white-space: nowrap;
}

.pdf-preview__frame {
  height: var(--pdf-preview-height, 960px);
  background: #e2e8f0;
}

.pdf-preview__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.pdf-preview__hint {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.72);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.dark .pdf-preview__hint {
  color: rgba(226, 232, 240, 0.82);
  border-top-color: rgba(148, 163, 184, 0.2);
}

@media (max-width: 768px) {
  .pdf-preview__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .pdf-preview__header a {
    white-space: normal;
  }

  .pdf-preview__frame {
    height: min(70vh, 720px);
  }
}

.hero-slide.is-active .hero-slide-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 120ms;
}

.hero-slide.is-active .hero-slide-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 220ms;
}

/* Make Mermaid diagrams wider than the prose column */
.prose .mermaid {
  width: 70vw;
  max-width: 70vw;
  margin-left: calc(50% - 35vw);
  margin-right: calc(50% - 35vw);
}

.prose .mermaid svg {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .prose .mermaid {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Widen the intro block text and Bilibili embed */
#intro .prose {
  width: 70vw;
  max-width: 70vw;
}

/* Social service technology achievement page: use 60% viewport width on desktop */
#technology-achievement > .flex {
  width: 60vw;
  max-width: 60vw;
}

#technology-achievement .prose {
  width: 100%;
  max-width: 100%;
}

#intro .bili-video {
  width: 70vw;
  max-width: 70vw;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  #technology-achievement > .flex {
    width: 100%;
    max-width: 100%;
  }

  #intro .prose,
  #intro .bili-video {
    width: 100%;
    max-width: 100%;
  }
}

/* Home portfolio block: use 80% viewport width on desktop */
#recent-papers > .mx-auto.max-w-7xl {
  width: 90vw;
  max-width: 90vw;
}

@media (max-width: 1023.98px) {
  #recent-papers > .mx-auto.max-w-7xl {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .blox-collection .flex.flex-col.items-center.px-6 {
    padding-left: 0;
    padding-right: 0;
  }

  .blox-collection .flex.flex-col.items-center.px-6 > .container {
    width: 90vw;
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .blox-collection [role="article"] {
    width: 100%;
  }

  .blox-collection [role="article"] h3 {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.4;
  }
}

@media (min-width: 1024px) {
  .research-areas-shell--wide {
    padding-left: 0;
    padding-right: 0;
  }

  .research-areas-container--wide {
    width: 90vw;
    max-width: 90vw;
  }
}

@media (max-width: 1023.98px) {
  .research-areas-container--wide {
    width: 100%;
    max-width: 100%;
  }
}

@media (min-width: 1024px) {
  #research-areas .research-areas-header {
    width: 80vw;
    max-width: 80vw;
  }
}

/* Partner logos: larger size and keep original colors */
#partners img {
  height: clamp(5.5rem, 9vw, 7.5rem);
  width: auto;
  filter: none !important;
  opacity: 1 !important;
}

/* Publication pages: widen text content */
.page-publications {
  --publication-text-width: 60vw;
}

.page-publications .max-w-screen-xl {
  max-width: 100%;
}

.page-publications article > main {
  width: var(--publication-text-width);
  max-width: var(--publication-text-width);
  margin-left: auto;
  margin-right: auto;
}

.page-publications main > h1,
.page-publications main > .max-w-prose.grid {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.page-publications .max-w-prose.grid > div:first-child + div {
  text-align: justify;
  text-justify: inter-ideograph;
}

.page-publications .prose {
  text-align: justify;
  text-justify: inter-ideograph;
}

.page-publications .prose p {
  margin: 0;
}

.page-publications .prose p + p {
  margin-top: 0.75rem;
}

.page-publications .max-w-prose.grid > div:first-child + div p {
  margin: 0;
}

.page-publications .max-w-prose.grid > div:first-child + div p + p {
  margin-top: 0.75rem;
}

/* Publications list page title alignment */
.page-publications .page-body .prose h1 {
  text-align: center;
}

.page-publications .publication-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 0.75rem;
  background: rgba(248, 250, 252, 0.65);
}

.page-publications .publication-filters__field {
  display: flex;
  flex-direction: column;
  min-width: 11rem;
  gap: 0.35rem;
}

.page-publications .publication-filters__field label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(30, 41, 59, 0.9);
}

.page-publications .publication-filters__field select {
  padding: 0.45rem 0.6rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #fff;
  min-height: 2.2rem;
}

.page-publications .publication-filters__status {
  margin-left: auto;
  font-size: 0.9rem;
  color: rgba(51, 65, 85, 0.9);
}

.page-publications .publication-filters__empty {
  margin-bottom: 0.9rem;
  color: rgba(185, 28, 28, 0.9);
  font-size: 0.92rem;
}

.dark .page-publications .publication-filters {
  border-color: rgba(100, 116, 139, 0.6);
  background: rgba(15, 23, 42, 0.45);
}

.dark .page-publications .publication-filters__field label,
.dark .page-publications .publication-filters__status {
  color: rgba(226, 232, 240, 0.95);
}

.dark .page-publications .publication-filters__field select {
  background: rgba(2, 6, 23, 0.8);
  color: rgba(226, 232, 240, 0.95);
  border-color: rgba(100, 116, 139, 0.7);
}

.dark .page-publications .publication-filters__empty {
  color: rgba(252, 165, 165, 0.95);
}

.page-publications .prose,
.page-publications .max-w-prose,
.page-publications .container.mx-auto.prose,
.page-publications time {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.page-news-detail article > main {
  width: 60vw;
  max-width: 60vw;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.page-news-detail article > main > h1,
.page-news-detail article > main > .mt-4.mb-16,
.page-news-detail article > main > .prose,
.page-news-detail article > main > time,
.page-news-detail article > main > .container.mx-auto.prose {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.page-news-detail .article-header.article-container.featured-image-wrapper {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .page-publications article > main,
  .page-publications .prose,
  .page-publications .max-w-prose,
  .page-publications .container.mx-auto.prose,
  .page-publications time {
    width: 100%;
    max-width: 100%;
  }

  .page-publications main > h1,
  .page-publications main > .max-w-prose.grid {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .page-news-detail article > main {
    width: 90vw;
    max-width: 90vw;
  }
}

.hero-carousel-indicators {
  position: absolute;
  left: 50%;
  bottom: 2vh;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.coverflow-carousel {
  --coverflow-card-width: clamp(13rem, 28vw, 21rem);
  --coverflow-card-height: clamp(18rem, 40vw, 29rem);
  --coverflow-card-gap: clamp(4rem, 12vw, 9.5rem);
  --coverflow-depth: 180px;
  position: relative;
  width: min(100%, 72rem);
  margin: 1.5rem auto 2.5rem;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(0.75rem, 2.2vw, 1.5rem) 4.75rem;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(45, 212, 191, 0.22), transparent 34%),
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.24), transparent 30%),
    linear-gradient(135deg, #061326 0%, #0a1c33 52%, #0f2942 100%);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.16);
}

.coverflow-carousel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(226, 232, 240, 0.14);
  pointer-events: none;
}

.coverflow-carousel__header {
  position: relative;
  z-index: 2;
  margin-bottom: 0.75rem;
  padding: 0 0.5rem;
}

.coverflow-carousel__section-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.92);
}

.coverflow-carousel__section-subtitle {
  margin-top: 0.3rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.82);
}

.coverflow-carousel__viewport {
  position: relative;
  min-height: clamp(22rem, 43vw, 31rem);
  perspective: 1600px;
  perspective-origin: 50% 40%;
}

.coverflow-carousel__track {
  position: relative;
  min-height: inherit;
  transform-style: preserve-3d;
}

.coverflow-carousel__card {
  --offset: 0;
  --abs-offset: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--coverflow-card-width);
  height: var(--coverflow-card-height);
  transform-style: preserve-3d;
  transform:
    translate3d(
      calc(-50% + (var(--offset) * var(--coverflow-card-gap))),
      calc(-50% + (var(--abs-offset) * 0.9rem)),
      calc((2 - var(--abs-offset)) * var(--coverflow-depth))
    )
    rotateY(calc(var(--offset) * -30deg))
    scale(calc(1 - (var(--abs-offset) * 0.08)));
  opacity: calc(1 - (var(--abs-offset) * 0.22));
  filter: saturate(calc(1 - (var(--abs-offset) * 0.14))) blur(calc(var(--abs-offset) * 0.45px));
  transition:
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 360ms ease,
    filter 360ms ease;
  cursor: pointer;
}

.coverflow-carousel__card.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.coverflow-carousel__frame {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 1rem;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(226, 232, 240, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 28px 54px rgba(2, 8, 23, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.coverflow-carousel__image-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(241, 245, 249, 0.92), rgba(226, 232, 240, 0.82)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.96));
}

.coverflow-carousel__image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 249, 0.94));
}

.coverflow-carousel__image--placeholder {
  position: relative;
}

.coverflow-carousel__image--placeholder::before,
.coverflow-carousel__image--placeholder::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 20px;
}

.coverflow-carousel__image--placeholder::before {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(45, 212, 191, 0.24));
}

.coverflow-carousel__image--placeholder::after {
  inset: 28%;
  border: 2px dashed rgba(59, 130, 246, 0.42);
}

.coverflow-carousel__caption {
  padding: 0.95rem 0.2rem 0.1rem;
  color: #0f172a;
}

.coverflow-carousel__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.coverflow-carousel__subtitle {
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: rgba(15, 23, 42, 0.7);
}

.coverflow-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 2.85rem;
  height: 2.85rem;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(2, 8, 23, 0.2);
  transform: translateY(-50%);
  transition: background 220ms ease, transform 220ms ease;
  cursor: pointer;
}

.coverflow-carousel__nav:hover,
.coverflow-carousel__nav:focus-visible {
  background: rgba(14, 116, 144, 0.82);
  transform: translateY(-50%) scale(1.04);
  outline: none;
}

.coverflow-carousel__nav.is-prev {
  left: 0.35rem;
}

.coverflow-carousel__nav.is-next {
  right: 0.35rem;
}

.coverflow-carousel__nav span {
  font-size: 1.7rem;
  line-height: 1;
}

.coverflow-carousel__indicators {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  z-index: 3;
  display: flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.5rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.26);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

.coverflow-carousel__indicator {
  width: 0.7rem;
  height: 0.7rem;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.42);
  transition: width 220ms ease, background 220ms ease, transform 220ms ease;
  cursor: pointer;
}

.coverflow-carousel__indicator:hover,
.coverflow-carousel__indicator:focus-visible {
  background: rgba(191, 219, 254, 0.92);
  outline: none;
}

.coverflow-carousel__indicator.is-active {
  width: 2rem;
  background: rgba(125, 211, 252, 0.96);
}

.coverflow-carousel--image-height {
  --coverflow-frame-padding: clamp(0.55rem, 1.2vw, 0.9rem);
}

.coverflow-carousel--image-height .coverflow-carousel__viewport {
  min-height: calc(
    (var(--coverflow-card-width) * var(--coverflow-active-image-height, 2)) / var(--coverflow-active-image-width, 3) +
      (var(--coverflow-frame-padding) * 2) +
      1.8rem
  );
}

.coverflow-carousel--image-height .coverflow-carousel__card {
  height: auto;
}

.coverflow-carousel--image-height .coverflow-carousel__frame {
  height: auto;
  padding: var(--coverflow-frame-padding);
}

.coverflow-carousel--image-height .coverflow-carousel__image-wrap {
  flex: 0 0 auto;
  min-height: 0;
  aspect-ratio: var(--coverflow-image-width, 3) / var(--coverflow-image-height, 2);
}

.coverflow-carousel--image-height .coverflow-carousel__image {
  width: 100%;
  max-height: none;
}

.coverflow-carousel--compact {
  --coverflow-card-height: clamp(8.8rem, 18.9vw, 14.2rem);
  margin: 1.25rem auto 2rem;
  padding-top: clamp(0.75rem, 1.5vw, 1rem);
  padding-bottom: 3.4rem;
}

.coverflow-carousel--compact .coverflow-carousel__viewport,
.coverflow-carousel--compact .coverflow-carousel__track {
  min-height: var(--coverflow-card-height);
}

.coverflow-carousel--compact .coverflow-carousel__frame {
  padding: 0.35rem;
  border-radius: 22px;
}

.coverflow-carousel--compact .coverflow-carousel__image-wrap {
  border-radius: 16px;
}

.coverflow-carousel--compact .coverflow-carousel__nav {
  top: calc(50% - 0.15rem);
}

.coverflow-carousel--compact .coverflow-carousel__indicators {
  bottom: 0.75rem;
}

/* Home page section reveal */
.page-home .hbb-section.reveal,
.page-about-us .hbb-section.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.page-home .hbb-section.reveal.is-visible,
.page-about-us .hbb-section.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hbb-section.reveal,
  .page-about-us .hbb-section.reveal,
  .hero-slide-title,
  .hero-slide-subtitle,
  .coverflow-carousel__card,
  .coverflow-carousel__nav,
  .coverflow-carousel__indicator {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.hero-indicator {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}

.hero-indicator.is-active {
  background: rgba(255, 255, 255, 0.95);
  transform: scaleX(1.15);
}

/* Dev hero: reduce internal whitespace (template defaults are min-h-[80vh] and py-20) */
.blox-dev-hero > .min-h-\[80vh\] {
  min-height: clamp(22rem, 46vh, 32rem);
}

.blox-dev-hero > .min-h-\[80vh\] > .py-20 {
  padding-top: clamp(1rem, 3vh, 2rem);
  padding-bottom: clamp(1rem, 3vh, 2rem);
}

@media (max-width: 768px) {
  .coverflow-carousel {
    --coverflow-card-width: min(72vw, 18rem);
    --coverflow-card-height: clamp(17rem, 76vw, 25rem);
    --coverflow-card-gap: min(30vw, 7rem);
    --coverflow-depth: 120px;
    padding-bottom: 5.6rem;
  }

  .coverflow-carousel__viewport {
    min-height: clamp(20rem, 90vw, 27rem);
  }

  .coverflow-carousel__nav {
    top: auto;
    bottom: 1.1rem;
    transform: none;
  }

  .coverflow-carousel__nav:hover,
  .coverflow-carousel__nav:focus-visible {
    transform: scale(1.04);
  }

  .coverflow-carousel__nav.is-prev {
    left: 1rem;
  }

  .coverflow-carousel__nav.is-next {
    right: 1rem;
  }

  .coverflow-carousel__indicators {
    bottom: 1.22rem;
  }

  .coverflow-carousel--compact {
    --coverflow-card-height: clamp(9.8rem, 48vw, 12.2rem);
    padding-bottom: 4.5rem;
  }

  .coverflow-carousel--image-height .coverflow-carousel__viewport {
    min-height: calc(
      (var(--coverflow-card-width) * var(--coverflow-active-image-height, 2)) / var(--coverflow-active-image-width, 3) +
        (var(--coverflow-frame-padding) * 2) +
        1rem
    );
  }

  .blox-dev-hero > .min-h-\[80vh\] {
    min-height: auto;
  }

  .blox-dev-hero > .min-h-\[80vh\] > .py-20 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}
