.paragraph--type--cards {
  width: 100%;
}

.paragraph--type--cards.cards--wic--home-single {
  margin-top: -53px;
}

.paragraph--type--cards.cards--wic--home-single .usa-card-group {
  margin-bottom: -170px;
}

.paragraph--type--cards .usa-card__media img {
  width: 100%;
  height: auto;
}

.paragraph--type--cards.ext-icon-after a.ext-icon-after::after {
  content: "";
  display: inline-flex;
  position: relative;
  background: url(/themes/custom/fns_uswds/assets/fns/img/fns-icons/external-website-black.svg) no-repeat;
  width: 17px;
  height: 14px;
  margin: 0 0 0 3px;
  top: 4px;
}
.paragraph--type--cards.ext-icon-after-white a.ext-icon-after::after {
  content: "";
  display: inline-flex;
  position: relative;
  background: url(/themes/custom/fns_uswds/assets/fns/img/fns-icons/external-website-white.svg) no-repeat;
  width: 17px;
  height: 14px;
  margin: 0 0 0 3px;
  top: 4px;
}

.cards--wic .usa-card__header {
  padding-top: 30px;
}

.cards--wic .usa-card__header,
.cards--wic .usa-card__body,
.cards--wic .usa-card__footer {
  padding-left: 30px;
  padding-right: 30px;
}

.cards--wic .usa-card__footer {
  padding-bottom: 30px;
}

/* Apply only inside cards--wic */
.cards--wic .usa-card-group {
  display: flex;
  flex-wrap: wrap;

  /* Cancel out the column padding so edges stay flush */
  margin-left: -15px;
  margin-right: -15px;
}

.cards--wic .usa-card-group>.usa-card {
  /* Mimic smaller grid gap */
  padding-left: 15px;
  padding-right: 15px;

  /* Keep sizing consistent */
  box-sizing: border-box;
}

.cards--wic-home {
  margin-top: -211px;
}

.cards--wic-home .grid-container {
  margin-right: 0px;
}

.cards--wic--home .usa-card__header {
  padding: 44px 44px .5rem;
}

.cards--wic--home .usa-card__body {
  padding: .5rem 44px;
}

.cards--wic--home .usa-card__footer {
  padding-left: 44px;
  padding-right: 44px;
}

.wic--m0 {
  margin: 0 auto;
}

.cards--radius-90-alt li:first-child .usa-card__container {
  border-radius: 0px 60px;
  overflow: hidden;
}

.cards--radius-90-alt li:nth-child(2) .usa-card__container {
  border-radius: 60px 0px;
  overflow: hidden;
}

.cards--radius-90 .usa-card__container,
.cards--radius-90 .cards--single {
  border-radius: 0px 60px;
  overflow: hidden;
}

.cards--card-description-left {
  .usa-card__body {
    text-align: left;
  }
}

.card--radius-l90 {
  border-radius: 0px 60px;
  overflow: hidden;
}

.card--radius-r90 {
  border-radius: 60px 0px;
  overflow: hidden;
}

.cards--single {
  display: flex;
  align-items: center;
  background-color: #fff;
}

.cards--single img {
  margin-bottom: -3px;
  max-width: 300px;
}

.cards--single .usa-card__media {
  float: left;
  margin: -5px 0;
  padding-bottom: 0px;
}

.cards--single .usa-card__body {
  padding: 10px 0;
}

.cards--single .single-card-body {
  float: left;
  padding: 0 35px;
}

.cards--shadow-border .usa-card__container,
.cards--shadow-border .cards--single,
.cards--wic .usa-card__container {
  border-color: transparent;
  box-shadow: 0px 3px 7px 2px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 3px 7px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 3px 7px 2px rgba(0, 0, 0, 0.1);
  border: 0px;
}

.paragraph--type--button-bar .faux-hr,
#income-requirements .faux-hr {
  display: inline-block;
  border-bottom: 3px solid;
  border-color: #005ea2;
  padding-bottom: 15px;
}

.paragraph--type--button-bar .faux-hr {
  padding-bottom: 5px;
}

#income-requirements .faux-hr {
  min-width: 50px;
}

#income-requirements p.reg-text {
  font-weight: normal;
}

.green-faux-hr {
  display: table;
  border-bottom: 6px solid;
  border-color: #268140;
  padding-bottom: 15px;
  min-width: 60px;
}

.lg-faux-hr {
  display: table;
  border-bottom: 6px solid;
  border-color: #33DCA5;
  padding-bottom: 15px;
  min-width: 60px;
}

.bg-light-green {
  background-color: #eefcf6;
}

.bg-white {
  background-color: #fff;
}

.bg-teal-blue {
  background-color: #005574;
}

.bg-green {
  background-color: #268140;
}

