header > .bounds:nth-child(2) {
  background-color: var(--body-bg);
}

.sub-nav {
  color: gray;
  display: block;
  max-width: 1280px;
  background-color: var(--body-bg);
}
.sub-nav ul {
  max-width: 1280px;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: flex-end;
  font-weight: bold;
}
.sub-nav ul li:first-child {
  margin-left: 0;
  margin-right: auto;
}
.sub-nav ul a {
  color: var(--nav-color);
  width: auto;
  text-decoration: underline transparent;
  transition: 0.3s linear;
}
.sub-nav ul a.active {
  background-color: transparent;
  text-decoration-color: currentColor;
}
.sub-nav ul a:hover {
  background-color: transparent;
  text-decoration-color: currentColor;
}
.sub-nav ul a.long-name {
  display: inline-block;
}
.sub-nav ul a.short-name {
  display: none;
}

.posts-list section {
  padding-top: 30px;
  padding-bottom: 30px;
  margin-top: 35px;
  margin-bottom: 0;
}
.posts-list .hot {
  display: flex;
  flex-direction: row;
  background-image: url(/images/hot.svg);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 150px;
}
.posts-list .hot div {
  flex-grow: 0.5;
  flex: 1;
}
.posts-list .hot div:first-child {
  padding-right: 40px;
}
.posts-list .hot div:last-child {
  text-align: center;
  padding-right: 30px;
}
.posts-list .hot div:last-child h2 {
  font-size: 1.4em;
  font-weight: 200;
}
.posts-list .hot div:last-child h1 {
  font-size: 2.5em;
}
.posts-list .hot div:last-child h1 a {
  transition: 0.3s linear;
}
.posts-list .hot div:last-child h1 a:hover {
  color: #b9b3b0;
}
.posts-list .hot img {
  width: 100%;
}
.posts-list h3 {
  margin-top: 0;
}
.posts-list h3 a {
  text-decoration: underline transparent;
  transition: 0.3s linear;
}
.posts-list h3 a:hover {
  text-decoration-color: currentColor;
}
.posts-list .post-date {
  border-top: 1px solid rgba(185, 179, 176, 0.2509803922);
  margin-top: 30px;
  padding-top: 20px;
  font-size: 0.8em;
  color: #ADA39D;
  filter: var(--filter-date);
}
.posts-list .columns {
  display: flex;
  flex-direction: row;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 35px;
  background: none;
  box-shadow: none;
}
.posts-list .columns div:first-child {
  flex-grow: 0.9;
  margin-right: 35px;
}
.posts-list .columns div:first-child section {
  width: auto;
}
.posts-list .columns div:first-child section:first-child {
  margin-top: 0;
}
.posts-list .columns div:last-child {
  flex-grow: 0.1;
}
.posts-list .columns div:last-child section {
  margin-top: 0;
  width: 335px;
}
.posts-list .columns div:last-child section h3 {
  text-align: center;
}
.posts-list .columns div:last-child section .button, .posts-list .columns div:last-child section button {
  display: block;
  background: linear-gradient(180deg, #FF8B46 0%, #F4762C 100%);
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2);
  border-radius: 14.4px;
  text-align: center;
  margin: 0 auto;
  padding: 18.125px 0;
  text-decoration: none;
  border: 1.73px solid transparent;
  transition: 0.3s linear;
  font-style: normal;
  font-weight: 600;
  font-size: 20.75px;
  line-height: 25px;
  color: white;
  cursor: pointer;
}
.posts-list .columns div:last-child section .button:hover, .posts-list .columns div:last-child section button:hover {
  background: linear-gradient(180deg, #FF8B46 0%, #F27023 69.27%);
}
.posts-list .columns div:last-child section .button.secondary, .posts-list .columns div:last-child section button.secondary {
  background: linear-gradient(180deg, var(--bg-secondary) 26.56%, var(--body-bg) 100%);
  border: 1.73px solid var(--icons);
  color: var(--body-color);
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.1);
  transition: 0.3s linear;
}
.posts-list .columns div:last-child section .button.secondary:hover, .posts-list .columns div:last-child section button.secondary:hover {
  background: linear-gradient(180deg, var(--bg-secondary) 27.6%, var(--body-bg) 65.62%);
  border: 1.73px solid var(--icons);
  color: var(--body-color);
}
.posts-list .columns div:last-child section .button.flat, .posts-list .columns div:last-child section button.flat {
  background: none;
  background-color: #F08343;
  border: 1.275px solid #FFFFFF;
  box-shadow: none;
  padding: 8.95px 12.175px;
  font-size: 17.3px;
  line-height: 17.3px;
  transition: 0.3s linear;
}
.posts-list .columns div:last-child section .button.flat:hover, .posts-list .columns div:last-child section button.flat:hover {
  background: none;
  box-shadow: none;
}
.posts-list .columns div:last-child section .button.flat.icon, .posts-list .columns div:last-child section button.flat.icon {
  padding-left: 46.75px;
  background-repeat: no-repeat;
  background-position: 12.175px 5.125px;
  background-size: 25px;
}
.posts-list .columns div:last-child section .button.flat.icon.play, .posts-list .columns div:last-child section button.flat.icon.play {
  background-image: url("/images/lessons-assets/play_button.svg");
}
.posts-list .columns div:last-child section .button.flat.gray, .posts-list .columns div:last-child section button.flat.gray {
  background-color: #8C8581;
}
.posts-list .columns div:last-child section .button.flat.red, .posts-list .columns div:last-child section button.flat.red {
  background-color: rgb(209, 36, 36);
}
.posts-list .columns div:last-child section .button.flat.green, .posts-list .columns div:last-child section button.flat.green {
  background-color: #1b7c28;
}
.posts-list .columns div:last-child section .button.no-bg, .posts-list .columns div:last-child section button.no-bg {
  background: none;
  color: #F4762C;
  border: 1.275px solid #F4762C;
  padding-top: 16.85px;
  padding-bottom: 16.85px;
}
.posts-list .columns div:last-child section .button.no-bg.gray, .posts-list .columns div:last-child section button.no-bg.gray {
  border-color: #8C8581;
  color: #8C8581;
}
.posts-list .columns div:last-child section .button.no-bg.lightgray, .posts-list .columns div:last-child section button.no-bg.lightgray {
  border-color: rgba(185, 179, 176, 0.5);
  color: rgba(185, 179, 176, 0.5);
}
.posts-list .columns div:last-child section .button.no-bg.red, .posts-list .columns div:last-child section button.no-bg.red {
  border-color: rgb(209, 36, 36);
  color: rgb(209, 36, 36);
}
.posts-list .columns div:last-child section .button.no-bg.green, .posts-list .columns div:last-child section button.no-bg.green {
  border-color: #1b7c28;
  color: #1b7c28;
}
.posts-list .columns div:last-child section .button.no-shadow, .posts-list .columns div:last-child section button.no-shadow {
  box-shadow: none;
}
.posts-list .columns div:last-child section .button:disabled, .posts-list .columns div:last-child section button:disabled {
  background-color: rgb(170, 169, 169);
}
@media (max-width: 530px) {
  .posts-list .columns div:last-child section .button, .posts-list .columns div:last-child section button {
    font-size: 15.75px;
  }
}
.posts-list .lead {
  font-size: 0.9em;
  margin-bottom: 24px;
}
.posts-list .post-image {
  position: relative;
}
.posts-list .post-image img {
  width: 100%;
}
.posts-list .post-image span {
  position: absolute;
  left: 0;
  top: 0;
  padding: 10px 20px;
  border-radius: 0 0 10px 0;
  color: white;
}

