/**
 * @file
 * Use this CSS file to override components CSS rules
 */

/* --- paragraph text --- */
.field--name-body.text-formatted p {
  font-size: 1.15em;
}

/*------------------------------------------------------------*/
/*------------------- Accordion overrides --------------------*/
/*------------------------------------------------------------*/

/* font size */
.paragraph--type--bp-accordion {
  font-size: 1.1em;
}
.paragraph--type--bp-accordion .panel-title button {
  font-size: 1.15em;
}

/* Remove existing right-side +/- icons from BP accordion buttons */
.paragraph--type--bp-accordion .panel-title button::after {
  content: none !important;
}

/* Left-side indicator: × when open, + when closed */
.paragraph--type--bp-accordion .panel-title button::before {
  content: "\00d7";  /* × — open state (aria-expanded="true") */
  display: inline-block;
  font-weight: 700;
  margin-right: 10px;
  color: #2C3D65;
}
.paragraph--type--bp-accordion .panel-title button[aria-expanded="false"]::before {
  content: "+";
}

/* Flex layout so icon and text sit on the same baseline */
.paragraph--type--bp-accordion .panel-title button {
  display: flex !important;
  align-items: center;
}

/* Full border around the outer accordion container */
.paragraph--type--bp-accordion .panel.panel-default {
  border: 1px solid #2C3D65 !important;
  border-radius: 0;
}

/* Remove divider between heading and its own content */
.paragraph--type--bp-accordion .panel-heading {
  border-bottom: none;
}

/* Put divider above each heading that follows content or a closed heading */
.paragraph--type--bp-accordion .panel-collapse + .panel-heading,
.paragraph--type--bp-accordion .panel-heading + .panel-heading {
  border-top: 1px solid #ddd;
}

/* Remove gap on sides of accordion */
.paragraph > .paragraph__column {
  padding-inline: 0;
}

