:root{
  --intro-width: 360px;
  --intro-height: 360px;
  --intro-border-width: 390px;
  --intro-border-height: 300px;
}

@media screen and (max-width:1367px){
  :root{
    --intro-border-width: 340px;
    --intro-border-height: 250px;
  }
}

.trust {
  display: block;
  padding: 80px 0px 100px 0px !important;
  background-color: var(--bg-color-dark);
}

.trust h2 {
  font-size: 50px;
  line-height: 52px;
  color: var(--title-dark);
}

.trust .description {
  padding: 40px 0px 30px 60px;
  font-size: 27px;
  line-height: 28px;
  text-align: justify;
  color: white;
} 

.trust .especialidad {
  font-size: 20px !important;
}

.trust .mauro-danzi {
  font-size: 30px;
  font-weight: 800;
  margin-top: 40px;
}

.trust .gallery{
  position: relative !important;
  height:100% !important;
  width:100% !important;
  transform: rotate(-5deg) !important;
}

.trust .gallery:after{
  content:'';
}

.trust .gallery img{
  width:var(--intro-width) !important;
}

.trust .gallery .clipped-border{
   padding: 5px;
   width: var(--intro-border-width) !important;
   height: var(--intro-border-height) !important;
   transition: transform 0.2s;
   position:absolute;
   border-radius: 15px;
   overflow: hidden;
   z-index:1 !important;
   border:0px rgb(235, 235, 235) solid;
   top: 50px;
}

.trust .gallery .clipped-border:after{
    content: '';
    position: absolute;
    border: 4px solid white;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0 !important;
}

.trust .gallery .clipped-border:before{
  content:'';
  position:absolute;
  width:500px;
  height:80px;
  background:radial-gradient(rgba(255,255,255,0.76),rgba(255,255,255,0.02) 60%);
  top:0;
  left:0;
  z-index:1;
  transform:rotate(32deg);
  transition:transform 0.5s;
}

.trust .clipped-border:hover:before{
  transform: translate(-150px,400%) rotate(32deg);
  transition:transform 0.5s;
}

.trust #clipped {
-webkit-clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);

}

.trust .clipped-border:hover{
  transform:scale(1.2);
  transition:transform 0.2s;
  z-index:10;
}

.trust .personal-data {
  padding-top: 40px;
  float: right;
  display: table;
  text-align: right;
  line-height: 24px;
  font-size: 31.6px;
  font-family: 'Montserrat', sans-serif;
  color: white !important;
}

.trust .personal-data span {
  font-size: 19px !important;
  font-weight: 300 !important;
  clear: both;
}

.trust .personal-data a {
  font-size: 26px !important;
  color: #fbb034;
  text-decoration: none !important;
}

.trust .personal-data a:hover {
  color: white;
  text-decoration: none;
  text-decoration: none !important;
}


@media screen and (max-width:1367px){
  .trust h2 {
    font-size: 48px;
    line-height: 50px;
  }

  .trust .description {
    font-size: 23px;
    line-height: 24px;
  }
}

@media (max-width: 576px) {
  .trust {
    padding: 80px 0px 60px 0px !important;
  }

  .trust h2 {
    font-size: 32px;
    line-height: 33px;
    padding: 0px 10px;
    margin-bottom: 0px;
  }

  .trust .description {
    font-size: 22px;
    line-height: 23px;
    padding: 0px 10px 0px 0px !important;
    text-align: center !important;
  }

  :root{
    --intro-border-width: 300px;
    --intro-border-height: calc(300px * 3 / 4);
  }

  .trust .gallery{
    display: block;
    position: relative !important;
    width:100% !important;
    height: auto;
    aspect-ratio: 4/3;
    transform: rotate(0deg) !important;
    top: -42px;
  }

  .trust .gallery .clipped-border{
    left: 50%;
    transform: translateX(-150px);
  }

  .trust .personal-data {
    text-align: center !important;
    padding: 50px 40px 0px !important;
  }
}