.cards--header-button-center h1,
.cards--header-button-center h2,
.cards--header-button-center h3,
.cards--header-button-center h4,
.cards--header-button-center button,
.cards--header-button-center .usa-button,
.cards--header-button-center .usa-card__footer {
  text-align: center;
}

.headings--green h4,
.headings--green h3 {
  color: #268140;
}

.buttons--wic .usa-button,
.buttons--green .usa-button {
  background-color: #268140;
}

.buttons--green .usa-button:hover,
.buttons--green .usa-button:focus,
.buttons--wic .usa-button:hover,
.buttons--wic .usa-button:focus {
  background-color: #005500;
}

.buttons--green-outline .usa-button {
  background-color: #fff;
  border: 3px solid #268140;
  color: #268140;
}

.buttons--green-outline .usa-button:hover,
.buttons--green-outline .usa-button:focus {
  background-color: #268140;
  border: 3px solid #268140;
  color: #fff;
}

.buttons--green .faux-hr,
.buttons--green-outline .faux-hr {
  border-color: #268140;
}

.buttons--wic .faux-hr {
  border-color: #eefcf6;
}

.buttons--no-rule .faux-hr {
  border: 0px;
}

.link-button--green .usa-button {
  font-size: 1.06rem;
  background-color: transparent;
  font-weight: normal;
  color: #268140;
  padding-left: 0px;
  text-decoration: underline;
}

.link-button--blue .usa-button {
  font-size: 1.06rem;
  background-color: transparent;
  font-weight: normal;
  color: #005ea2;
  padding-left: 0px;
  text-decoration: underline;
}

.link-button--green .usa-button:hover,
.link-button--green .usa-button:focus,
.link-button--blue .usa-button:hover,
.link-button--blue .usa-button:focus {
  text-decoration: none;
}

.usa-card--flag .usa-card__media {
  position: relative;
  height: auto !important;
  aspect-ratio: auto !important;
}

.usa-card--flag .usa-card__media img {
  position: static !important;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.locator-tool {
  background-color: #045881;
  padding: 30px 0;
}

.locator-tool .views-exposed-form {
  margin: 0 auto;
}

.locator-tool h2,
.locator-tool h3,
.locator-tool h4,
.locator-tool h5 {
  color: #fff;
  text-align: center;
}

.locator-tool h3 {
  font-size: 28px;
}

.locator-tool h5 {
  display: none;
}

.locator-tool header p {
  color: #fff;
  font-size: 24px;
}

.locator-tool label,
.locator-tool .description {
  color: #fff;
}

.locator-tool .description {
  font-size: 12px;
}

.locator-tool article {
  background-color: #fff;
  border-radius: 20px;
  padding: 30px !important;
  margin-top: 25px !important;
}

.locator-tool .js-form-submit.form-submit {
  display: none;
}

.locator-tool article h1 {
  font-size: 36px;
  padding-bottom: 15px;
}

.wic--home-h2 {
  font-size: 48px;
}

.wic--sub-h2 {
  font-size: 24px;
}

.wic--p {
  font-size: 18px;
}

.locator-tool article .fns-title-7,
.wic--h4 {
  font-size: 24px;
}

.locator-tool span.fns-title-lg {
  display: none;
}

.locator-tool .usa-combo-box__input-button-separator {
  /* height: calc(100% - 2rem); */
  /* top: 23px; */
  height: auto;
  padding-top: 15px;
  bottom: -7px;
  top: auto;
}

.locator-tool .usa-combo-box[class^="edit-field-fnscontact-tribe-target"] {
  padding-top: 15px;
}

.locator-tool .usa-combo-box__toggle-list,
.locator-tool .usa-combo-box__clear-input {
  /* top: 25px; */
  bottom: 9px;
  height: auto;
  top: auto;
}

.locator-tool div[class^="edit-field-fnscontact-org-type-value"] {
  display: none;
}

#income-requirements,
#tribe-wrapper {
  display: none;
}

#income-requirements.show,
#tribe-wrapper.show {
  display: block;
}

#income-requirements .columns-2 {
  -moz-columns: 1;
  columns: 1
}

@media (min-width: 768px) {
  #income-requirements .columns-2 {
    -moz-columns: 2;
    columns: 2
  }
}

.wic--income-table {
  border: 1px solid black;
  border-collapse: collapse;
  margin-block: 20px;
  max-width: 800px;
  width: 100%;
}

.wic--income-table caption {
  margin-bottom: 10px;
  font-weight: 700;
  text-align: left;
}

.wic--income-table tr td,
.wic--income-table tr th {
  padding: 10px 20px;
  border: 1px solid black;
  text-align: center;
}

.wic--income-table tr:has(th) {
  background-color: #FAFBFB;
  font-size: 16px;
  font-weight: 700
}

