

.text-image-pins{
  .full_grid{
    .text-image__image{
      article{
        .imagepin-widgets{
          /* hide the labels on mobile*/
          display: none !important;
        }
        picture{
          .imagepin{
            --pin-size: 50px;
            --widget-height: 108px;

            background-color: transparent;
            border: 0px;
            background-image: url("../../images/pin_shape.svg");
            background-repeat: no-repeat;
            background-size: contain;
            width: var(--pin-size);
            height: var(--pin-size);
            box-shadow: unset;
            border-radius: 10px;
            translate: -50% -50%;
            &.imagepin-selected{
              background-color: rgb(from #FC6100 r g b / 0.25);
            }

            .imagepin-widget-content{
              background-color: rgb(255 255 255 / 90%);
              border: 0px;
              cursor: default;
              display: block;
              padding: 8px;
              width: fit-content;
              font-size: 18px;
              font-style: normal;
              font-weight: 400;
              line-height: 170%; /* 30.6px */
              text-align: center;
              white-space: nowrap;

              position: absolute;
              right: 0;
              top: calc(var(--pin-size) + 8px);

              span{
                font-family: var(--font-title);
                color: var(--color-secondary--1);
                font-size: 20px;
                font-weight: 600;
                line-height: 150%; /* 48px */
                text-transform: uppercase;
                margin-bottom: 0.25rem;
                display: block;
              }
              p{
                padding: 0;
                margin: 0;
              }
            }
          }
          .imagepin-widget{
            .imagepin-widget-content{
              p{
                padding: 0;
                margin: 0;
              }
            }
          }
          .imagepin-widget.imagepin-overlay{
            background-color: rgb(255 255 255 / 90%);
            border: 0px;
            cursor: default;

            display: block;
            width: fit-content;
            padding: 16px;
            float: left;
            
            font-size: 18px;
            font-style: normal;
            font-weight: 400;
            line-height: 170%; /* 30.6px */
            text-align: center;

            h2{
              color: var(--color-secondary--1);
              font-size: 32px;
              font-weight: 600;
              line-height: 150%; /* 48px */
              text-transform: uppercase;
              margin-bottom: 0.25rem;
            }
          }
          img{
            /* object-fit: contain; */ 
            aspect-ratio: 960/726;
            height: unset;
          }
        }
      }
    }
  }
}


/*
MARK: 750 PX
*/
@media all and (min-width: 750px) {
  .text-image-pins{
    .full_grid{
      display: flex;
    }
  }
}

/*
MARK: 1000 PX
*/
@media all and (min-width: 1000px) {
  .text-image-pins{
    .full_grid{
      display:grid;
      .text-image__image{
        article{
          display: flex;
          align-items: center;
          justify-content: center;
          picture{
            height: fit-content;
            .imagepin-widget{

            }
          }
        }
      }
    }
  }
}


/* 
  MARK: PINS SIZE
*/

/*
MARK: 300 PX
*/
@media all and (min-width: 300px) {
  .text-image-pins .full_grid .text-image__image article picture .imagepin{--pin-size: 50px;}
}
/*
MARK: 500 PX
*/
@media all and (min-width: 500px) {
  .text-image-pins .full_grid .text-image__image article picture .imagepin{
    --pin-size: 60px;
    --widget-height: 92px;
    .imagepin-widget-content{
      padding: 8px;
      position: absolute;
      right: calc(100% + 16px);
      top: calc(calc(calc(var(--widget-height) - var(--pin-size)) / 2) * -1);

      span{
        font-size: 26px;
      }
    }
  }
}

/*
MARK: 700 PX
*/
@media all and (min-width: 700px) {
  .text-image-pins .full_grid .text-image__image article picture .imagepin{
    --pin-size: 80px;
    --widget-height: 108px;
    .imagepin-widget-content{
      padding: 16px;
      span{
        font-size: 32px;
      }
    }
  }
}

/*
MARK: 900 PX
*/
@media all and (min-width: 900px) {
  .text-image-pins .full_grid .text-image__image article picture .imagepin{--pin-size: 100px;}
}

/*
MARK: 1000 PX
*/
@media all and (min-width: 1000px) {
  .text-image-pins .full_grid .text-image__image article picture .imagepin{
    --pin-size: 60px;
    --widget-height: 74px;
    .imagepin-widget-content{
      padding: 8px;
      span{
        font-size: 20px;
      }
    }
  }
}

/*
MARK: 1200 PX
*/
@media all and (min-width: 1200px) {
  .text-image-pins .full_grid .text-image__image article picture .imagepin{
    --pin-size: 80px;
    --widget-height: 90px;
    .imagepin-widget-content{
      padding: 16px;
      span{
        font-size: 20px;
      }
    }
  }
}

/*
MARK: 1400 PX
*/
@media all and (min-width: 1400px) {
  .text-image-pins .full_grid .text-image__image article picture .imagepin{
    --pin-size: 90px;
    --widget-height: 108px;
    .imagepin-widget-content{
      padding: 16px;
      span{
        font-size: 32px;
      }
    }
  }
}

/*
MARK: 1600 PX
*/
@media all and (min-width: 1600px) {
  .text-image-pins .full_grid .text-image__image article picture .imagepin{--pin-size: 100px;}
}
