/* cover-articles: */

.cover-articles {
  display: grid;
  grid-template-rows: auto auto;
  width: 100%;
  height: auto;
  position: relative;
}
.cover-articles > div {
  display: grid;
}
.cover-articles > div > div {
  align-self: center;
  text-align: left;
}

.cover-articles > div:nth-child(1) {
  padding: 210px 60px 60px 60px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #fff;
  position: relative;
}
.cover-articles > div:nth-child(1) > div:nth-child(1) {
  position: relative;
  z-index: 2;
}
.cover-articles > div:nth-child(1) > div:nth-child(2) {
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: inset 0px 0px 250px #061d01;
  position: absolute;
  z-index: 1;
  opacity: 1;
}

.cover-articles h1 {
  margin-bottom: 0;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.75);
  font-size: 70px;
  line-height: 80px;
  color: #fff;
}

@media screen and (min-width: 1367px) {
  .cover-articles {
    max-width: 1366px;
    min-height: auto;
    margin: 0 auto;
    border-radius: 0 0 40px 40px;
  }
  .cover-articles > div:nth-child(1) {
    border-radius: 0 0 40px 40px;
  }
  .cover-articles > div:nth-child(1) > div:nth-child(2) {
    border-radius: 0 0 40px 40px;
  }
}

@media screen and (max-width: 960px) and (min-width: 769px) {
  .cover-articles {
    grid-template-columns: auto;
    grid-template-rows: auto 0px;
  }
  .cover-articles > div:nth-child(1) {
    padding: 220px 60px 60px 60px;
  }
}

@media screen and (max-width: 768px) {
  .cover-articles {
    grid-template-columns: auto;
    grid-template-rows: auto 0px;
  }
  .cover-articles > div:nth-child(1) {
    padding: 220px 60px 60px 60px;
  }
  .cover-articles h1 {
    font-size: 40px;
    line-height: 50px;
  }
}

/* articles-listing: */

.articles-listing {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 20px;
  row-gap: 20px;
  width: 100%;
  height: auto;
  padding: 40px 40px;
  background: #fff;
}
.articles-listing > div {
  display: grid;
  height: 100%;
  align-items: justify;
  text-align: center;
}
.articles-listing > div:first-child {
  grid-column: 1 / span 3;
  align-items: end;
}
.articles-listing > div:last-child {
  grid-column: 1 / span 3;
}

.articles-listing > div > div:nth-child(1) {
  height: 250px;
  border-radius: 10px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1;
  transition: opacity 0.3s;
}
.articles-listing > div:first-child > div:nth-child(1),
.articles-listing > div:last-child > div:nth-child(1) {
  height: auto;
  border-radius: none;
  background-size: none;
  background-position: none;
  background-repeat: none;
}

.articles-listing > div > div:nth-child(1):hover {
  opacity: 0.5;
  cursor: pointer;
}
.articles-listing > div:first-child > div:nth-child(1):hover,
.articles-listing > div:last-child > div:nth-child(1):hover {
  opacity: 1;
  cursor: default;
}

.articles-listing > div > div:nth-child(2) {
  padding: 10px 0 0 0;
}
.articles-listing > div:first-child > div:nth-child(2),
.articles-listing > div:last-child > div:nth-child(2) {
  padding: 0;
}

.articles-listing > div:first-child ul {
  list-style: none;
  padding: 0;
}
.articles-listing > div:first-child ul li {
  display: inline-block;
}
.articles-listing > div:first-child ul li a {
  display: inline-block;
  margin: 0 10px 10px 0;
  padding: 10px 20px;
  border: 1px solid firebrick;
  border-radius: 10px;
  font-weight: 600;
  color: firebrick;
  transform: scale(1);
  transition: all 0.3s;
}
.articles-listing > div:first-child ul li a:hover {
  border-color: darkolivegreen;
  color: darkolivegreen;
  transform: scale(1.1);
  cursor: pointer;
}

.articles-listing h2 {
  margin-bottom: 20px;
  color: #383432;
}
.articles-listing h3,
.articles-listing a h3 {
  font-size: 25px;
  line-height: 35px;
  font-weight: 600;
  color: #383432;
}
p.date {
  font-size: 14px;
  color: darkolivegreen;
}