button.eligibility-tool-dialog__trigger {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
  border: 0px;
  padding: 0px;
}

button.eligibility-tool-dialog__trigger:focus,
button.eligibility-tool-dialog__trigger:hover {
  cursor: pointer;
}

.eligibility-tool-dialog__close-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer
}

.eligibility-tool-dialog__close-icon .usa-icon {
  width: 32px;
  height: 32px
}

.wic---contact-display {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 0.625rem;
}

@media (max-width: 858px) {
  .wic---contact-display {
    grid-template-columns: 1fr;
  }

  .cards--single img {
    margin-bottom: -3px;
    max-width: none;
  }
}

.wiccontact--location .field,
.fnscontact-gen-email .field {
  display: inline-block;
}


form.wic--income-req-form label {
  padding-top: 30px;
  display: block;
  font-size: 18px;
}

form.wic--income-req-form form-item__description {
  font-size: 12px;
}

.views--wic--wave {
  background-color: #045881;
}

.views--wic--wave p {
  display: none;
}

.wic--wave--bottom::after {
  content: "";
  display: block;
  --wave-height: 92px;
  margin-top: 5px;
  height: var(--wave-height);
  width: 100%;
  background-image: url(/themes/custom/fns_uswds/assets/fns/img/mask/wic--wave-bw.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: bottom center
}

.wic--wave--absolute.wic--wave--bottom {
  position: relative;
  padding-bottom: 130px !important;
  margin-bottom: 30px;
}

.wic--wave--absolute.wic--wave--bottom-nm {
  position: relative;
  padding-bottom: 130px !important;
  margin-bottom: 0px !important;
}

.wic--wave--absolute.short-wave.wic--wave--bottom {
  position: relative;
  padding-bottom: 80px !important;
  margin-bottom: 30px;
}

.wic--wave--absolute.wic--wave--bottom::after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin-bottom: -1px;
}

.wic--wave--nobottom {
  padding-bottom: 30px;

}

