:root {
  --paper: #fffae7;
  --orange: #f45326;
  --orange-mid: #ff732e;
  --orange-light: #ff993f;
  --text: #080808;
}

* {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
/* Clip horizontal overflow without introducing another scroll container. */
@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}
body {
  margin: 0;
  padding: 57px 0 128px;
  color: var(--text);
  background: var(--paper) url("../assets/images/background.jpg") center top / 2645px 2327px no-repeat;
  font-family: "Source Sans 3", "Open Sans", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
p,
.page-footer {
  overflow-wrap: anywhere;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h2,
h3 {
  font-weight: 400;
}
/* 新闻链接：整块卡片可点击，状态变化不影响布局。 */
.news-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(180, 45, 20, 0.18);
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease;
}
.story > .news-link {
  height: 100%;
}
.news-link h2,
.news-link h3 {
  transition:
    color 160ms ease,
    background-color 160ms ease;
}
/* 避免触屏点击后保留悬浮效果。 */
@media (hover: hover) and (pointer: fine) {
  .secondary-story .news-link:hover h2,
  .news-briefs .news-link:hover h2 {
    color: #a52d16;
  }
  .lead-story .news-link:hover h2 {
    background-color: #303c44;
  }
  .story > .news-link:hover {
    background-color: rgba(0, 0, 0, 0.08);
  }
}
.news-link:active {
  background-color: rgba(0, 0, 0, 0.14);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.22);
}
.lead-story .news-link:active h2 {
  background-color: #25323a;
}
/* 老浏览器保留 focus 轮廓；支持时仅在键盘聚焦显示。 */
.news-link:focus {
  outline: 2px solid #802611;
  outline-offset: 3px;
}
@supports selector(:focus-visible) {
  .news-link:focus:not(:focus-visible) {
    outline: none;
  }
  .news-link:focus-visible {
    outline: 2px solid #802611;
    outline-offset: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .news-link,
  .news-link h2,
  .news-link h3 {
    transition: none;
  }
}
.page-width {
  width: calc(100% - 48px);
  max-width: 1310px;
  margin-inline: auto;
  background: var(--paper);
}
.event-header {
  position: relative;
  height: 381px;
}
.event-header h1 {
  position: absolute;
  top: 58px;
  left: 186px;
  right: 45px;
  font-size: 55.59px;
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
}
.event-logo {
  position: absolute;
  top: 57px;
  left: 66px;
  width: 86px;
}
.mascot {
  position: absolute;
  top: 137px;
}
.mascot-left {
  left: 254px;
  width: 132px;
}
.mascot-right {
  right: 131px;
  width: 177px;
}
.event-details {
  position: absolute;
  top: 164px;
  left: 430px;
  right: 328px;
  text-align: center;
  font-size: 31px;
  line-height: 56px;
  white-space: nowrap;
}
.page-content {
  margin-top: 70px;
  padding: 37px 32px 0;
}
.latest-news {
  display: grid;
  grid-template-columns: minmax(0, 610fr) minmax(0, 269fr) minmax(0, 290fr);
  gap: 30px;
  margin: 0 8px;
  min-height: 407px;
}
.latest-news > *,
.secondary-story > *,
.news-briefs > * {
  min-width: 0;
}
.lead-story {
  position: relative;
  align-self: start;
}
.lead-story img {
  width: 100%;
  aspect-ratio: 610 / 346;
  object-fit: cover;
  object-position: top;
}
.lead-story h2 {
  min-height: 60px;
  padding: 17px 20px;
  color: white;
  background: #424c53;
  font-size: 24px;
  line-height: 26px;
}
.secondary-story img {
  width: 100%;
  aspect-ratio: 269 / 174;
  object-fit: cover;
}
.secondary-story h2 {
  margin-top: 31px;
  font-size: 32px;
  line-height: 40px;
}
.news-briefs {
  padding-left: 5px;
}
.news-briefs .brief-item + .brief-item {
  border-top: 1px solid #aa7970;
  margin-top: 24px;
  padding-top: 22px;
}
.news-briefs h2 {
  font-size: 24px;
  line-height: 30px;
}
.section-title {
  position: relative;
  max-width: 100%;
  margin-inline: auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: white;
  font-size: 41.36px;
  font-weight: 700;
  line-height: 50px;
  text-shadow: 2px 3px 3px #986c43;
}
.focus-title {
  width: 485px;
  height: 109px;
  margin-top: 45px;
  margin-bottom: 37px;
  background-image: url("../assets/images/focus-heading.png");
}
/* 链接覆盖标题背景，保留隐藏文字作为可访问名称。 */
.section-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
/* 背景图片在标题容器上，通过容器状态实现悬浮反馈。 */
.section-title {
  transition: transform 180ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .section-title:hover {
    transform: translateY(-3px);
  }
}
.section-title:active {
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .section-title { transition: none; }
  .section-title:hover, .section-title:active { transform: none; }
}
.section-link:focus { outline: 2px solid #802611; outline-offset: 3px; }
@supports selector(:focus-visible) {
  .section-link:focus:not(:focus-visible) { outline: none; }
}
.section-title span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 500fr) minmax(0, 498fr) minmax(0, 249fr);
  grid-template-rows: 170px 124px 126px;
  gap: 2px;
}
.story {
  min-width: 0;
  color: #fff;
  background: var(--orange);
}
.story img {
  width: 100%;
  object-fit: cover;
}
.story h3 {
  padding: 19px 21px;
  font-size: 24px;
  line-height: 28px;
  overflow-wrap: break-word;
}
.focus-lead {
  grid-area: 1 / 1 / 4 / 2;
}
.focus-lead img {
  height: 330px;
}
.focus-culture {
  grid-area: 1 / 2 / 2 / 3;
}
.focus-culture > .news-link {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.focus-culture img {
  height: 100%;
  min-height: 0;
}
.focus-culture h3 {
  padding: 10px 15px;
}
.focus-short {
  grid-column: 2;
  background: var(--orange-mid);
}
.focus-light {
  background: var(--orange-light);
}
.focus-tall {
  grid-area: 1 / 3 / 4 / 4;
}
.focus-tall img {
  height: 170px;
}
.beyond-title {
  width: 548px;
  height: 115px;
  margin-top: 35px;
  margin-bottom: 41px;
  background-image: url("../assets/images/beyond-heading.png");
}
.beyond-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 29px;
}
.beyond-grid img {
  aspect-ratio: 290 / 189;
}
.beyond-grid h3 {
  min-height: 98px;
  padding: 11px 13px;
  font-size: 20px;
  line-height: 24px;
}
.page-footer {
  padding: 89px 0 63px;
  text-align: center;
  font-size: 16px;
  line-height: 24px;
}

