.web-showcase {
  padding: 52px 0 58px;
  background: #fff;
  color: #303030;
  font-size: 14px
}

.web-showcase--cases {
  background: #f6f6f6
}

.web-showcase__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px
}

.web-showcase__heading>div {
  display: flex;
  align-items: center;
  gap: 10px
}

.web-showcase__heading>div>span {
  width: 4px;
  height: 25px;
  background: var(--web-red)
}

.web-showcase__heading h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 700
}

.web-showcase__heading>a {
  color: #888;
  text-decoration: none
}

.web-showcase__heading>a:hover {
  color: var(--web-red)
}

.web-card-swiper {
  width: 100%;
  padding: 2px 2px 5px
}

.web-show-card {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  padding: 0;
  border: 1px solid #ececec;
  border-radius: 4px;
  color: #333;
  background: #fff;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .035)
}

.web-show-card>img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .3s
}

.web-show-card>strong {
  display: block;
  overflow: hidden;
  height: 48px;
  padding: 0 13px;
  font-size: 14px;
  font-weight: 600;
  line-height: 48px;
  text-overflow: ellipsis;
  white-space: nowrap
}

.web-show-card:hover {
  color: var(--web-red);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .09)
}

.web-show-card:hover>img {
  transform: scale(1.035)
}

.web-showcase__base-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px
}

.web-base-grid-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .035);
  transition: transform .25s, box-shadow .25s
}

.web-base-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .1)
}

.web-base-grid-card>a {
  display: block;
  color: #333;
  text-decoration: none
}

.web-base-grid-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .3s
}

.web-base-grid-card:hover img {
  transform: scale(1.035)
}

.web-base-grid-card>a>div {
  padding: 11px 13px 13px
}

.web-base-grid-card h3,
.web-base-grid-card span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.web-base-grid-card h3 {
  font-size: 16px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0 0 5px 0;
}

.web-base-grid-card span {
  margin-top: 4px;
  color: #d40000;
  background-color: rgba(204, 0, 0, 0.08);
  padding: 2px 8px;
  font-size: 12px
}

.web-base-grid-card .base-card-meta {
  display: flex;
  column-gap: 5px;
}

.web-base-grid-card__region {
  display: block !important
}

.web-base-grid-card__region i {
  margin-right: 3px;
  font-size: 11px
}

.web-showcase__case-row {
  position: relative;
  padding: 0
}

.web-card-swiper--case {
  box-sizing: border-box;
  width: 100%;
  padding: 2px 58px 48px!important;
}

.web-case-swiper__prev,
.web-case-swiper__next {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  width: 36px;
  height: 36px;
  margin-top: -50px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, .24);
  font-size: 22px;
  line-height: 1;
  place-items: center;
  cursor: pointer;
  transition: background .2s
}

.web-case-swiper__prev {
  left: 12px
}

.web-case-swiper__next {
  right: 12px
}

.web-case-swiper__prev:hover,
.web-case-swiper__next:hover {
  background: rgba(190, 0, 0, .88)
}

.web-case-swiper__pagination {
  bottom: 10px !important
}

.web-case-swiper__pagination .swiper-pagination-bullet {
  background: #aaa;
  opacity: .6
}

.web-case-swiper__pagination .swiper-pagination-bullet-active {
  width: 25px;
  border-radius: 4px;
  background: var(--web-red);
  opacity: 1
}

.web-media-box {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  padding: 32px;
  place-items: center
}

.web-media-box[hidden] {
  display: none
}

.web-media-box__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .82)
}

.web-media-box__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1000px) 48px;
  align-items: center;
  width: min(1180px, 100%);
  max-height: calc(100vh - 64px)
}

.web-media-box__dialog figure {
  min-width: 0;
  margin: 0;
  padding: 12px;
  background: #fff
}

.web-media-box__dialog figure img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 145px);
  object-fit: contain;
  background: #111
}

.web-media-box__dialog figcaption {
  min-height: 38px;
  padding: 12px 4px 2px;
  color: #333;
  font-size: 15px;
  text-align: center
}

.web-media-box__close,
.web-media-box__prev,
.web-media-box__next {
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, .35);
  cursor: pointer
}

.web-media-box__close {
  position: absolute;
  z-index: 2;
  top: -16px;
  right: 36px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 36px
}

.web-media-box__prev,
.web-media-box__next {
  width: 42px;
  height: 58px;
  font-size: 25px
}

.web-media-box__prev {
  justify-self: start
}

.web-media-box__next {
  justify-self: end
}

.web-media-box__close:hover,
.web-media-box__prev:hover,
.web-media-box__next:hover {
  background: var(--web-red)
}

body.is-media-open {
  overflow: hidden
}

@media(max-width:900px) {
  .web-showcase__base-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px
  }

  .web-showcase__case-row {
    padding: 0
  }

  .web-card-swiper--case {
    padding-right: 48px;
    padding-left: 48px
  }

  .web-case-swiper__prev {
    left: 8px
  }

  .web-case-swiper__next {
    right: 8px
  }

  .web-media-box__dialog {
    grid-template-columns: 40px minmax(0, 1fr) 40px
  }
}

@media(max-width:680px) {
  .web-showcase {
    padding: 38px 0 42px
  }

  .web-showcase__heading {
    margin-bottom: 18px
  }

  .web-showcase__heading h2 {
    font-size: 22px
  }

  .web-showcase__base-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px
  }

  .web-base-grid-card>a>div {
    padding: 9px 10px 11px
  }

  .web-base-grid-card strong {
    font-size: 13px
  }

  .web-base-grid-card__region {
    display: block !important
  }

  .web-showcase__case-row {
    padding: 0
  }

  .web-card-swiper--case {
    padding: 2px 38px 44px
  }

  .web-case-swiper__prev,
  .web-case-swiper__next {
    width: 30px;
    height: 46px;
    margin-top: -23px;
    font-size: 17px
  }

  .web-case-swiper__prev {
    left: 6px
  }

  .web-case-swiper__next {
    right: 6px
  }

  .web-case-swiper__pagination {
    bottom: 8px !important
  }

  .web-show-card>strong {
    height: 42px;
    padding: 0 10px;
    line-height: 42px
  }

  .web-media-box {
    padding: 12px
  }

  .web-media-box__dialog {
    display: block;
    width: 100%
  }

  .web-media-box__dialog figure {
    padding: 7px
  }

  .web-media-box__dialog figure img {
    max-height: 72vh
  }

  .web-media-box__prev,
  .web-media-box__next {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 34px;
    height: 48px
  }

  .web-media-box__prev {
    left: 7px
  }

  .web-media-box__next {
    right: 7px
  }

  .web-media-box__close {
    top: -15px;
    right: -5px
  }
}