/* Paradise Roots Hawaii — contrast and readability */

/* Footer: white text over the deep forest-green background. */
footer.wp-block-template-part,
footer.wp-block-template-part :where(h1, h2, h3, h4, h5, h6, p, li, strong, em, a) {
  color: #ffffff !important;
}

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

/* Home and Farm Journal hero copy: dark text over the bright red-cinder photography. */
body.home main .entry-content > .wp-block-cover:first-child :where(h1, h2, h3, p, strong, em),
body.page-id-223 main .entry-content > .wp-block-cover:first-child :where(h1, h2, h3, p, strong, em) {
  color: #111111 !important;
  text-shadow: 0 1px 2px rgba(244, 240, 230, 0.72);
}

/* Keep text in the Home page's deep-green callout sections crisp and readable. */
body.home main .entry-content > .wp-block-group.has-base-color.has-background :where(h1, h2, h3, h4, p, li, strong, em) {
  color: #ffffff !important;
}

/* A soft cream reading panel keeps the requested black hero text legible across the cinder photo. */
body.home main .entry-content > .wp-block-cover:first-child .wp-block-cover__inner-container > .wp-block-group,
body.page-id-223 main .entry-content > .wp-block-cover:first-child .wp-block-cover__inner-container > .wp-block-group {
  width: min(100%, 880px);
  box-sizing: border-box;
  padding: clamp(24px, 4vw, 46px) !important;
  background: rgba(244, 240, 230, 0.88);
  border-left: 5px solid #9a3f2b;
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(17, 31, 22, 0.24);
}

body.home main .entry-content > .wp-block-cover:first-child .wp-block-cover__inner-container > .wp-block-group {
  margin-right: auto;
  margin-left: 0;
}

body.page-id-223 main .entry-content > .wp-block-cover:first-child .wp-block-cover__inner-container > .wp-block-group {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

/* Paradise Roots Hawaii — Volcanic Root Crest */
header.wp-block-template-part .wp-block-site-title {
  margin: 0 !important;
  flex: 0 0 auto;
  line-height: 0;
}

header.wp-block-template-part .wp-block-site-title a {
  display: block;
  width: clamp(180px, 17vw, 235px);
  aspect-ratio: 1693 / 929;
  overflow: hidden;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  background: #f5f0e4 url("https://paradiserootshawaii.com/wp-content/uploads/2026/07/paradise-roots-hawaii-volcanic-root-crest.png") center / contain no-repeat;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(16, 47, 38, 0.12);
}

header.wp-block-template-part .wp-block-site-title a:focus-visible {
  outline: 3px solid #9a3f2b;
  outline-offset: 4px;
}

footer.wp-block-template-part .wp-block-columns > .wp-block-column:first-child::before {
  content: "";
  display: block;
  width: min(100%, 240px);
  aspect-ratio: 1693 / 929;
  margin: 0 0 18px;
  background: #f5f0e4 url("https://paradiserootshawaii.com/wp-content/uploads/2026/07/paradise-roots-hawaii-volcanic-root-crest.png") center / contain no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

@media (max-width: 900px) {
  header.wp-block-template-part .wp-block-site-title a {
    width: 170px;
  }
}

@media (max-width: 520px) {
  header.wp-block-template-part .wp-block-site-title a {
    width: 150px;
  }

  footer.wp-block-template-part .wp-block-columns > .wp-block-column:first-child::before {
    width: 210px;
  }
}

/* Keep the footer wordmark hierarchy balanced beneath the crest. */
footer.wp-block-template-part .wp-block-columns > .wp-block-column:first-child h2 {
  margin: 0 0 14px !important;
  font-size: clamp(26px, 2.7vw, 36px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em;
}
