/**
 * @file
 * services paragraph
 * Use in paragraph--services.html.twig
 */


.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 500px;
  gap: 16px;
}
.service__text p {
  font-variation-settings: 'opsz' 9, 'SOFT' 0, 'WONK' 1;
}
.service__text .title-m {
  font-size: var(--title-l);
}
.service__text p:last-child {
  margin-bottom: 0;
}
.service__link {
  position: relative;
  align-self: flex-start;
}
.service__link a {
  z-index: 1;
  color: var(--color-primary--1);
  font-weight: 800;
  background: rgb(253,225,206);
  background: linear-gradient(0deg, rgba(253,225,206,1) 50%, rgba(255,255,255,0) 50%);
  background-position: bottom;
  transition: ease background 150ms;
}
.service__link a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
}
.service__link a:hover {
  text-decoration: none;
  background: rgb(222,247,225);
  background: linear-gradient(0deg, rgb(222,247,225) 50%, rgba(255,255,255,0) 50%);
}
.service__link div:first-child {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-image: url('../../images/icons/+_orange.svg');
  width: 20px;
  height: 20px;
  transition: ease 150ms;
}
.service__link:hover div:first-child  {
  background-image: url('../../images/icons/+_blue.svg');
}
.service__link div:last-child {
  margin-left: 40px;
}

@media all and (min-width: 750px){
  .service {
    max-width: unset;
    align-items: unset;
  }
}
@media all and (min-width: 768px){
  .service__text .title-m {
    font-size: var(--title-m);
  }
}