@media (max-width: 1400px) {
  body {
    padding-top: 32px;
    background-size: 2000px auto;
  }
  .event-header {
    height: 310px;
  }
  .event-header h1 {
    top: 49px;
    left: 150px;
    font-size: 42px;
    white-space: normal;
  }
  .event-logo {
    left: 45px;
    top: 45px;
    width: 72px;
  }
  .mascot {
    top: 135px;
  }
  .mascot-left {
    left: 18%;
    width: 95px;
  }
  .mascot-right {
    right: 11%;
    width: 125px;
  }
  .event-details {
    top: 148px;
    left: 30%;
    right: 24%;
    font-size: 23px;
    line-height: 42px;
  }
  .page-content {
    margin-top: 45px;
    padding: 28px 24px 0;
  }
  .latest-news {
    gap: 22px;
    min-height: 340px;
  }
  .lead-story h2,
  .news-briefs h2,
  .story h3 {
    font-size: 20px;
    line-height: 25px;
  }
  .secondary-story h2 {
    margin-top: 20px;
    font-size: 26px;
    line-height: 33px;
  }
  .focus-grid {
    grid-template-rows: 162px minmax(118px, auto) minmax(122px, auto);
  }
  .focus-lead img {
    height: 330px;
  }
  .story h3 {
    padding: 14px;
  }
  .focus-culture h3 {
    padding: 10px;
  }
  .beyond-grid {
    gap: 22px;
  }
  .beyond-grid h3 {
    font-size: 18px;
    line-height: 23px;
  }
}

