/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/* !- touchlinkbox */
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/* !- general */

.touchlinkbox-container {
    container-type: inline-size;
    container-name: touchlinkbox;
    width: 100%;
    height: auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: flex-start;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/* !- cols */

.cols-1 .touchlinkbox {
    width: 100%;
}
.cols-2 .touchlinkbox {
    width: calc(100% / 2);
}
.cols-3 .touchlinkbox {
    width: calc(100% / 3);
}
.cols-4 .touchlinkbox {
    width: calc(100% / 4);
}

@container touchlinkbox (max-width: 600px) {
    .cols-4 .touchlinkbox {
        width: calc(100% / 2);
    }
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/* !- item */
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.touchlinkbox {
    text-decoration: none;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/* !- body */

.touchlinkbox-item-inner {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  overflow: clip;
  flex-direction: column;
  overflow: visible;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/* !- picture */

.touchlinkbox-picture {
    border-radius: 30px;
    background: var(--4touch-color-yellow);
    box-shadow: 0 34px 44px 0 #000;
    padding: 11px;
    margin-bottom: 20px;
    transition: background .4s;
}
.touchlinkbox-picture .bhBgImage.bh-background-image {
    width: 194px !important;
    height: 194px !important;
    border-radius: 20px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.touchlinkbox:hover .touchlinkbox-picture {
  background: var(--4touch-color-white);
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/* !- content */

.touchlinkbox-label h3 {
    text-align: center;
    color: var(--4touch-color-yellow);
    text-align: center;
    font-family: "myriad-pro", sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 0;
    transition: color .4s;
}
.touchlinkbox:hover .touchlinkbox-label h3 {
  color: var(--4touch-color-white);
}

@container touchlinkbox (max-width: 840px) {
  
  .touchlinkbox-picture {
    border-radius: 12px;
    box-shadow: 0 14.469px 18.725px 0 #000;
    padding: 5px;
    margin-bottom: 12px;
  }
  .touchlinkbox-picture .bhBgImage.bh-background-image {
      width: 90px !important;
      height: 90px !important;
      border-radius: 8px;
  }
  .touchlinkbox-label h3 {
      font-size: 13px;
  }

}