.articles-listing--posts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 54px 40px 64px;
  background: #f5f6f4;
  align-items: stretch;
}

.articles-listing--posts > div,
.articles-listing--posts > article {
  display: block;
  height: auto;
  text-align: left;
}

.articles-listing--posts .articles-listing__intro,
.articles-listing--posts .articles-listing__pagination {
  grid-column: 1 / span 3;
}

.articles-listing--posts .articles-listing__intro > div,
.articles-listing--posts .articles-listing__pagination > div {
  height: auto;
  border-radius: 0;
  background: none;
}

.articles-listing--posts .articles-listing__intro > div:hover,
.articles-listing--posts .articles-listing__pagination > div:hover {
  opacity: 1;
  cursor: default;
}

.articles-listing--posts .articles-listing__intro h2 {
  max-width: 760px;
  margin: 0 auto 22px;
  text-align: center;
  font-size: 38px;
  line-height: 46px;
}

.articles-listing__lead {
  max-width: 820px;
  margin: -8px auto 24px;
  color: #596053;
  font-size: 17px;
  line-height: 28px;
  text-align: center;
}

.articles-listing__lead p {
  margin: 0;
}

.articles-listing__categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.articles-listing__categories li {
  display: block;
  margin: 0;
}

.articles-listing--posts .articles-listing__categories li a {
  margin: 0;
  padding: 9px 15px;
  border: 1px solid rgba(85, 107, 47, 0.24);
  border-radius: 999px;
  background: #fff;
  color: #405223;
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  transform: none;
}

.articles-listing--posts .articles-listing__categories li a:hover {
  border-color: darkolivegreen;
  background: darkolivegreen;
  color: #fff;
  transform: none;
}

.article-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(56, 52, 50, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: rgba(28, 34, 25, 0.06) 0 12px 32px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.article-card:hover {
  border-color: rgba(85, 107, 47, 0.24);
  box-shadow: rgba(28, 34, 25, 0.12) 0 18px 42px;
  transform: translateY(-4px);
}

.article-card__image {
  position: relative;
  display: block;
  height: 230px;
  background-color: #dfe5de;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.article-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0));
  opacity: 0;
  transition: opacity 0.25s;
}

.article-card:hover .article-card__image::after {
  opacity: 1;
}

.article-card__image span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #26321d;
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
}

.article-card:hover .article-card__image span {
  opacity: 1;
  transform: translateY(0);
}

.article-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.article-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 13px;
  color: #6b7166;
  font-size: 13px;
  line-height: 18px;
}

.article-card__meta a,
.article-card__meta span {
  display: inline-flex;
  align-items: center;
}

.article-card__meta a {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(85, 107, 47, 0.1);
  color: darkolivegreen;
  font-weight: 700;
}

.article-card__meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 8px;
  border-radius: 50%;
  background: #a4aa9d;
}

.article-card__title {
  color: inherit;
}

.articles-listing--posts .article-card h3,
.articles-listing--posts .article-card a h3 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 30px;
  font-weight: 700;
  color: #20251e;
}

.article-card__body p {
  margin: 0 0 20px;
  color: #596053;
  font-size: 16px;
  line-height: 25px;
}

.article-card__link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  color: firebrick;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
}

.article-card__link::after {
  content: "›";
  margin-left: 8px;
  font-size: 22px;
  line-height: 18px;
}

.article-card__link:hover {
  color: darkolivegreen;
}

.article-card--empty {
  grid-column: 1 / span 3;
  padding: 32px;
}

.articles-listing--posts .useful-article-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 24px;
  line-height: 30px;
  font-weight: 760;
}

.articles-listing--posts .useful-article-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 24px;
  font-weight: 400;
}

.articles-listing--posts .useful-article-card__more {
  color: #b8e0c2;
}

.articles-listing > div:last-child a.btn-orange {
  margin-bottom: 10px;
}

