#how-it-works p {
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  margin: 0;
}

#how-it-works h3 {
  font-weight: 700;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: -0.02em;
}

.fold {
  padding: 36px 50px;
}

a.item_button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: #D74344;
  border-radius: 8px;
  text-decoration: none;
  margin: 8px auto;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.05em;
  width: max-content;
}

/* avoid horizontal scrollbar */
body {
  overflow-x: hidden;
  text-align: center;
}

/* change background for specific articles */
#hiw-diagram,
#how_do_we_get,
#plans,
#faq,
#our-farmers {
  background-color: #F2F2F2;
}

/* all articles inside the #how-it-works main element should fill 100% vw */
#how-it-works article {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

#how-it-works article>* {
  max-width: 960px;
  margin: 0 auto;
}

/* splash article */
#splash {
  position: relative;
  text-align: center;
  background: url('../../img/membership_splash.JPG');
  background-size: cover;
  background-position: right;
  box-shadow: inset 0 0 0 100vw rgba(0, 0, 0, 0.4);
  vertical-align: middle;
  width: 100vw;
  padding: 48px 24px;
}

.title {
  color: white;
  margin: 0 auto 1.5rem;
}

.span_title {
  font-size: 24px;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.02em;
  margin: 0 1rem 1rem;
}

.title_body {
  font-size: 14px;
  font-weight: 500;
  line-height: 120%;
  margin: 1rem 2rem;
}

/* hiw-diagram */
#hiw-diagram {
  padding: 36px 24px;
}

#hiw-diagram .row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow-x: auto;
  padding-left: 3px;
}

#hiw-diagram .card {
  margin: 24px 0;
  padding: 3rem;
  box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  flex: 0 0 96%;
}

#hiw-diagram .card:not(:last-child) {
  margin-right: 14px;
}

#hiw-diagram img {
  width: 76px;
  height: 57px;
  object-fit: contain;
}

#hiw-diagram h4 {
  font-size: 18px;
  line-height: 21px;
  font-weight: 700;
  margin: 0.5rem 0;
}

#hiw-diagram .card p {
  line-height: 24px;
}

#hiw-diagram>p {
  line-height: 24px;
  margin: 0 auto;
}

#hiw-diagram a {
  margin-top: 1.2rem;
}

/* Shipping Info */
#how-it-works #shipping {
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: left;
}

#how-it-works #shipping>* {
  max-width: 400px;
}

#learn-more {
  color: #D74344;
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  line-height: normal;
}

#shipping #learn-more p {
  text-decoration: underline;
  font-weight: 700;
  margin: 8px 0 6px;
}

#shipping a.item_button {
  margin: 16px 0;
}

#shipping img {
  width: 100%;
  max-width: 400px;
  object-fit: cover;
  border-radius: 16px;
}

#shipping h3 {
  line-height: 120%;
  margin: 1rem 0 0;
}

#shipping p {
  line-height: 140%;
  margin: 1rem 0;
}

/* Our Commitment */
#our_commitment {
  background-color: #FFFFFF;
  padding: 36px 24px;
}

#our_commitment .row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow-x: auto;
}

#our_commitment .card {
  color: #FFFFFF;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background-size: cover;
  border-radius: 24px;
  flex: 0 0 95%;
}

#our_commitment .card:not(:last-child) {
  margin-right: 14px;
}

#our_commitment .card>span {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
}

#our_commitment .card>p {
  font-weight: 500;
  line-height: 24px;
  margin: 16px 0 24px;
}

#our_commitment .card>a {
  margin: 0;
  height: 40px;
  justify-content: center;
  padding: 16px;
}

/* How do we get */
#how_do_we_get {
  padding: 36px 24px;
}

#how_do_we_get .row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow-x: auto;
  padding-left: 3px;
}

#how_do_we_get .card {
  box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.15);
  border-radius: 24px;
  margin: 24px auto;
  display: grid;
  grid-template-rows: auto minmax(auto, 250px);
  grid-template-columns: 1fr;
  flex: 0 0 95%;
}

#how_do_we_get .card:not(:last-child) {
  margin-right: 14px;
}

