/**
* ========================================
 * // Single Works
 * ========================================
 */

.kt-clear {
  background-color: #fbf9f9;
}

.work-mainvis {
  position: relative;
  left: 50%;
  right: 50%;
  width: 83vw; /* 83% of the viewport width */
  max-width: 1600px; /* optional cap */
  transform: translateX(-50%);
  margin: 0; /* optional spacing */
  padding-top: 0px;
  margin-top: 0 !important;
}

.work-mainvis img {
  width: 100%;
  height: auto;
  display: block;
}

.work-spvis {
  display: none;
}

.work-title {
  text-align: center;
  margin: auto;
  margin-top: 80px;
  margin-bottom: 0px;
  font-size: 56px;
}

.work-desc {
  text-align: center;
  max-width: 1080px !important;
  margin: auto;
}

.work-desc p {
  margin: 0;
  margin-top: 15px;
}

.work-info {
  text-align: center;
  margin: auto;
  margin-bottom: 100px;
}

.work-info-sp {
  display: none;
}

.work-info p {
  margin-top: 45px;
  margin-bottom: 0px;
}

.post-edit-link {
  display: none;
  pointer-events: none;
}

.work-photos {
  margin-top: 0px;
  margin-bottom: 100px;
}

.content-area {
  background-color: #fbf9f9;
}

.wp-block-kadence-advancedbtn.kb-btns2030_8e3b3e-d5 {
  margin-bottom: 100px !important;
}

@media screen and (min-width: 1025px) and (max-width: 1600px) {
  .work-mainvis {
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1290px;
    transform: none;
  }

  .work-title {
    font-size: 48px;
  }

  .work-desc {
    max-width: 900px !important;
  }

  .work-desc p {
    font-size: 17px;
  }

  .work-info {
    max-width: 900px !important;
  }

  .work-info p {
    font-size: 17px;
  }

  .wp-block-kadence-advancedbtn.kb-btns2030_8e3b3e-d5 {
    margin-bottom: 100px !important;
  }
}

@media screen and (min-width: 576px) and (max-width: 1024px) {
  .work-mainvis {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    max-width: none;
    transform: translateX(-50%);
    padding: 0;
    margin: 0 !important;
  }

  .work-title {
    font-size: 36px;
    max-width: 500px;
    margin-top: 60px;
  }

  .work-desc {
    max-width: 600px !important;
  }

  .work-desc p {
    font-size: 16px;
  }

  .work-info {
    max-width: 600px !important;
    margin-bottom: 80px;
  }

  .work-info p {
    font-size: 16px;
  }

  .work-photos {
    margin-top: 0px;
    margin-bottom: 80px;
  }

  .wp-block-kadence-advancedbtn.kb-btns2030_8e3b3e-d5 {
    margin-bottom: 90px !important;
  }
}

@media screen and (max-width: 575px) {
  .work-mainvis {
    display: none;
  }

  .work-spvis {
    display: block;
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    max-width: none;
    transform: translateX(-50%);
    margin: 0; /* optional spacing */
    padding: 0;
    margin-top: 0 !important;
  }

  .work-spvis img {
    width: 100%;
    height: auto;
    display: block;
  }

  .work-title {
    font-size: 26px !important;
    text-align: left;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 30px;
  }

  .work-desc {
    padding-left: 15px;
    padding-right: 15px;
  }

  .work-desc p {
    font-size: 16px;
    text-align: left;
  }

  .work-info {
    display: none;
  }

  .work-info-sp {
    display: block;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 40px;
  }

  .work-info-sp p {
    font-size: 16px;
    text-align: left;
  }

  .work-photos {
    margin-top: 0px;
    margin-bottom: 50px;
  }

  .wp-block-kadence-advancedbtn.kb-btns2030_8e3b3e-d5 {
    margin-bottom: 60px !important;
  }
}

/**
* ========================================
 * // Works 
 * ========================================
 */

.workpost h4 {
  text-align: center;
}

@media screen and (max-width: 767px) {
  .wp-block-kadence-posts.grid-sm-col-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wp-block-kadence-posts.grid-cols {
    column-gap: 0.5rem;
    row-gap: 0.5rem;
  }
}

@media screen and (min-width: 576px) {
  .wp-block-kadence-posts.grid-cols {
    column-gap: 1.5rem;
    row-gap: 1.5rem;
  }
}

/**
* ========================================
 * // Header SP 
 * ========================================
 */

.drawer-inner {
  background-color: #212121 !important;
}


/**
* ========================================
 * // Services
 * ========================================
 */

.service-sp-text {
  text-align: justify !important;
}


/**
* ========================================
 * // Home
 * ========================================
 */


@media screen and (max-width: 767px) {
  .work-home.wp-block-kadence-posts.grid-sm-col-2 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .wp-block-kadence-posts.grid-cols {
    column-gap: 0.5rem;
    row-gap: 0.5rem;
  }
}
