/*
Theme Name: Wonder Foundry Memoir
Theme URI: https://wonderfoundry.com/
Author: Wonder Foundry
Author URI: https://wonderfoundry.com/
Description: A classic archival WordPress theme for family history memoir pages, designed to preserve the feel of legacy HTML memoirs with jump links, figures, captions, and long-form reading.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: wf-memoir
*/
@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap");
:root {
  --wf-bg: #f6f1e7;
  --wf-paper: #fbf8f1;
  --wf-ink: #2f2a24;
  --wf-muted: #6c6257;
  --wf-border: #d8ccbc;
  --wf-link: #6f2f14;
  --wf-link-hover: #4d1f0d;
  --wf-shadow: rgba(53, 41, 28, 0.08);
  --wf-width: 960px;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--wf-bg);
  color: var(--wf-ink);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.72;
  background: url(assets/image001.jpg);
  font-size: 10pt;
  font-family: Arial;
  color: black;
}

a {
  color: var(--wf-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover,
a:focus {
  color: var(--wf-link-hover);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  background: #fff;
  color: #000;
  padding: 10px 12px;
}

.site-header,
.site-footer {
  width: min(calc(100% - 32px), var(--wf-width));
  margin: 0 auto;
}

.site-header {
  padding: 18px 0 18px;
}

.branding {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: baseline;
  justify-content: space-between;
}

.site-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.site-title a {
  text-decoration: none;
  color: inherit;
}

.site-description {
  margin: 0;
  color: var(--wf-muted);
  font-size: 0.96rem;
}

.main-navigation {
  display: flex;
  justify-content: center;
}

.main-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.main-navigation a {
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-content {
  /* width: min(calc(100% - 32px), var(--wf-width));*/
  margin: 0 auto;
  padding: 10px 10px;
}

.content-shell {
  padding: clamp(20px, 4vw, 44px);
}

.entry-header {
  margin-bottom: 24px;
}

.entry-title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.entry-meta {
  color: var(--wf-muted);
  font-size: 0.95rem;
}

.entry-content > :first-child {
  margin-top: 0;
}

.entry-content p {
  margin: 0 0 1.15em;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  font-weight: 700;
  line-height: 1.2;
  margin: 2.1em 0 0.7em;
  scroll-margin-top: 24px;
}

h1,
.entry-content h1 {
  font-family: "Great Vibes", cursive;
  font-size: 64px;
  font-weight: normal;
  line-height: 1.2;
  color: #2b2b2b;
  letter-spacing: 1px;
  text-align: center;
}

.entry-content h2 {
  font-size: 1.5rem;
}

.entry-content h3 {
  font-size: 1.22rem;
}

.entry-content figure,
.memoir-figure {
  margin: 2.2em auto;
  text-align: center;
}

.entry-content figcaption,
.memoir-figure figcaption {
  margin-top: 0.65em;
  color: var(--wf-muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.entry-content .memoir-jump,
.memoir-jump {
  border-top: 1px solid var(--wf-border);
  border-bottom: 1px solid var(--wf-border);
  padding: 14px 0;
  margin: 0 0 28px;
  font-size: 0.97rem;
  text-align: center;
}

.entry-content .memoir-jump a,
.memoir-jump a {
  display: inline-block;
  margin-right: 0.7rem;
  white-space: nowrap;
}

.entry-content .wp-caption,
.entry-content .aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.post-navigation,
.posts-navigation {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--wf-border);
}

.posts-grid {
  display: grid;
  gap: 24px;
}

.archive-card {
  padding: 22px;
  border: 1px solid var(--wf-border);
  background: rgba(255, 255, 255, 0.45);
}

.archive-card h2 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.site-footer {
  padding: 0 0 44px;
}

.site-footer-inner {
  border-top: 1px solid var(--wf-border);
  padding-top: 18px;
  color: var(--wf-muted);
  font-size: 0.92rem;
}

@media (max-width: 700px) {
  body {
    font-size: 17px;
  }

  .content-shell {
    padding: 18px 16px 28px;
  }

  .main-navigation ul {
    gap: 8px 14px;
  }

  .entry-content .memoir-jump a,
  .memoir-jump a {
    margin-right: 0.45rem;
    margin-bottom: 0.35rem;
  }
}
.home-cols {
  max-width: 760px;
  margin: 0 auto;
  font-size: 21px;
}
.home-cols h2 {
  font-family: "Great Vibes", cursive;
  font-size: 48px;
  font-weight: normal;
  line-height: 1.2;
  color: #2b2b2b;
  letter-spacing: 1px;
  text-align: center;
}
.home-cols p {
  margin: 0;
}
.wp-block-image :where(figcaption) {
  margin-bottom: 1em;
  margin-top: 0.5em;
  text-align: center;
}
