.our-work {
  background-color: rgb(222, 243, 245);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 3rem 0 0;
}
.our-work h2 {
  text-align: center;
}
.our-work .tab-menu {
  display: none;
  padding: 0;
  margin: 0;
}
@media only screen and (min-width: 540px) {
  .our-work .tab-menu {
    display: flex;
    justify-content: center;
  }
}
.our-work .tab-menu li {
  flex: 1 1 0px;
  list-style: none;
  text-indent: 0;
  position: relative;
  margin-bottom: 16px;
  cursor: pointer;
  text-align: center;
}
.our-work .tab-menu li span {
  position: relative;
}
.our-work .tab-menu li span:after {
  position: absolute;
  content: "";
  height: 8px;
  width: 0px;
  left: 0;
  bottom: -8px;
  background-color: #F0C564;
  transition: width 0.25s ease-in-out;
}
.our-work .tab-menu li.active span:after, .our-work .tab-menu li:hover span:after {
  content: "";
  height: 8px;
  width: 100%;
}
.our-work .content-panels {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 2rem;
}
@media only screen and (min-width: 540px) {
  .our-work .content-panels {
    display: flex;
    flex-wrap: wrap;
  }
  .our-work .content-panels .panel {
    flex: 0 1 50%;
  }
}
@media only screen and (min-width: 768px) {
  .our-work .content-panels {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 260px;
    grid-template-rows: repeat(2, 1fr) 140px repeat(2, 160px);
    grid-template-areas: "a a b b b" "a a b b b" "c c b b b" "c c d d e" "c c d d e";
  }
}
.our-work .content-panels .panel {
  overflow: hidden;
  position: relative;
  min-height: 250px;
  max-height: 250px;
  height: 250px;
  display: none;
  display: none;
}
@media only screen and (min-width: 768px) {
  .our-work .content-panels .panel {
    display: block;
  }
}
.our-work .content-panels .panel:nth-child(5n+1) {
  display: block;
}
.our-work .content-panels .panel:nth-child(5n+1) figure {
  max-height: 471px;
}
@media only screen and (min-width: 768px) {
  .our-work .content-panels .panel {
    height: auto;
    display: none;
    max-height: fit-content;
  }
  .our-work .content-panels .panel.active {
    display: block;
    z-index: 2;
  }
}
.our-work .content-panels .panel figure {
  width: 100%;
  height: 100%;
  margin: 0;
}
.our-work .content-panels .panel figure img {
  margin: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: right;
}
.our-work .content-panels .panel .hover {
  width: 100%;
  height: 100%;
  opacity: 1;
  pointer-events: all;
  overflow: hidden;
  background-color: rgba(44, 63, 74, 0.93);
  transition: opacity 0.5s ease-in-out;
  position: absolute;
  bottom: 0;
  color: white;
  padding: 1rem;
}
@media only screen and (min-width: 768px) {
  .our-work .content-panels .panel .hover {
    pointer-events: none;
    opacity: 0;
  }
}
@media only screen and (min-width: 768px) {
  .our-work .content-panels .panel .hover {
    padding: 3rem 2rem;
  }
}
.our-work .content-panels .panel .hover:before {
  position: absolute;
  width: 100px;
  height: 1px;
  background-color: white;
  content: "";
}
@media only screen and (min-width: 768px) {
  .our-work .content-panels .panel .hover:before {
    top: 3rem;
    left: 2rem;
  }
}
.our-work .content-panels .panel .hover a {
  display: block;
  position: relative;
  max-width: 400px;
  height: 100%;
}
.our-work .content-panels .panel .hover a:hover {
  text-decoration: none;
}
.our-work .content-panels .panel .hover p {
  font-family: "georgiapro", serif;
}
.our-work .content-panels .panel .hover h4, .our-work .content-panels .panel .hover p {
  color: white;
  text-decoration: none;
  font-weight: normal;
}
.our-work .content-panels .panel .hover h4:hover, .our-work .content-panels .panel .hover p:hover {
  text-decoration: none;
}
.our-work .content-panels .panel .hover h4 {
  font-weight: 400;
  text-transform: uppercase;
  margin-block: 20px 0;
  font-size: 20px;
  letter-spacing: 1.6px;
}
.our-work .content-panels .panel:hover .hover {
  opacity: 1;
  pointer-events: all;
}
.our-work .content-panels .panel:hover .hover a {
  text-decoration: none;
}
.our-work .content-panels .panel:nth-child(1), .our-work .content-panels .panel:nth-child(6), .our-work .content-panels .panel:nth-child(11) {
  grid-area: a;
}
.our-work .content-panels .panel:nth-child(2), .our-work .content-panels .panel:nth-child(7), .our-work .content-panels .panel:nth-child(12) {
  grid-area: b;
}
.our-work .content-panels .panel:nth-child(3), .our-work .content-panels .panel:nth-child(8), .our-work .content-panels .panel:nth-child(13) {
  grid-area: c;
}
.our-work .content-panels .panel:nth-child(4), .our-work .content-panels .panel:nth-child(9), .our-work .content-panels .panel:nth-child(14) {
  grid-area: d;
}
.our-work .content-panels .panel:nth-child(5), .our-work .content-panels .panel:nth-child(10), .our-work .content-panels .panel:nth-child(15) {
  grid-area: e;
}