@media screen and (min-width: 1367px) {
  .articles-listing {
    max-width: 1366px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 960px) and (min-width: 769px) {
  .articles-listing {
    grid-template-columns: 1fr 1fr;
  }
  .articles-listing--posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .articles-listing > div:first-child {
    grid-column: 1 / span 2;
  }
  .articles-listing > div:last-child {
    grid-column: 1 / span 2;
  }
  .articles-listing--posts .articles-listing__intro,
  .articles-listing--posts .articles-listing__pagination {
    grid-column: 1 / span 2;
  }
}

@media screen and (max-width: 768px) {
  .articles-listing {
    grid-template-columns: 1fr;
  }
  .articles-listing--posts {
    grid-template-columns: 1fr;
    padding: 38px 20px 48px;
  }
  .articles-listing > div:first-child {
    grid-column: 1 / span 1;
  }
  .articles-listing > div:last-child {
    grid-column: 1 / span 1;
  }
  .articles-listing--posts .articles-listing__intro,
  .articles-listing--posts .articles-listing__pagination,
  .article-card--empty {
    grid-column: 1 / span 1;
  }
  .articles-listing--posts .articles-listing__intro h2 {
    font-size: 30px;
    line-height: 38px;
  }
  .article-card__image {
    height: 220px;
  }
}

@media screen and (max-width: 480px) {
  .articles-listing > div:first-child ul li {
    display: block;
  }
  .articles-listing > div:first-child ul li a {
    display: block;
  }
  .articles-listing > div:first-child ul li:last-child a {
    margin: 0;
  }
  .articles-listing--posts .articles-listing__categories li,
  .articles-listing--posts .articles-listing__categories li a {
    display: inline-flex;
  }
  .article-card__body {
    padding: 18px;
  }
  .articles-listing--posts .article-card h3,
  .articles-listing--posts .article-card a h3 {
    font-size: 21px;
    line-height: 28px;
  }
  .articles-listing--posts .useful-article-card h3 {
    font-size: 24px;
    line-height: 30px;
  }
}

/* pagination: */

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto;
  text-align: center;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(47, 143, 84, 0.22);
  outline: none;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: none;
  color: #236b3f;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  transform: translateY(0);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s, transform 0.25s;
}

.pagination span.current {
  border-color: #236b3f;
  background: #236b3f;
  color: #fff;
  box-shadow: 0 10px 22px rgba(47, 143, 84, 0.22);
}

.pagination span.dots {
  min-width: 28px;
  border-color: transparent;
  background: transparent;
  color: #5f6a62;
}

.pagination a:hover {
  border-color: #2f8f54;
  background: #2f8f54;
  box-shadow: 0 10px 22px rgba(47, 143, 84, 0.18);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
  .pagination {
    gap: 6px;
  }

  .pagination a,
  .pagination span {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }
}

/* 

single article page:

*/

/* cover-single-article: */

.cover-single-article {
  --article-ink: #1f261d;
  --article-muted: #5f685b;
  --article-border: rgba(31, 38, 29, 0.12);
  --article-surface: #ffffff;
  --article-soft: #f3f5f1;
  --article-accent: #4f6427;
  --article-accent-dark: #33421a;
  width: 100%;
  padding: 112px 40px 54px;
  background-color: #f3f5f1;
  background-image:
    linear-gradient(135deg, rgba(79, 100, 39, 0.055) 0 1px, transparent 1px),
    linear-gradient(180deg, #f7f8f4 0%, #edf1e8 100%);
  background-size: 30px 30px, 100% 100%;
}

.cover-single-article__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 48px;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

.cover-single-article__content {
  min-width: 0;
}

.cover-single-article .breadcrumbs {
  margin-bottom: 0;
  color: var(--article-muted);
  font-size: 15px;
  line-height: 22px;
}

.cover-single-article .breadcrumbs a {
  color: var(--article-accent-dark);
  font-weight: 700;
}

.cover-single-article .breadcrumbs a:hover {
  color: var(--article-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-hero-category {
  display: inline-flex;
  margin: 26px 0 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(79, 100, 39, 0.12);
  color: var(--article-accent-dark);
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
}

.cover-single-article h1 {
  max-width: 720px;
  margin: 0;
  font-size: 52px;
  line-height: 60px;
  color: var(--article-ink);
}

.article-hero-lead {
  display: -webkit-box;
  max-width: 650px;
  margin: 20px 0 0;
  overflow: hidden;
  color: var(--article-muted);
  font-size: 20px;
  line-height: 32px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: var(--article-muted);
  font-size: 15px;
  line-height: 20px;
}

.article-hero-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid var(--article-border);
  border-radius: 999px;
  background: #fff;
}

.cover-single-article__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  background: #dfe5de;
  border: 1px solid rgba(31, 38, 29, 0.1);
  box-shadow: rgba(28, 34, 25, 0.1) 0 18px 42px;
}

.cover-single-article__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.cover-single-article__placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  color: #596053;
  font-weight: 700;
}

