header.masthead.home-masthead {
  min-height: 100svh;
  margin-bottom: 0;
  padding-top: calc(5.4rem + 57px);
  padding-bottom: 3.4rem;
  display: flex;
  align-items: center;
  overflow: clip;
  --home-bg-shift: 0px;
  --home-hero-y: 0px;
  --home-hero-scale: 1;
  --home-hero-opacity: 1;
  --home-hero-shift-x: 0%;
  --home-hero-shift-y: 4%;
  background-position: center calc(50% + var(--home-bg-shift));
}

header.masthead.home-masthead:before {
  background:
    linear-gradient(
      104deg,
      rgba(7, 12, 20, 0.86) 4%,
      rgba(9, 16, 27, 0.78) 24%,
      rgba(10, 19, 31, 0.64) 44%,
      rgba(10, 22, 36, 0.45) 66%,
      rgba(10, 24, 39, 0.26) 84%,
      rgba(10, 24, 39, 0.14) 100%
    );
  opacity: 1;
}

.home-masthead::after {
  background:
    radial-gradient(circle at 16% 14%, rgba(255, 216, 126, 0.18), transparent 38%),
    radial-gradient(circle at 76% 20%, rgba(92, 225, 230, 0.14), transparent 42%),
    radial-gradient(circle at 52% 90%, rgba(8, 16, 29, 0.34), transparent 62%),
    linear-gradient(180deg, rgba(9, 16, 28, 0.08), rgba(9, 16, 28, 0.22) 62%, rgba(9, 16, 28, 0.42));
  animation: homeOverlayDrift 14s ease-in-out infinite alternate;
}

.home-masthead .container {
  width: 100%;
}

.home-masthead .row {
  min-height: min(58svh, 620px);
  align-items: flex-start;
  padding-top: clamp(1.2rem, 6vh, 4rem);
}

header.masthead.home-masthead .home-site-heading {
  position: relative;
  max-width: min(580px, 90vw);
  margin: 0;
  padding: 0.15rem 0 0.8rem;
  text-align: left;
  overflow: visible;
  transform-origin: left top;
  transform: translate3d(var(--home-hero-shift-x), calc(var(--home-hero-y) + var(--home-hero-shift-y)), 0) scale(var(--home-hero-scale));
  opacity: var(--home-hero-opacity);
  will-change: transform, opacity;
}

header.masthead.home-masthead .home-site-heading .subheading {
  display: inline-block;
  margin-top: 0.62rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  line-height: 1.5;
  max-width: 36ch;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(12px);
  animation: homeHeroReveal 0.56s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

header.masthead.home-masthead .home-site-heading h1 {
  font-family: "Open Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(2.3rem, 4.8vw, 4.1rem);
  line-height: 1.01;
  letter-spacing: -0.025em;
  margin-bottom: 0.26rem;
  text-wrap: balance;
  max-width: none;
  text-shadow: 0 10px 24px rgba(2, 8, 16, 0.2);
}

.home-title-line {
  display: block;
  opacity: 0;
  transform: translateY(16px);
  animation: homeHeroReveal 0.56s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-title-line:nth-child(1) {
  animation-delay: 0.1s;
}

.home-title-line:nth-child(2) {
  animation-delay: 0.18s;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.22rem;
  opacity: 0;
  transform: translateY(12px);
  animation: homeHeroReveal 0.56s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.home-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  min-height: 3.1rem;
  padding: 0.7rem 1.3rem;
  box-shadow: 0 12px 26px rgba(2, 10, 18, 0.2);
}

.home-hero-actions .btn-primary.home-hero-btn {
  background: linear-gradient(135deg, #08a7ce, #0085A1);
  border-color: rgba(255, 255, 255, 0.08);
}

.home-hero-actions .btn-primary.home-hero-btn:hover,
.home-hero-actions .btn-primary.home-hero-btn:focus {
  background: linear-gradient(135deg, #16b8e2, #0493b2);
  border-color: rgba(255, 255, 255, 0.12);
}

.home-hero-btn-ghost {
  border-width: 1.5px;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.015);
}

.home-hero-btn-ghost:hover,
.home-hero-btn-ghost:focus {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.72);
}

.home-scroll-cue-bottom {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  transform: translateX(-50%);
  z-index: 4;
  width: 3.4rem;
  height: 2.1rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  opacity: 0;
  animation: homeCueBottomReveal 0.56s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both;
}

.home-scroll-cue-chevron {
  width: 0.86rem;
  height: 0.86rem;
  border-right: 2px solid rgba(155, 244, 252, 0.84);
  border-bottom: 2px solid rgba(155, 244, 252, 0.84);
  transform: rotate(45deg);
  filter: drop-shadow(0 0 6px rgba(126, 238, 248, 0.28));
  animation: homeCueDownFloat 1.45s ease-in-out infinite;
}

.home-scroll-cue-chevron-second {
  margin-top: -0.24rem;
  opacity: 0.88;
  animation-delay: 0.16s;
}

.home-scroll-cue-bottom:hover .home-scroll-cue-chevron,
.home-scroll-cue-bottom:focus .home-scroll-cue-chevron {
  border-color: rgba(195, 250, 255, 1);
}

.home-hero-orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}

.home-hero-orb-a {
  width: 12rem;
  height: 12rem;
  right: min(-6rem, -8vw);
  top: min(-4rem, -3vw);
  background: radial-gradient(circle, rgba(255, 210, 122, 0.28), rgba(255, 210, 122, 0.02) 72%, transparent 78%);
  filter: blur(2px);
  animation: homeOrbFloatA 8.8s ease-in-out infinite;
}

.home-hero-orb-b {
  width: 16rem;
  height: 16rem;
  right: min(-8rem, -10vw);
  bottom: min(-10rem, -8vw);
  background: radial-gradient(circle, rgba(66, 196, 223, 0.2), rgba(66, 196, 223, 0.02) 70%, transparent 76%);
  animation: homeOrbFloatB 10.4s ease-in-out infinite;
}

.home-index-shell {
  margin-top: 0;
  margin-bottom: 2.4rem;
  padding-top: 1.35rem;
  scroll-margin-top: calc(1rem + 57px);
  position: relative;
  z-index: 2;
}

.home-index-shell::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 1.5rem;
  right: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 133, 161, 0.24), transparent);
}

