/* ========== 全局重置样式 ========== */
*:focus {
  outline: none !important;
}

/* #gallery p,
#gallery span,
#gallery a {
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  color: #222;
} */

#gallery a {
  display: inline-block;
  text-decoration: none;
  transition: .33s all ease;
  color: #49c0d0;
}

#gallery a:hover {
  color: #000;
}

/* #gallery h1,
#gallery h2,
#gallery h3,
#gallery h4,
#gallery h5,
#gallery h6 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #222;
  text-transform: uppercase;
  letter-spacing: .5px;
} */

h4 {
  font-size: 24px;
  line-height: 1.5;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

p {
  margin: 0;
}

#gallery img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

#gallery .container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1200px) {
  #gallery .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  #gallery .container {
    max-width: 1320px;
  }
}

/* ========== 区块样式 ========== */
.section-md {
  padding: 60px 0;
}

@media (min-width: 768px) {
  .section-md {
    padding: 70px 0;
  }
}

@media (min-width: 992px) {
  .section-md {
    padding: 80px 0 100px;
  }
}

.bg-default {
  background-color: #fff;
}

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

/* ========== 标题装饰 ========== */
.heading-decorated {
  margin-bottom: 35px;
}

.heading-decorated::after {
  content: '';
  display: block;
  height: 1px;
  width: 50px;
  margin: 15px auto 0;
  background: #49c0d0;
}

/* ========== 过滤器样式 ========== */
.list-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.list-nav>li {
  display: inline-block;
  margin: 5px 15px;
}

.list-nav>li a {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: #888;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: .33s all ease;
}

.list-nav>li a.active,
.list-nav>li a:hover {
  color: #49c0d0;
  border-bottom-color: #49c0d0;
}

/* ========== Isotope 网格 ========== */
.isotope-wrap {
  margin-top: 30px;
}

.isotope {
  min-height: 200px;
  transition: .4s all ease;
}

.isotope .isotope-item {
  margin-bottom: 30px;
}

/* .isotope-hidden-limit {
  display: none !important;
  transform: scale(0);
} */

/* ========== 图片卡片样式 ========== */
.gallery-item {
  position: relative;
  display: block;
  text-align: center;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
}

.gallery-item>figure {
  margin: 0;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* 标签 */
.gallery-item .label-custom {
  position: absolute;
  z-index: 11;
  top: 18px;
  left: 18px;
  padding: 4px 12px;
  font-size: 12px;
  font-style: italic;
  background-color: #fff;
  border-radius: 4px;
  color: #000;
  font-weight: 500;
}

/* 悬浮覆盖层 */
.gallery-item .caption {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: rgba(73, 192, 208, 0.85);
  opacity: 0;
  transform: scale(0.9);
  transition: all .3s ease;
}

.gallery-item:hover .caption {
  opacity: 1;
  transform: scale(1);
}


@media (max-width: 992px) {

  .gallery-item img {
    transform: scale(1.05);
  }

  .gallery-item .caption {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-item .caption>* {
  color: #fff;
}

.gallery-item .caption>*+* {
  margin-top: 8px;
}

.gallery-item .caption .icon {
  font-size: 32px;
  margin-bottom: 5px;
}

.gallery-item .caption .list-inline-tag {
  display: flex;
  gap: 5px;
  font-size: 12px;
  font-style: italic;
}

.gallery-item .caption .list-inline-tag li:not(:last-child)::after {
  content: ',';
  margin-left: 2px;
}

.gallery-item .caption .heading-5 {
  font-size: 20px;
  color: #fff;
  text-transform: none;
  margin: 5px 0;
}

.gallery-item .caption .divider {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  margin: 8px 0;
}

.gallery-item .caption .small {
  font-size: 13px;
  opacity: 0.9;
}

.gallery-item .caption .bottom-icon {
  position: absolute;
  right: 18px;
  bottom: 13px;
  font-size: 20px;
}


/* 悬停动画元素 */
.gallery-item .hover-top-element {
  opacity: 0;
  transform: translateY(20px);
  transition: all .3s ease .1s;
}

.gallery-item .hover-bottom-element {
  opacity: 0;
  transform: translateY(-20px);
  transition: all .3s ease .1s;
}

.gallery-item:hover .hover-top-element,
.gallery-item:hover .hover-bottom-element {
  opacity: 1;
  transform: translateY(0);
}



@media (max-width: 932px) {

  .gallery-item .hover-top-element,
  .gallery-item .hover-bottom-element {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== 行间距 ========== */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.row>[class*="col-"] {
  padding-right: 15px;
  padding-left: 15px;
}

.col-12 {
  width: 100%;
}

@media (min-width: 768px) {
  .col-md-6 {
    width: 50%;
  }
}

@media (min-width: 992px) {
  .col-lg-4 {
    width: 33.333%;
  }
}

.row-70 {
  margin-bottom: -70px;
}

.row-70>[class*="col-"] {
  margin-bottom: 35px;
}

/* 加载动画 */
.isotope-loading {
  text-align: center;
  padding: 40px;
  color: #49c0d0;
}

/* LightGallery 缩略图边框 */
.lg-thumb-item {
  border: 2px solid #a4a4a4 !important;
}

.lg-thumb-item.active {
  border-color: #fff !important;
}