@media screen and (min-width: 1367px) {
  .cover-single-article {
    max-width: 1366px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 960px) and (min-width: 769px) {
  .cover-single-article__inner {
    grid-template-columns: 1fr;
  }
  .cover-single-article h1 {
    font-size: 48px;
    line-height: 56px;
  }
}

@media screen and (max-width: 768px) {
  .cover-single-article {
    padding: 102px 20px 34px;
  }
  .cover-single-article__inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .cover-single-article h1 {
    font-size: 34px;
    line-height: 42px;
  }
  .cover-single-article__media {
    aspect-ratio: 16 / 10;
  }
}

/* single-article: */

.single-article {
  --article-ink: #1f261d;
  --article-muted: #5f685b;
  --article-border: rgba(31, 38, 29, 0.12);
  --article-surface: #ffffff;
  --article-soft: #f3f5f1;
  --article-accent: #4f6427;
  --article-accent-dark: #33421a;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  column-gap: 44px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 54px 40px 72px;
  background-color: #fff;
  background-image: linear-gradient(180deg, #ffffff 0%, #fafbf8 100%);
  background-size: 100% 100%;
}

.single-article__main {
  min-width: 0;
}

.article-content {
  max-width: 760px;
}

.article-content article > *:first-child {
  margin-top: 0;
}

.article-content p,
.article-content li,
.article-content td {
  color: #333a31;
  font-size: 18px;
  line-height: 32px;
}

.article-content p {
  margin: 0 0 24px;
}

.article-content h2 {
  margin: 46px 0 18px;
  color: #1f261d;
  font-size: 34px;
  line-height: 42px;
}

.article-content h3 {
  margin: 36px 0 16px;
  color: #2e3929;
  font-size: 26px;
  line-height: 34px;
}

.article-content a {
  color: var(--article-accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-content ul {
  padding: 0;
  margin: 0 0 28px 0;
}
.article-content ul li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
  list-style-type: none;
}
.article-content ul li:last-child {
  margin-bottom: 0;
}
.article-content ul li:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--article-accent);
  position: absolute;
  left: 2px;
  top: 12px;
}

.article-content ol {
  margin: 0 0 28px 0;
  padding: 0;
  list-style-type: none;
  counter-reset: num;
}
.article-content ol li {
  margin: 0 0 14px;
  padding: 0 0 0 44px;
  position: relative;
}
.article-content ol li:after {
  content: counter(num);
  counter-increment: num;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(79, 100, 39, 0.12);
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 14px;
  line-height: 30px;
  font-weight: 800;
  color: var(--article-accent-dark);
}

.article-content blockquote,
.article-content .wp-block-quote {
  margin: 34px 0;
  padding: 26px 28px;
  border: 1px solid rgba(79, 100, 39, 0.22);
  border-left: 5px solid var(--article-accent);
  border-radius: 8px;
  background: #f5f7f1;
}
.article-content blockquote p {
  margin-bottom: 14px;
  font-size: 20px;
  line-height: 34px;
}
.article-content blockquote cite {
  color: var(--article-muted);
  font-size: 15px;
  line-height: 22px;
}
.article-content blockquote.quote3 {
  font-style: italic;
}

.article-content figure {
  margin: 34px 0;
}

.article-content img {
  border-radius: 8px;
}

.article-content figcaption,
.article-content .wp-element-caption {
  margin-top: 10px;
  color: #697166;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.article-content table {
  width: 100%;
  margin: 32px 0;
  border-collapse: collapse;
  text-align: left;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--article-border);
}
.article-content table th {
  padding: 13px 16px;
  background: var(--article-accent-dark);
  font-weight: 600;
  color: #fff;
}
.article-content table td {
  padding: 13px 16px;
  color: #333a31;
}
.article-content table tbody tr:nth-child(odd) {
  background-color: #fff;
}
.article-content table tbody tr:nth-child(even) {
  background-color: #f8f9f6;
}
.article-content table tbody tr {
  border-bottom: 1px solid var(--article-border);
}

