.accordion {
  --acc-bg-color: linear-gradient(
    to right,
    rgba(0, 82, 136, 1) 0%,
    rgba(20, 177, 231, 1) 100%
  );

  background: var(--acc-bg-color);
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: #015c89 0px 0px 0px 1px;
}

.accordion__title-container {
  display: flex;
  cursor: pointer;
  position: relative;
}

.accordion__title-container:after {
  content: "";
  width: calc(100% + 1px);
  height: 4px;
  background: linear-gradient(90deg, #14729c 0%, #28ccff 100%);
  position: absolute;
  bottom: 0px;
  left: -1px;
}

/* Dropdown icon */
.accordion__checkbox {
  all: unset;
  cursor: pointer;
  transition: transform 0.3s;

  padding-left: 5px;
  width: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Style the dropdown to be a chevron type icon */
:is(.accordion__checkbox, .accordion__checkbox:checked):after {
  content: " ";
  display: inline-block;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  height: 12px;
  width: 12px;
  transition: transform 0.5s;
}
.accordion__checkbox:after {
  transform: rotate(-45deg) translateX(-2px) translateY(-2px);
}
.accordion__checkbox:checked:after {
  transform: rotate(45deg) translateX(-2px) translateY(-2px);
}

.accordion__title {
  color: white;

  margin: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  font-size: 18px;
  font-weight: normal;
}

.accordion__content-box {
  background-color: white;
  opacity: 1;
  overflow: hidden;
}

.accordion__content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 20px 25px;
  border: 5px solid var(--acc-bg-color);
  border-top: 0;
  background-color: #20ace214;
}

.accordion__content a {
  font-weight: bold;
  cursor: pointer;
  text-decoration: underline;
}

.accordion__content > *:first-child {
  margin-top: 0;
}

.accordion__content > *:last-child {
  margin-bottom: 0;
}

.accordion__title-container:has(> .accordion__checkbox:not(:checked))
  ~ .accordion__content-box {
  border-bottom: 0;
  height: 0;
}
