﻿body {
  background: #fff;
}

.overview-intro {
  padding: 18px 0 130px;
  background: #fff;
}

.overview-intro-main {
  display: grid;
  grid-template-columns: 680px 1fr;
  gap: 46px;
  align-items: stretch;
  width: 1500px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.overview-intro-photo {
  min-height: 330px;
  background: url('../images/yygk/yyzm.jpg') center / cover no-repeat;
  box-shadow: none;
}

.overview-intro-body {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 330px;
  padding: 0 0 0 0;
  background: transparent;
  border-left: 0;
}

.overview-intro-body p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  line-height: 2.08;
  text-indent: 0;
}

.overview-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: 1500px;
  max-width: calc(100% - 40px);
  margin: 78px auto 0;
}

.overview-stat {
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: 33.333%;
  min-height: 72px;
  gap: 8px;
  color: #333;
  background: transparent;
  box-shadow: none;
}

.overview-stat + .overview-stat {
  border-left: 1px solid #d8dde4;
}

.overview-stat:nth-child(2) {
  background: transparent;
}

.overview-stat:nth-child(3) {
  background: transparent;
}

.overview-stat span {
  color: #333;
  font-size: 21px;
  font-weight: 400;
}

.overview-stat strong {
  color: var(--primary-blue);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 6px;
}

.overview-stat em {
  color: #333;
  font-size: 19px;
  font-style: normal;
}

.overview-values {
  position: relative;
  min-height: 1450px;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.overview-values-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 580px;
  background: url('../images/yygk/yyzm.jpg') center 58% / cover no-repeat;
}

.overview-values-inner {
  position: relative;
  z-index: 1;
  width: 1500px;
  height: 1450px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.overview-card {
  position: relative;
  overflow: hidden;
  padding: 40px 42px;
  color: #fff;
  border-radius: 16px;
  box-shadow: none;
}

.overview-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.overview-card li {
  position: relative;
  padding-left: 16px;
  font-size: 19px;
  font-weight: 700;
  line-height: 2.06;
}

.overview-card li::before {
  position: absolute;
  top: 18px;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: currentColor;
}

.overview-card-dark {
  position: absolute;
  top: 500px;
  left: 0;
  width: 430px;
  height: 340px;
  padding-top: 48px;
  background: var(--primary-blue);
}

.overview-card-light {
  position: absolute;
  top: 535px;
  left: 475px;
  width: 500px;
  height: 285px;
  padding-top: 50px;
  color: #0759b2;
  background: #e9fbff;
}

.overview-card-blue {
  position: absolute;
  top: 365px;
  left: 1020px;
  width: 480px;
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 50px;
  background: linear-gradient(135deg, #0c77df 0%, #26a8ff 100%);
}

.overview-card-blue h2,
.overview-card-blue h3 {
  margin: 0;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 18px;
}

.overview-card-blue h2 {
  font-size: 25px;
}

.overview-card-blue h2 img,
.overview-card-blue h3 img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: none;
}

.overview-card-blue h3 {
  margin-top: 52px;
  font-size: 25px;
}

.overview-card-blue .overview-title-text,
.overview-card-slogan .slogan-title {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.overview-card-blue .overview-title-text::after,
.overview-card-slogan .slogan-title::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2em;
  height: 2px;
  content: "";
  background: rgba(255, 255, 255, .55);
}

.overview-card-blue p {
  margin: 18px 0 0 60px;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.86;
}

.overview-card-blue .overview-discipline-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 14px;
  margin: 22px 0 0 60px;
  padding: 0;
  list-style: none;
}

.overview-card-blue .overview-discipline-list li {
  position: static;
  margin: 0;
  padding: 0;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
}

.overview-card-blue .overview-discipline-list li::before {
  display: none;
  content: none;
}

.overview-card-gold {
  position: absolute;
  top: 885px;
  left: 0;
  width: 430px;
  height: 330px;
  padding-top: 52px;
  color: #fff;
  background: rgba(204, 151, 85, .88);
}

.overview-card-slogan {
  position: absolute;
  top: 845px;
  left: 475px;
  width: 500px;
  height: 430px;
  padding: 42px 48px;
  color: #fff;
  background: var(--primary-blue);
}

.overview-card-slogan p {
  margin: 0 0 26px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.62;
}

.overview-card-slogan p:last-child {
  margin-bottom: 0;
}

.overview-card-slogan .slogan-title {
  display: block;
  margin-bottom: 8px;
  padding-bottom: 10px;
  color: #fff;
  font-size: 25px;
  font-weight: 400;
}

.overview-block {
  position: absolute;
  z-index: 0;
  display: block;
}

.overview-block-light {
  right: 340px;
  bottom: 385px;
  width: 78px;
  height: 78px;
  border-radius: 10px;
  background: #e8fbff;
}

.overview-block-blue {
  right: 160px;
  bottom: 240px;
  width: 130px;
  height: 130px;
  border-radius: 8px;
  background: var(--primary-blue);
}

