themes/claro/css/components/accordion.css
/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/3084859
 * @preserve
 */

/**
 * @file
 * Accordion styles.
 */

.accordion {
  --accordion-color: var(--color-text);
  --accordion-border-size: var(--details-border-size);
  --accordion-border-color: var(--details-border-color);
  --accordion-border-radius: var(--details-accordion-border-size-radius);
  --accordion-bg-color: var(--color-white);
  --accordion-box-shadow: var(--details-box-shadow);

  color: var(--accordion-color);
  border: var(--accordion-border-size) solid var(--accordion-border-color);
  border-radius: var(--accordion-border-radius);
  background-color: var(--accordion-bg-color);
  box-shadow: var(--accordion-box-shadow);
}

.accordion__item {
  --accordion-item-border-radius: var(--details-accordion-border-size-radius);

  margin: 0 -1px;
  border-radius: 0;
}

.accordion__item:first-child {
  margin-top: -1px;
  border-top-left-radius: var(--accordion-item-border-radius);
  border-top-right-radius: var(--accordion-item-border-radius);
}

.accordion__item + .accordion__item {
  margin-top: -1px;
}

.accordion__item:last-child {
  margin-bottom: -1px;
  border-bottom-right-radius: var(--accordion-item-border-radius);
  border-bottom-left-radius: var(--accordion-item-border-radius);
}

.accordion__item .claro-details__summary .summary {
  --accordion-summary-color: var(--color-gray-800);

  display: block;
  color: var(--accordion-summary-color);
  font-weight: normal;
}
