/* CARD LAYOUT */

.field--name-field-cards-large {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 20px;
  margin-bottom: 30px;
}

.field--name-field-cards-large > .field__item {
  flex: 0 0 calc(50% - 10px);
  display: flex;
  box-sizing: border-box;
}

/* CARD BASE */

.paragraph--type--card-set.card__no-border {
  width: 100%;
  height: 100%;
  border: 4px solid #910048;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

/* REMOVE EMPTY IMAGE AREA */

.card__no-border--image {
  display: none;
}

/* CONTENT WIDTH FIXES */

.paragraph--type--card-set .content,
.paragraph--type--card-set .card__no-border--content,
.paragraph--type--card-set .field--name-field-paragraph-body {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* HEADER */

.paragraph--type--card-set .field--name-field-title {
  display: block;
  width: 100%;
  background: #910048;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.25rem;
  text-align: center;
  padding: 18px;
  margin: 0;
  box-sizing: border-box;
}

/* BODY */

.paragraph--type--card-set .field--name-field-paragraph-body {
  background: #ffffff;
  color: #002D72;
  padding: 20px;
  flex-grow: 1;
}

/* BLUE TITLE BANNER */

.node--type-basic-section .block-field-blocknodebasic-sectiontitle {
  background: #002D72;
  margin-bottom: 30px;
}

.node--type-basic-section .block-field-blocknodebasic-sectiontitle h1 {
  color: #ffffff;
  margin: 0;
  padding: 120px 40px;
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
}

/* HIDE VISUAL TITLE WHEN IMAGE BANNER EXISTS
   BUT KEEP IT AVAILABLE TO SCREEN READERS */

.block-field-blocknodebasic-sectionfield-image-banner
~ .block-field-blocknodebasic-sectiontitle {
  position: absolute;
  left: -9999px;
}

/* MOBILE */

@media (max-width: 768px) {

  .field--name-field-cards-large > .field__item {
    flex: 0 0 100%;
  }

  .node--type-basic-section .block-field-blocknodebasic-sectiontitle h1 {
    font-size: 2rem;
    padding: 80px 20px;
  }

}