article {
  margin: 0 -2%;
}
article .header {
  background-color: var(--bg-section);
  border-top: 2px solid var(--body-bg);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 35px;
}
article .header section {
  border-radius: 0;
  box-shadow: none;
  max-width: 928px;
  margin-bottom: 0;
  padding-bottom: 35px;
}
article .header img {
  margin-top: 25px;
  width: 100%;
}
article section {
  width: auto;
  margin: 0 auto 35px auto;
  max-width: 828px;
}
article section.body ul li::marker, article section.body ol li::marker {
  color: #F85835;
}
article section.body blockquote {
  margin: 20px 0;
}
article section.body blockquote p {
  border-left: 3px solid #F85835;
  padding-left: 15px;
  font-style: italic;
}
article section.body img {
  display: block;
  margin: 0 auto;
  width: 100%;
}
article section.body a {
  color: royalblue;
  text-decoration: underline transparent;
  transition: 0.3s linear;
  word-break: break-all;
}
article section.body a:hover {
  text-decoration-color: currentColor;
}
article section.body hr {
  border: 1px solid rgba(185, 179, 176, 0.2509803922);
}
article section.body .related {
  border-top: 2px solid rgba(185, 179, 176, 0.2509803922);
  margin-top: 30px;
}
article section.body .related h3 {
  margin: 0;
  padding: 15px 0 0 0;
  color: #ADA39D;
}
article section.body .related ul {
  margin: 0;
  padding: 20px 20px 0 20px;
}
article section.body .related ul li {
  padding-bottom: 5px;
}
article section.body .related a {
  color: #8A7E77;
}
article h1 {
  font-size: 2.5em;
  margin-bottom: 5px;
}
article span.post-date {
  opacity: 0.5;
}
article p.lead {
  margin-bottom: 0;
  font-size: 1.3em;
}

@media only screen and (max-width: 1030px) {
  .posts-list .hot {
    flex-direction: column-reverse;
  }
  .posts-list .hot div:first-child,
  .posts-list .hot div:last-child {
    padding-right: 0;
  }
  .posts-list .hot img {
    width: 100%;
    margin: 0 auto;
    display: block;
  }
}
@media only screen and (max-width: 960px) {
  .posts-list .columns {
    flex-direction: column;
  }
  .posts-list .columns div:first-child {
    margin-right: 0;
  }
  .posts-list .columns div:last-child {
    margin-top: 35px;
  }
  .sub-nav ul li a.long-name {
    display: none;
  }
  .sub-nav ul li a.short-name {
    display: inline-block;
  }
}
@media only screen and (max-width: 640px) {
  nav.sub-nav ul {
    text-align: center;
    justify-content: space-between;
    gap: 0;
  }
  nav.sub-nav ul li:first-child {
    display: none;
  }
  nav.sub-nav ul a {
    padding-left: 10px;
    padding-right: 10px;
  }
  .posts-list .hot {
    background-size: 100px;
  }
  .posts-list .hot h2 {
    display: none;
  }
  .posts-list .hot div:last-child h1 {
    font-size: 2.1em;
  }
  .posts-list .lead {
    margin-bottom: 18px;
  }
  .posts-list .post-image span {
    padding: 5px 10px;
    font-size: 0.6em;
  }
  article h1 {
    font-size: 1.5em;
  }
  article p.lead {
    font-size: 1em;
  }
  article .body ul li em {
    display: block;
    padding-bottom: 10px;
  }
}