#how_do_we_get .card>* {
  display: inline-grid;
}

#how_do_we_get .card .card-text-content {
  display: flex;
  flex-direction: column;
  text-align: left;
  align-items: flex-start;
  padding: 32px 18px 24px;
}

#how_do_we_get .card .card-text-content span {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
}

#how_do_we_get .card .card-text-content>p {
  line-height: 24px;
  margin: 8px 0 12px;
}

#our-farmers {
  padding: 48px 24px;
}

#our-farmers>p {
  line-height: 24px;
  margin-top: 16px;
  margin-bottom: 26px;
  max-width: 750px;
}

#our-farmers .item_button {
  width: 100%;
  justify-content: center;
  padding: 0;
  height: 56px;
  background: #FFFFFF;
  color: #D74344;
  border: 1px solid #D74344;
  margin: 16px auto;
  text-transform: uppercase;
}

#learn-more-farmers,
#learn-more-about-us,
#more-faq {
  color: #D74344;
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  line-height: normal;
}

#learn-more-farmers p,
#learn-more-about-us p,
#more-faq p {
  text-decoration: underline;
  font-weight: 700;
  margin: 8px 0 6px;
}

#learn-more-about-us p,
#more-faq p {
  font-size: 20px;
}

#how_do_we_get .card>img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* FAQ */
#faq {
  width: 90vw;
  padding-left: 1rem;
  padding-right: 1rem;
}

#faq .questions {
  list-style-type: none;
  text-align: left;
}

#faq .questions li:first-child {
  margin-top: 2rem;
}

#faq .item {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #DBDDE0;
  border-radius: 8px;
  margin: 1rem 0;
  cursor: default;
  padding: 0 1.5rem;
}

#faq .item>.question {
  cursor: pointer;
  display: flex;
  align-items: center;
  min-height: 69px;
}

#faq .item>.question h4 {
  font-size: 16px;
  line-height: 150%;
  font-weight: 700;
  letter-spacing: unset;
  margin: 0;
}

#faq .answer {
  display: none;
  line-height: 140%;
  padding: 0.5rem 0 1rem;
}

.item i {
  color: #999999;
  margin-left: auto;
}

/* Customers' reviews */
#customers-reviews #instagram-reviews {
  margin-top: 1.5rem;
}

/* Tablet adjustments */
@media (min-width: 768px) {
  #splash {
    padding: 62px 32px;
  }

  .fold {
    padding: 54px 50px;
  }

  .span_title {
    font-size: 48px;
    line-height: 125%;
  }

  .title_body {
    font-size: 20px;
    line-height: 160%;
  }

  #how-it-works h3 {
    margin-bottom: 1rem;
    font-size: 36px;
    line-height: 133%;
  }

  #hiw-diagram h4 {
    font-size: 18px;
    line-height: 21px;
  }

  #hiw-diagram>p {
    font-size: 20px;
    line-height: 28px;
  }

  #hiw-diagram .card {
    margin: 32px 0;
    flex: 1;
    padding: 2rem 1.5rem;
  }

  #how_do_we_get .row {
    display: block;
    overflow-x: unset;
  }

  #how_do_we_get .card:not(:last-child) {
    margin-right: 0;
  }

  #how_do_we_get .card {
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr;
  }

  #how_do_we_get .card .card-text-content {
    padding: 64px;
  }

  #how_do_we_get .card .card-text-content a {
    margin-left: 0;
  }

  #how_do_we_get .card .card-text-content span {
    font-size: 28px;
    line-height: 33px;
  }

  #how_do_we_get .card .card-text-content>p {
    font-size: 20px;
    line-height: 28px;
    margin: 16px 0 24px;
  }

  #our_commitment .card {
    margin: 32px 0;
    flex: 1;
    padding: 2rem 1.5rem;
  }

  #learn-more-farmers p {
    font-size: 20px;
  }

  #our-farmers>p {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 32px;
  }

  #our-farmers .item_button {
    width: 315px;
  }

  #faq .item>.question h4 {
    font-size: 20px;
    line-height: 240%;
  }

  #faq .answer {
    font-size: 20px;
    padding-bottom: 1.5rem;
    line-height: 160%;
  }
}