.home-section-card {
  position: relative;
  overflow: hidden;
}

.home-section-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -25% auto;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 133, 161, 0.05), transparent 70%);
  pointer-events: none;
}

.home-text-link {
  white-space: nowrap;
}

.home-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.95fr);
  grid-template-areas:
    "featured quick"
    "list more";
  gap: 1rem;
  align-items: stretch;
}

.home-layout-grid > * {
  min-width: 0;
  animation: homeRevealUp 0.55s ease both;
}

.home-layout-grid > *:nth-child(2) {
  animation-delay: 0.06s;
}

.home-layout-grid > *:nth-child(3) {
  animation-delay: 0.12s;
}

.home-layout-grid > *:nth-child(4) {
  animation-delay: 0.18s;
}

.home-featured-wrap {
  grid-area: featured;
  display: flex;
}

.home-side-quick {
  grid-area: quick;
}

.home-card-grid {
  grid-area: list;
}

.home-side-more {
  grid-area: more;
}

.home-featured-card {
  position: relative;
  border-radius: 1rem;
  padding: 1.2rem 1.2rem 1.35rem;
  border: 1px solid rgba(15, 61, 78, 0.08);
  background:
    linear-gradient(140deg, rgba(0, 133, 161, 0.06), rgba(255, 255, 255, 0.9) 55%),
    linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.home-card-badge {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 133, 161, 0.12);
  color: #006f87;
  font-family: "Open Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-card-link {
  color: inherit;
}

.home-card-link:hover,
.home-card-link:focus {
  color: inherit;
}

.home-featured-title {
  margin: 0;
  font-family: "Open Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(1.45rem, 2.3vw, 2.05rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.home-card-link:hover .home-featured-title,
.home-card-link:focus .home-featured-title {
  color: #0085A1;
}

.home-featured-summary {
  margin: 0.85rem 0 1rem;
  color: #556271;
  font-size: 1.02rem;
  line-height: 1.7;
}

.home-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  margin-bottom: 0.95rem;
}

.home-meta-row span {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.045);
  color: #51606f;
  font-family: "Open Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
}

.home-inline-action {
  color: #0f3d4e;
  font-weight: 700;
  font-family: "Open Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  margin-top: auto;
}

.home-inline-action:hover,
.home-inline-action:focus {
  color: #0085A1;
}

