/* Blog archive and post polish scoped to the reference-style pages. */
body.blog,
body.archive,
body.single-post {
  background: #1a1a1a;
}

body.blog .site-main,
body.archive .site-main,
body.single-post .site-main {
  background: #f8f4f0;
}

body.blog .site-header,
body.archive .site-header,
body.single-post .site-header {
  background: #454342;
}

body.blog .header-main,
body.archive .header-main,
body.single-post .header-main {
  max-width: 1280px;
  min-height: 128px;
  background: #454342;
}

body.blog .brand-text,
body.archive .brand-text,
body.single-post .brand-text,
body.blog .primary-nav a,
body.archive .primary-nav a,
body.single-post .primary-nav a {
  color: #fff;
}

body.blog .header-search,
body.archive .header-search,
body.single-post .header-search {
  border: 0;
  background-color: transparent;
}

body.blog .header-donate,
body.archive .header-donate,
body.single-post .header-donate {
  border-radius: 5px;
  background: #efb43f;
}

body.blog .page-hero-light,
body.archive .page-hero-light {
  min-height: 294px;
  padding: 72px 0 112px;
  background: #e1dad5;
  color: #050505;
}

body.blog .page-hero-light .breadcrumbs,
body.archive .page-hero-light .breadcrumbs {
  margin-bottom: 24px;
  color: #650f29;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
}

body.blog .page-hero-light h1,
body.archive .page-hero-light h1 {
  color: #050505;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
}

body.blog .blog-archive-section,
body.archive .blog-archive-section {
  padding-top: 70px;
  background: #f8f4f0;
}

body.blog .blog-layout,
body.archive .blog-layout {
  grid-template-columns: minmax(0, 800px) 320px;
  gap: 60px;
}

body.blog .blog-list,
body.archive .blog-list {
  gap: 40px;
}

