.communityBlogPage {
  box-sizing: border-box;
  padding: 30px 15px 56px;
  color: #513326;
}

.communityBlogPage *,
.communityBlogPage *::before,
.communityBlogPage *::after {
  box-sizing: inherit;
}

.communityBlogInner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.communityBlogHero {
  padding: 30px 34px 32px;
  text-align: center;
  background: #fffaf3;
  border: 1px solid #e8c39d;
  border-top: 5px solid #ff8a18;
}

.communityBlogHero > span,
.communityBlogForm > div:first-child > span {
  display: block;
  margin-bottom: 8px;
  color: #8e5c37;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.communityBlogHero h1,
.communityBlogTopics h2,
.communityBlogForm h2 {
  margin: 0;
  color: #513326;
  font-family: Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.communityBlogHero h1 {
  font-size: 32px;
  line-height: 1.18;
}

.communityBlogHero p {
  max-width: 760px;
  margin: 16px auto 0;
  color: #684d3e;
  font-size: 16px;
  line-height: 1.55;
}

.communityBlogHero > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.communityBlogHero a,
.communityBlogForm button {
  box-sizing: border-box;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  color: #fff;
  background: #6b4030;
  border: 1px solid #6b4030;
  border-radius: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.communityBlogHero a + a {
  color: #6b4030;
  background: transparent;
}

.communityBlogHero a:hover,
.communityBlogForm button:hover {
  color: #fff;
  background: #ff8a18;
  border-color: #ff8a18;
}

.communityBlogHero a + a:hover {
  color: #fff;
}

.communityBlogBranches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
}

.communityBlogBranches a {
  display: block;
  min-height: 136px;
  padding: 18px;
  color: #513326;
  background: #fff;
  border: 1px solid #e8c39d;
  border-top: 3px solid #d88a49;
  text-decoration: none;
}

.communityBlogBranches a:hover {
  border-color: #ff8a18;
  box-shadow: 0 4px 12px rgba(81, 51, 38, .12);
}

.communityBlogBranches strong,
.communityBlogBranches span {
  display: block;
}

.communityBlogBranches strong {
  margin-bottom: 10px;
  color: #6b4030;
  font-size: 18px;
  line-height: 1.2;
}

.communityBlogBranches span {
  color: #735d50;
  font-size: 14px;
  line-height: 1.45;
}

.communityBlogGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.communityBlogPanel {
  padding: 22px 24px 18px;
  background: #fffaf3;
  border: 1px solid #e7c39d;
}

.communityBlogPanel h2 {
  margin: 0 0 14px;
  padding-bottom: 12px;
  color: #6b4030;
  border-bottom: 1px solid #ead2bc;
  font-size: 23px;
  line-height: 1.2;
}

.communityBlogPanel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.communityBlogPanel li {
  position: relative;
  padding: 9px 0 9px 18px;
  color: #684d3e;
  border-bottom: 1px solid #f0dfce;
  font-size: 15px;
  line-height: 1.45;
}

.communityBlogPanel li:last-child {
  border-bottom: 0;
}

.communityBlogPanel li::before {
  position: absolute;
  top: 16px;
  left: 0;
  width: 7px;
  height: 7px;
  content: '';
  background: #ff8a18;
}

.communityBlogPanel a {
  color: #8b3e1f;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #e7b484;
  text-underline-offset: 3px;
}

.communityBlogPanel a:hover {
  color: #ff6f00;
}

/* links in the article text: copper and underlined, so they are seen as links before hover */
.communityBlogArticleSingle [temprop="articleBody"] a,
.communityBlogArticleSingle [temprop="articleBody"] a:visited {
  color: #B4520A;
  text-decoration: underline;
  text-decoration-color: rgba(180, 82, 10, .45);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.communityBlogArticleSingle [temprop="articleBody"] a:hover,
.communityBlogArticleSingle [temprop="articleBody"] a:focus {
  color: #7A3510;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}

.communityBlogTopics {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 2px solid #d88a49;
}

.communityBlogTopics h2 {
  margin-bottom: 18px;
  font-size: 25px;
  line-height: 1.2;
}

.communityBlogTopics > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.communityBlogTopics article {
  padding: 18px;
  background: #fff;
  border: 1px solid #e8c39d;
}

.communityBlogTopics article > span {
  display: block;
  margin-bottom: 8px;
  color: #9b5f2c;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.communityBlogTopics h3 {
  margin: 0;
  color: #583629;
  font-size: 18px;
  line-height: 1.35;
}

.communityBlogTopics p {
  margin: 10px 0 0;
  color: #735d50;
  font-size: 14px;
  line-height: 1.5;
}

.communityBlogForm {
  margin-top: 34px;
  padding: 28px;
  background: #fffaf3;
  border: 1px solid #e8c39d;
  border-left: 5px solid #ff8a18;
}

.communityBlogForm h2 {
  font-size: 25px;
  line-height: 1.2;
}

.communityBlogForm p {
  max-width: 720px;
  margin: 10px 0 0;
  color: #735d50;
  font-size: 15px;
  line-height: 1.5;
}

.communityBlogFormGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.communityBlogForm label {
  display: block;
  min-width: 0;
}

.communityBlogForm label > span {
  display: block;
  margin-bottom: 7px;
  color: #5e4336;
  font-size: 14px;
  font-weight: 700;
}

.communityBlogForm input:not(.communityBlogTrap),
.communityBlogForm select,
.communityBlogForm textarea {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  color: #513326;
  background: #fff;
  border: 1px solid #cfa77f;
  border-radius: 0;
  box-shadow: none;
  font: inherit;
  font-size: 16px;
}

.communityBlogForm textarea {
  min-height: 138px;
  resize: vertical;
}

.communityBlogForm input:focus,
.communityBlogForm select:focus,
.communityBlogForm textarea:focus {
  border-color: #ff8a18;
  outline: 2px solid rgba(255, 138, 24, .22);
  outline-offset: 0;
}

.communityBlogMessage {
  margin-top: 16px;
}

.communityBlogForm button {
  margin-top: 18px;
}

.communityBlogForm button:disabled {
  cursor: wait;
  opacity: .65;
}

.communityBlogFormStatus {
  min-height: 20px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.45;
}

.communityBlogFormStatus.isSuccess {
  color: #236535;
}

.communityBlogFormStatus.isError {
  color: #a62e23;
}

.communityBlogDirectory {
  margin: 30px 0;
}

.communityBlogDirectory h2,
.communityBlogArticles h2 {
  margin: 0 0 16px;
  color: #543325;
  font-size: 27px;
  line-height: 1.2;
}

.communityBlogBreadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
  color: #8b6b58;
  font-size: 14px;
}

.communityBlogBreadcrumbs a {
  color: #8b491f;
}

.communityBlogBreadcrumbs a::after {
  margin-left: 7px;
  color: #c9a383;
  content: '/';
}

.communityBlogBreadcrumbs span {
  color: #5b3525;
}

.communityBlogCategoryIntro {
  margin-bottom: 24px;
  padding: 22px 24px;
  background: #fffdf9;
  border: 1px solid #e2cbb8;
}

.communityBlogCategoryIntro h1 {
  margin: 0;
  color: #543325;
  font-size: 29px;
  line-height: 1.2;
}

.communityBlogCategoryIntro > div {
  margin-top: 11px;
  color: #735d50;
  line-height: 1.5;
}

.communityBlogCategoryIntro > div p {
  margin: 0;
}

.communityBlogCategoryHeroImage {
  box-sizing: border-box;
  max-width: 680px;
  margin: 18px auto 0;
  padding: 10px;
  background: #f6eadc;
  border: 1px solid #ead4c0;
}

.communityBlogCategoryHeroImage img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 260px;
  margin: 0 auto;
}

.communityBlogLayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  align-items: start;
}

.communityBlogMain {
  min-width: 0;
}

.communityBlogSidebar {
  position: sticky;
  top: 88px;
}

.communityBlogSidebarBox {
  margin-bottom: 16px;
  padding: 18px;
  background: #fffdf9;
  border: 1px solid #e2cbb8;
  box-shadow: 0 2px 8px rgba(83, 51, 37, .08);
}

.communityBlogSidebarBox h2 {
  margin: 0 0 12px;
  color: #543325;
  font-size: 19px;
  line-height: 1.25;
}

.communityBlogSidebarList {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #ead4c0;
  border-bottom: 0;
}

.communityBlogSidebarList li {
  border-bottom: 1px solid #ead4c0;
}

.communityBlogSidebarList a {
  display: block;
  padding: 12px 14px;
  color: #b94f12;
  background: #fffaf3;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.communityBlogSidebarList a:hover,
.communityBlogSidebarList .isActive a {
  color: #fff;
  background: #6b4030;
}

.communityBlogSidebarList--articles a {
  color: #6b4030;
  background: #fff;
}

.communityBlogCategoryPage .communityBlogArticleContent h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
}

.communityBlogPagination {
  margin-top: 20px;
}

.communityBlogCategoryGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.communityBlogCategoryCard,
.communityBlogArticleCard {
  min-width: 0;
  background: #fffdf9;
  border: 1px solid #e2cbb8;
  box-shadow: 0 2px 8px rgba(83, 51, 37, .08);
}

.communityBlogCategoryCard {
  display: grid;
  grid-template-columns: minmax(150px, 42%) minmax(0, 1fr);
}

.communityBlogCategoryCard--noImage {
  grid-template-columns: 1fr;
}

.communityBlogCategoryCard > .communityBlogCategoryContent:only-child {
  grid-column: 1 / -1;
}

.communityBlogCategoryImage,
.communityBlogArticleImage {
  display: block;
  overflow: hidden;
  background: #f6eadc;
}

.communityBlogCategoryImage {
  box-sizing: border-box;
  padding: 10px;
}

.communityBlogCategoryImage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.communityBlogArticleImage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.communityBlogCategoryImage {
  min-height: 186px;
}

.communityBlogCategoryContent,
.communityBlogArticleContent {
  min-width: 0;
  padding: 18px;
}

.communityBlogCategoryContent h3,
.communityBlogArticleContent h3,
.communityBlogArticleContent h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
}

