.field_paragraph_multiple .list-components {
  display: flex;
  flex-direction: column;
}

.field_paragraph_multiple .list-components .text-index img {
  width: 100%;
  height: auto;
}

.field_paragraph_multiple .list-components .text-index .field--name-field-media-oembed-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.field_paragraph_multiple .list-components .text-index .field--name-field-media-oembed-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1.5rem 0 2rem;
}

.field_paragraph_multiple .list-components .text-index .table-container {
  max-width: 315px;
  overflow-x: auto;
}
@media (min-width: 576px) {
  .field_paragraph_multiple .list-components .text-index .table-container {
    max-width: 546px;
  }
}
@media (min-width: 768px) {
  .field_paragraph_multiple .list-components .text-index .table-container {
    max-width: 750px;
  }
}
@media (min-width: 992px) {
  .field_paragraph_multiple .list-components .text-index .table-container {
    max-width: 625px;
  }
}
@media (min-width: 1200px) {
  .field_paragraph_multiple .list-components .text-index .table-container {
    max-width: 586px;
  }
}
@media (min-width: 1480px) {
  .field_paragraph_multiple .list-components .text-index .table-container {
    max-width: 760px;
  }
}

.field_paragraph_multiple .list-components .text-index .table-container table {
  width: 100%;
  border-color: #D6D9DD;
  font-size: 0.9rem;
}
@media (min-width: 768px) {
  .field_paragraph_multiple .list-components .text-index .table-container table {
    hyphens: auto;
  }
}

.field_paragraph_multiple .list-components .text-index .table-container table th,
.field_paragraph_multiple .list-components .text-index .table-container table td {
  padding: 0.75rem;
  vertical-align: baseline;
}

.field_paragraph_multiple .list-components .text-index .table-container table th:first-child,
.field_paragraph_multiple .list-components .text-index .table-container table td:first-child {
  hyphens: none;
}

.field_paragraph_multiple .list-components .text-index .text-index-title button {
  display: flex;
  justify-content: space-between;
  color: black;
  width: 100%;
  align-items: baseline;
  background-color: inherit;
  border: 0;
  padding: 1.5rem 0;
  border-top: 1px solid #d9d9d9;
  text-align: left;
}

.field_paragraph_multiple .list-components .text-index h2.text-index-title {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.25;
  text-align: left;
  margin-bottom: 0;
  padding-bottom: 0;
}
@media (min-width: 768px) {
  .field_paragraph_multiple .list-components .text-index h2.text-index-title {
    font-size: 1.5rem;
  }
}

.field_paragraph_multiple .list-components .text-index h2.text-index-title svg {
  flex-shrink: 0;
}

.field_paragraph_multiple .list-components .text-index h2.text-index-title svg path {
  fill: black;
}

.field_paragraph_multiple .list-components .text-index .text-index-content {
  display: none;
  margin-bottom: 2rem;
}

.field_paragraph_multiple .list-components .text-index.opened .text-index-content {
  display: block;
}

.field_paragraph_multiple .list-components .text-index.opened .text-index-title svg {
  transform: rotate(180deg);
}

/* Nested paragraphs */
.field_paragraph_multiple .list-components .text-index .nested-paragraphs{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Adapting paragraph text */  
.field_paragraph_multiple .list-components .text-index .nested-paragraphs > .paragraph--type--text{
  grid-column: 1 / -1;  
  display: block;       
  padding: 0;           
  border: 0;
  background: transparent;
}

.field_paragraph_multiple .list-components .text-index .nested-paragraphs:has(> .paragraph--type--text:only-child){
  display: block;
}

/*Adapting iframe */
.field_paragraph_multiple .list-components .text-index .nested-paragraphs .field--name-field-media-oembed-video iframe {
  padding: 0;
}

/* Adapting paragraph testimonial */
@media (min-width: 768px) {
  .field_paragraph_multiple .list-components .text-index .nested-paragraphs .paragraph--type--testimonial {
      min-height: 18rem;
  }
  .field_paragraph_multiple .list-components .text-index .nested-paragraphs .paragraph--type--testimonial .field--name-field-media {
      min-height: 18rem;
  }
}

.field_paragraph_multiple .list-components .text-index .nested-paragraphs .paragraph--type--testimonial > div:last-child{
  padding: 2rem;
}

.field_paragraph_multiple .list-components .text-index .nested-paragraphs .paragraph--type--testimonial > div:last-child .field--name-field-text-long {
  font-size: 1.15rem;
  line-height: 1.25;
}
