.wp-block .accordeon-panel {
  max-height: 1000vh;
}
/*************/

.accordeon-panel {
  position: relative;
  display: block;
  width: 100%;
  max-height: 5.75rem;
  overflow: hidden;

  transition: max-height 0.5s ease 0.8s;
}
.accordeon-panel.active {
  max-height: 1000vh;
  transition: max-height 0.33s ease 0.25s;
}

.accordeon-panel-header {
  position: relative;
  display: block;
  width: 100%;
  margin: 0.5rem 0 1rem;
}
.accordeon-panel-header a {
  position: relative;
  text-decoration: none;
  color: white;
  display: block;
  height: 5rem;
  padding: 1.75rem 1.5rem 0.7rem;
  margin: 0;
  background-color: #365664;
  border-bottom: solid 0.3rem white;
  transition: background-color 0.33s;
}
.accordeon-panel-header a h3 {
  font-size: 1.85rem;
  font-weight: 500;
  text-align: left;
  margin: 0;
}

.accordeon-panel-header a .panel-svg {
  position: absolute;
  width: 3rem;
  height: 3rem;
  top: 1rem;
  right: 1rem;
}

.accordeon-panel-header a .panel-svg svg {
  position: absolute;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: white;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-miterlimit: 10;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .accordeon-panel-header a {
    padding: 1.75rem 3rem 0.7rem;
  }
  .accordeon-panel-header a h3 {
    text-align: center;
  }
  .accordeon-panel-header a .panel-svg {
    right: 4rem;
  }
}

@media (min-width: 1024px) {
  .accordeon-panel-header a {
    padding: 1.75rem 10vw 0.7rem;
  }
  .accordeon-panel-header a h3 {
    text-align: center;
  }
  .accordeon-panel-header a .panel-svg {
    right: 12vw;
  }
}

.accordeon-panel.active .accordeon-panel-header a {
  background-color: white;
  color: #365664;
}

.accordeon-panel-header a:hover {
  background-color: #558197;
}

.accordeon-panel.active .accordeon-panel-header a .panel-svg svg:first-child {
  display: none;
}
.accordeon-panel.active .accordeon-panel-header a .panel-svg svg:last-child {
  display: block;
  stroke: #365664;
}

.accordeon-panel main {
  position: relative;
  top: 0;
}
.accordeon-panel-content {
  margin: 0 1rem;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .accordeon-panel-content {
    margin: 0 3rem;
  }
}

@media (min-width: 1024px) {
  .accordeon-panel-content {
    margin: 0 10vw;
  }
}