.communityBlogCategoryContent h3 a,
.communityBlogArticleContent h3 a,
.communityBlogArticleContent h2 a {
  color: #5b3525;
  text-decoration: none;
}

.communityBlogCategoryContent h3 a:hover,
.communityBlogArticleContent h3 a:hover,
.communityBlogArticleContent h2 a:hover {
  color: #e56f16;
  text-decoration: underline;
}

.communityBlogCategoryContent p,
.communityBlogArticleContent p {
  margin: 10px 0 0;
  color: #735d50;
  font-size: 14px;
  line-height: 1.45;
}

.communityBlogCategoryContent > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-top: 16px;
  font-size: 13px;
}

.communityBlogCategoryContent > div span {
  color: #8b6b58;
}

.communityBlogCategoryContent > div a {
  color: #bd5715;
  font-weight: 700;
}

.communityBlogArticles > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.communityBlogArticleCard {
  display: flex;
  flex-direction: column;
}

.communityBlogCategoryPage .communityBlogArticles > div {
  grid-template-columns: 1fr;
}

.communityBlogCategoryPage .communityBlogArticleCard {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  padding: 0;
}

.communityBlogCategoryPage .communityBlogArticleImage {
  min-height: 168px;
  aspect-ratio: auto;
  box-sizing: border-box;
  padding: 8px;
}