.overview-block-gold {
  right: 0;
  bottom: 200px;
  width: 155px;
  height: 155px;
  border-radius: 8px;
  background: #c99a5d;
}

.party-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: #c4121a url("../images/yygk/ccbj.png") center center / 100% 100% no-repeat;
  aspect-ratio: 1920 / 560;
}

.party-hero .layout {
  position: relative;
  box-sizing: border-box;
  display: flex;
  height: 100%;
  min-height: 0;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 56px 48px 0 34%;
}

.party-hero-text {
  width: 100%;
  max-width: 860px;
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 2.1;
  letter-spacing: 1px;
  text-align: justify;
  text-indent: 2em;
}

.party-work {
  position: relative;
  padding: 76px 0 120px;
  overflow: hidden;
  background: #fff;
}

.party-work::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 260px;
  height: 345px;
  content: "";
  background: url('../images/yygk/fntb.png') left top / contain no-repeat;
  pointer-events: none;
}

.party-work::after {
  position: absolute;
  right: 0;
  top: 0px;
  width: 1135px;
  height: 630px;
  content: "";
  background: url('../images/yygk/jfbbg.png') right top / contain no-repeat;
  pointer-events: none;
}

.party-work-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 860px 640px;
  gap: 0;
  align-items: stretch;
  width: 1500px;
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;
}

.party-work-card::before {
  position: absolute;
  left: -70px;
  bottom: -60px;
  z-index: 3;
  width: 46px;
  height: 46px;
  content: "";
  background: #df000b;
  pointer-events: none;
}

.party-photo {
  position: relative;
  display: block;
  height: 420px;
  overflow: hidden;
  background: #d8d8d8 center / cover no-repeat;
  border-radius: 110px 0 0 0;
  box-shadow: none;
}

.party-photo p {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 64px;
  margin: 0;
  padding: 0 36px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 1px;
  background: linear-gradient(180deg, rgba(220, 20, 20, 0) 0%, rgba(200, 10, 10, .28) 55%, rgba(180, 0, 0, .55) 100%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.party-news {
  display: flex;
  flex-direction: column;
  height: 420px;
  padding: 0;
  overflow: hidden;
  color: #333;
  background: linear-gradient(180deg, #ffffff 0%, #fff6f6 48%, #ffe9e9 100%);
  border-radius: 0;
  box-shadow: none;
}

.party-news h2 {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 22px 36px;
  color: #fff;
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
  background: #df000b;
}

.party-news h2 img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.party-news a {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 20px;
  margin: 0 36px;
  padding: 0;
  color: #333;
  font-size: 17px;
  border-bottom: 1px solid rgba(120, 120, 120, .18);
}

.party-news a:last-of-type {
  border-bottom: 0;
}

.party-news time {
  display: flex;
  width: 58px;
  flex: none;
  flex-direction: column;
  color: #d9000b;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.party-news time strong {
  font-size: 17px;
  font-weight: 700;
}

.party-news time span {
  font-size: 14px;
  font-weight: 700;
}

.party-slogan {
  position: relative;
  z-index: 2;
  margin: 0 0 36px;
  color: #d60000;
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 2px;
}

.party-intro {
  position: relative;
  padding: 8px 0 0;
  overflow: visible;
  background: #fff;
}

.party-intro-body {
  position: relative;
  padding: 48px 0 210px;
  overflow: hidden;
}

.party-intro-body::before {
  position: absolute;
  left: 0;
  top: 0;
  width: calc((100vw - 1500px) / 2 + 1360px);
  max-width: 88vw;
  height: 100%;
  content: "";
  background:
    url('../images/yygk/hsbjl.png') left bottom / cover no-repeat,
    #d71920;
}

.party-intro-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 330px 1fr;
  align-items: center;
  gap: 0;
  min-height: 580px;
}

.party-intro-wrap::before {
  position: absolute;
  left: 0;
  right: 120px;
  bottom: 0;
  height: 76px;
  content: "";
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(140,0,0,.18)), linear-gradient(90deg, rgba(150,0,0,.2), rgba(255,255,255,.18));
  pointer-events: none;
}

.party-intro-tabs {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-left: 22px;
  border-left: 1px solid rgba(255,255,255,.32);
}

.party-intro-tabs button {
  width: 290px;
  min-height: 42px;
  padding: 0 12px 0 0;
  border: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
  text-align: left;
  background: transparent;
}

.party-intro-tabs button.active {
  padding-left: 18px;
  color: #d71920;
  border-radius: 22px 0 0 22px;
  background: #fff;
}

.party-intro-main {
  position: relative;
  z-index: 3;
  width: calc(100% + max(20px, (100vw - 1500px) / 2));
  min-height: 410px;
  margin-left: -18px;
  padding: 78px 120px 70px 92px;
  border-radius: 64px 0 0 64px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 32px rgba(120, 0, 0, .13);
}

.party-intro-panel {
  display: block;
}

.party-intro-panel[hidden] {
  display: none;
}

.party-intro-panel p {
  margin: 0 0 1em;
  color: #333;
  font-size: 18px;
  line-height: 2.15;
  text-indent: 2em;
}

.party-intro-panel p:last-child {
  margin-bottom: 0;
}

.gallery-section {
  padding: 2px 0 220px;
}

.gallery-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: stretch;
  width: 100%;
}

