/* ----------- Homepage styles ----------- */
.c-article-card--t-first {
  background-color: #4b8764;
  padding-bottom: 30px;
  padding-top: 30px;
}

.c-article-card--t-second {
  background-color: #eff0eb;
  padding-bottom: 30px;
  padding-top: 30px;
}

.c-article-card--t-third {
  background-color: #cfe1d4;
  padding-bottom: 30px;
  padding-top: 30px;
}

.c-article-card__label:link {
  left: 24px;
  position: relative;
  top: -18px;
  transition: all 0.2s ease-in-out;
}

.c-article-card__label:hover {
  background-color: #4b8764;
  color: #fff;
  text-decoration: none;
}

.c-author {
  color: #5b5c5e;
  font-family: 'Cardo', Georgia, 'Times New Roman', Times, serif;
  font-style: italic;
}


.b-to-do-list {
  margin-bottom: 30px;
}

.h-to-do-list__wrapper {
  background-position: center 0;
  background-size: cover;
}

.c-to-do-list__title {
  background-color: rgba(38, 38, 39, 0.5);
  padding: 36px 18px;
  text-align: center;
}

.c-to-do-list__icon {
  background-image: url(../img/circles.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 244px 60px;
  color: #fff;
  margin-bottom: 21px;
}

.c-to-do-list__icon-glyph {
  align-items: center;
  display: flex;
  justify-content: center;
  padding-bottom: 9px;
  padding-top:    9px;
  transform: rotate(0);
  transition: all 0.2s ease-in-out;
  width: 64px;
  margin: 0 auto;
}

.c-to-do-list__icon-glyph:hover {
  transform: rotate(180deg);
}

.c-to-do-list__icon-glyph svg {
    height: 42px;
    width: auto;
}

.c-to-do-list__lists {
  background-color: #4b8764;
  color: #fff;
  font-family: 'Futura PT', Arial, Helvetica, sans-serif;
  padding: 36px 18px 48px;
}

.c-to-do-list__list-header {
  align-items: center;
  display: flex;
}

.c-to-do-list__list-title {
  color: #f7e4a6;
  font-size: 24px;
  font-weight: 500;
  margin: 0;
}

.c-to-do-list__list-icon {
  color: #f7e4a6;
  height: 36px;
  margin-right: 9px;
  width: 36px;
}

.c-to-do-list__list-text-item {
  font-size: 18px;
  line-height: 1.1667em;
  margin-bottom: 21px;
}

.c-to-do-list__list-text-item a,
.c-to-do-list__list-text-item a:visited {
  color: inherit;
}

.c-to-do-list__list-unit {
  margin-bottom: 30px;
}

.c-to-do-list__list-unit ol {
  counter-reset: c-to-do-list__list-text-item;
  list-style: none;
  margin: 16px 0;
  padding: 0 0 0 40px;
}

.c-to-do-list__list-text-item::before {
  content: counter(c-to-do-list__list-text-item);
  counter-increment: c-to-do-list__list-text-item;
  float: left;
  margin-left: -28px;
}

.c-to-do-list__list {
  padding-left: 0;
  margin: 16px 0;
}

.c-to-do-list__list-img {
  margin-right: 9px;
  width: 66px;
}

.c-to-do-list__list-img img {
  border-radius: 50%;
  transition: all 0.2s ease-in-out;
}

.c-to-do-list__list-img:hover {
  opacity: 0.85;
  transform: scale(0.96);
}

.c-to-do-list__list-item {
  align-items: center;
  display: flex;
  margin-bottom: 15px;
  min-width: 210px;
}

.c-to-do-list__list-item a:visited {
  color: initial;
}

.c-to-do-list__list-item a:hover {
  text-decoration: none;
}

a:hover .c-to-do-list__item-title {
  color: #f7e4a6;
}

.c-to-do-list__item-title {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.667em;
  margin: 0;
}

.c-to-do-list__item-label {
  color: #9fcbb1;
}

.c-to-do-list__btn {
  width: 100%;
}

.c-to-do-list__btn:hover {
  background-color: rgba(239, 240, 239, 0.2);
}

.b-category {
  background-color: #cfe1d4;
  padding: 36px 18px 66px;
}
.b-forum-excerpt {
  background-image: url(../img/forum-bg.svg);
  background-position: 0 42px;
  background-repeat: no-repeat;
  background-size: 762px 168px;
  padding: 36px 18px;
}

.c-forum__excerpt {
  margin-bottom: 30px;
  padding-top: 72px;
}

.c-forum__cta {
  align-items: center;
  border: 1px solid #cfe1d4;
  display: flex;
  justify-content: space-between;
  padding: 18px;
}

.c-forum__cta:hover {
  border: 1px solid #4b8764;
  text-decoration: none;
}

.c-forum__cta-title {
  align-items: center;
  display: flex;
}

.c-forum__date {
  color: #efbe65;
  font-family: 'Futura PT', Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1em;
}

.c-forum__author {
  font-size: 21px;
}

.c-forum__excerpt-title {
  font-family: 'Futura PT', Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1em;
}

.c-forum-excerpt__list-item {
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  padding: 12px;
  transition: all 0.2s ease-in-out;
}

.c-forum-excerpt__list-item:hover {
  background-color: #fff3ce;
}

.c-forum-excerpt__list {
  padding-left: 0;
}

.c-forum__thumbnail {
  margin-right: 12px;
  width: 36px;
}

.c-forum-excerpt__list-item-title {
  flex-basis: 80%;
}

.c-forum-excerpt__list-item-title h4 {
  font-family: 'Futura PT', Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1em;

}
.c-forum-excerpt__list-item-date {
  font-family: 'Futura PT', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1em;
  margin-right: 12px;
}

@media only screen and (min-width: 640px) {
  .c-hero {
    padding-left: 42px;
    padding-right: 42px;
  }

  .c-to-do-list__plants {
    display: flex;
    justify-content: space-between;
  }

  .c-to-do-list__plants-unit {
    margin-right: 78px;
  }

  .c-forum__date {
    display: block;
    margin-bottom: 21px;
  }

  .c-forum__excerpt-title {
    margin-bottom: 21px;
  }

  .c-forum__excerpt-paragraph {
    font-size: 21px;
    line-height: 1.4286;
    margin-bottom: 21px;
  }

  .c-forum__excerpt {
    margin-bottom: 42px;
  }

  .c-forum__excerpts {
    margin-bottom: 30px;
  }

  .b-forum-excerpt {
    padding-bottom: 60px;
  }

}

@media only screen and (min-width: 769px) {
  .c-hero {
    margin: 0 auto;
    width: 680px;
  }
  .b-featured-articles {
    display: flex;
    padding-left: 18px;
    padding-right: 18px;
  }
  .c-article-card--t-first {
    background-image: url(../img/sage-plant.svg);
    background-position: right 420px;
    background-repeat: no-repeat;
  }

  .c-article-card--t-second {
    background-image: url(../img/dill-plant.svg);
    background-position: -42px -64px;
    background-repeat: no-repeat;
    padding-top: 74px;
  }

  .c-article-card--t-third {
    background-image: url(../img/parsley-plant.svg);
    background-position: 36px -54px;
    background-repeat: no-repeat;
    padding-top: 74px;
  }

  .c-featured-category__content {
    margin: 0 auto;
  }

  .c-article-card--m {
    align-items: center;
    display: flex;
    margin-left:  18px;
    margin-right: 18px;
    max-width: 426px;
  }

  .c-article-card__img--m {
    margin-right: 18px;
  }

  
  .c-to-do-list__list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    min-height: 180px;
    margin-bottom: 0;
  }

  .c-to-do-list__plants {
    flex-direction: column;
    justify-content: unset;
  }

  .c-to-do-list__list-unit {
    flex-basis: 270px;
    margin-right: 48px;
  }

  .c-to-do-list__plants-unit {
    flex-basis: unset;
  }

  .h-to-do-list__lists-wrapper {
    display: flex;
  }

  .c-to-do-list__btn {
    margin: 0 auto;
  }

  .c-forum__excerpts {
    display: flex;
  }

  .h-forum__excerpt-wrapper {
    flex-basis: 550px;
    margin-right: 60px;
  }

  .c-forum__btn {
    margin: 0 auto;
  }

  
}