.acf-block-preview .our-work {
  width: calc(100vw - 490px);
  margin-left: calc(245px + (50% - 50vw));
  max-width: inherit;
}
.acf-block-preview .our-work .wrap {
  max-width: 768px;
  margin: auto;
}
@media only screen and (min-width: 1200px) {
  .acf-block-preview .our-work .wrap {
    max-width: calc(100% - 490px);
  }
}
@media only screen and (min-width: 1366px) {
  .acf-block-preview .our-work .wrap {
    max-width: 1140px;
  }
}
.acf-block-preview .our-work .wrap .content-panels {
  max-width: 100%;
  margin: auto;
  display: block;
}
.acf-block-preview .our-work .wrap .content-panels .block-editor-inner-blocks {
  width: 100%;
}
.acf-block-preview .our-work .wrap .content-panels .block-editor-inner-blocks > .block-editor-block-list__layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 260px;
  grid-template-rows: repeat(2, 1fr) 140px repeat(2, 160px);
  grid-template-areas: "a a b b b" "a a b b b" "c c b b b" "c c d d e" "c c d d e";
}
.acf-block-preview .our-work .wrap .content-panels .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-acf-portfolio-item.is-selected, .acf-block-preview .our-work .wrap .content-panels .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-acf-portfolio-item.has-child-selected {
  z-index: 9999;
  opacity: 1;
}
.acf-block-preview .our-work .wrap .content-panels .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-acf-portfolio-item.is-selected .hover, .acf-block-preview .our-work .wrap .content-panels .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-acf-portfolio-item.has-child-selected .hover {
  opacity: 1;
}
.acf-block-preview .our-work .wrap .content-panels .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-acf-portfolio-item > .acf-block-body > div, .acf-block-preview .our-work .wrap .content-panels .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-acf-portfolio-item .acf-block-body, .acf-block-preview .our-work .wrap .content-panels .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-acf-portfolio-item .acf-block-preview, .acf-block-preview .our-work .wrap .content-panels .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-acf-portfolio-item .panel {
  height: 100%;
}
.acf-block-preview .our-work .wrap .content-panels .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-acf-portfolio-item:nth-child(1), .acf-block-preview .our-work .wrap .content-panels .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-acf-portfolio-item:nth-child(6) {
  grid-area: a;
}
.acf-block-preview .our-work .wrap .content-panels .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-acf-portfolio-item:nth-child(2), .acf-block-preview .our-work .wrap .content-panels .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-acf-portfolio-item:nth-child(7) {
  grid-area: b;
}
.acf-block-preview .our-work .wrap .content-panels .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-acf-portfolio-item:nth-child(3), .acf-block-preview .our-work .wrap .content-panels .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-acf-portfolio-item:nth-child(8) {
  grid-area: c;
}
.acf-block-preview .our-work .wrap .content-panels .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-acf-portfolio-item:nth-child(4), .acf-block-preview .our-work .wrap .content-panels .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-acf-portfolio-item:nth-child(9) {
  grid-area: d;
}
.acf-block-preview .our-work .wrap .content-panels .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-acf-portfolio-item:nth-child(5), .acf-block-preview .our-work .wrap .content-panels .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block-acf-portfolio-item:nth-child(10) {
  grid-area: e;
}
.acf-block-preview .our-work .wrap .content-panels .panel .hover {
  opacity: 0.75 !important;
  border: 1px solid white;
}
.acf-block-preview .our-work .wrap .content-panels .panel .hover .block-editor-block-list__layout {
  display: block !important;
}
.acf-block-preview .our-work .wrap .tab-menu {
  display: flex;
  justify-content: center;
}
.acf-block-preview .our-work .wrap .tab-menu .work-item {
  position: relative;
}
.acf-block-preview .our-work .wrap .tab-menu .work-item:before {
  content: "ID: " attr(data-sort);
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -10px);
  font-size: 0.7rem;
}

/*# sourceMappingURL=portfolio.css.map */