/* Laptop adjustments */
@media (min-width: 900px) {
  .fold {
    padding: 72px 50px;
  }

  #hiw-diagram {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  #our_commitment .row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
  }

  #shipping {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
  }

  #shipping p {
    font-size: 20px;
    line-height: 160%;
  }

  #how-it-works #shipping>* {
    margin: 0;
    max-width: 500px;
  }

  #how-it-works #shipping>div {
    padding-right: 4rem;
  }
}

#header_bar .container>span::before {
  /* remove the truck added in base.css */
  background: unset !important;
}

#splash>p {
  width: 100%;
  max-width: 224px;
  font-size: 14px;
  line-height: 21px;
  color: #FFFFFF;
  margin: 0 auto;
}

#external-credentials {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

#external-credentials>img {
  height: 45px;
}

#google-reviews {
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
}

#google-reviews i {
  color: #DFB300;
}

#g_logo {
  width: 16px;
  height: 16px;
}

#star_container {
  position: relative;
  display: inline-block;
}

#google-reviews i.star-under {
  color: #FFFFFF;
}

.star-over {
  position: absolute;
  left: 0;
  top: 0;
  width: 70%;
  overflow: hidden;
}

@media (min-width: 768px) {
  #external-credentials>img {
    height: 56px;
  }

  #g_logo {
    width: 20px;
    height: 20px;
  }
}

/* Our Farmers */
#cards-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
}

.farm-card {
  flex: 0 1 47%;
  max-width: 260px;
  position: relative;
  margin: 13px 4px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.farmer-img {
  width: 100%;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  margin-bottom: 16px;
}

.farm-card .farmer-img {
  aspect-ratio: 1 / 1;
}

.card_title {
  font-style: normal;
  font-weight: bold;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.02em;
}

.story-link {
  cursor: pointer;
}

.highlight-text {
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  text-decoration-line: underline;
  color: #D74344;
  cursor: pointer;
}

.farm-location {
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 32px;
  margin-bottom: 16px;
}

.farm-location img {
  width: 10.67px;
  height: 13.13px;
  margin-right: 2%;
}

@media (min-width: 900px) {
  #cards-container {
    flex-wrap: nowrap;
  }

  .farm-card {
    margin: 13px 16px 34.5px
  }
}

/* About us */
#our_team {
  padding: 36px 0;
}

#our_team h3 {
  margin-bottom: 24px;
}

#our_team .team-card-group {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 16px;
}

.team-card img {
  width: 100%;
  border-radius: 50%;
}

.team-card {
  flex: 0 1 47%;
  max-width: 260px;
  margin: 13px 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0px 1px 14px rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  cursor: pointer;
}

.team-card:last-of-type {
  display: none;
}

.our_team_chevron {
  display: inline-block;
  color: #4F4F4F;
  position: absolute;
  top: 15px;
  right: -8px;
}

.team-card-block {
  padding: 24px;
  background-color: #FFFFFF;
  border-radius: 16px;
}

#our_team .team-card-block h3 {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  margin: 16px 0 0;
  position: relative;
}

#our_team .team-card-block h4 {
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  margin: 0 0 4px;
}

#our_team .team-card-text {
  font-size: 13px;
  line-height: 140%;
  display: none;
}

@media (min-width: 768px) {
  .team-card {
    cursor: default;
    max-width: 310px;
  }

  .team-card:last-of-type {
    display: flex;
  }

  .our_team_chevron {
    display: none;
  }

  #our_team .team-card-text {
    display: block;
  }

  #our_team .team-card-group {
    display: flex;
    align-items: unset;
    width: 95%;
  }
}

#footer_wrapper {
  background-color: #4F4F4F;
  margin-top: 20px;
  padding-top: 20px;
}

#products_available_section {
  display: flex;
  flex-direction: column;
  padding: 48px 24px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%), url('../../img/meat_bg.png') lightgray 0% 0% / cover;

}

#postal_container,
#products_available_section #postal_results_container {
  display: flex;
  padding: 32px;
  flex-direction: column;
  border-radius: 16px;
  background: #FFF;
  text-align: left;
}

