:root {
  --wf-cream: #fbf3e6;
  --wf-paper: #fffaf2;
  --wf-ink: #251c18;
  --wf-rust: #a94721;
  --wf-rust-dark: #743018;
  --wf-sage: #6d7b55;
  --wf-denim: #315f78;
  --wf-gold: #c18a35;
  --wf-line: rgba(37, 28, 24, .16);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--wf-cream) !important;
  color: var(--wf-ink);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body .wp-site-blocks {
  background: linear-gradient(180deg, #fffaf2 0, var(--wf-cream) 18rem, #f7ead8 100%);
  min-height: 100vh;
}

a {
  color: var(--wf-denim);
  text-underline-offset: .18em;
  transition: color .2s ease, text-decoration-color .2s ease, transform .2s ease;
}

a:hover,
a:focus-visible {
  color: var(--wf-rust);
  text-decoration-color: var(--wf-gold);
}

header.wp-block-template-part,
.wp-site-blocks > header {
  background: rgba(255, 250, 242, .92);
  border-bottom: 1px solid var(--wf-line);
  box-shadow: 0 12px 28px rgba(37, 28, 24, .05);
  margin-bottom: 0 !important;
  padding-block: clamp(.75rem, 2vw, 1.15rem) !important;
}

header .wp-block-site-title,
header .wp-block-site-title a,
.wp-block-site-title a {
  color: var(--wf-rust-dark) !important;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
  text-decoration: none;
}

header nav a,
.wp-block-navigation a {
  color: var(--wf-denim) !important;
  font-weight: 750;
  text-decoration: none;
}

header nav a:hover,
.wp-block-navigation a:hover,
.wp-block-navigation .current-menu-item > a {
  color: var(--wf-rust) !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .25em;
}

body.home main,
body.page-id-209 main {
  margin-block-start: clamp(.75rem, 2vw, 1.35rem) !important;
}

body.home main > *:first-child,
body.page-id-209 main > *:first-child {
  margin-block-start: 0 !important;
}

.wp-block-cover,
.wp-block-image img {
  border: 3px solid rgba(193, 138, 53, .72);
  box-shadow: 0 18px 34px rgba(37, 28, 24, .15);
}

.wp-block-cover {
  overflow: hidden;
  animation: wf-hero-breathe 12s ease-in-out infinite;
}

.wp-block-cover h1,
.wp-block-cover h2,
.wp-block-cover h3,
.wp-block-cover .wp-block-heading {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: clamp(1.25rem, 2vw, 1.65rem) !important;
  font-weight: 800;
  letter-spacing: 0;
  padding: 0 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}

main p {
  color: var(--wf-ink);
  line-height: 1.62;
}

main h1,
main h2,
main h3,
main .wp-block-heading {
  color: var(--wf-rust-dark);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.home main h3.wp-block-heading:not(:first-child),
body.page-id-209 main h3.wp-block-heading:not(:first-child) {
  background: var(--wf-paper);
  border-left: 6px solid var(--wf-rust);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 12px 26px rgba(37, 28, 24, .07);
  color: var(--wf-rust-dark) !important;
  font-size: clamp(1.22rem, 2vw, 1.45rem) !important;
  font-weight: 850;
  margin-top: clamp(1.75rem, 4vw, 2.75rem) !important;
  padding: .75rem 1rem !important;
  text-decoration: underline;
  text-decoration-color: var(--wf-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: .22em;
}

.wp-block-latest-posts,
.wp-block-post-template {
  display: grid;
  gap: 1rem;
}

.wp-block-latest-posts > li,
.wp-block-post-template > li,
body.blog article,
body.archive article {
  background: rgba(255, 250, 242, .92);
  border: 1px solid var(--wf-line);
  border-left: 5px solid var(--wf-sage);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(37, 28, 24, .07);
  padding: clamp(1rem, 2.5vw, 1.45rem) !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.wp-block-latest-posts > li:hover,
.wp-block-post-template > li:hover,
body.blog article:hover,
body.archive article:hover {
  border-left-color: var(--wf-rust);
  box-shadow: 0 18px 34px rgba(37, 28, 24, .12);
  transform: translateY(-2px);
}

.wp-block-latest-posts a,
.wp-block-post-title a,
body.blog main h2 a,
body.archive main h2 a {
  color: var(--wf-rust-dark) !important;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(193, 138, 53, .65);
  text-decoration-thickness: 2px;
  text-underline-offset: .22em;
}

.wp-block-latest-posts a:hover,
.wp-block-post-title a:hover,
body.blog main h2 a:hover,
body.archive main h2 a:hover {
  color: var(--wf-denim) !important;
  text-decoration-color: var(--wf-rust);
}

.wp-block-button__link,
.wp-element-button {
  background: var(--wf-rust) !important;
  border: 1px solid var(--wf-rust-dark) !important;
  border-radius: 6px !important;
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(116, 48, 24, .2);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.wp-block-button__link:hover,
.wp-element-button:hover {
  background: var(--wf-denim) !important;
  transform: translateY(-1px);
}

body.blog main h1:first-of-type {
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
  margin-bottom: 1.4rem !important;
}

body.blog main h1:first-of-type::after {
  content: "Journal";
  color: var(--wf-rust-dark);
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 850;
  letter-spacing: 0;
}

body.blog main,
body.archive main,
body.single main,
body.page main {
  background: transparent;
}

body.blog main h2,
body.archive main h2,
body.single main h1,
body.page main h1 {
  color: var(--wf-rust-dark);
  font-size: clamp(1.75rem, 4vw, 2.3rem) !important;
}

footer.wp-block-template-part,
.wp-site-blocks > footer {
  display: none !important;
}

.sharedaddy,
.sd-sharing-enabled,
.wp-block-post-comments-form,
.comment-respond,
#comments,
.nocomments,
.post-navigation-link-next,
.post-navigation-link-previous {
  display: none !important;
}

body.home main > *,
body.page-id-209 main > * {
  animation: wf-rise .55s ease both;
}

@keyframes wf-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes wf-hero-breathe {
  0%, 100% { filter: saturate(1.02) contrast(1); transform: translateY(0); }
  50% { filter: saturate(1.1) contrast(1.03); transform: translateY(-2px); }
}

@media (max-width: 720px) {
  header.wp-block-template-part,
  .wp-site-blocks > header {
    padding-inline: 1rem !important;
  }

  body.home main,
  body.page-id-209 main {
    margin-block-start: .55rem !important;
  }

  main p {
    font-size: 1.05rem;
  }

  body.home main h3.wp-block-heading:not(:first-child),
  body.page-id-209 main h3.wp-block-heading:not(:first-child) {
    font-size: 1.18rem !important;
    padding: .7rem .85rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Tighten the front-page space between the menu and cloud hero. */
body.home main,
body.page-id-209 main {
  margin-block-start: 0 !important;
}

body.home main > .wp-block-group.alignfull,
body.page-id-209 main > .wp-block-group.alignfull {
  padding-top: clamp(.8rem, 2vw, 1.15rem) !important;
}

body.home main .entry-content > .wp-block-cover:first-child,
body.page-id-209 main .entry-content > .wp-block-cover:first-child,
body.home main .entry-content > .wp-block-image:first-child,
body.page-id-209 main .entry-content > .wp-block-image:first-child {
  margin-top: 0 !important;
}

/* Make the Journal index easier to skim on phones without changing full post pages. */
body.blog .wp-block-post {
  overflow: hidden;
}

body.blog .wp-block-post-content > *:nth-child(n+4) {
  display: none !important;
}

body.blog .wp-block-post-content {
  max-height: none;
}

body.blog .wp-block-post-content::after {
  content: "Read the full story";
  display: inline-block;
  margin-top: .65rem;
  color: var(--wf-denim);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: var(--wf-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: .22em;
}

body.blog .wp-block-post-title {
  margin-bottom: .85rem !important;
}

@media (max-width: 720px) {
  body.blog main h1:first-of-type::after {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  body.blog .wp-block-post-title,
  body.blog main h2 {
    font-size: clamp(1.42rem, 6.6vw, 1.68rem) !important;
    line-height: 1.15 !important;
  }

  body.blog .wp-block-post,
  body.archive .wp-block-post {
    margin-inline: 0 !important;
  }

  body.blog .wp-block-post-content > p,
  body.blog .wp-block-post-content li {
    font-size: 1.02rem !important;
    line-height: 1.62 !important;
  }
}