/* Style the buttons that are used to open and close the accordion panel */
.accordion {
    /*background-color: #eee;*/
    /*color: #444;*/
    cursor: pointer;
    margin-left: 20px;
    margin-right: 20px;
    padding: 18px;
    width: 100%;
    max-width: calc(100vw - 40px);
    text-align: left;
    font-family: 'baskerville-display-pt';
    border: none;
    outline: none;
    transition: 0.4s;
  }

  @media only screen and (max-width: 429px) {
    .accordion {
        max-width: calc(100vw - 80px);
    }
  }
  
  /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
  .active, .accordion:hover {
    /*background-color: #ccc;*/
  }

  .accordion:after {
    content: '+'; /* Unicode character for "plus" sign (+) */
    font-size: 18px;
    line-height: 16px;
    color: #fff;
    float: right;
    margin-left: 5px;
  }
  
  .active:after {
    content: "-"; /* Unicode character for "minus" sign (-) */
  }
  
  /* Style the accordion panel. Note: hidden by default */
  .panel {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    margin: -20px 20px 20px;
    padding: 0 18px;
    /*background-color: white;*/
    background: var(--grey);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
  }

  @media only screen and (min-width: 600px){
    .panel .button:after {
        content: "⟶";
        position: relative;
        /*right: 10px;
        top: 50%;*/
        margin-left: 1rem;
        font-size: 1.8rem;
        margin-top: -22px;
    }
  }

  .basic-page-template .accordion {
    margin-left: 0;
    margin-right: 0;
  }
  .basic-page-template .panel {
    margin-top: -20px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 20px;
  }