.wic--wave--bottom-lg::after {
  content: "";
  display: block;
  --wave-height: 92px;
  margin-top: 5px;
  height: var(--wave-height);
  width: 100%;
  background-image: url(/themes/custom/fns_uswds/assets/fns/img/mask/wic--wave-blg.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: bottom center
}

.wic--wave--bottom-blue::after {
  content: "";
  display: block;
  --wave-height: 92px;
  margin-top: 5px;
  height: var(--wave-height);
  width: 100%;
  background-image: url(/themes/custom/fns_uswds/assets/fns/img/mask/wic--wave-bb.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: bottom center;
  margin-bottom: -2px;
}

.wic--wave--top::before {
  content: "";
  display: block;
  --wave-height: 70px;
  margin-bottom: 5px;
  height: var(--wave-height);
  width: 100%;
  background-image: url(/themes/custom/fns_uswds/assets/fns/img/mask/wic--wave-tw.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
}


.wic--wave--top-lg::before {
  content: "";
  display: block;
  --wave-height: 70px;
  margin-bottom: 5px;
  height: var(--wave-height);
  width: 100%;
  background-image: url(/themes/custom/fns_uswds/assets/fns/img/mask/wic--wave-tlg.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
}


.wic--wave--top-blue::before {
  content: "";
  display: block;
  --wave-height: 70px;
  margin-bottom: 5px;
  margin-top: -2px;
  height: var(--wave-height);
  width: 100%;
  background-image: url(/themes/custom/fns_uswds/assets/fns/img/mask/wic--wave-tb.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
}

.wic--wave--absolute.wic--wave--top {
  position: relative;
  padding-top: 120px !important;
  margin-top: 30px;
}

.wic--wave--absolute.short-wave.wic--wave--top {
  position: relative;
  padding-top: 80px !important;
  margin-top: 30px;
}

.wic--wave--absolute.wic--wave--top-nm {
  position: relative;
  padding-top: 120px !important;
  margin-top: 0px !important;
}

.wic--wave--absolute.wic--wave--top::before,
.wic--wave--absolute.wic--wave--top-lg::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin-top: -1px;
}

.wic--income-field {
  max-width: 30rem;
}

.wic--icon {
  display: flex;
  align-items: center;
}

.wic--icon:before {
  display: block;
  content: "";
  min-width: 100px;
  height: auto;
  float: left;
  padding-right: 30px;
}

.padding-right--wic {
  padding-right: 30px;
}

.padding-left--wic {
  padding-left: 30px;
}

.wic--icon:after {
  display: block;
  content: "";
  min-width: 50px;
  height: auto;
  float: right;
  padding-left: 30px;
}

.wic--icon-broccoli:before,
.wic--icon-after-broccoli:after {
  content: url(/themes/custom/fns_uswds/assets/fns/img/fns-icons/icon-wic-broccoli.svg);
}

.wic--icon-clipboard:before,
.wic--icon-after-clipboard:after {
  content: url(/themes/custom/fns_uswds/assets/fns/img/fns-icons/icon-wic-clipboard.svg);
}

.wic--icon-pump:before,
.wic--icon-after-pump:after {
  content: url(/themes/custom/fns_uswds/assets/fns/img/fns-icons/icon-wic-pump.svg);
}

.wic--icon-group:before,
.wic--icon-after-group:after {
  content: url(/themes/custom/fns_uswds/assets/fns/img/fns-icons/icon-wic-group.svg);
}

.wic--featured-text-h2 {
  font-size: 1.5em !important;
}

.wic--half-pipe {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, #eefcf6 50%);
}

.wic--half-pipe-wave {
  background:
    /* gradient layer */
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, #eefcf6 50%),
    /* image layer */
    url(/themes/custom/fns_uswds/assets/fns/img/mask/wic--wave-blg.svg);
  background-repeat: no-repeat;
  background-position: center 50%;
  background-size: 100%;
}

.wic--half-pipe-home {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 61%, #eefcf6 61%);
}

.wic--icon-home {
  float: right;
}

.paragraph--type--button-bar .usa-button {
  margin-bottom: 10px;
}

@media screen and (max-width: 47.999em) {
  .wic--featured-text-h2 {
    font-size: 1.25em !important;
  }
}

.wic--mobile--show {
  display: none;
}

@media screen and (max-width: 640px) {
  .wic--collage-section {
    padding-top: 30px;
  }
}

@media only screen and (min-width: 890px) and (max-width: 1215px) {
  .cards--wic--home {
    padding-left: 0px;
    margin-top: -63px;
  }

  .wic--absolute-tablet {
    bottom: 0;
  }
}

@media only screen and (max-width: 850px) {
  .wic--icon-home {
    float: left;
  }

  .wic--mobile--show {
    display: block;
  }

  .wic--mobile--hide {
    display: none;
  }

  .cards--wic--home li.usa-card.tablet\:grid-col-4 {
    width: 100% !important;
  }

  .wic--half-pipe,
  .wic--half-pipe-home {
    background: #fff
  }
}

@media only screen and (max-width: 800px) {
  .paragraph--type--button-bar .text-align-center {
    margin-left: 10px;
    margin-right: 10px;
  }

  .wic--home-h2 {
    font-size: 24px;
  }

  .wic--home-h2 em {
    font-size: 40px !important;
  }
}

@media only screen and (min-width: 600px) {
  .wic--absolute-tablet {
    position: absolute;
  }
}

.wic--featured-text .featured-text__title {
  font-size: 36px !important;
}

.wic--featured-text .featured-text__teaser,
.wic--featured-text .featured-text__teaser p,
.wic--featured-text .featured-text__teaser ul {
  font-size: 1.06rem;
}

@media only screen and (max-width: 1025px) {
  .wic--featured-text .featured-text .featured-text__title {
    font-size: 32px !important;
  }

  .wic--featured-text .featured-text .featured-text__content {
    padding-left: 0px !important;
    order: 0 !important;
  }

  .wic--featured-text .featured-text__teaser,
  .wic--featured-text .featured-text__teaser p,
  .wic--featured-text .featured-text__teaser ul {
    font-size: 1.06rem;
  }

}

@media only screen and (max-width: 630px) {
  .cards--single {
    display: block;
  }

  .cards--single img {
    margin-bottom: -3px;
    max-width: 630px;
  }

  .cards--single h4 {
    text-align: center;
  }

  .cards--single .single-card-body {
    padding-bottom: 35px;
  }

  .wic--cards-single .cards--single .usa-card__media {
    max-height: 250px;
    overflow: hidden;
  }

  .wic--cards-single .cards--single .usa-card__media img {
    margin-top: -50px;
  }

  .wic--cards-single .usa-button {
    margin: 0 auto;
    width: 199px;
    text-align: center;
    margin-left: 28%;
  }

  .wic--heartlogo {
    max-width: 100px;
    float: left;
  }
}

/*full width items for WIC*/
.paragraph--type--view-embed:has(.view--wic-locator-tool.view--display-block_1) {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  margin-top: -30px !important;
}

.paragraph--type--view-embed:has(.view--wic-locator-tool.view--display-block_1) .view-embed-description {
  margin: 0px;
}

.paragraph--type--wysiwyg:has(.wic--fw),
.paragraph--type--view-embed:has(.view--wic-locator-tool.view--display-block_1),
.wysiwyg-container:has(.wic--fw) {
  margin: 0 !important;
  padding: 0 !important;
  ;
  max-width: 100% !important;
}

.paragraph--type--wysiwyg:has(.wic--fw) .field--name-field-body {
  margin-bottom: 0px;
}