@media only screen and (min-width: 1024px) {
  .c-header--home {
    margin-bottom: 42px;
  }

  .b-featured-category {
    background-image: url(../img/floral-l.svg), url(../img/floral-r.svg);
    background-position: left center, right center;
    background-repeat: no-repeat, no-repeat;
  }

  .h-to-do-list__wrapper,
  .c-to-do-list__title {
    height: 440px;
  }

  .c-to-do-list__title {
    height: 440px;
    padding-left: 320px;
    padding-right: 320px;
    padding-top: 60px;
  } 

  .b-subscription {
    padding-bottom: 78px;
    padding-left: 102px;
    padding-right: 102px;
    padding-top: 48px
  }

  .c-to-do-list__lists {
    margin: -164px auto 0;
    max-width: 1140px;
    padding-bottom: 72px;
    padding-left:   72px;
    padding-right:  72px;
    padding-top: 60px;
  }

  .c-to-do-list__list-unit {
    flex-basis: unset;
    margin-right: 78px;
  }

  .c-to-do-list__plants {
    flex-direction: row;
  }

  .c-to-do-list__list {
    flex-wrap: nowrap;
  }

  .c-article-card--m {
    margin-left:  48px;
    margin-right: 48px;
  }

  .h-forum__excerpt-wrapper {
    flex-basis: 50%;
    margin-right: 84px;
  }

  .c-forum-excerpt__list {
    flex-basis: 60%;
    padding-top: 42px;
  }
}


.c-google-ad {
  align-items: center;
  background-color: #eff0eb;
  border: 1px solid #fff;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
}

.c-google-ad--billboard {
  height: 250px;
  width: 100%;
}

.c-google-ad--skyscraper {
  height: 600px;
  order: 2;
  width: 120px;
}

.c-google-ad--leaderboard {
  height: 250px;
  width: 100%;
}

.c-google-ad__title {
  color: #fff;
  font-family: 'Futura PT', Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 900;
}
