.article-template > *:first-child:not(.article-template__hero-container) {
  margin-top: 5rem;
}

@media screen and (min-width: 750px) {
  .article-template > *:first-child:not(.article-template__hero-container) {
    margin-top: calc(5rem + var(--page-width-margin));
  }
}

.article-template__hero-container {
  max-width: 130rem;
  margin: 0 auto;
}

.article-template__hero-small {
  height: 11rem;
}

.article-template__hero-medium {
  height: 22rem;
}

.article-template__hero-large {
  height: 33rem;
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .article-template__hero-small {
    height: 22rem;
  }

  .article-template__hero-medium {
    height: 44rem;
  }

  .article-template__hero-large {
    height: 66rem;
  }
}

@media screen and (min-width: 990px) {
  .article-template__hero-small {
    height: 27.5rem;
  }

  .article-template__hero-medium {
    height: 55rem;
  }

  .article-template__hero-large {
    height: 82.5rem;
  }
}

.article-template header {
  margin-top: 4.4rem;
  margin-bottom: 2rem;
  line-height: calc(0.8 / var(--font-body-scale));
}

@media screen and (min-width: 750px) {
  .article-template header {
    margin-top: 5rem;
  }
}

.article-template__title {
  margin: 0;
}

.article-template__title:not(:only-child) {
  margin-bottom: 1rem;
}

.article-template__link {
  font-size: 1.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.article-template__link .icon-wrap {
  display: flex;
  margin-right: 1rem;
  transform: rotate(180deg);
}

.article-template__content {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.article-template__social-sharing {
  margin-top: 3rem;
}

.article-template__social-sharing + header,
.article-template__social-sharing + .article-template__content {
  margin-top: 1.5rem;
}

.article-template__comment-wrapper {
  margin-top: 5rem;
  padding: 2.7rem 0;
}

@media screen and (min-width: 750px) {
  .article-template__comment-wrapper {
    margin-top: 6rem;
    padding: 3.6rem 0;
  }
}

.article-template__comment-wrapper h2 {
  margin-top: 0;
}

.article-template__comments {
  margin-bottom: 5rem;
}

@media screen and (min-width: 750px) {
  .article-template__comments {
    margin-bottom: 7rem;
  }
}

.article-template__comments-fields {
  margin-bottom: 4rem;
}

.article-template__comments-comment {
  color: rgba(var(--color-foreground), 0.75);
  background-color: rgb(var(--color-background));
  margin-bottom: 1.5rem;
  padding: 2rem 2rem 1.5rem;
}

@media screen and (min-width: 750px) {
  .article-template__comments-comment {
    padding: 2rem 2.5rem;
  }
}

.article-template__comments-comment p {
  margin: 0 0 1rem;
}

.article-template__comment-fields > * {
  margin-bottom: 3rem;
}

@media screen and (min-width: 750px) {
  .article-template__comment-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 4rem;
  }
}

.article-template__comment-warning {
  margin: 2rem 0 2.5rem;
}

@media screen and (min-width: 990px) {
  .article-template__comments .pagination-wrapper {
    margin: 5rem 0 8rem;
  }
}

.article-template__back:last-child {
  margin-bottom: 3.2rem;
}


/* ==== STAGHIDE LEATHER GUIDE LOOK FOR GRANDRANKER ARTICLES ====
Applies only to articles containing GrandRanker Quick Summary or FAQ block,
so hand-built Leather Guide posts are untouched. Delete this whole block to revert. */

.article-template:is(:has(.article-answer), :has(#frequently-asked-questions)) header::before { content: "Leather Craftsmanship Guides"; display: block; margin: 0 0 20px; padding-left: 44px; background: linear-gradient(#A97142, #A97142) no-repeat left center / 32px 1px; font: 700 11px/1.2 Arial, sans-serif; letter-spacing: 3px; text-transform: uppercase; color: #A97142; }

.article-template__content:is(:has(.article-answer), :has(#frequently-asked-questions)) { background: #1E1E1E; color: #C4B5A0; font-family: Georgia, 'Times New Roman', serif; line-height: 1.8; padding: 40px 24px 48px; border-top: 1px solid #3A2A1A; 
& p, & li { color: #C4B5A0; line-height: 1.8; }
& h2 { color: #F0E6D3; margin: 48px 0 16px; line-height: 1.3; }
& h3 { color: #A97142; font-family: Arial, sans-serif; letter-spacing: 0.5px; margin: 32px 0 12px; }
& strong { color: #F0E6D3; }
& hr { border: 0; border-top: 1px solid #3A2A1A; margin: 48px 0; }
& .article-answer { background: #261810 !important; border: 0 !important; border-left: 3px solid #A97142 !important; border-radius: 0 !important; color: #C4B5A0 !important; font-family: Arial, sans-serif; font-size: 14px; line-height: 1.6; padding: 18px 22px !important; margin: 28px 0 !important; }
& .article-answer p, & .article-answer li { color: #C4B5A0 !important; }
& .article-answer strong { color: #A97142 !important; }
& table { width: 100% !important; border-collapse: collapse !important; margin: 32px 0 !important; font-family: Arial, sans-serif; font-size: 14px !important; }
& th { background: #261810 !important; color: #A97142 !important; letter-spacing: 1px; text-transform: uppercase; padding: 12px 16px !important; text-align: left; border: 0 !important; border-bottom: 2px solid #924B32 !important; }
& th p, & th strong { color: #A97142 !important; margin: 0; }
& td { padding: 12px 16px !important; border: 0 !important; border-bottom: 1px solid #2E2018 !important; color: #C4B5A0 !important; vertical-align: top; line-height: 1.5; }
& td p { margin: 0; color: #C4B5A0 !important; }
& tr:last-child td { border-bottom: 0 !important; }
& img { border-radius: 0 !important; box-shadow: none !important; }
& figcaption { font-family: Arial, sans-serif; color: #8A7A6A !important; letter-spacing: 0.5px; opacity: 1 !important; }
& section[itemtype*="FAQPage"] [itemprop="mainEntity"] { border-bottom: 1px solid #3A2A1A !important; }
& section[itemtype*="FAQPage"] h3 { color: #F0E6D3; font-family: inherit; }
& .cta-button { background: #924B32 !important; color: #F0E6D3 !important; border-radius: 0 !important; font: 700 13px Arial, sans-serif !important; letter-spacing: 1.5px; text-transform: uppercase; padding: 13px 28px !important; text-decoration: none !important; }
& div[style*="border:1px solid #d6d3d1"] { background: #261810; border: 1px solid #3A2A1A !important; border-radius: 0 !important; color: #C4B5A0; }
}

@media (max-width: 600px) {
.article-template__content:is(:has(.article-answer), :has(#frequently-asked-questions)) { padding: 28px 16px 36px; 
& th, & td { padding: 10px 8px !important; font-size: 13px !important; }
}
}