#products_available_section #postal_results_container {
  display: none;
  background: #FFF3E0;
  margin-top: 24px;
}

#postal_results_header {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  justify-content: space-between;
  gap: 48px;
}

#products_available_section h3 {
  line-height: normal;
  margin-bottom: 8px;
}

#products_available_section>div p {
  line-height: 24px;
}

#postal_container p {
  margin-bottom: 24px;
}

#postal_form {
  display: flex;
  flex-direction: column;
  margin: 0;
}

#postal_form label {
  font-size: 16px;
  line-height: 24px;
}

#postal_form>div {
  margin: 0 0 26px;
}

#postal_form input {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #999;
  font-size: 16px;
  line-height: 24px;
  width: 100%;
  margin: 0;
  outline: none;
  text-transform: uppercase;
}

#postal_form input::-webkit-input-placeholder {
  /* Chrome/Opera/Safari/Edge */
  text-transform: initial;
}

#postal_form input::-moz-placeholder {
  /* Firefox 19+ */
  text-transform: initial;
}

#postal_form input:-moz-placeholder {
  /* Firefox 18- */
  text-transform: initial;
}

#postal_form input:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  text-transform: initial;
}

#postal_form input::placeholder {
  text-transform: initial;
}

#postal_input_error {
  position: absolute;
  color: red;
  display: none;
  margin-bottom: 0px !important;
  font-size: 16px !important;
}

#postal_btn {
  display: flex;
  height: 44px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background: #D74344;
  color: #FFF;
  font-size: 16px;
  letter-spacing: 0.8px;
  margin: 0;
}

#postal_btn:disabled {
  cursor: not-allowed !important;
  background-color: rgb(230, 230, 230);
  color: rgb(128, 128, 128);
}

/* Tablet adjustments */
@media (min-width: 768px) {
  #products_available_section {
    padding: 56px 24px;
  }

  #postal_container {
    padding: 48px 32px;
  }

  #products_available_section h3 {
    line-height: 48px;
    margin-bottom: 16px;
  }

  #products_available_section>div p {
    line-height: 28px;
  }

  #postal_results_header {
    margin-bottom: 18px;
  }

  #postal_form {
    flex-direction: row;
    align-items: flex-end;
  }

  #postal_form>div {
    margin: 0 16px 0 0;
  }

  #postal_form input {
    width: 390px;
  }

  #postal_btn {
    height: 56px;
  }
}

/* Laptop adjustments */
@media (min-width: 900px) {
  #products_available_section {
    padding: 56px 124px;
  }

  #postal_container {
    padding: 48px 64px;
  }
}

#products_available {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 12px;
  text-align: center;
}

#products_available img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 495.5px;
  object-fit: cover;
}

#products_available .img_container {
  /* 3 items per row with 2 x 12px spacing in total */
  flex: 0 0 calc((100% - 2 * 12px) / 3);
  box-sizing: border-box;
}

#products_available .img_container p {
  margin: 0;
}

/* Tablet adjustments */
@media (min-width: 768px) {
  #customers-reviews {
    padding-bottom: 28px;
  }

  #external-media {
    padding-top: 28px;
  }

  #products_available .img_container {
    /* 6 items per row with 5 x 12px spacing in total */
    flex: 0 0 calc((100% - 5 * 12px) / 6);
  }

  #products_available .img_container.meat_and_veggie {
    /* 7 items per row with 5 x 12px spacing in total */
    flex: 0 0 calc((100% - 6 * 12px) / 7);
  }
}

@media (min-width: 900px) {
  #products_available {
    gap: 28px;
  }

  #products_available .img_container {
    /* 6 items per row with 5 x 28px spacing in total */
    flex: 0 0 calc((100% - 5 * 28px) / 6);
  }

  #products_available .img_container.meat_and_veggie {
    /* 7 items per row with 5 x 28px spacing in total */
    flex: 0 0 calc((100% - 6 * 28px) / 7);
  }
}

.desktop-only {
  display: none !important;
}

/* Tablet adjustments */
@media (min-width: 768px) {
  .desktop-only {
    display: flex !important;
  }

  .mobile-only {
    display: none !important;
  }
}