body.blog .blog-list-item,
body.archive .blog-list-item {
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

body.blog .blog-list-item__image img,
body.archive .blog-list-item__image img {
  border-radius: 4px;
}

body.blog .blog-list-item__content h3,
body.archive .blog-list-item__content h3 {
  color: #050505;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

body.blog .blog-list-item__content p,
body.archive .blog-list-item__content p {
  color: #5f474f;
  font-size: 16px;
  line-height: 1.5;
}

body.blog .post-meta,
body.archive .post-meta {
  gap: 22px;
  color: #650f29;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
}

body.blog .sidebar-box,
body.archive .sidebar-box {
  border-color: #d7ccc5;
  border-radius: 4px;
  background: transparent;
  padding: 34px 30px;
}

body.blog .sidebar-box h2,
body.archive .sidebar-box h2 {
  color: #050505;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 400;
}

body.blog .featured-post,
body.archive .featured-post {
  gap: 16px;
}

body.blog .featured-post strong,
body.archive .featured-post strong {
  color: #050505;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}

body.blog .featured-post small,
body.archive .featured-post small {
  color: #650f29;
}

body.blog .featured-post img,
body.archive .featured-post img {
  border-radius: 50%;
}

body.single-post .single-post-main {
  padding: 0;
  background: #f8f4f0;
}

body.single-post .single-post--reference {
  background: #f8f4f0;
  color: #493942;
}

body.single-post .single-post--reference .single-entry {
  width: min(1260px, calc(100% - 20px));
  margin: 0 auto;
  padding: 14px 0 90px;
}

body.single-post .single-reference-header {
  margin: 0 0 32px;
  text-align: center;
}

body.single-post .single-reference-title {
  margin: 0;
  color: #050505;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0;
}

body.single-post .single-reference-media {
  margin: 0 auto 26px;
  padding: 0;
}

body.single-post .single-reference-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.single-post .single-reference-media--single {
  width: min(720px, 100%);
}

body.single-post .single-reference-media--single img {
  aspect-ratio: 16 / 9;
}

body.single-post .single-reference-media--gallery {
  display: grid;
  grid-template-columns: 1fr 1fr .65fr .65fr;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

body.single-post .single-reference-media--gallery img {
  min-width: 0;
}

body.single-post .single-reference-media--gallery.safe-haven-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.single-post .single-reference-media--gallery.safe-haven-gallery img {
  object-position: center top;
}

body.single-post .single-body {
  max-width: none;
  margin: 0 auto;
  color: #5f474f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body.single-post .single-body p {
  margin: 0 0 22px;
  color: inherit;
}

body.single-post .single-body p:first-child {
  margin-top: 0;
}

body.single-post .single-heart {
  color: #e72f45;
}

body.single-post .single-body--wp {
  max-width: 940px;
}

body.single-post .single-body--wp img {
  height: auto;
}

body.single-post .single-post-main--safe-haven .single-post--reference .single-entry {
  padding-top: 0;
}

body.single-post .single-post-main--safe-haven .single-reference-header {
  min-height: 388px;
  margin-bottom: 0;
  text-align: left;
}

body.single-post .single-post-main--safe-haven .single-reference-title {
  position: relative;
  z-index: 60;
  width: min(1040px, 100%);
  max-width: none;
  margin: 0;
  color: #111;
  font-size: 35px;
  line-height: 1.18;
  white-space: nowrap;
}

body.single-post .single-post-main--safe-haven .single-body {
  max-width: none;
  padding: 0;
  font-size: 16px;
  line-height: 1.45;
}

body.single-post .single-post-main--safe-haven .single-body p {
  margin-bottom: 22px;
}

@media (min-width: 901px) {
  body.single-post .site-header {
    padding-top: 10px;
  }

  body.single-post .header-main {
    width: min(1260px, calc(100% - 20px));
    min-height: 110px;
    background: #111;
  }

  body.single-post .single-post--reference .single-entry {
    width: min(1260px, calc(100% - 20px));
    padding-top: 30px;
  }

  body.single-post .single-body {
    width: 100%;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  body.blog .header-main,
  body.archive .header-main,
  body.single-post .header-main {
    min-height: 120px;
    grid-template-columns: auto 1fr auto auto;
    gap: 18px;
    padding: 0 20px;
    background: #111;
  }

  body.blog .site-brand,
  body.archive .site-brand,
  body.single-post .site-brand {
    display: grid;
    justify-items: center;
    gap: 4px;
  }

  body.blog .site-brand img,
  body.archive .site-brand img,
  body.single-post .site-brand img,
  body.blog .custom-logo-link img,
  body.archive .custom-logo-link img,
  body.single-post .custom-logo-link img {
    width: 64px;
    max-width: 64px;
    max-height: 64px;
  }

  body.blog .header-search,
  body.archive .header-search,
  body.single-post .header-search {
    display: inline-flex;
  }

  body.blog .header-donate,
  body.archive .header-donate,
  body.single-post .header-donate {
    display: inline-flex !important;
    width: auto;
    min-width: 96px;
  }

  body.blog .menu-toggle,
  body.archive .menu-toggle,
  body.single-post .menu-toggle {
    width: 70px !important;
    height: 52px !important;
  }

  body.single-post .single-post--reference .single-entry {
    width: min(100% - 40px, 728px);
    padding: 30px 0 72px;
  }

  body.single-post .single-reference-title {
    font-size: 30px;
  }

  body.single-post .single-reference-media--single {
    width: 100%;
  }

  body.single-post .single-reference-media--gallery {
    height: 398px;
  }

  body.single-post .single-post-main--safe-haven .single-reference-header {
    min-height: 360px;
  }

  body.single-post .single-post-main--safe-haven .single-reference-title {
    margin-top: 0;
    font-size: 31px;
  }
}

@media (max-width: 900px) {
  body.blog .blog-layout,
  body.archive .blog-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  body.blog .blog-list-item,
  body.archive .blog-list-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body.blog .blog-list-item__image img,
  body.archive .blog-list-item__image img {
    aspect-ratio: 1.45 / 1;
  }

  body.blog .blog-sidebar,
  body.archive .blog-sidebar {
    max-width: 420px;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  body.blog .blog-layout,
  body.archive .blog-layout {
    grid-template-columns: minmax(0, 450px) 240px;
    gap: 34px;
    align-items: start;
  }

  body.blog .blog-list-item,
  body.archive .blog-list-item {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
  }

  body.blog .blog-list-item__image img,
  body.archive .blog-list-item__image img {
    aspect-ratio: 1 / 1;
  }

  body.blog .blog-list-item__content h3,
  body.archive .blog-list-item__content h3 {
    font-size: 24px;
  }

  body.blog .sidebar-box,
  body.archive .sidebar-box {
    padding: 26px 20px;
  }

  body.blog .featured-post,
  body.archive .featured-post {
    grid-template-columns: minmax(0, 1fr) 52px;
    gap: 12px;
  }

  body.blog .featured-post img,
  body.archive .featured-post img {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 640px) {
  body.blog .site-header,
  body.archive .site-header,
  body.single-post .site-header {
    position: relative;
    background: #454342;
  }

  body.blog .header-main,
  body.archive .header-main,
  body.single-post .header-main {
    width: 100%;
    min-height: 118px;
    grid-template-columns: minmax(0, 1fr) 52px;
    align-items: center;
    padding: 8px 20px 10px;
    background: #454342;
  }

  body.blog .site-brand,
  body.archive .site-brand,
  body.single-post .site-brand {
    display: grid;
    justify-items: start;
    gap: 4px;
  }

  body.blog .site-brand img,
  body.archive .site-brand img,
  body.single-post .site-brand img,
  body.blog .custom-logo-link img,
  body.archive .custom-logo-link img,
  body.single-post .custom-logo-link img {
    width: 64px;
    max-width: 64px;
    max-height: 64px;
  }

  body.blog .brand-text,
  body.archive .brand-text,
  body.single-post .brand-text {
    max-width: none;
    color: #fff;
    font-size: 13px;
    letter-spacing: .08em;
  }

  body.blog .header-search,
  body.archive .header-search,
  body.single-post .header-search,
  body.blog .header-donate,
  body.archive .header-donate,
  body.single-post .header-donate,
  body.blog .header-donate-mobile,
  body.archive .header-donate-mobile,
  body.single-post .header-donate-mobile {
    display: none !important;
  }

  body.blog .menu-toggle,
  body.archive .menu-toggle,
  body.single-post .menu-toggle {
    display: inline-grid;
    width: 52px !important;
    height: 52px !important;
    border-radius: 5px;
    background: #efb43f;
  }

  body.blog .page-hero-light,
  body.archive .page-hero-light {
    min-height: 238px;
    padding: 54px 0 86px;
  }

  body.blog .page-hero-light h1,
  body.archive .page-hero-light h1 {
    font-size: 34px;
  }

  body.blog .blog-archive-section,
  body.archive .blog-archive-section {
    padding-top: 46px;
  }

  body.blog .blog-list,
  body.archive .blog-list {
    gap: 34px;
  }

  body.blog .blog-list-item__content h3,
  body.archive .blog-list-item__content h3 {
    font-size: 26px;
  }

  body.blog .post-meta,
  body.archive .post-meta {
    gap: 10px 18px;
  }

  body.single-post .single-post--reference .single-entry {
    width: 100%;
    padding: 28px 10px 78px;
  }

  body.single-post .single-reference-header {
    margin-bottom: 32px;
    padding: 0 22px;
  }

  body.single-post .single-reference-title {
    font-size: 24px;
    line-height: 1.2;
  }

  body.single-post .single-reference-media {
    margin-bottom: 30px;
  }

  body.single-post .single-reference-media--single {
    width: min(330px, 100%);
  }

  body.single-post .single-reference-media--gallery {
    width: 100%;
    height: 400px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.single-post .single-reference-media--gallery img {
    object-position: center top;
  }

  body.single-post .single-reference-media--gallery.safe-haven-gallery {
    width: 100%;
  }

  body.single-post .single-reference-media--gallery.safe-haven-gallery img {
    object-position: 43% top;
  }

  body.single-post .single-body {
    padding: 0 10px;
    font-size: 16px;
    line-height: 1.45;
  }

  body.single-post .single-post-main--safe-haven .single-post--reference .single-entry {
    padding-top: 0;
  }

  body.single-post .single-post-main--safe-haven .single-reference-header {
    min-height: 402px;
    margin-bottom: 0;
    padding: 0;
  }

  body.single-post .single-post-main--safe-haven .single-reference-title {
    width: 760px;
    max-width: none;
    margin: 0 0 0 -10px;
    font-size: 26px;
    line-height: 1.18;
    white-space: normal;
  }

  body.single-post .single-post-main--safe-haven .single-body {
    padding: 0;
  }
}

/* Codex pass 0.1.17j: donation-story posts share one clean media-library template. */
body.single-post .single-post-main--story {
  background: #f8f4f0;
}

body.single-post .single-post-main--story .single-post--story .single-entry {
  width: min(920px, calc(100% - 40px));
  padding: 70px 0 96px;
}

body.single-post .single-post-main--story .single-reference-header {
  margin-bottom: 34px;
  text-align: center;
}

body.single-post .single-post-main--story .single-reference-title {
  max-width: 820px;
  margin: 0 auto;
  color: #050505;
  font-family: var(--sh-body-font, Arial, Helvetica, sans-serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.16;
}

body.single-post .single-reference-media--story {
  width: min(760px, 100%);
  margin: 0 auto 36px;
  overflow: hidden;
  background: transparent;
}

body.single-post .single-reference-media--story img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

body.single-post .single-body--story {
  width: min(720px, 100%);
  max-width: 720px;
  margin: 0 auto;
  color: #5f474f;
  font-family: var(--sh-body-font, Arial, Helvetica, sans-serif);
  font-size: 17px;
  line-height: 1.72;
}

body.single-post .single-body--story p {
  margin: 0 0 18px;
}

body.single-post .single-body--story :where(figure, .wp-block-image, .wp-caption) {
  max-width: 100%;
  margin: 30px auto;
  text-align: center;
}

body.single-post .single-body--story :where(figure, .wp-block-image, .wp-caption):empty {
  display: none;
}

body.single-post .single-body--story img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-right: auto;
  margin-left: auto;
}

body.single-post .single-body--story figcaption,
body.single-post .single-body--story .wp-caption-text {
  margin-top: 10px;
  color: #7a6670;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

@media (min-width: 641px) and (max-width: 900px) {
  body.single-post .single-post-main--story .single-post--story .single-entry {
    width: min(728px, calc(100% - 40px));
    padding: 58px 0 84px;
  }

  body.single-post .single-post-main--story .single-reference-title {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  body.single-post .single-post-main--story .single-post--story .single-entry {
    width: min(100% - 32px, 430px);
    padding: 46px 0 72px;
  }

  body.single-post .single-post-main--story .single-reference-header {
    margin-bottom: 24px;
    padding: 0;
  }

  body.single-post .single-post-main--story .single-reference-title {
    font-size: 28px;
  }

  body.single-post .single-reference-media--story {
    margin-bottom: 28px;
  }

  body.single-post .single-body--story {
    font-size: 15px;
    line-height: 1.64;
  }
}

/* Donation story template parity: reference pages use one pale content canvas,
   full-width headings, either a centered 720x405 image or a four-column gallery,
   then the on-page GiveWP form before the global footer. */
body.single-post .single-post-main--story {
  background: #faf6f2 !important;
}

body.single-post .single-post-main--story .single-post--story .single-entry {
  width: min(1240px, calc(100% - 40px)) !important;
  max-width: 1240px !important;
  margin-inline: auto !important;
  padding: 32px 0 20px !important;
}

body.single-post .single-post-main--story-gallery .single-post--story .single-entry {
  width: min(1260px, calc(100% - 20px)) !important;
  max-width: 1260px !important;
}

body.single-post .single-post-main--story .single-reference-header {
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
  text-align: center !important;
}

body.single-post .single-post-main--story .single-reference-title,
body.single-post .single-post-main--safe-haven .single-reference-title {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  color: #050505 !important;
  font-family: var(--sh-body-font, Arial, Helvetica, sans-serif) !important;
  font-size: 42px !important;
  font-weight: 400 !important;
  line-height: 1.16 !important;
  text-align: center !important;
  white-space: normal !important;
}

body.single-post .single-reference-media--story {
  margin: 0 auto 28px !important;
  overflow: hidden !important;
  background: transparent !important;
}

body.single-post .single-reference-media--story.single-reference-media--single {
  width: 720px !important;
  max-width: 100% !important;
}

body.single-post .single-reference-media--story.single-reference-media--single img {
  width: 720px !important;
  max-width: 100% !important;
  height: 405px !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
}

body.single-post .single-reference-media--story.single-reference-media--gallery {
  display: grid !important;
  width: 1260px !important;
  max-width: 100% !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
}

body.single-post .single-reference-media--story.single-reference-media--gallery img {
  width: 100% !important;
  height: 400px !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center top !important;
}

body.single-post .single-post-main--story .single-body--story {
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto 30px !important;
  color: #5f5556 !important;
  font-family: var(--sh-body-font, Arial, Helvetica, sans-serif) !important;
  font-size: 16px !important;
  line-height: 1.72 !important;
}

body.single-post .single-post-main--story-gallery .single-body--story {
  max-width: 1260px !important;
}

body.single-post .single-story-donation {
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
}

body.single-post .single-post-main--story-gallery .single-story-donation {
  max-width: 1260px !important;
}

body.single-post .single-story-donation .donation-form-slot--givewp-embed,
body.single-post .single-story-donation .root-data-givewp-embed {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  min-height: 640px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.single-post .single-story-donation .donation-form-slot--givewp-embed iframe {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  height: 640px !important;
  min-height: 640px !important;
  border: 0 !important;
  background: transparent !important;
}

body.single-post .single-story-donation .donation-form-placeholder {
  min-height: 180px;
}

@media (min-width: 641px) and (max-width: 900px) {
  body.single-post .single-post-main--story .single-post--story .single-entry,
  body.single-post .single-post-main--story-gallery .single-post--story .single-entry {
    width: min(728px, calc(100% - 40px)) !important;
    padding: 58px 0 28px !important;
  }

  body.single-post .single-post-main--story .single-reference-title,
  body.single-post .single-post-main--safe-haven .single-reference-title {
    font-size: 34px !important;
  }

  body.single-post .single-reference-media--story.single-reference-media--gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  body.single-post .single-reference-media--story.single-reference-media--gallery img {
    height: 360px !important;
  }

  body.single-post .single-story-donation .donation-form-slot--givewp-embed,
  body.single-post .single-story-donation .root-data-givewp-embed,
  body.single-post .single-story-donation .donation-form-slot--givewp-embed iframe {
    min-height: 760px !important;
    height: 760px !important;
  }
}

@media (max-width: 640px) {
  body.single-post .single-post-main--story .single-post--story .single-entry,
  body.single-post .single-post-main--story-gallery .single-post--story .single-entry {
    width: min(100% - 32px, 430px) !important;
    padding: 46px 0 24px !important;
  }

  body.single-post .single-post-main--story .single-reference-title,
  body.single-post .single-post-main--safe-haven .single-reference-title {
    font-size: 28px !important;
  }

  body.single-post .single-reference-media--story.single-reference-media--single img {
    width: 100% !important;
    height: auto !important;
  }

  body.single-post .single-reference-media--story.single-reference-media--gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.single-post .single-reference-media--story.single-reference-media--gallery img {
    min-width: 140px !important;
    height: 400px !important;
  }

  body.single-post .single-story-donation .donation-form-slot--givewp-embed,
  body.single-post .single-story-donation .root-data-givewp-embed,
  body.single-post .single-story-donation .donation-form-slot--givewp-embed iframe {
    min-height: 860px !important;
    height: 860px !important;
  }

  body.single-post .single-post-main--story .single-body--story {
    font-size: 15px !important;
  }
}

/* Standard blog detail template: dynamic WP posts styled after the reference
   Elementor single-post layout. Donation-story pages use the story selectors
   above and are intentionally not affected by this block. */
body.single-post .single-post-main--blog-standard {
  background: #f8f4f0;
}

body.single-post .single-post-main--blog-standard .single-blog-cover {
  width: min(1280px, calc(100% - 86px));
  height: 430px;
  margin: 0 auto;
  overflow: hidden;
  background: #e1dad5;
}

body.single-post .single-post-main--blog-standard .single-blog-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.single-post .single-blog-title-section {
  position: relative;
  min-height: 270px;
  padding: 56px 0 98px;
  background: #e1dad5;
  text-align: center;
}

body.single-post .single-blog-title-section .container {
  max-width: 920px;
}

body.single-post .single-blog-category {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 5px 11px 4px;
  border-radius: 0;
  background: #efb43f;
  color: #650f29;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

body.single-post .single-blog-title {
  margin: 0;
  color: #050505;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0;
}

body.single-post .single-blog-excerpt {
  max-width: 720px;
  margin: 18px auto 0;
  color: #5f474f;
  font-size: 16px;
  line-height: 1.55;
}

body.single-post .single-blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  margin-top: 14px;
  color: #650f29;
  font-size: 13px;
}

body.single-post .single-blog-content-section {
  padding: 54px 0 48px;
  background: #f8f4f0;
}

body.single-post .single-blog-layout {
  display: grid;
  grid-template-columns: 296px minmax(0, 800px);
  gap: 70px;
  align-items: start;
  justify-content: center;
}

body.single-post .single-blog-aside {
  display: grid;
  gap: 26px;
}

body.single-post .single-blog-author-card,
body.single-post .single-blog-share-card {
  border: 1px solid #d7ccc5;
  border-radius: 4px;
  background: #fffaf6;
  padding: 28px 26px;
  text-align: center;
}

body.single-post .single-blog-author-card h2,
body.single-post .single-blog-share-card h2 {
  margin: 0 0 22px;
  color: #050505;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
}

body.single-post .single-blog-author-card img {
  display: block;
  width: 170px;
  height: 170px;
  margin: 0 auto 18px;
  object-fit: cover;
}

body.single-post .single-blog-author-card strong {
  display: block;
  margin-bottom: 14px;
  color: #050505;
  font-size: 13px;
}

body.single-post .single-blog-author-card p {
  margin: 0 0 20px;
  color: #5f474f;
  font-size: 13px;
  line-height: 1.55;
}

body.single-post .single-blog-author-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 4px;
  background: #efb43f;
  color: #050505;
  font-size: 13px;
  font-weight: 700;
}

body.single-post .single-blog-share-links {
  display: flex;
  gap: 10px;
  justify-content: center;
}

body.single-post .single-blog-share-links a {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #101010;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

body.single-post .single-blog-content {
  max-width: 800px;
  color: #5f5556;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.68;
}

body.single-post .single-blog-content :where(h2, h3, h4) {
  margin: 42px 0 16px;
  color: #050505;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.2;
}

body.single-post .single-blog-content h3 {
  font-size: 28px;
}

body.single-post .single-blog-content p {
  margin: 0 0 20px;
}

body.single-post .single-blog-content img {
  max-width: 100%;
  height: auto;
}

body.single-post .single-blog-content blockquote {
  margin: 32px 0;
  padding: 30px 34px;
  background: #111;
  color: #fff;
  font-size: 20px;
  line-height: 1.35;
}

body.single-post .single-blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 38px;
  color: #050505;
  font-size: 11px;
  text-transform: uppercase;
}

body.single-post .single-blog-tags a {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 9px;
  border-radius: 2px;
  background: #111;
  color: #fff;
  font-size: 10px;
}

body.single-post .single-blog-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 44px;
  border: 1px solid #d7ccc5;
  background: #fffaf6;
}

body.single-post .single-blog-post-nav > div {
  min-height: 110px;
  padding: 24px;
}

body.single-post .single-blog-post-nav > div + div {
  border-left: 1px solid #d7ccc5;
}

body.single-post .single-blog-post-nav a {
  display: grid;
  gap: 8px;
  color: #050505;
}

body.single-post .single-blog-post-nav span {
  color: #650f29;
  font-size: 12px;
}

body.single-post .single-blog-post-nav strong {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

body.single-post .single-blog-related-section {
  padding: 20px 0 66px;
  background: #f8f4f0;
  text-align: center;
}

body.single-post .single-blog-related-section h2,
body.single-post .single-blog-comments-wrap .comments-area > h3,
body.single-post .single-blog-comments-wrap .comment-reply-title {
  margin: 0 0 34px;
  color: #050505;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

body.single-post .single-blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}

body.single-post .single-blog-related-card__image {
  display: block;
  height: 174px;
  overflow: hidden;
  background: #e1dad5;
}

body.single-post .single-blog-related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.single-post .single-blog-related-card__meta {
  margin-top: 16px;
  color: #650f29;
  font-size: 12px;
}

body.single-post .single-blog-related-card h3 {
  margin: 9px 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.28;
}

body.single-post .single-blog-comments-wrap {
  max-width: 800px;
  padding-bottom: 88px;
}

body.single-post .single-blog-comments-wrap .comments-area {
  margin: 0;
}

body.single-post .single-blog-comments-wrap .comment-list {
  display: grid;
  gap: 22px;
  margin: 0 0 54px;
  padding: 0;
  list-style: none;
}

body.single-post .single-blog-comments-wrap .comment-body {
  border: 1px solid #d7ccc5;
  border-radius: 4px;
  background: #fffaf6;
  padding: 26px 30px;
}

body.single-post .single-blog-comments-wrap .comment-form {
  display: grid;
  gap: 14px;
}

body.single-post .single-blog-comments-wrap :where(input[type="text"], input[type="email"], input[type="url"], textarea) {
  width: 100%;
  border: 1px solid #d7ccc5;
  border-radius: 0;
  background: #fff;
}

body.single-post .single-blog-comments-wrap .form-submit .button {
  border-radius: 4px;
  background: #efb43f;
  color: #050505;
}

@media (min-width: 641px) and (max-width: 900px) {
  body.single-post .single-post-main--blog-standard .single-blog-cover {
    width: 100%;
    height: 360px;
  }

  body.single-post .single-blog-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 34px;
  }

  body.single-post .single-blog-title {
    font-size: 34px;
  }

  body.single-post .single-blog-author-card,
  body.single-post .single-blog-share-card {
    padding: 24px 18px;
  }

  body.single-post .single-blog-author-card img {
    width: 140px;
    height: 140px;
  }

  body.single-post .single-blog-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 640px) {
  body.single-post .single-post-main--blog-standard .single-blog-cover {
    width: 100%;
    height: 292px;
  }

  body.single-post .single-blog-title-section {
    min-height: 246px;
    padding: 44px 0 84px;
  }

  body.single-post .single-blog-title {
    font-size: 28px;
  }

  body.single-post .single-blog-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  body.single-post .single-blog-aside {
    order: 2;
  }

  body.single-post .single-blog-content {
    order: 1;
    font-size: 15px;
  }

  body.single-post .single-blog-post-nav,
  body.single-post .single-blog-related-grid {
    grid-template-columns: 1fr;
  }

  body.single-post .single-blog-post-nav > div + div {
    border-top: 1px solid #d7ccc5;
    border-left: 0;
  }

  body.single-post .single-blog-related-card__image {
    height: 220px;
  }
}
