:root {
  --bobo-pic-columns-title-size: 36px;
  --bobo-pic-columns-text-size: 18px;
  --bobo-pic-columns-text-leading: 1.55;
  --bobo-pic-columns-text-mb: 28px;
  --bobo-pic-columns-pd: 00px 0 0 0;
  --bobo-pic-columns-ul-m: 40px -12px 0;
  --bobo-pic-columns-li-p: 12px;
}

.bobo-pic-columns {
  position: relative;
  background: #fff;
  padding: var(--bobo-pic-columns-pd);
}

.bobo-pic-columns h3{
  color: var(--color-primary);
  margin: 20px 0 0;
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
}
.bobo-pic-columns ul {
  margin: var(--bobo-pic-columns-ul-m);
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.bobo-pic-columns ul li {
  padding: var(--bobo-pic-columns-li-p);
  cursor: pointer;
  box-sizing: border-box;
}

.bobo-pic-columns ul li .box {
  padding: 17px 17px 0;
  height: 100%;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 2px 17px 0 #e9e9e9;
}

.bobo-pic-columns ul li .pic {
  height: 300px;
  display: block;
  position: relative;
}

.bobo-pic-columns ul li .pic::before {
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* border: 1px solid transparent; */
  z-index: 10;
}

.bobo-pic-columns ul li .pic > img {
  width: 100%;
  display: block;
  transition: all 0.3s ease 0s;
}

.bobo-pic-columns ul li .txt {
  padding: 24px 15px;
  text-align: center;
}

.bobo-pic-columns ul li .txt h5 {
  text-transform: capitalize;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: var(--bobo-pic-columns-text-size);
  line-height: var(--bobo-pic-columns-text-leading);
  margin-bottom: var(--bobo-pic-columns-text-mb);
  overflow: hidden;
}


.bobo-pic-columns ul li:last-child .box {
  display: block;
  padding: 17px;
}

.bobo-pic-columns ul li:last-child .t {
  border: 1px solid #f0f0f0;
  height: 100%;
  width: 100%;
  padding: 30px;
  box-sizing: border-box;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  flex-direction: column;
}

.bobo-pic-columns ul li:last-child .t p {
  font-family: var(--title-font-family);
  font-size: var(--bobo-pic-columns-text-size);
  color: var(--color-primary);
  line-height: 2;
  text-transform: uppercase;
  font-weight: 700;
}

.bobo-pic-columns ul li:last-child .t > div {
  width: 25px;
  margin: 0 auto 24px 0;
  color: var(--color-primary);
}

.bobo-pic-columns ul li:last-child .t > div:last-child {
  width: 50px;
  margin: 24px 0 0 auto;
}

@-webkit-keyframes arrow-nudge-right {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  40% {
    -webkit-transform: translateX(10px);
    transform: translateX(10px);
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes arrow-nudge-right {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  40% {
    -webkit-transform: translateX(10px);
    transform: translateX(10px);
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

.bobo-pic-columns ul li:last-child:hover .t p::after {
  -webkit-animation: arrow-nudge-right 0.5s cubic-bezier(0.22, 1.03, 0.69, 0.97)
    0.3s;
  animation: arrow-nudge-right 0.5s cubic-bezier(0.22, 1.03, 0.69, 0.97) 0.3s;
}

@media screen and (max-width: 1500px) {
  :root {
    --bobo-pic-columns-title-size: 32px;
    --bobo-pic-columns-text-size: 16px;
    --bobo-pic-columns-text-mb: 24px;
  }
}

@media screen and (max-width: 1280px) {
  :root {
    --bobo-pic-columns-title-size: 28px;
  }
}

@media screen and (max-width: 992px) {
  :root {
    --bobo-pic-columns-title-size: 24px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --bobo-pic-columns-title-size: 28px;
    --bobo-pic-columns-text-leading: 1.4;
    --bobo-pic-columns-text-mb: 0;
    --bobo-pic-columns-pd: 30px 0;
    --bobo-pic-columns-ul-m: 25px -10px 0;
    --bobo-pic-columns-li-p: 10px;
  }
  .bobo-pic-columns ul li:last-child .t > div{
   margin: 0 auto 20px 0;
  }
  .bobo-pic-columns ul li .box {
    padding: 10px 10px 0;
    box-shadow: 0 2px 10px 0 #e9e9e9;
  }

  .bobo-pic-columns ul li .txt {
    padding: 15px 10px;
  }

  .bobo-pic-columns ul li:last-child .box {
    padding: 10px;
  }

  .bobo-pic-columns ul li:last-child .t {
    padding: 20px;
  }

  .bobo-pic-columns ul li:last-child .t p {
    line-height: 1.6;
  }
}

@media screen and (max-width: 576px) {
  :root {
    --bobo-pic-columns-title-size: 24px;
    --bobo-pic-columns-text-size: 18px;
    --bobo-pic-columns-text-mb: 0;
    --bobo-pic-columns-ul-m: 25px -10px 0;
    --bobo-pic-columns-li-p: 10px;
  }
  .bobo-pic-columns ul li:last-child .t p {
    line-height: var(--bobo-pic-columns-text-leading);
  }
  
  .bobo-pic-columns ul li .pic {
    height: auto;
  }
}


@media screen and (max-width: 1500px) {
  .bobo-pic-columns h3{font-size: 40px;}
}
@media screen and (max-width: 1440px) {
  .bobo-pic-columns h3{font-size: 36px;}
}
@media screen and (max-width: 1281px) {
  .bobo-pic-columns h3{font-size: 34px;}
}
@media screen and (max-width: 1171px) {
  .bobo-pic-columns h3{font-size: 30px;}
}
@media screen and (max-width: 992px) {
  .bobo-pic-columns h3{font-size: 26px;}
}
@media screen and (max-width: 768px) {
  .bobo-pic-columns h3{font-size: 24px;}
}
@media screen and (max-width: 480px) {
  .bobo-pic-columns h3{font-size: 22px;}
}