.communityBlogCategoryPage .communityBlogArticleImage img {
  object-fit: contain;
}

.communityBlogCategoryPage .communityBlogArticleCard--noImage {
  display: block;
  max-width: 520px;
}

.communityBlogCategoryPage .communityBlogArticleCard--noImage .communityBlogArticleContent {
  padding: 22px 24px;
}

.communityBlogArticleImage {
  aspect-ratio: 16 / 9;
}

.communityBlogArticleContent {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.communityBlogArticleContent > span,
.communityBlogArticleContent time {
  color: #a36d45;
  font-size: 13px;
}

.communityBlogArticleContent h3 {
  margin-top: 8px;
}

.communityBlogArticleContent time {
  display: block;
  margin-top: auto;
  padding-top: 14px;
}

.communityBlogEmpty {
  padding: 20px;
  color: #735d50;
  background: #fffdf9;
  border: 1px dashed #d9b99d;
  line-height: 1.5;
}

.communityBlogTrap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.communityBlogArticleSingle {
  padding: 24px;
  background: #fffdf9;
  border: 1px solid #e2cbb8;
  box-shadow: 0 2px 8px rgba(83, 51, 37, .08);
}

.communityBlogArticleSingle h1 {
  margin: 0 0 18px;
  color: #543325;
  font-size: 30px;
  line-height: 1.25;
}

.communityBlogArticleSingle p,
.communityBlogArticleSingle li {
  color: #4f3429;
  font-size: 16px;
  line-height: 1.6;
}

.communityBlogArticleSingle img {
  max-width: 100%;
  height: auto;
}

.communityBlogArticleSingle .thumbnails {
  display: block;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.communityBlogArticleSingle .thumbnails li {
  margin: 0 0 12px;
  padding: 0;
}

.communityBlogArticleSingle .thumbnails img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .communityBlogLayout {
    grid-template-columns: 1fr;
  }

  .communityBlogSidebar {
    position: static;
  }

  .communityBlogBranches,
  .communityBlogTopics > div,
  .communityBlogArticles > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .communityBlogPage {
    padding: 18px 10px 38px;
  }

  .communityBlogHero,
  .communityBlogPanel,
  .communityBlogForm {
    padding: 20px 16px;
  }

  .communityBlogHero h1 {
    font-size: 27px;
  }

  .communityBlogHero > div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .communityBlogHero a {
    width: 100%;
  }

  .communityBlogBranches,
  .communityBlogGrid,
  .communityBlogTopics > div,
  .communityBlogArticles > div,
  .communityBlogCategoryGrid,
  .communityBlogFormGrid {
    grid-template-columns: 1fr;
  }

  .communityBlogCategoryCard {
    grid-template-columns: 1fr;
  }

  .communityBlogCategoryPage .communityBlogArticleCard {
    grid-template-columns: 1fr;
  }

  .communityBlogCategoryImage {
    min-height: 0;
    aspect-ratio: 16 / 8;
  }

  .communityBlogCategoryHeroImage {
    max-width: none;
  }

  .communityBlogCategoryPage .communityBlogArticleImage {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .communityBlogBranches a {
    min-height: 0;
  }

  .communityBlogTopics h2,
  .communityBlogForm h2,
  .communityBlogDirectory h2,
  .communityBlogArticles h2,
  .communityBlogCategoryIntro h1 {
    font-size: 23px;
  }

  .communityBlogCategoryIntro {
    padding: 18px 16px;
  }
}
