.wp-block-accordion-heading {
  .wp-block-accordion-heading__toggle {
    padding: 0.625rem 0.5rem;

    @media (min-width: 960px) {
      padding: 1.125rem 1rem;
    }

    &:hover {
      &> .wp-block-accordion-heading__toggle-title {
        text-decoration: none;
      }
      &> svg > path {
        fill: #fff;
      }
    }

    &:focus {
      outline: none;
    }
    &:focus-visible {
      outline: 2px solid #00568c;
    }
  }
  .wp-block-accordion-heading__toggle > svg > path {
    fill: #00598c;
  }
}

.is-open > .wp-block-accordion-heading .wp-block-accordion-heading__toggle > svg {
  transform: rotate(180deg);
}