/* Only what the blog adds. Colors, type, buttons, menu and footer are the main
   site's own stylesheet (generated/site.css). */
.inner { max-width: 1440px; margin: 0 auto; padding: 64px var(--gutter) 88px; }
.inner.narrow { max-width: 800px; }
.lead { font-size: 18px; line-height: 1.6; color: var(--list-ink); max-width: 560px; margin-top: 18px; }
.back { font-weight: 600; margin-bottom: 14px; }
.back a, .prose a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.meta { font-size: 14.5px; line-height: 21px; color: var(--stone); }
h1 + .meta { margin-top: 18px; }

/* Menu: the main site opens these with its own script, the blog with <details>. */
.rd-header summary { list-style: none; }
.rd-header summary::-webkit-details-marker { display: none; }
.has-menu { position: relative; }
.nav-link[aria-current]::after { transform: scaleX(1); }
.nav-end { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.nav-end .nav-cta { padding: 13px 20px; }
.phone-menu > ul { position: absolute; left: 0; right: 0; top: 100%; max-height: 76vh; overflow: auto; padding: 16px 24px 24px; background: #fff; border-bottom: 1px solid var(--border); }
.admin-bar .rd-header { top: 32px; }

/* The list */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; margin-top: 48px; }
.posts .card { overflow: hidden; }
.posts img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.posts .card > div { padding: 22px 24px 26px; display: grid; gap: 10px; }
.posts h2 { font-size: 24px; line-height: 1.2; }
.posts .card p:last-child { font-size: 15.5px; line-height: 23px; color: var(--list-ink); }
.pages { margin-top: 40px; }
.pages .nav-links { display: flex; gap: 20px; font-weight: 700; }
.pages .current { color: var(--accent-italic); }

/* One article */
.photo { margin: 36px 0 0; }
.photo img, .prose img { display: block; max-width: 100%; height: auto; border-radius: 16px; }
.photo img { width: 100%; }
figcaption { font-size: 14px; line-height: 20px; color: var(--stone); margin-top: 10px; }
.prose { margin-top: 36px; font-size: 18px; line-height: 1.7; color: var(--list-ink); }
.prose > * + * { margin-top: 20px; }
.prose h2, .prose h3, .prose h4 { color: var(--ink-strong); line-height: 1.2; margin-top: 44px; }
.prose h2 { font-size: 30px; }
.prose h3 { font-size: 23px; }
.prose h4 { font-size: 19px; }
.prose ul { list-style: disc; padding-left: 24px; }
.prose ol { list-style: decimal; padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose blockquote { margin-inline: 0; padding-left: 24px; border-left: 3px solid var(--sunrise); }
.prose figure { margin-inline: 0; }
.prose .wp-block-table { overflow-x: auto; }
.prose :is(th, td) { text-align: left; vertical-align: top; padding: 12px 20px 12px 0; border: 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 24px; }
.all { margin-top: 56px; }

/* The close, above the footer */
.start { background: var(--sand); }
.start p { font-size: 17px; line-height: 26px; color: var(--list-ink); margin-top: 14px; }
.start .inner { padding-block: 56px; }
.start .buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