.gallery-main-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  overflow: hidden;
  background: #e8f2fa;
}

.gallery-main-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-color: #e8f2fa;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: opacity .35s ease;
}

.gallery-main-slide.active {
  opacity: 1;
}

.gallery-tabs {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 100%;
  padding: 4px 0 0;
}

.gallery-tabs a {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex: 1 1 0;
  align-items: center;
  min-height: 42px;
  max-height: 56px;
  padding: 0 12px 0 42px;
  color: #333;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  border-top: 1px solid #b7c9de;
  border-bottom: 1px solid transparent;
}

.gallery-tabs a:first-of-type {
  border-top: 0;
}

.gallery-tabs a.active {
  color: var(--primary-blue);
  font-weight: 700;
  background: transparent;
  border-bottom-color: var(--primary-blue);
}

.gallery-tabs a.active::before {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 0;
  height: 0;
  content: "";
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid var(--primary-blue);
}

.gallery-arrows {
  display: flex;
  flex-shrink: 0;
  gap: 14px;
  margin: auto 0 0;
  padding: 14px 0 0 6px;
}

.gallery-arrows button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0 0 3px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  background: var(--primary-blue);
  box-shadow: 0 0 0 3px #d9e6f3;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px 58px;
  margin-top: 70px;
}

.gallery-grid-wrap {
  margin-top: 70px;
}

.gallery-grid-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.gallery-grid-viewport {
  overflow: hidden;
}

.gallery-grid-track {
  display: flex;
  width: 100%;
  transition: transform .4s ease;
  will-change: transform;
}

.gallery-grid-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px 58px;
  flex: 0 0 100%;
  box-sizing: border-box;
  width: 100%;
  padding-bottom: 8px;
}

.gallery-grid-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0 0 3px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  background: var(--primary-blue);
  box-shadow: 0 0 0 3px #d9e6f3;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}

.gallery-grid-nav:hover {
  background: #12c8c8;
  transform: scale(1.04);
}

.gallery-grid-nav:disabled {
  opacity: .45;
  cursor: default;
  transform: none;
}

.gallery-item {
  text-align: center;
}

.gallery-item span {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  background-color: #e8f6ff;
  box-shadow: inset 0 0 0 1px #edf1f4;
}

.gallery-item span img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.gallery-item p {
  display: inline-block;
  min-width: 140px;
  margin: -14px 0 0;
  padding: 10px 22px;
  color: #444;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: none;
}

.sub-page .site-footer {
  margin-top: 0;
}

.party-page .site-footer {
  margin-top: 120px;
}

@media (max-width: 900px) {
  .overview-intro {
    padding: 0 0 54px;
  }

  .overview-intro-main,
  .overview-values-inner {
    grid-template-columns: 1fr;
  }

  .overview-stats {
    flex-direction: column;
    align-items: stretch;
  }

  .overview-intro-photo,
  .overview-intro-body {
    min-height: 260px;
  }

  .overview-intro-body {
    padding: 28px 24px;
  }

  .overview-intro-body p {
    font-size: 15px;
    line-height: 1.9;
  }

  .overview-stat {
    width: 100%;
    min-height: 105px;
  }

  .overview-stat + .overview-stat {
    border-left: 0;
    border-top: 1px solid #d8dde4;
  }

  .overview-values {
    min-height: 0;
    padding: 300px 0 54px;
  }

  .overview-values-bg {
    height: 270px;
  }

  .overview-values-inner {
    display: flex;
    height: auto;
    flex-direction: column;
    gap: 18px;
  }

  .overview-card-dark,
  .overview-card-light,
  .overview-card-blue,
  .overview-card-gold,
  .overview-card-slogan {
    position: static;
    width: 100%;
    height: auto;
    min-height: 0;
    transform: none;
  }

  .overview-card-blue,
  .overview-card-slogan {
    padding: 32px 28px;
  }

  .overview-block {
    display: none;
  }

  .gallery-feature {
    grid-template-columns: 1fr;
  }

  .gallery-main-photo {
    aspect-ratio: 16 / 9;
  }

  .gallery-tabs a {
    flex: 0 0 42px;
    max-height: none;
  }

  .gallery-grid-wrap {
    margin-top: 48px;
  }

  .gallery-grid-toolbar {
    margin-bottom: 18px;
  }

  .gallery-grid-page {
    gap: 28px 20px;
  }

  .gallery-grid-nav {
    width: 36px;
    height: 36px;
    font-size: 26px;
  }

  .party-hero .layout {
    padding: 28px 20px 28px 18%;
  }

  .party-hero-text {
    font-size: 14px;
    line-height: 1.9;
  }
}
