:root {
  --ink: #202027;
  --muted: #666;
  --brand: #292960;
  --brand-2: #35357d;
  --accent: #eb4165;
  --blue-line: #2c79cf;
  --gold: #fff59c;
  --violet: #aa47bc;
  --banner: #742486;
  --site-width: 1130px;
  --content-width: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
  color: var(--ink);
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
  font-size: 16px;
}

body {
  margin: 0;
  min-width: 320px;
  padding-top: 56px;
  background: #fff;
  color: var(--ink);
  line-height: 1.7;
}

.page-home {
  padding-top: 0;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--brand);
}

.page-home .site-header {
  background: rgba(41, 41, 96, 0.72);
}

.site-header__inner {
  width: min(var(--site-width), calc(100% - 80px));
  height: 56px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand__main {
  font-size: 26px;
}

.brand__year {
  font-size: 20px;
  color: #d925d3;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.site-nav {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.site-nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.site-nav__link,
.site-nav__button {
  position: relative;
  height: 100%;
  min-width: 118px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.site-nav__link::after,
.site-nav__button::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 9px;
  height: 2px;
  background: transparent;
}

.site-nav__button {
  padding-right: 28px;
}

.site-nav__button::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 0;
  height: 0;
  margin-top: -1px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.site-nav__link:hover,
.site-nav__button:hover,
.site-nav__item.is-active > .site-nav__link,
.site-nav__item.is-active > .site-nav__button {
  color: #fff;
}

.site-nav__link:hover::after,
.site-nav__button:hover::after,
.site-nav__item.is-active > .site-nav__link::after,
.site-nav__item.is-active > .site-nav__button::after {
  background: var(--blue-line);
}

.site-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 190px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--brand);
  border: 0;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translate(-50%, 8px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.site-nav__item:hover .site-nav__dropdown,
.site-nav__item:focus-within .site-nav__dropdown,
.site-nav__item.is-open .site-nav__dropdown {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.site-nav__dropdown a {
  display: block;
  padding: 9px 18px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
}

.site-nav__dropdown a:hover {
  color: #90caf8;
  background: var(--brand-2);
}

.site-nav__item:last-child .site-nav__dropdown {
  left: auto;
  right: 0;
  transform: translate(0, 8px);
}

.site-nav__item:last-child:hover .site-nav__dropdown,
.site-nav__item:last-child:focus-within .site-nav__dropdown,
.site-nav__item:last-child.is-open .site-nav__dropdown {
  transform: translate(0, 0);
}

.hero {
  min-height: 560px;
  overflow: visible;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(41, 41, 96, 0.5), rgba(52, 36, 105, 0.85)),
    url("images/hero-background.webp") center / cover no-repeat;
}

.hero__inner {
  width: min(var(--site-width), calc(100% - 64px));
  min-height: 560px;
  margin: 0 auto;
  padding: 84px 0 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.hero__mark {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: visible;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  padding-bottom: 24px;
}

.hero__mark-main {
  display: inline-block;
  font-size: clamp(82px, 10.5vw, 120px);
  color: transparent;
  background-image: linear-gradient(0deg, var(--gold), #6a2fd4);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__mark-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  margin-left: -4px;
  width: clamp(118px, 10vw, 136px);
}

.hero__year {
  display: block;
  width: 100%;
  font-size: clamp(36px, 4.2vw, 48px);
  line-height: 1;
  text-align: center;
  color: transparent;
  background-image: linear-gradient(0deg, var(--gold), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__ys {
  display: block;
  width: 100%;
  font-size: clamp(78px, 9vw, 108px);
  line-height: 1.06;
  margin-top: -0.22em;
  padding-bottom: 0.16em;
  text-align: center;
  color: transparent;
  background-image: linear-gradient(0deg, var(--gold), #b968c7);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__title {
  margin: 54px 0 0;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.12;
  font-weight: 900;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.24);
}

.hero__edition {
  color: var(--gold);
}

.hero__rule {
  width: 134px;
  height: 1px;
  margin: 42px 0 32px;
  background: rgba(255, 255, 255, 0.88);
}

.hero__meta {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #fff;
  font-size: 23px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.45;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.32);
}

.legacy-banner {
  width: min(600px, calc(100% - 80px));
  min-height: 108px;
  margin: 78px 0 0 max(60px, calc((100vw - var(--site-width)) / 2));
  padding: 24px 46px;
  display: flex;
  align-items: center;
  background: var(--banner);
}

.legacy-banner h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 4.4vw, 56px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.content {
  width: min(var(--content-width), calc(100% - 120px));
  margin: 0 auto;
  padding: 62px 0 86px;
}

.content--home {
  width: min(var(--site-width), calc(100% - 150px));
  padding-top: 18px;
}

.content--legacy {
  min-height: calc(100vh - 56px - 186px);
}

.section {
  padding: 32px 0;
}

.page-home .section {
  padding: 28px 0;
}

.section h2 {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 26px;
  line-height: 1.3;
  font-weight: 800;
}

.page-home .section:first-child h2 {
  color: #000;
  font-size: 21px;
  font-style: italic;
}

.section--news {
  margin-top: 12px;
}

.news-list {
  border-left: 4px solid var(--blue-line);
  background: #f7f9ff;
  box-shadow: inset 0 0 0 1px rgba(44, 121, 207, 0.12);
}

.news-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 18px 24px;
}

.news-item + .news-item {
  border-top: 1px solid rgba(44, 121, 207, 0.16);
}

.news-item__date {
  color: var(--blue-line);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
}

.news-item__text {
  margin: 0;
  color: #1e2233;
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
}

.section h3 {
  margin: 34px 0 8px;
  color: #222;
  font-size: 20px;
  line-height: 1.3;
}

.section p {
  margin: 0 0 16px;
  color: #222;
  font-size: 18px;
}

.section a {
  color: #9c28b1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section a:hover {
  color: var(--accent);
}

.text-list {
  margin: 18px 0 0;
  padding: 0 0 0 24px;
  color: #555;
  font-size: 18px;
  line-height: 1.7;
}

.text-list li {
  margin: 6px 0;
  padding-left: 4px;
}

.call-details {
  margin-top: 14px;
}

.call-details p {
  margin-bottom: 8px;
}

.content--legacy .section p {
  font-size: 20px;
  line-height: 1.55;
}

.content--legacy .text-list,
.content--legacy .call-details p {
  font-size: 20px;
  line-height: 1.55;
}

.section--intro {
  padding-top: 0;
}

.date-list p {
  margin-bottom: 10px;
}

.disabled-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 248px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 0;
  background: #b8b8c2;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: not-allowed;
  pointer-events: none;
}

.sponsor-placeholder {
  color: #555;
  font-weight: 700;
}

.committee-list h2 {
  margin-top: 42px;
}

.committee-list h2:first-child {
  margin-top: 0;
}

.committee-role h3 {
  margin-top: 22px;
}

.committee-members {
  margin: 0 0 10px;
  padding-left: 24px;
  list-style: disc;
}

.committee-members li {
  margin: 8px 0;
  color: #222;
  font-size: 20px;
  line-height: 1.55;
}

.committee-members strong {
  font-weight: 500;
}

.committee-members span {
  color: #555;
  font-style: italic;
}

.site-footer {
  padding: 28px 24px;
  text-align: center;
  background: #f7f7fb;
  color: #737373;
  font-size: 12px;
}

@media (max-width: 860px) {
  .site-header__inner {
    width: min(100% - 32px, 1180px);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    height: auto;
    display: none;
    flex-direction: column;
    background: var(--brand);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__item {
    display: block;
  }

  .site-nav__link,
  .site-nav__button {
    width: 100%;
    height: auto;
    min-height: 46px;
    justify-content: space-between;
  }

  .site-nav__link::after,
  .site-nav__button::after {
    left: 18px;
    right: auto;
    width: 68px;
    bottom: 5px;
  }

  .site-nav__dropdown {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    border: 0;
    background: #222258;
  }

  .site-nav__item:hover .site-nav__dropdown,
  .site-nav__item:focus-within .site-nav__dropdown {
    display: none;
    top: auto;
    left: auto;
    right: auto;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .site-nav__item.is-open .site-nav__dropdown {
    display: block;
    top: auto;
    left: auto;
    right: auto;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .site-nav__dropdown a {
    display: block;
    padding: 11px 28px;
    color: #fff;
    background: transparent;
    line-height: 1.45;
    white-space: normal;
  }

  .site-nav__item:last-child .site-nav__dropdown,
  .site-nav__item:last-child:hover .site-nav__dropdown,
  .site-nav__item:last-child:focus-within .site-nav__dropdown,
  .site-nav__item:last-child.is-open .site-nav__dropdown {
    transform: none;
  }

  .hero,
  .hero__inner {
    min-height: 620px;
  }

  .hero__inner {
    width: min(100% - 40px, 1180px);
    padding: 92px 0 44px;
  }

  .hero__title {
    margin-top: 34px;
    font-size: 34px;
  }

  .hero__rule {
    margin: 30px 0 24px;
  }

  .hero__meta {
    font-size: 20px;
  }

  .legacy-banner {
    width: min(560px, calc(100% - 40px));
    margin: 48px 0 0 20px;
    padding: 20px 28px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 18px;
  }

  .news-item__date {
    white-space: normal;
  }

  .news-item__text {
    font-size: 18px;
  }
}

@media (max-width: 620px) {
  .brand__main {
    font-size: 24px;
  }

  .brand__year {
    font-size: 17px;
  }

  .hero__inner {
    align-items: flex-start;
    text-align: left;
  }

  .hero__mark-main {
    font-size: 74px;
  }

  .hero__year {
    font-size: 40px;
  }

  .hero__ys {
    font-size: 78px;
  }

  .hero__title {
    font-size: 32px;
  }

  .legacy-banner h1 {
    font-size: 40px;
  }

  .content,
  .content--home {
    width: min(100% - 40px, 1040px);
    padding: 42px 0 72px;
  }

  .section {
    padding: 24px 0;
  }

  .section h2 {
    font-size: 24px;
  }

  .section p,
  .content--legacy .section p {
    font-size: 17px;
  }

  .section .news-item__text {
    font-size: 18px;
  }

  .button-disabled {
    width: 100%;
  }
}
