/* General List Card Layout Override */


.general-list h3 {
display:none;
}
/* General List Flexible Card Layout Override */

.general-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin: 3.75rem auto;
}

/* Make the section title span all columns */
.general-list > .title {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  padding: 0;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 3.125rem;
}

/* Card */
.general-list__item,
.general-list__item.noborder {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin: 0;
  border: none;
  background: #f7f7f7;
  border-radius: 40px 0px 40px 40px;
  overflow: hidden;
}

/* Remove original first item spacing */
.general-list__item:first-of-type {
  margin-top: 0;
}

/* Image wrapper */
.general-list__img {
  width: 100%;
  text-align: left;
}

/* Image */
.general-list__img img {
  display: block;
  width: 100%;
  max-width: none;
  max-height: none;
  height: 298px;
  object-fit: cover;
}

/* Content area */
.general-list__content {
  width: 100%;
  box-sizing: border-box;
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Card title */
.general-list h4,
.general-list__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: #333;
}

/* Description */
.general-list__description,
.general-list__description.rtf p {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.55;
  color: #333;
}

.general-list__description {
  margin-bottom: 20px;
}


/* Medium screens */
@media screen and (max-width: 79.99875em) {
  .general-list {
    margin: 3.125rem 0;
  }
}

/* Mobile */
@media screen and (max-width: 47.99875em) {
  .general-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .general-list > .title {
    font-size: 1.4375rem;
    font-weight: 600;
    line-height: 1.75rem;
  }

  .general-list__item,
  .general-list__item.noborder {
    flex-wrap: nowrap;
    gap: 0;
  }

  .general-list__img {
    width: 100%;
    text-align: left;
  }

  .general-list__img img {
    width: 100%;
    max-width: none;
    height: 400px;
  }

  .general-list__content {
    width: 100%;
  }

  .general-list h4,
  .general-list__title {
    font-size: 1.4375rem;
    font-weight: 600;
    line-height: 1.75rem;
  }

  .general-list__description,
  .general-list__description.rtf p {
    font-size: 1.0625rem;
  }

  .general-list .cta-link {
    display: inline-block;
  }
}


/* Blue CTA Card Grid Override */
/* Removes staggered offset and entrance animation */

/* CTA Card Grid Override */
/* Removes staggered offset, removes animation, aligns cards, and rounds all card corners */

/* Main card grid */
.cta-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: 1.5rem;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}

/* Remove staggered vertical offsets */
.cta-card-grid .content .cta-card,
.cta-card-grid .content .cta-card:first-child,
.cta-card-grid .content .cta-card:nth-child(2),
.cta-card-grid .content .cta-card:nth-child(3),
.cta-card-grid .content .cta-card:nth-child(4),
.cta-card-grid .content .cta-card:nth-child(5),
.cta-card-grid .content .cta-card:last-child {
  transform: none;
  animation: none;
}

/* Remove entrance animations */
.cta-card-grid .content.is-in-view .cta-cards,
.cta-card-grid .content.is-in-view .cta-card,
.cta-card-grid .content.is-in-view .cta-card:first-child,
.cta-card-grid .content.is-in-view .cta-card:nth-child(2),
.cta-card-grid .content.is-in-view .cta-card:nth-child(3),
.cta-card-grid .content.is-in-view .cta-card:nth-child(4),
.cta-card-grid .content.is-in-view .cta-card:nth-child(5),
.cta-card-grid .content.is-in-view .cta-card:last-child {
  animation: none;
  transform: none;
}

/* Card container */
.cta-card {
  display: flex;
  flex-direction: column;
  min-height: 17.1875rem;
}

li.cta-card {
    border-radius: 20px;
}
/* Card link */
.cta-card .cta-card-link {
  display: flex;
  height: 100%;
  width: 100%;
  position: relative;
  text-align: center;
  overflow: hidden;
  border-radius: 20px;
}

/* Blue card background */
.cta-card .cta-card-link::before {
  background-color: #003897;
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  width: 100%;
  border-radius: 20px;
}

/* Hover/focus background */
.cta-card .cta-card-link:focus::before,
.cta-card .cta-card-link:hover::before {
  background: linear-gradient(
    45deg,
    var(--mhs-1-003897) 0,
    var(--mhs-2-aa-00838f) 100%
  );
}

/* Card content */
.cta-card .cta-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 17.1875rem;
  padding: 2.5rem 0;
  position: relative;
}

