:root {
  --off-the-grid-orange-1: #da611e;
  --off-the-grid-green-1: #457d54;
}

/* layout */

.off-the-grid-post {
  margin-bottom: 3.125rem;
}

.off-the-grid-container {
  width: 100%;
  max-width: 1380px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.off-the-grid-row {
  display: flex;
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .off-the-grid-row {
    margin-left: -20px;
    margin-right: -20px;
  }
}

.off-the-grid-column {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .off-the-grid-column {
    padding-left: 20px;
    padding-right: 20px;
  }

  .off-the-grid-column:nth-child(1) {
    flex: 0 0 66.6667%;
    max-width: 66.6667%;
  }

  .off-the-grid-column:nth-child(2) {
    flex: 0 0 33.3334%;
    max-width: 33.3334%;
  }
}

.off-the-grid-post__content__item {
  margin-bottom: 2rem;
}

/* banner */

.off-the-grid-post__banner {
  height: 215px;
  margin-bottom: 1rem;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 1920px;
}

.off-the-grid-post__logo {
  margin-bottom: 1rem;
}

/* typography */

.off-the-grid-post__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -2%;
  text-transform: uppercase;
  color: var(--off-the-grid-green-1);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .off-the-grid-post__title {
    font-size: 70px;
  }
}

.off-the-grid-post__content__heading {
  display: flex;
  align-items: center;
  height: 156px;
  padding-top: 26px;
  background-image: url('./img/off-the-grid-single-paint-strip.jpg');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 1920px;
}

.off-the-grid-post__content__heading__text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -2%;
  text-transform: uppercase;
  color: #fff;
  margin-top: 0;
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .off-the-grid-post__content__heading__text {
    font-size: 60px;
  }
}

.off-the-grid-post__content__text p {
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.off-the-grid-post__content__text p:last-child {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .off-the-grid-post__content__text p {
    font-size: 20px;
    max-width: 1170px;
  }
}

.off-the-grid-post__content__text h1,
.off-the-grid-post__content__text h2,
.off-the-grid-post__content__text h3,
.off-the-grid-post__content__text h4,
.off-the-grid-post__content__text h5,
.off-the-grid-post__content__text h6 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--off-the-grid-green-1);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .off-the-grid-post__content__text h1,
  .off-the-grid-post__content__text h2,
  .off-the-grid-post__content__text h3,
  .off-the-grid-post__content__text h4,
  .off-the-grid-post__content__text h5,
  .off-the-grid-post__content__text h6 {
    font-size: 36px;
  }
}
