.putong-neirong {
  width: 100%;
  margin: 0;
  padding: 0;
}

.depts {
  --qiehuan-shijian: 0.35s;
  position: relative;
  min-height: 740px;
  overflow: hidden;
  background: #07162b;
}

.depts__bg {
  position: absolute;
  inset: 0;
}

.depts__bg:not(:first-child) {
  visibility: hidden;
}

.depts__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.depts__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: background-color var(--qiehuan-shijian) ease;
}

.depts__cols {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 740px;
}

.depts__col1 {
  display: grid;
  overflow: hidden;
}

.depts__intro {
  grid-area: 1 / 1;
  align-self: center;
  width: min(420px, calc(100% - 64px));
  margin-left: auto;
  margin-right: 50px;
  transition: opacity var(--qiehuan-shijian) ease;
}

.depts__intro:not(:first-child) {
  visibility: hidden;
}

.depts__title {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 4.3vw, 62px);
  font-weight: 400;
  line-height: 1.15;
}

.depts__desc {
  max-width: 420px;
  margin-top: 22px;
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.75;
}

.depts__col2 {
  display: grid;
  align-items: center;
  padding: 0 max(32px, calc((100vw - 1280px) / 2));
  background: rgba(0, 0, 0, 0.5);
}

.depts__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.depts__item {
  min-width: 0;
  border: 0 solid rgba(255, 255, 255, 0.58);
  border-width: 1px 0 0 1px;
  text-align: center;
}

.depts__item:nth-child(-n + 2) {
  border-top: 0;
}

.depts__item a {
  display: grid;
  min-height: 165px;
  padding: 12px;
  place-items: center;
  color: #e0ba78;
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.depts__item a:hover,
.depts__item a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.depts:has(.depts__grid:hover) .depts__overlay {
  background: rgba(0, 0, 0, 0.75);
}

.depts:has(.depts__grid:hover) .depts__intro:first-child {
  opacity: 0.24;
}

@media (max-width: 999px) {
  .depts,
  .depts__cols {
    min-height: auto;
  }

  .depts__cols {
    display: block;
  }

  .depts__col1 {
    min-height: 390px;
  }

  .depts__intro {
    width: calc(100% - 48px);
    margin: auto 24px;
  }

  .depts__title {
    font-size: 44px;
  }

  .depts__desc {
    font-size: 17px;
  }

  .depts__col2 {
    padding: 38px 24px;
  }
}

@media (max-width: 520px) {
  .depts__col1 {
    min-height: 430px;
  }

  .depts__grid {
    display: block;
  }

  .depts__item {
    border-width: 1px 0 0;
    text-align: left;
  }

  .depts__item:first-child {
    border-top: 0;
  }

  .depts__item a {
    min-height: 72px;
    padding: 16px 4px;
    place-items: center start;
    font-size: 21px;
  }
}
