/**
 * Block : Zoom
 * =================================
 *
 *
 *
 */
.zoom__featured-item {
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.zoom__featured-image {
  overflow: hidden;
  position: relative;
}

.zoom__featured-image::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  transition: opacity 300ms ease-in-out;
}

.zoom__featured-logo {
  position: relative;
  z-index: 1;
  width: 300px;
}

@media screen and (max-width: 1199px) {
  .zoom__others {
    display: block;
  }
}

.zoom__body .tns-inner {
  position: relative;
}

.zoom__body .controls {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  z-index: 2;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zoom__body .controls > button {
  pointer-events: auto;
  width: 30px;
  height: 30px;
}

.zoom__body .controls > button svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.zoom__body .controls > button svg path {
  fill: var(--wp--preset--color--secondary);
}

.zoom__others-item {
  position: relative;
  z-index: 0;
  padding: 15px;
  height: 205px;
  overflow: hidden;
  aspect-ratio: 1/1;
  margin: 0 auto;
}

@media screen and (min-width: 1441px) {
  .zoom__others-item {
    height: 235px;
  }
}

.zoom__others-item::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  background-color: rgba(0, 0, 0, 0.45);
  transition: opacity 300ms ease-in-out;
}

.zoom__others-item:hover .zoom__others-item-box,
.zoom__others-item:hover::before {
  opacity: 1;
  display: flex;
}

.zoom__others-item:hover .zoom__others-item-box {
  transform: translate(-50%, -50%) scale(1);
}

.zoom__others-item:hover .zoom__others-item-more {
  transform: rotate(0) scale(1);
}

.zoom__others-item-box {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  display:none;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  background-color: rgba(255, 255, 255, 0.9);
  transition: all 200ms ease-in-out;
}

.zoom__others-item-more {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  display: inline-flex;
  flex-shrink: 0;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  transform: rotate(90deg) scale(0.5);
  background-image: url("more.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: all 200ms ease-in-out;
}

.zoom__others-item-logo {
  display: flex;
  justify-content: center;
}

.zoom__others-item-logo > img {
  min-width: 130px;
  max-width: 200px;
  max-height: 85px;
}

.zoom__others-item-cat {
  font-size: 12px;
  font-weight: 900;
  line-height: 28px;
  text-align: left;
  text-transform: uppercase;
  border-bottom: 2px solid var(--wp--preset--color--secondary);
  margin-bottom: 12px;
}

.zoom__others-item-title {
  font-weight: 700;
  line-height: 20px;
  text-align: left;
}

.zoom__others-item-tag {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}

.zoom__others-item-tag > span {
  font-weight: 900;
}

.zoom__others-item-cta {
  display: inline-block;
  font-weight: 500;
  border: 1px solid var(--wp--preset--color--primary);
  padding: 4px 20px;
  border-radius: 12px;
}

@media screen and (max-width: 769px) {
  .zoom__featured-image {
    min-height: 300px;
  }
}