@media (max-width: 1000px) {
  .event-header h1 {
    font-size: 32px;
    left: 120px;
    right: 25px;
  }
  .event-logo {
    left: 28px;
    width: 65px;
  }
  .event-details {
    left: 24%;
    right: 21%;
    font-size: 20px;
    line-height: 36px;
  }
  .mascot-left {
    left: 8%;
  }
  .mascot-right {
    right: 5%;
  }
  .latest-news {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    min-height: 0;
  }
  .news-briefs {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding: 0;
  }
  .news-briefs .brief-item + .brief-item {
    margin: 0;
    padding: 0 0 0 18px;
    border-top: 0;
    border-left: 1px solid #aa7970;
  }
  .focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
  .focus-lead {
    grid-area: auto;
    grid-row: span 2;
  }
  .focus-lead img {
    height: auto;
    aspect-ratio: 1;
  }
  .focus-culture {
    grid-area: auto;
  }
  .focus-culture > .news-link {
    display: block;
  }
  .focus-culture img {
    height: 160px;
  }
  .focus-short {
    grid-column: auto;
  }
  .focus-tall {
    grid-area: auto;
    grid-column: 2;
    grid-row: 2 / 4;
  }
  .focus-tall img {
    height: 180px;
  }
  .beyond-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-footer {
    padding: 60px 0 45px;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  body {
    padding: 20px 0 36px;
    background-size: auto 1500px;
  }
  .page-width {
    width: calc(100% - 24px);
  }
  .event-header {
    height: 300px;
  }
  .event-logo {
    left: 16px;
    top: 20px;
    width: 44px;
  }
  .event-header h1 {
    top: 24px;
    left: 75px;
    right: 14px;
    font-size: 24px;
    line-height: 30px;
  }
  .event-details {
    top: 130px;
    left: 12px;
    right: 12px;
    font-size: 16px;
    line-height: 28px;
    white-space: normal;
  }
  .mascot {
    top: auto;
    bottom: 12px;
  }
  .mascot-left {
    left: 22%;
    width: 52px;
  }
  .mascot-right {
    right: 20%;
    width: 70px;
  }
  .page-content {
    margin-top: 22px;
    padding: 16px 14px 0;
  }
  .latest-news {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
    gap: 20px;
  }
  .lead-story h2 {
    min-height: 0;
    padding: 12px;
    font-size: 16px;
    line-height: 22px;
  }
  .secondary-story > .news-link {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    gap: 14px;
  }
  .secondary-story h2 {
    margin: 0;
    font-size: 18px;
    line-height: 24px;
  }
  .news-briefs {
    display: block;
  }
  .news-briefs h2 {
    font-size: 16px;
    line-height: 23px;
  }
  .news-briefs .brief-item + .brief-item {
    border-left: 0;
    border-top: 1px solid #aa7970;
    margin-top: 13px;
    padding: 13px 0 0;
  }
  .section-title {
    font-size: 24px;
    line-height: 30px;
  }
  .focus-title {
    width: 291px;
    height: 66px;
    margin-top: 27px;
    margin-bottom: 20px;
  }
  .beyond-title {
    width: 310px;
    height: 65px;
    margin-top: 27px;
    margin-bottom: 20px;
    font-size: 23px;
  }
  .focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
  }
  .focus-lead {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .focus-lead img {
    aspect-ratio: 500 / 330;
  }
  .focus-culture {
    grid-column: 1;
    grid-row: 2;
  }
  .focus-tall {
    grid-column: 2;
    grid-row: 2;
  }
  .focus-culture img,
  .focus-tall img {
    height: 110px;
  }
  .story h3 {
    padding: 10px;
    font-size: 15px;
    line-height: 21px;
  }
  .beyond-grid {
    gap: 16px 12px;
  }
  .beyond-grid h3 {
    min-height: 0;
    font-size: 14px;
    line-height: 19px;
  }
  .page-footer {
    padding: 38px 4px 28px;
    font-size: 11px;
    line-height: 18px;
  }
}