.home-side-card {
  border-radius: 1rem;
  border: 1px solid rgba(17, 24, 39, 0.07);
  background: #fff;
  padding: 1rem 1rem 1.1rem;
  box-shadow: 0 8px 18px rgba(15, 24, 38, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.home-side-title {
  margin-bottom: 0.7rem;
  color: #0f172a;
  font-family: "Open Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
}

.home-quick-links {
  display: grid;
  gap: 0.5rem;
}

.home-mini-list {
  display: grid;
  gap: 0.45rem;
}

.home-mini-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  border-radius: 0.75rem;
  padding: 0.5rem 0.55rem;
  color: #1f2937;
  transition: background-color 0.18s ease;
}

.home-mini-item:hover,
.home-mini-item:focus {
  color: #1f2937;
  background: rgba(15, 23, 42, 0.03);
}

.home-mini-index {
  display: inline-flex;
  min-width: 2rem;
  justify-content: center;
  padding-top: 0.1rem;
  color: #0085A1;
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
}

.home-mini-content {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.home-mini-text {
  color: #0f172a;
  font-size: 0.9rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-mini-date {
  color: #6b7280;
  font-size: 0.78rem;
  font-family: "Open Sans", sans-serif;
}

.home-side-empty {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.6;
}

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

.home-entry-title {
  margin: 0;
  color: #0f172a;
  font-family: "Open Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}

.home-card-link:hover .home-entry-title,
.home-card-link:focus .home-entry-title {
  color: #0085A1;
}

.home-entry-summary {
  margin: 0.55rem 0 0.65rem;
  color: #667482;
  font-size: 0.92rem;
  line-height: 1.6;
}

.home-entry-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  color: #71808f;
  font-size: 0.78rem;
  font-family: "Open Sans", sans-serif;
}

.home-empty-state h3 {
  margin: 0 0 0.4rem;
  font-family: "Open Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1.15rem;
}

.home-empty-state p {
  margin: 0 0 0.9rem;
  color: #667482;
}

@keyframes homeHeroReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(2px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes homeRevealUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeCueBottomReveal {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }

  to {
    opacity: 0.64;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes homeCueDownFloat {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
    opacity: 0.56;
  }

  50% {
    transform: rotate(45deg) translateY(3px);
    opacity: 0.78;
  }
}

@keyframes homeOverlayDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(0, -0.6%, 0) scale(1.015);
  }
}

@keyframes homeOrbFloatA {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-10px, 8px, 0);
  }
}

@keyframes homeOrbFloatB {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-12px, -8px, 0);
  }
}

@media (min-width: 992px) {
  .home-title-line {
    white-space: nowrap;
  }

  header.masthead.home-masthead .home-site-heading .subheading {
    white-space: nowrap;
  }
}

@media (max-width: 991.98px) {
  header.masthead.home-masthead {
    min-height: 92svh;
    padding-top: calc(5rem + 57px);
    padding-bottom: 2.5rem;
    --home-hero-shift-x: 0%;
    --home-hero-shift-y: 2.4%;
  }

  .home-masthead .row {
    min-height: auto;
    padding-top: 1rem;
  }

  .home-layout-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "featured"
      "quick"
      "list"
      "more";
  }

  .home-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  header.masthead.home-masthead {
    min-height: 88svh;
    padding-top: calc(4.5rem + 57px);
    padding-bottom: 2rem;
    --home-hero-shift-x: 0%;
    --home-hero-shift-y: 0.8%;
  }

  header.masthead.home-masthead .home-site-heading {
    padding: 0.1rem 0 0.75rem;
  }

  header.masthead.home-masthead .home-site-heading .subheading {
    font-size: 0.98rem;
    max-width: 28ch;
  }

  .home-scroll-cue-bottom {
    bottom: 1rem;
    width: 3rem;
    height: 1.9rem;
  }

  .home-index-shell {
    padding-top: 1rem;
    margin-bottom: 1.8rem;
  }

  .home-index-shell::before {
    left: 0.8rem;
    right: 0.8rem;
  }

  .home-hero-actions {
    width: 100%;
  }

  .home-hero-actions .home-hero-btn {
    width: 100%;
  }

  .home-hero-orb-a {
    width: 8.5rem;
    height: 8.5rem;
    right: -4.8rem;
    top: -2.6rem;
  }

  .home-hero-orb-b {
    width: 11rem;
    height: 11rem;
    right: -5.2rem;
    bottom: -7.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-masthead::after,
  .home-title-line,
  header.masthead.home-masthead .home-site-heading .subheading,
  .home-hero-actions,
  header.masthead.home-masthead .home-site-heading,
  .home-layout-grid > * {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .home-scroll-cue-bottom {
    animation: none;
    opacity: 0.64;
    transform: translateX(-50%);
    filter: none;
  }

  .home-hero-orb-a,
  .home-hero-orb-b,
  .home-scroll-cue-chevron {
    animation: none;
  }
}
