.faq-page{
    display: flex;
    flex-direction: column;
}

#summary-sentinel{
    height: 1px;
}

.sticky-summary{
    background: var(--wp--preset--color--background-2);
    position: sticky;
    top: 2rem;
    padding-top: 2rem;
    z-index: 1;
    border-bottom: 1px solid var(--wp--preset--color--background-4);
    margin-bottom: 3rem;
}

.faq-summary summary{
    display: flex;
    font-size: var(--wp--preset--font-size--large);
    font-weight: 700;   
}

.faq-summary summary::after {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  border-radius: 0 0 4px 0;
  transform: rotate(45deg); 
  transition: transform 0.2s ease;
  margin-left:auto;
}

.faq-summary summary::marker,
li::marker {
	content: none;
}

.faq-summary summary,
ul li {
    list-style: none;
}

.faq-summary summary::-webkit-details-marker {
    display: none;
}

.faq-summary nav{
    border-left: 3px solid;
    scroll-behavior: smooth;
}

.faq-summary ul{
    padding-inline-start: 1rem;
}

.faq-summary li{
    padding-bottom:0.8rem;
}

.faq-category{
    scroll-margin-top: 7rem;
    margin-bottom: 2rem;

}

.faq-content h2{
    margin-top:0px;
}

.faq-item {
    background: var(--wp--preset--color--background-1);
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.faq-item summary{
    font-size:var(--wp--preset--font-size--medium);
    font-weight: 700;
}

.faq-item summary {
  list-style: none; 
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}


.faq-item summary::-webkit-details-marker {
  display: none;
}


.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-left: 1rem;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
border-radius: 0 0 4px 0;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
 
}


.faq-item[open] summary::after,
.faq-summary[open] summary::after {
  transform: rotate(-135deg);
}

.faq-reponse p{
    padding-bottom: 0px;
    margin-bottom:0px;
}

.faq-item[open] {
  border: 1px solid  var(--wp--preset--color--background-4);
  border-radius: 4px; 
}

@media(min-width:768px){

    .faq-page{
        flex-direction: row;
    }

    .sticky-summary{
    border-bottom: 0px;
    padding-top:0px;
    margin-bottom: 0px;
    max-height:fit-content;
    top:7rem;
    padding-right :7rem;
    }
 
    .sticky-summary summary::after{
        display:none;
    }

    .faq-summary summary {
        pointer-events: none;
        cursor: default;
    }


}

@media(min-width:992px){

 
}
.faq-item > .faq-reponse {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.75s ease;
    overflow: hidden;
}

.faq-item[open] > .faq-reponse {
    grid-template-rows: 1fr;
}

.faq-item > .faq-reponse > * {
    overflow: hidden;
    min-height: 0;
}