.page-keyword {}
.page-keyword .page_banner_wrap {
    height: auto;
    padding-top: 160px;
}
.page-keyword .page_banner_wrap .container {
    max-width: 1132px;
    display: block;
}
.page-keyword .page_intro {
  display: block;
    text-align: center;
    margin-bottom: 50px;
}
.page-keyword .page_intro img {
  max-width: 525px;
  width: 100%;
}
.page-keyword .page_intro .context {
  font-size: 14px;
  line-height: 28px;
  margin-top: 48px;
  max-width: 368px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width:1279px) {}

@media screen and (max-width: 767px) {
  .page-keyword .page_banner_wrap {
    padding-top: 100px;
  }
  .page-keyword .page_intro {
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 539px) {}

@media screen and (max-width: 480px) {}


/* Keyword Filter and Masonary */

.filter_masonary_wrap {
  padding-bottom: 100px;
  overflow: hidden;
}
.filter_wrap {
  position: sticky;
    top: 84px;
    left: 0;
    z-index: 3;
    background-color: #fff;
    padding-top: 8px;
    padding-bottom: 25px;
}
.filter_button {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.filter_button button {
  padding: 2px 6px;
  font-size: 14px;
  line-height: 24px;
  color: #000;
  background-color: #DFF1F1;
  transition:all 0.3s ease-in-out;
  cursor: pointer;
  border: none;
  display: none;
}
.filter_button button:nth-child(1), .filter_button button:nth-child(2),
.filter_button button:nth-child(3), .filter_button button:nth-child(4), .filter_button button:nth-child(5),
.filter_button button:nth-child(6), .filter_button button:nth-child(7), .filter_button button:nth-child(8) {
  display: block;
}
#filter.show_tag.open .filter_button button {
  display: block;
}
.filter_button button.active {
  background-color: #000;
  color: #fff;
}
#filter.show_tag .filter_button {
  position: relative;
  height: auto;
  overflow: hidden;
  display: flex;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
    row-gap: 4px;
  -webkit-transition: max-height 300ms 0s ease;
  -moz-transition: max-height 300ms 0s ease;
  -o-transition: max-height 300ms 0s ease;
  transition: max-height 300ms 0s ease;
}
#filter.show_tag.open .filter_button {
  height: auto;
  max-height: 500px !important;
}
#filter.show_tag.open {
  -webkit-transition: all 300ms 0s ease;
  -moz-transition: all 300ms 0s ease;
  -o-transition: all 300ms 0s ease;
  transition: all 300ms 0s ease;
}
.tag_toggle {
  font-size: 12px;
  line-height: 24px;
  color: #000;
  cursor: pointer;
  display: table;
  margin-left: auto;
  margin-right: auto;
  margin-top: 16px;
  transition: all 0.3s ease-in-out;
  padding-left: 6px;
  padding-right: 6px;
}
.d-none{
  display: none !important;
}
@media (hover: hover) {
  .filter_button button:hover {
    background-color: #000;
    color: #fff;
  }
}
@media screen and (max-width:1279px) {
  #filter.show_tag .filter_button {
    display:flex;
  }
}

@media screen and (max-width: 767px) {
  .filter_wrap {
    position: static;
  }
  .filter_masonary_wrap {
    padding-bottom: 80px;
  }
  .filter_button button {
    font-size: 10px;
  }
}

@media screen and (max-width: 539px) {}

@media screen and (max-width: 480px) {}

/* gallery_grid */
.gallery_grid {
  --items-in-row: 6;
  --grid-total-width: calc(100% - 0px);
  --column-width: calc(var(--grid-total-width) / var(--items-in-row));
  --grid-item-padding:3px;
  margin-bottom: 60px;
}
.gallery_item {
  cursor: pointer;
  padding: var(--grid-item-padding);
}
.gallery_item .gallery-img {
  background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    top: var(--grid-item-padding);
    left: var(--grid-item-padding);
    width: calc(100% - (var(--grid-item-padding) * 2));
    height: calc(100% - (var(--grid-item-padding) * 2));
}
.gallery_item img {
  width: 100%;
  object-fit: cover;
  display: none;
}

/* column */
.oneColumn {
  width: var(--column-width);
  aspect-ratio: 1/1;
  overflow: hidden;
}
.twoColumn {
  width: calc(2 * var(--column-width));
  aspect-ratio: 1/1;
  overflow: hidden;
}
.twoColumn-d {
  width: calc(2 * var(--column-width));
  aspect-ratio: 1/1;
  overflow: hidden;
}
.gallery_grid.applied-filter .twoColumn,
.gallery_grid.applied-filter .twoColumn-d,
.gallery_grid.applied-filter .twoColumn-m {
  width: calc(var(--column-width)) !important;
}
@media screen and (max-width:1279px) {
  .gallery_grid {
    --items-in-row: 6;
  }
}

@media screen and (max-width: 767px) {
  .gallery_grid {
    --items-in-row: 3;
  }
  .twoColumn-d {
    width: var(--column-width);
    aspect-ratio: 1/1;
    overflow: hidden;
  }
  .twoColumn-m {
    width: calc(2 * var(--column-width));
    aspect-ratio: 1/1;
    overflow: hidden;
  }
}

@media screen and (max-width: 539px) {}

@media screen and (max-width: 480px) {}



/* context content */
.gallery_item .over_context {
  background-color:rgba(97,186,183,0.8);
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
}

.gallery_item .over_context p {
  margin-bottom: 4px;
}
.gallery_item .over_context .content {
  margin-bottom: 28px;
  color: #000;
  font-size: 14px;
  line-height: 21px;
}
/* hover */
.gallery_item:hover .over_context {
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 1279px){
  .gallery_item .over_context .content {
      display: none;
  }
}
@media screen and (max-width: 767px) {}
@media screen and (max-width: 539px) {}
@media screen and (max-width: 480px) {
  .gallery_item.oneColumn .over_context .content {
    font-size: 14px;
    margin-bottom: 2px;
  }
  .gallery_item.oneColumn .over_context .content p {
      margin-bottom: 0px;
      line-height: normal;
  }
}

/* Keyword Special Feature */
.special_features_wrap {
  background-color: #E7F1F9;
  padding-top: 100px;
  padding-bottom: 100px;
}
.special_features_wrap .feature_header {
  font-size: 24px;
  line-height: 36px;
  font-weight: 500;
  margin-bottom: 48px;
  text-align: center;
}
.special_feature_list {
  display: grid;
  grid-template-columns: repeat(3, 250px);
  gap: 20px;
  justify-content: center;
}
.special_feature_list .item img {
width: 100%;
transition: opacity 0.3s ease-in-out;
}

.special_feature_list .item a {
  display: block;
}

@media (hover: hover) {
  .special_feature_list .item:hover img {
    opacity: 0.7;
    }
}

@media screen and (max-width:1279px) {
  .special_feature_list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .special_features_wrap {
    padding-top: 80px;
    padding-bottom: 80px;
}
.special_feature_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.search_wrap fieldset input {
    padding:16px 20px 0px 20px;
    width: 100%;
}
}

@media screen and (max-width: 539px) {}

@media screen and (max-width: 480px) {}