p, h2, h3, h4 {
  margin: 0;
}

.accordion-module {
  display: flex;
  min-height: 940px;
  height: 100%;
  padding: 3.5rem 3rem;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 2.5rem;
  background: #F9F6F5;
  gap: 64px;
  overflow: hidden;
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
}

.header {
  display: flex; 
  flex-direction: column;
}

.section-text {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 3rem;
  flex: 1 1 0;
  max-width: 470px;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
}

.headline-subhead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  align-self: stretch;
}

.section-text-image {
  align-self: stretch;
}

.section-text-image > img {
  border-radius: 1rem;
}

.accordion-outer-container, .accordions-headline {
  display: flex; 
  flex-direction: column;
  flex: 1 1 0;
  gap: 40px;
}

.accordion-outer-container {
  align-items: space-between;
  align-self: stretch;
}

div.accordion .accordion-click {
  font-size: 12px;
  color: #222222;
  background: transparent;
  border: none;
  cursor: pointer;
  padding:  16px 0px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

div.accordion .subhead {
  margin: 4px 0px 0px 0px;
  color: #222222;
}

div.accordion-inner-container hr {
  margin: 0px;
  border-bottom-style: solid;
  border-color: #bebebe;
  border-width: 1px;
}

div.accordion .accordion-click:hover {
  color: #BC302D;
}

div.accordion .accordion-click i {
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(45deg);
  transition: all .1s ease-in;
}

div.accordion .accordion-click i.rotate {
  transform: rotate(90deg);
  color: #222222;
}

div.accordion-hidden {
  display: none;
}

div.accordion-content {
  animation: fadeIn .5s;
  width: 90%;
  margin-bottom: 24px;
}


@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}


@media (max-width:768px) {
  .accordion-module{
    width: 100%;
    min-height: 100%;
    padding: 2rem 1.5rem;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex-shrink: 0;
  }
  
  .section-text: {
    max-width: 100%;
  }
  
  .accordion-outer-container {
    width: 100%;
  }
}