.article-content .article-cta {
  margin: 42px 0 0;
  padding: 28px;
  border: 1px solid rgba(79, 100, 39, 0.22);
  border-radius: 8px;
  background: #f5f7f1;
}

.article-content .article-cta h2 {
  margin-top: 0;
}

.article-content .article-cta p:last-child {
  margin-bottom: 0;
}

.article-footer-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 40px 0;
  padding: 18px;
  border: 1px solid var(--article-border);
  border-radius: 8px;
  background: rgba(243, 245, 241, 0.92);
}

.article-footer-meta span,
.article-footer-meta strong {
  display: block;
}

.article-footer-meta span {
  margin-bottom: 5px;
  color: var(--article-muted);
  font-size: 13px;
  line-height: 18px;
}

.article-footer-meta strong {
  color: var(--article-ink);
  font-size: 15px;
  line-height: 21px;
}

.prev-next-posts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 760px;
  margin: 0 0 42px;
}

.prev-next-posts a {
  display: block;
  min-height: 100%;
  padding: 18px 20px;
  border: 1px solid var(--article-border);
  border-radius: 8px;
  background: #fff;
  color: var(--article-ink);
  font-weight: 700;
  text-align: left;
  box-shadow: none;
  transform: translateY(0);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
}

.prev-next-posts a span,
.prev-next-posts a strong {
  display: block;
}

.prev-next-posts a span {
  margin-bottom: 7px;
  color: var(--article-muted);
  font-size: 13px;
  line-height: 18px;
}

.prev-next-posts a strong {
  color: var(--article-ink);
  font-size: 16px;
  line-height: 23px;
}

.prev-next-posts div:last-child {
  text-align: right;
}

.prev-next-posts a:hover {
  border-color: rgba(79, 100, 39, 0.32);
  background: #f6f8f2;
  box-shadow: rgba(31, 38, 29, 0.1) 0 12px 28px;
  transform: translateY(-2px);
}

.prev-next-posts a:hover span,
.prev-next-posts a:hover strong {
  color: var(--article-accent-dark);
}

.article-comments {
  max-width: 760px;
  padding: 34px;
  border-radius: 8px;
  border: 1px solid var(--article-border);
  background: rgba(243, 245, 241, 0.94);
}

.article-comments__heading {
  margin-bottom: 20px;
}

.article-comments__heading h2 {
  margin: 0 0 8px;
  color: var(--article-ink);
  font-size: 30px;
  line-height: 38px;
}

.article-comments__heading p {
  margin: 0;
  color: var(--article-muted);
  font-size: 16px;
  line-height: 24px;
}
.article-comments textarea {
  width: 100%;
  min-height: 150px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--article-border);
  border-radius: 8px;
  background: #fff;
}
.article-comments input[type="submit"] {
  width: auto;
  margin-bottom: 0;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  outline: none;
  background: linear-gradient(to top, var(--article-accent-dark), var(--article-accent)) var(--article-accent);
  box-shadow: none;
  font-weight: 600;
  color: #fff;
  transform: translateY(0);
  transition: all 0.3s;
}
.article-comments input[type="submit"]:hover {
  background: linear-gradient(to top, #263313, var(--article-accent-dark)) var(--article-accent-dark);
  box-shadow: rgba(0, 0, 0, 0.08) 0 8px 18px;
  transform: translateY(-2px);
  cursor: pointer;
}

.article-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
}

.sidebar-widget {
  margin-bottom: 22px;
  padding: 0;
  border: 1px solid var(--article-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: rgba(28, 34, 25, 0.045) 0 10px 24px;
  overflow: hidden;
}
.sidebar-widget-title {
  padding: 18px 18px 0;
  background: #fff;
  color: var(--article-ink);
}
.sidebar-widget-title p {
  margin: 0;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--article-border);
  font-size: 19px;
  line-height: 24px;
  font-weight: 600;
}
.sidebar-widget-content {
  padding: 4px 18px 18px;
}

