/* 合肥八零驾校 · 国庆献礼 Demo 主题 */
body.national-day-80 {
  --green-950: #48070e;
  --green-900: #650b15;
  --green-800: #86101e;
  --green-700: #a91526;
  --green-600: #c51c2d;
  --green-500: #df3343;
  --green-100: #fff0ef;
  --green-50: #fff8f5;
  --amber: #f3c95f;
}

.national-day-ribbon {
  position: relative;
  z-index: 120;
  min-height: 46px;
  color: #fff7df;
  background:
    radial-gradient(circle at 15% 50%, rgba(255, 219, 99, .18), transparent 11rem),
    linear-gradient(90deg, #8a0e1b 0%, #c51c2d 48%, #8a0e1b 100%);
  border-bottom: 1px solid rgba(255, 220, 105, .45);
  box-shadow: 0 8px 24px rgba(91, 5, 15, .16);
}
.national-day-ribbon .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 46px;
  text-align: center;
}
.national-day-ribbon span,
.national-day-ribbon em {
  color: rgba(255, 242, 198, .82);
  font-size: 12px;
  font-style: normal;
  letter-spacing: .08em;
}
.national-day-ribbon strong {
  color: #fff;
  font-size: 15px;
  letter-spacing: .08em;
}
.ribbon-year {
  padding: 4px 10px;
  color: #8a0e1b !important;
  background: linear-gradient(135deg, #fff4c7, #f3c95f);
  border-radius: 999px;
  font-weight: 800;
}

.national-day-80 .topbar {
  background: #4b070e;
}
.national-day-80 .topbar-item svg {
  color: #f3c95f;
}
.national-day-80 .navbar {
  border-bottom-color: rgba(180, 25, 40, .15);
  box-shadow: 0 7px 24px rgba(105, 8, 20, .06);
}
.national-day-80 .nav-menu > a:not(.nav-cta)::after {
  background: #d42536;
}
.national-day-80 .nav-menu > a:hover,
.national-day-80 .nav-menu > a.is-active {
  color: #b11627;
}
.national-day-80 .nav-cta,
.national-day-80 .button-primary {
  background: linear-gradient(135deg, #c51c2d, #9f1221);
  box-shadow: 0 12px 28px rgba(170, 18, 33, .28);
}
.national-day-80 .nav-cta:hover,
.national-day-80 .button-primary:hover {
  background: linear-gradient(135deg, #d72a3b, #a91424);
  box-shadow: 0 16px 36px rgba(170, 18, 33, .36);
}
.national-day-80 .button-dark {
  background: #720b15;
}
.national-day-80 .button-dark:hover {
  background: #8c0e1c;
}

.national-day-80 .hero {
  background: #7a0b15;
}
.national-day-80 .hero-photo {
  opacity: .44;
  filter: saturate(.55) contrast(1.08) hue-rotate(-18deg);
}
.national-day-80 .hero-shade {
  background:
    linear-gradient(90deg, rgba(80, 4, 13, .98) 0%, rgba(126, 8, 20, .94) 40%, rgba(169, 18, 33, .69) 70%, rgba(111, 8, 19, .48) 100%),
    linear-gradient(180deg, rgba(111, 8, 19, .08) 20%, rgba(67, 3, 10, .88) 100%);
}
.national-day-80 .hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 19%, rgba(255, 221, 112, .16), transparent 12rem),
    radial-gradient(circle at 56% 88%, rgba(255, 222, 110, .09), transparent 13rem);
  content: "";
}
.national-day-80 .hero-inner {
  z-index: 3;
}
.national-eyebrow {
  color: #ffe7a1 !important;
}
.national-eyebrow span {
  background: #f3c95f !important;
}
.national-day-80 .hero h1 em {
  color: #ffdb68;
  text-shadow: 0 4px 24px rgba(255, 196, 66, .18);
}
.national-day-message {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  margin: 2px 0 0;
  padding: 13px 17px;
  background: rgba(255, 242, 199, .1);
  border: 1px solid rgba(255, 222, 126, .32);
  border-left: 4px solid #f3c95f;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}
.national-day-message strong {
  color: #fff7d1;
  font-size: 17px;
  letter-spacing: .06em;
}
.national-day-message span {
  color: rgba(255, 239, 190, .72);
  font-size: 12px;
  letter-spacing: .12em;
}
.national-day-80 .hero-lead {
  margin-top: 20px;
}
.national-day-80 .hero-points {
  border-top-color: rgba(255, 223, 126, .28);
}
.national-day-80 .hero-points b {
  color: #ffe28a;
}
.national-day-80 .button-ghost {
  border-color: rgba(255, 224, 128, .55);
  background: rgba(255, 225, 137, .08);
}
.national-day-80 .button-ghost:hover {
  background: rgba(255, 225, 137, .16);
}
.national-day-80 .hero-card {
  border-color: rgba(255, 229, 156, .65);
  box-shadow: 0 28px 70px rgba(50, 0, 8, .38);
}
.national-day-80 .hero-card-top {
  background: linear-gradient(135deg, #fff9e8 0%, #fbe8b6 100%);
}
.national-day-80 .hero-card-top span {
  color: #b51425;
}
.national-day-80 .campus-pick-index {
  color: #9c1223;
  background: #ffeeb9;
}
.national-day-80 .hero-card-note svg,
.national-day-80 .campus-pick > a:hover {
  color: #b51425;
}

.national-flag-wrap {
  position: absolute;
  top: 76px;
  right: max(24px, calc((100vw - var(--container)) / 2 - 4px));
  z-index: 2;
  width: 310px;
  pointer-events: none;
  filter: drop-shadow(0 20px 34px rgba(50, 0, 8, .32));
  animation: nationalFlagFloat 4.8s ease-in-out infinite;
}
.national-flag-svg {
  width: 100%;
  height: auto;
  border-radius: 9px;
  outline: 1px solid rgba(255, 223, 124, .5);
  outline-offset: -1px;
}
.anniversary-77 {
  position: absolute;
  right: -21px;
  bottom: -27px;
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  color: #8b0d1c;
  text-align: center;
  background: linear-gradient(145deg, #fff8db, #e9b93f);
  border: 3px solid rgba(255, 248, 219, .86);
  border-radius: 25px;
  box-shadow: 0 14px 30px rgba(48, 0, 7, .3), inset 0 1px rgba(255,255,255,.85);
  transform: rotate(-7deg);
}
.anniversary-77 span,
.anniversary-77 small {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .03em;
}
.anniversary-77 strong {
  display: block;
  margin: -4px 0;
  font-size: 46px;
  line-height: .92;
  letter-spacing: -.08em;
}
@keyframes nationalFlagFloat {
  0%, 100% { transform: translateY(0) rotate(1.2deg); }
  50% { transform: translateY(-8px) rotate(-.8deg); }
}

.national-day-80 .section-kicker {
  color: #b51425;
}
.national-day-80 .metric strong {
  color: #a61425;
}
.national-day-80 .course-card:hover {
  border-color: rgba(197, 28, 45, .3);
}
.national-day-80 .tag {
  color: #a91526;
  background: #fff0ef;
}
.national-day-80 .course-body a,
.national-day-80 .text-link {
  color: #b11627;
}
.national-day-80 .campuses {
  background: #4b070e;
}
.national-day-80 .campuses::before {
  background: rgba(239, 192, 82, .1);
}
.national-day-80 .campus-label {
  color: #720b15;
  background: linear-gradient(135deg, #fff4c6, #efc65c);
}
.national-day-80 .booking {
  background:
    radial-gradient(circle at 8% 15%, rgba(197, 28, 45, .11), transparent 28%),
    radial-gradient(circle at 90% 90%, rgba(219, 171, 65, .13), transparent 25%),
    #fff8f5;
}

@media (max-width: 1050px) {
  .national-flag-wrap {
    top: 92px;
    right: -70px;
    width: 270px;
    opacity: .24;
  }
}
@media (max-width: 760px) {
  .national-day-ribbon .container {
    flex-wrap: wrap;
    gap: 4px 10px;
    padding: 7px 0;
  }
  .national-day-ribbon em {
    display: none;
  }
  .national-flag-wrap {
    top: 120px;
    right: -105px;
    width: 250px;
    opacity: .16;
  }
  .national-day-message {
    padding: 11px 13px;
  }
  .national-day-message strong {
    font-size: 15px;
  }
}
@media (max-width: 520px) {
  .national-day-ribbon strong {
    font-size: 12px;
  }
  .ribbon-year {
    font-size: 10px !important;
  }
  .national-flag-wrap {
    display: none;
  }
}
