/* A Place to Call Home - Single Blog Post Styling */

.single-post {
  background: #fbf6ee !important;
}

.single-post .wp-site-blocks,
.single-post .site,
.single-post .site-content,
.single-post .content-area,
.single-post main,
.single-post article {
  background: transparent !important;
}

.single-post main,
.single-post .site-main {
  max-width: 850px !important;
  margin: 0 auto !important;
  padding: 70px 24px 90px !important;
}

.single-post article {
  max-width: 760px !important;
  margin: 0 auto !important;
}

.single-post .entry-title,
.single-post h1,
.single-post h2 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  color: #342a24 !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
}

.single-post .entry-title,
.single-post h1.entry-title,
.single-post h1 {
  font-size: clamp(44px, 5vw, 68px) !important;
  line-height: 1.02 !important;
  margin: 0 0 22px !important;
}

.single-post .entry-meta,
.single-post time,
.single-post .posted-on,
.single-post .byline {
  color: #a98268 !important;
  font-size: 12px !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  font-family: "Nunito Sans", Arial, sans-serif !important;
}

.single-post .entry-content {
  font-family: "Nunito Sans", Arial, sans-serif !important;
  color: #3d322b !important;
  font-size: 19px !important;
  line-height: 1.9 !important;
}

.single-post .entry-content p {
  margin-bottom: 1.45em !important;
}

.single-post img,
.single-post .wp-post-image {
  border-radius: 4px !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Hide clutter */
.single-post .sharedaddy,
.single-post .sd-sharing,
.single-post .jp-sharing,
.single-post .jetpack-likes-widget-wrapper,
.single-post .post-likes-widget,
.single-post .comments-area,
.single-post .comment-respond,
.single-post .entry-footer,
.single-post .wp-block-post-comments,
.single-post .wp-block-comments,
.single-post .wp-block-post-navigation-link,
.single-post .post-navigation,
.single-post .nav-links {
  display: none !important;
}

/* Hide WordPress.com subscribe/discover block if it appears */
.single-post [class*="subscribe"],
.single-post [class*="jetpack-subscribe"],
.single-post [class*="wpcom"],
.single-post .wp-block-jetpack-subscriptions {
  display: none !important;
}

@media (max-width: 767px) {
  .single-post main,
  .single-post .site-main {
    padding: 44px 22px 70px !important;
  }

  .single-post .entry-content {
    font-size: 18px !important;
    line-height: 1.85 !important;
  }
}
/* Brand the default footer to match A Place to Call Home */

footer,
.site-footer,
.wp-site-blocks > footer,
.wp-block-template-part,
footer.wp-block-template-part {
  background: #fffdf8 !important;
  color: #76685e !important;
  border-top: 1px solid #e3d2c2 !important;
  padding: 38px 6vw !important;
  margin-top: 60px !important;
}

/* Footer layout cleanup */
footer .wp-block-group,
.site-footer .wp-block-group,
.wp-block-template-part .wp-block-group {
  background: transparent !important;
  color: #76685e !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
  text-align: center !important;
}

/* Footer site title */
footer .wp-block-site-title,
footer .wp-block-site-title a,
.site-footer .wp-block-site-title,
.site-footer .wp-block-site-title a,
.wp-block-template-part .wp-block-site-title,
.wp-block-template-part .wp-block-site-title a {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 30px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  color: #a98268 !important;
  text-decoration: none !important;
  margin: 0 !important;
}

/* Footer tagline */
footer .wp-block-site-tagline,
.site-footer .wp-block-site-tagline,
.wp-block-template-part .wp-block-site-tagline {
  font-family: "Nunito Sans", Arial, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #76685e !important;
  margin: 0 !important;
}

/* Footer links */
footer a,
.site-footer a,
.wp-block-template-part a {
  color: #76685e !important;
  text-decoration: none !important;
  font-family: "Nunito Sans", Arial, sans-serif !important;
  font-size: 13px !important;
}

footer a:hover,
.site-footer a:hover,
.wp-block-template-part a:hover {
  color: #a98268 !important;
}

/* Make Designed with WordPress smaller and softer */
footer .wp-block-site-logo + *,
footer [class*="powered"],
footer [class*="credit"],
footer p,
.site-footer p,
.wp-block-template-part p {
  font-family: "Nunito Sans", Arial, sans-serif !important;
  font-size: 12px !important;
  color: #9a8b7f !important;
  line-height: 1.6 !important;
}
/* Remove the giant empty gap above footer */
.single-post .wp-block-spacer {
  height: 40px !important;
  max-height: 40px !important;
}