.sidebar-widget ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
.sidebar-widget ul li {
  margin-bottom: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--article-border);
  background: none;
}
.sidebar-widget ul li:last-child {
  border-bottom: none;
}
.sidebar-widget ul li a {
  color: var(--article-ink);
  font-weight: 600;
}
.sidebar-widget ul li.is-active a,
.sidebar-widget ul li a:hover {
  color: var(--article-accent);
}

.sidebar-widget ul li.is-active {
  margin-left: -8px;
  margin-right: -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 6px;
  background: rgba(79, 100, 39, 0.08);
}

.recent-posts-list li span {
  display: block;
  margin-top: 5px;
  color: #7a8275;
  font-size: 13px;
  line-height: 18px;
}

@media screen and (min-width: 1367px) {
  .single-article {
    max-width: 1366px;
    min-height: auto;
    margin: 0 auto;
  }
}

@media screen and (max-width: 960px) and (min-width: 769px) {
  .single-article {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
  .article-sidebar {
    position: static;
  }
}

@media screen and (max-width: 768px) {
  .single-article {
    grid-template-columns: 1fr;
    row-gap: 40px;
    padding: 40px 20px 56px;
  }
  .article-sidebar {
    position: static;
  }
  .article-content p,
  .article-content li,
  .article-content td {
    font-size: 17px;
    line-height: 29px;
  }
  .article-content h2 {
    font-size: 28px;
    line-height: 36px;
  }
  .article-content h3 {
    font-size: 23px;
    line-height: 31px;
  }
  .article-footer-meta,
  .prev-next-posts {
    grid-template-columns: 1fr;
  }
  .prev-next-posts div:last-child {
    text-align: left;
  }
  .article-comments {
    padding: 24px 18px;
  }
  .article-content table {
    display: block;
    border-collapse: collapse;
    overflow-x: auto;
    background-color: #fafafa;
  }
  .article-content table thead {
    display: block;
    background: var(--article-accent-dark);
  }
  .article-content table tbody {
    display: block;
  }
  .article-content table tr {
    display: block;
    padding: 10px 25px;
    border-bottom: 1px solid var(--article-border);
  }
  .article-content table tr:last-child {
    border-bottom: none;
  }
  .article-content table th {
    display: inline;
    padding: 0;
    border-radius: 0;
    background: none;
  }
  .article-content table th:after {
    content: " / ";
  }
  .article-content table th:last-child:after {
    content: ":";
  }
  .article-content table td {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    border-radius: 0;
  }
  .article-content table td:last-child {
    margin-bottom: 0;
  }
}

/* comments: */

#comments {
  margin-top: 40px;
}
#comments h2 {
  text-align: left;
}

ol.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
ol.comment-list li {
  list-style: none;
  margin: 0 auto 40px auto;
}
ol.comment-list li:last-child {
  margin-bottom: 0;
}
ol.comment-list li img {
  max-width: 75px;
  height: auto;
}
ol.comment-list li ol {
  padding-left: 0;
  margin-top: 40px;
}
ol.comment-list li ol li {
  padding: 40px;
  border-left: 1px solid #ccc;
}

.comment-author {
  text-align: left;
}
.comment-meta {
  text-align: left;
}

.comments-pagination {
  margin: 40px auto;
  text-align: center;
}

#respond {
  margin-top: 40px;
  text-align: left;
}

#commentform,
#commentform p {
  text-align: left;
}

/* 

page:

*/

/* fixed header safe offset for article heroes */

.cover-single-article {
  padding-top: var(--fixed-header-safe-offset);
}

.cover-articles > div:nth-child(1) {
  padding-top: max(210px, var(--fixed-header-safe-offset));
}

@media screen and (max-width: 960px) {
  .cover-articles > div:nth-child(1) {
    padding-top: max(128px, var(--fixed-header-safe-offset));
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media screen and (max-width: 768px) {
  .cover-single-article {
    padding-top: var(--fixed-header-safe-offset);
  }
}