/* Main icon */
.cta-card .icon {
  fill: var(--white);
  display: block;
  margin: 0 auto 0.3125rem;
  position: relative;
  transform: scale(2);
}

/* Card title */
.cta-card .cta-card-title {
  text-wrap: balance;
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 1.25rem;
  padding-left: 0;
  text-align: center;
}

/* Title inner span */
.cta-card .cta-card-link .cta-card-title span {
  background-image: none;
  line-height: 1.1;
}

/* Arrow icon inside title */
.cta-card .cta-card-link .cta-card-title .icon {
  color: #00b7f0;
  display: inline;
  height: auto;
  margin-bottom: 0;
  margin-left: 10px;
  transform: scale(0.7) translateY(5px);
}

/* Arrow hover/focus */
.cta-card .cta-card-link:focus .cta-card-title .icon,
.cta-card .cta-card-link:hover .cta-card-title .icon {
  color: #fff;
}

/* Teaser */
.cta-card .cta-card-teaser {
  color: var(--white);
  display: block;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.375rem;
  margin-top: 1.25rem;
  padding: 0 2.4375rem 0.625rem;
  text-align: center;
}

/* Bottom CTA below cards */
.cta-card-grid .content .cta-link {
  display: block;
  margin: 2rem auto 0;
  position: static;
  right: auto;
  bottom: auto;
  transform: none;
  text-align: center;
}

/* Remove underline animation from bottom CTA if needed */
.cta-card-grid .content .cta-link .cta__button,
.cta-card-grid .content .cta-link .cta__button > span {
  background-image: none;
}

/* Tablet */
@media screen and (max-width: 63.99875em) {
  .cta-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .cta-card {
    min-height: auto;
  }

  .cta-card .cta-card-link {
    overflow: hidden;
    border-radius: 20px;
  }

  .cta-card .cta-card-link::before {
    height: 100%;
    border-radius: 20px;
  }

  .cta-card .cta-card-content {
    height: 100%;
    min-height: 100%;
    padding: 1.5rem 1.25rem;
  }

  .cta-card .icon {
    display: none;
  }

  .cta-card .cta-card-title {
    font-size: 1.375rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    padding-left: 1.25rem;
    padding-right: 2.1875rem;
    position: relative;
    text-align: start;
    word-break: break-word;
  }

  .cta-card .cta-card-teaser {
    display: none;
  }

  .cta-card-grid .content .cta-link {
    margin-top: 1.5rem;
  }
}

/* Mobile */
@media screen and (max-width: 47.99875em) {
  .cta-cards {
    grid-template-columns: 1fr;
  }
}

/* two cards CSS */
.two-col-stack {
  display: flex;
  gap: 2rem;
  width: 100%;
}
  .two-col-stack__item:first-of-type {
    flex: 0 0 40%;
  }

  .two-col-stack__item:nth-of-type(2) {
    flex: 1 1 60%;
  }

.two-col-stack__item img{

    height: 100% !important;
    width: 100%;
    max-width: unset;
    aspect-ratio: unset;
    margin-top: 0px;
}
/* Tablet + mobile */
@media (max-width: 900px) {
    .two-col-stack__item:first-of-type {
    flex: 0 0 35%;
  }

  .two-col-stack__item:nth-of-type(2) {
    flex: 1 1 65%;
  }
	
	.two-col-stack__item img{

    max-height: 515px !important;
    max-width: 515px;
    aspect-ratio: unset;
    margin-top: 0px;
}
	
}

@media screen and (max-width: 47.99875em) {

 .two-col-stack {
    flex-direction: column;
  }

  .two-col-stack__item {
    flex: 1 1 100%;
  }
}
/*end of two cards style */

/* form edit */
.generic-form form {
    max-width: 38.875rem;
    margin: auto;
}


.generic-form {
    display: block;
    margin: 5rem auto;
    padding: 1.125rem 1.875rem 1.875rem;
    background-color: #f3f8f9;
    position: relative;
    border-radius: 1em;
}


form h1{
font-weight:800;
line-height:1.2em}



@media screen and (min-width: 64em) {
    .generic-form {
        margin: 1rem auto;
        padding: 3.125rem 0 2.5rem;
        max-width: 800px;
        background: #f3f8f9;
        border-radius: 2em;
        border: 2px #003897 solid;
    }
}
