.wrapper__content{
  position:relative;
}

.component__headings{
  margin-bottom:1rem;
  max-width:var(--grid-container-max-width);
  position:sticky;
  top:0;
  z-index:100;
}
@media screen and (min-width:1200px){
  .component__headings{
    margin-bottom:0;
    position:fixed;
    right:0;
    top:50%;
    transform:translateY(-50%);
    width:auto;
    z-index:1000;
  }
}

.component__headings.headings--after-service-hero{
  margin-bottom:60px;
}
@media screen and (min-width:1200px){
  .component__headings.headings--after-service-hero{
    margin-bottom:0;
  }
}

.headings-button{
  align-items:center;
  background:#f4f8fd;
  border:1px solid #e0eaf7;
  border-radius:.625rem;
  box-sizing:border-box;
  cursor:pointer;
  display:flex;
  flex-direction:row;
  gap:8px;
  height:2.75rem;
  justify-content:space-between;
  padding:12px 20px;
  transition:background-color .3s;
  width:100%;
}
.headings-button:hover{
  background:#e0eaf7;
}
@media screen and (min-width:1200px){
  .headings-button{
    display:none;
  }
}

.headings-button__icon{
  transition:transform .3s ease-in-out;
}
.headings-button__icon--up{
  transform:rotate(180deg);
}

.headings-bookmark{
  cursor:pointer;
  display:none;
  height:206px;
  position:fixed;
  right:0;
  top:50%;
  transform:translateY(-50%);
  transition:transform .3s ease;
  width:36px;
  z-index:1000;
}
.headings-bookmark:hover{
  transform:translateY(-50%) scale(1.05);
}
@media screen and (min-width:1200px){
  .headings-bookmark{
    display:block;
  }
}

.headings-bookmark__icon{
  height:100%;
  -o-object-fit:contain;
     object-fit:contain;
  width:100%;
}

.headings__nav{
  align-items:flex-start;
  background:#fff;
  border-radius:.625rem;
  box-shadow:0 10px 40px rgba(37,37,37,.1);
  flex-direction:row;
  gap:5px;
  justify-content:flex-end;
  max-height:0;
  opacity:0;
  overflow:hidden;
  padding:5px;
  position:absolute;
  top:50px;
  transition:max-height .4s ease-in-out,opacity .3s ease-in-out;
  width:300px;
  z-index:1;
}
.headings__nav.active{
  max-height:500px;
  opacity:1;
  overflow-y:auto;
}
@media screen and (min-width:1200px){
  .headings__nav{
    right:50px;
    top:50%;
    transform:translateY(-50%);
  }
}

.headings__nav-items{
  align-items:flex-start;
  display:flex;
  flex-direction:column;
  padding:0;
  width:100%;
}

.headings__nav-item{
  align-items:center;
  background:#fff;
  border-radius:.625rem;
  cursor:pointer;
  display:flex;
  flex-direction:row;
  gap:.625rem;
  padding:.5625rem .75rem;
  transition:background-color .2s,color .2s;
  width:100%;
}
.headings__nav-item:hover{
  background:#f4f8fd;
  color:#15a8f1;
}