/*
Theme Name: Roseville Historical Society
Description: An editorial full-site-editing child theme for Ollie, with a complete Roseville history demo and local media. Built around native WordPress blocks.
Author: Roseville Historical Society
Template: ollie
Version: 1.1.0
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: roseville-historical-society
Tags: blog, education, full-site-editing, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-images, wide-blocks
*/

/* Global presets live in theme.json. These rules provide the reference layout. */
:root {
  --rvh-ivory: var(--wp--preset--color--ivory, #f6f1e7);
  --rvh-forest: var(--wp--preset--color--forest, #243e36);
  --rvh-brick: var(--wp--preset--color--brick, #9a4f3f);
  --rvh-ink: var(--wp--preset--color--charcoal, #292929);
  --rvh-muted: var(--wp--preset--color--muted, #5d605c);
  --rvh-gold: var(--wp--preset--color--gold, #b79a61);
  --rvh-serif: var(--wp--preset--font-family--serif, Georgia, serif);
  --rvh-sans: var(--wp--preset--font-family--sans, Arial, sans-serif);
  --rvh-gutter: clamp(22px, 5.1vw, 76px);
  --rvh-wide: 1240px;
}
/* Keep inherited Ollie block styles on the same palette and scale. */
body, .editor-styles-wrapper {
  --wp--preset--color--primary: var(--rvh-forest);
  --wp--preset--color--primary-accent: #e5e9df;
  --wp--preset--color--primary-alt: var(--rvh-gold);
  --wp--preset--color--primary-alt-accent: var(--rvh-brick);
  --wp--preset--color--main: var(--rvh-ink);
  --wp--preset--color--main-accent: #ded5c5;
  --wp--preset--color--base: var(--rvh-ivory);
  --wp--preset--color--secondary: var(--rvh-muted);
  --wp--preset--color--tertiary: #eee7db;
  --wp--preset--color--border-light: #d8ccb7;
  --wp--preset--font-family--primary: var(--rvh-sans);
  --wp--preset--font-size--x-small: .875rem;
  --wp--preset--font-size--medium: 1.25rem;
  --wp--preset--font-size--large: 1.75rem;
  --wp--preset--font-size--x-large: 2.5rem;
  --wp--preset--font-size--xx-large: 3.5rem;
  --wp--preset--spacing--small: 1rem;
  --wp--preset--spacing--medium: 1.5rem;
  --wp--preset--spacing--large: 2rem;
  --wp--preset--spacing--x-large: 3rem;
}
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--rvh-ivory); color: var(--rvh-ink); }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.rvh-home-post-content, .rvh-home-content { max-width: none !important; margin: 0 !important; }
.rvh-home-post-content > *, .rvh-home-content > * { margin-block-start: 0; }
.rvh-container { width: min(calc(100% - var(--rvh-gutter) * 2), var(--rvh-wide)); margin-inline: auto !important; }
.rvh-reading-container { width: min(calc(100% - var(--rvh-gutter) * 2), 800px); margin-inline: auto !important; }
.rvh-section { margin-block: 0 !important; padding-block: 24px; }
.rvh-section > h2 { margin: 0 0 22px; }
.rvh-eyebrow { color: #7b6036; font: 400 0.78rem/1.4 var(--rvh-sans); letter-spacing: .18em; margin: 0 0 14px; }
.rvh-lede { color: var(--rvh-muted); font-size: clamp(1.125rem, 1.6vw, 1.4rem); line-height: 1.55; }
.rvh-text-link { font-size: 1rem; line-height: 1.5; margin: 12px 0 0; }
.rvh-text-link a { color: var(--rvh-brick); text-decoration: none; text-underline-offset: .2em; }
.rvh-text-link a:hover { text-decoration: underline; }
.rvh-text-link span { display: inline-block; margin-left: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--rvh-brick); outline-offset: 5px; }
.rvh-site-footer a:focus-visible, .rvh-feature-panel a:focus-visible { outline-color: #f5dba6; }
.rvh-skip-link { margin: 0 !important; height: 0; }
.rvh-skip-link a { position: absolute; left: -10000px; top: 8px; z-index: 100000; background: var(--rvh-forest); color: white; padding: 12px 20px; }
.rvh-skip-link a:focus { left: 12px; }

/* Masthead and native WordPress Navigation/Search blocks. */
.rvh-site-header { border-bottom: 1px solid var(--rvh-gold); padding: 17px 0; }
.rvh-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.rvh-brand { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.rvh-brand > * { margin: 0 !important; }
.rvh-brand-icon { width: 86px; min-width: 86px; margin: 0; }
.rvh-brand-icon img { display: block; width: 100%; height: 64px; object-fit: contain; }
.rvh-brand-type > * { margin: 0; }
.rvh-site-title { font-family: var(--rvh-serif); font-size: clamp(1.45rem, 2.15vw, 2rem); line-height: 1.03; letter-spacing: -.025em; }
.rvh-site-title a { color: var(--rvh-forest); text-decoration: none; }
.rvh-location { font-family: var(--rvh-sans); font-size: .65rem; letter-spacing: .18em; line-height: 1.5; margin-top: 7px !important; color: #715732; }
.rvh-header-controls { display: flex; align-items: center; gap: 24px; }
.rvh-header-controls > * { margin: 0 !important; }
.rvh-navigation { font-family: var(--rvh-sans); font-size: .84rem; }
.rvh-navigation .wp-block-navigation__container { gap: clamp(15px, 1.8vw, 28px); }
.rvh-navigation .wp-block-navigation-item__content { color: var(--rvh-ink); padding-block: 10px; text-decoration: none; white-space: nowrap; }
.rvh-navigation .current-menu-item > a { text-decoration: underline; text-decoration-color: var(--rvh-brick); text-underline-offset: 12px; text-decoration-thickness: 2px; }
.rvh-navigation .wp-block-navigation-item__content:hover { color: var(--rvh-brick); }
.rvh-header-search .wp-block-search__button { background: transparent; border: 0; color: var(--rvh-forest); padding: 8px; margin: 0; line-height: 1; }
.rvh-header-search .wp-block-search__inside-wrapper { padding: 0; border: 0; }
.rvh-header-search .wp-block-search__input { min-width: 0; }
.rvh-header-search.wp-block-search__searchfield-hidden .wp-block-search__input { padding: 0; border: 0; }
.rvh-header-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input { max-width: 180px; border: 1px solid var(--rvh-gold); background: #fff; border-radius: 3px; padding: 8px; }

/* Hero. Both photographs are native, independently editable image blocks. */
.rvh-hero { position: relative; min-height: 480px; isolation: isolate; overflow: hidden; }
.rvh-hero .rvh-hero-photo { position: absolute; inset: 0 0 0 43%; z-index: -2; margin: 0; }
.rvh-hero-photo img { display: block; width: 100%; height: 100%; min-height: 480px; object-fit: cover; object-position: center 48%; }
.rvh-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, var(--rvh-ivory) 0%,var(--rvh-ivory) 39%,rgba(246,241,231,.95) 43%,rgba(246,241,231,.35) 51%,rgba(246,241,231,0) 58%); }
.rvh-hero-inner { position: relative; min-height: 480px; display: flex; align-items: center; }
.rvh-hero-copy { width: 51%; padding: 55px 0 60px; }
.rvh-hero-title { font: 700 clamp(2.4rem, 3.55vw, 3.5rem)/1.02 var(--rvh-serif); letter-spacing: -.035em; color: var(--rvh-forest); margin: 0 0 20px; }
.rvh-hero-description { max-width: 490px; margin: 0 0 23px; color: var(--rvh-muted); font-size: clamp(1.1rem, 1.55vw, 1.38rem); line-height: 1.4; }
.rvh-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 0; }
.rvh-actions .wp-block-button { margin: 0; }
.rvh-actions .wp-block-button__link { display: inline-block; padding: 12px 22px; border: 1px solid var(--rvh-brick); border-radius: 3px; background: var(--rvh-brick); color: #fff; font: 400 .96rem/1.45 var(--rvh-sans); text-decoration: none; box-shadow: none; }
.rvh-actions .wp-block-button__link:hover { background: var(--rvh-forest); border-color: var(--rvh-forest); }
.rvh-actions .is-style-outline .wp-block-button__link { border: 1px solid var(--rvh-forest); background: transparent; color: var(--rvh-forest); }
.rvh-actions .is-style-outline .wp-block-button__link:hover { background: var(--rvh-forest); color: #fff; }
.rvh-hero-inset { position: absolute; right: -8px; bottom: 12px; width: 250px; padding: 11px 11px 22px; background: #f9f4e9; transform: rotate(-6deg); box-shadow: 0 7px 15px #0002; margin: 0 !important; }
.rvh-hero-inset img { display: block; aspect-ratio: 1.6; width: 100%; object-fit: cover; filter: sepia(.7) saturate(.5); }

/* Topic cards. */
.rvh-topics { padding-top: 34px; }
.rvh-topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.rvh-topic-grid > *, .rvh-topic-card > * { margin-block-start: 0; }
.rvh-topic-image { margin: 0 0 10px; }
.rvh-topic-image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rvh-topic-title { margin: 0 0 3px; font-size: clamp(1.3rem,1.9vw,1.65rem); line-height: 1.1; }
.rvh-card-summary { font-size: .98rem; color: var(--rvh-muted); margin: 0; line-height: 1.4; }
.rvh-topic-card .rvh-text-link { margin-top: 8px; }

/* Railroad feature. */
.rvh-feature-section { padding-top: 17px; }
.rvh-feature-panel { display: grid; grid-template-columns: 58% 1fr; gap: 0; align-items: center; padding: 20px; background: var(--rvh-forest); color: var(--rvh-ivory); border-radius: 5px; }
.rvh-feature-panel > * { margin: 0; }
.rvh-feature-image img { display: block; width: 100%; aspect-ratio: 2.5; object-fit: cover; border-radius: 3px; }
.rvh-feature-copy { padding: 14px 25px 12px 78px; position: relative; }
.rvh-feature-copy::before { content:''; position:absolute; height:100px; width:2px; background:var(--rvh-gold); left:49px; top:17px; }
.rvh-feature-copy .rvh-eyebrow { color: #d5bc89; font-size: .72rem; margin: 0 0 8px; }
.rvh-feature-copy h2 { color: var(--rvh-ivory); font-size: clamp(1.8rem,2.8vw,2.7rem); line-height: 1.03; margin: 0 0 13px; }
.rvh-feature-copy > p:not(.rvh-eyebrow):not(.rvh-text-link) { margin: 0; font-size: 1rem; line-height: 1.5; }
.rvh-feature-copy .rvh-text-link { margin-top: 12px; }
.rvh-feature-copy a { color: var(--rvh-ivory); text-decoration: underline; text-underline-offset: 3px; }

/* Then-and-now feature. */
.rvh-then-now { padding-top: 17px; padding-bottom: 14px; }
.rvh-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 18px; }
.rvh-section-heading > *, .rvh-heading-copy > * { margin: 0; }
.rvh-heading-copy .rvh-eyebrow { margin-bottom: 7px; }
.rvh-heading-aside { text-align: right; font-size: .93rem; }
.rvh-heading-aside > p { margin: 0; }
.rvh-heading-aside .rvh-text-link { margin-top: 7px; }
.rvh-comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rvh-comparison-frame { position: relative; margin: 0; }
.rvh-comparison-image { margin: 0; }
.rvh-comparison-image img { display: block; aspect-ratio: 2.15; width: 100%; object-fit: cover; }
.rvh-image-label { position: absolute; left: 15px; top: 12px; background: var(--rvh-forest); color: #fff; font-size: .94rem; line-height: 1.3; padding: 5px 14px; border-radius: 2px; margin: 0 !important; }
.rvh-comparison-note { color: var(--rvh-muted); font-size: .76rem; line-height: 1.5; margin-top: 7px; margin-bottom: 0; }

/* Timeline remains ordinary block content with accessible links. */
.rvh-timeline { padding-top: 15px; padding-bottom: 15px; }
.rvh-timeline > h2 { margin-bottom: 26px; }
.rvh-timeline-track { display: grid; grid-template-columns: repeat(4,1fr); position: relative; padding-top: 14px; }
.rvh-timeline-track::before { content:''; position:absolute; height:1px; background:var(--rvh-gold); top:0; left:12.5%; right:12.5%; }
.rvh-timeline-item { position:relative; text-align:center; margin:0; }
.rvh-timeline-item::before { content:''; position:absolute; left:50%; top:-20px; width:13px; height:13px; border-radius:50%; background:var(--rvh-gold); transform:translateX(-50%); }
.rvh-timeline-item p { margin:0; font-size:1rem; }
.rvh-timeline-item a { color:var(--rvh-ink); text-decoration:none; text-underline-offset:.2em; }
.rvh-timeline-item a:hover { text-decoration:underline; }
.rvh-timeline-bottom { display:flex; justify-content:space-between; gap:20px; align-items:center; margin-top:24px; }
.rvh-timeline-bottom > p { margin:0; font-size:.94rem; }

/* Native Query Loop cards and pagination. */
.rvh-latest { padding-top:12px; padding-bottom:36px; }
.rvh-post-grid { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:28px !important; padding:0; list-style:none; margin:0; }
.rvh-post-grid > li { margin:0 !important; min-width:0; }
.rvh-article-card > * { margin:0; }
.rvh-card-image { margin:0 0 10px; }
.rvh-card-image img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; }
.rvh-card-category { color:#715732; font-family:var(--rvh-sans); font-size:.66rem; letter-spacing:.13em; text-transform:uppercase; line-height:1.5; margin-bottom:5px; }
.rvh-card-category a { color:inherit; text-decoration:none; }
.rvh-card-title { font-family:var(--rvh-serif); font-weight:400; font-size:clamp(1.3rem,1.8vw,1.65rem); line-height:1.12; margin:0 0 6px; letter-spacing:-.02em; }
.rvh-card-title a { color:var(--rvh-forest); text-decoration:none; }
.rvh-card-title a:hover { color:var(--rvh-brick); }
.rvh-card-excerpt { color:var(--rvh-muted); font-size:.95rem; line-height:1.45; }
.rvh-card-excerpt p { margin:0; }
.rvh-read-more { display:inline-block; color:var(--rvh-brick); font-size:.96rem; text-decoration:none; margin-top:10px; }
.rvh-read-more:hover { text-decoration:underline; text-underline-offset:3px; }
.rvh-pagination { margin-top:45px; border-top:1px solid #b79a6155; padding-top:23px; display:flex; gap:18px; align-items:center; justify-content:space-between; font-size:1rem; }
.rvh-pagination .page-numbers { display:inline-block; padding:7px 12px; border-radius:3px; text-decoration:none; }
.rvh-pagination .current { background:var(--rvh-forest); color:#fff; }
.rvh-empty-state { background:#fff6; border:1px solid #b79a6155; padding:35px; }
.rvh-empty-state > * { margin:0 0 10px; }

/* Shared editorial page, article, archive and search layouts. */
.rvh-page-main, .rvh-listing-main, .rvh-single-main { padding-block:65px 85px; min-height:60vh; }
.rvh-page-heading, .rvh-archive-heading { margin-bottom:42px; }
.rvh-page-heading h1, .rvh-archive-heading h1 { margin:0 0 20px; max-width:1000px; }
.rvh-archive-heading .rvh-lede { max-width:760px; margin:0; }
.rvh-prose { line-height:1.75; font-size:1.12rem; }
.rvh-prose > * { max-width:100%; }
.rvh-prose h2 { font-size:2rem; margin-top:2.2rem; margin-bottom:.85rem; }
.rvh-prose h3 { font-size:1.55rem; margin-top:1.8rem; margin-bottom:.7rem; }
.rvh-prose p { margin-top:0; margin-bottom:1.25rem; }
.rvh-prose ul, .rvh-prose ol { padding-left:1.4rem; }
.rvh-prose li { margin-bottom:.55rem; }
.rvh-prose a { text-underline-offset:.17em; overflow-wrap:anywhere; }
.rvh-prose blockquote { margin-inline:0; border-left:3px solid var(--rvh-gold); padding-left:25px; }
.rvh-prose .wp-block-image figcaption { color:var(--rvh-muted); font-size:.85rem; line-height:1.5; }
.rvh-article-heading { max-width:960px; margin:0 auto 30px; text-align:center; }
.rvh-article-heading > * { margin-top:0; }
.rvh-article-heading .rvh-eyebrow a { color:#715732; text-decoration:none; }
.rvh-article-title { margin:0 0 20px; }
.rvh-article-heading .rvh-lede { max-width:800px; margin-inline:auto; margin-bottom:18px; }
.rvh-article-heading .rvh-lede p { font-size:1.2rem; line-height:1.5; margin:0; }
.rvh-post-meta { display:flex; justify-content:center; gap:22px; font-size:.88rem; color:var(--rvh-muted); }
.rvh-post-meta > * { margin:0; }
.rvh-article-featured { margin:0; }
.rvh-article-featured img { display:block; width:100%; max-height:570px; object-fit:cover; }
.rvh-article-layout { display:grid; grid-template-columns:minmax(0,800px) minmax(210px,1fr); gap:70px; margin-top:45px; align-items:start; }
.rvh-article-body, .rvh-sidebar { min-width:0; margin:0; }
.rvh-sidebar { position:sticky; top:30px; border-left:1px solid #b79a6177; padding-left:30px; font-size:1rem; }
.rvh-sidebar h2 { font-size:1.8rem; margin:0 0 20px; }
.rvh-sidebar h3 { font-size:1.4rem; margin-top:28px; margin-bottom:10px; }
.rvh-sidebar-categories { padding:0; margin:0 0 25px; list-style:none; }
.rvh-sidebar-categories li { margin-bottom:10px; }
.rvh-sidebar-categories a { color:var(--rvh-forest); text-decoration:none; }
.rvh-sidebar-categories a:hover { text-decoration:underline; }
.rvh-sidebar p { margin:0 0 12px; }
.rvh-post-tags { font-size:.9rem; margin-top:35px; padding-top:20px; border-top:1px solid #b79a6155; }
.rvh-post-navigation { display:flex; justify-content:space-between; gap:35px; margin-top:30px; font-size:1rem; }
.rvh-post-navigation > * { margin:0; max-width:47%; }
.rvh-post-navigation > :last-child { text-align:right; }
.rvh-full-search { max-width:760px; margin-block:26px; }
.rvh-full-search label { font-size:.9rem; margin-bottom:8px; }
.rvh-full-search .wp-block-search__inside-wrapper { display:flex; gap:10px; }
.rvh-full-search .wp-block-search__input { border:1px solid #7b806f; border-radius:3px; background:#fff8; padding:14px; font:inherit; min-width:0; flex:1; }
.rvh-full-search .wp-block-search__button { border:0; border-radius:3px; background:var(--rvh-brick); color:#fff; padding:12px 22px; font:inherit; cursor:pointer; }
.rvh-not-found { padding-block:50px; }
.rvh-not-found h1 { margin-top:0; }

/* v1.1: coordinated inner pages, preserving their editable Post Content. */
.rvh-interior-main { padding:0 0 64px; min-height:60vh; }
.rvh-interior-main > * { margin-block-start:0; }
.rvh-interior-hero { padding-block:42px; border-bottom:1px solid #b79a6145; background:linear-gradient(105deg,var(--rvh-ivory),#eee7d9); }
.rvh-interior-hero-grid { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr); gap:clamp(34px,6vw,90px); align-items:center; }
.rvh-interior-hero-grid > * { min-width:0; margin:0; }
.rvh-interior-hero-copy { padding-block:16px; }
.rvh-interior-hero-copy > * { margin-top:0; }
.rvh-interior-hero-copy .rvh-eyebrow { margin-bottom:16px; }
.rvh-interior-title { font-family:var(--rvh-serif); font-size:clamp(2.3rem,3.55vw,3.5rem); font-weight:400; line-height:1.06; letter-spacing:-.025em; color:var(--rvh-forest); margin:0 0 22px; max-width:630px; overflow-wrap:break-word; }
.rvh-interior-lede { font-family:var(--rvh-sans); font-size:clamp(1.08rem,1.45vw,1.25rem); line-height:1.55; color:var(--rvh-muted); margin:0; max-width:520px; }
.rvh-interior-hero-image { padding:8px; background:#fff9; border:1px solid #b79a6145; box-shadow:0 5px 18px #243e360b; border-radius:3px; }
.rvh-interior-hero-image img { display:block; width:100%; aspect-ratio:1.85; object-fit:cover; border-radius:1px; }
.rvh-interior-body { padding-block:52px 10px; }
.rvh-interior-content { margin:0; max-width:none; }
.rvh-interior-content > * { max-width:800px; margin-left:auto; margin-right:auto; }
.rvh-interior-content > :first-child { margin-top:0; }
.rvh-interior-content > p:first-child { color:var(--rvh-muted); font-size:1.16rem; line-height:1.7; padding-bottom:26px; border-bottom:1px solid #b79a6160; margin-bottom:34px; }
.rvh-interior-content > h2 { color:var(--rvh-forest); font-size:clamp(1.8rem,2.4vw,2.2rem); margin-top:36px; margin-bottom:14px; }
.rvh-interior-content > p { margin-bottom:22px; }
.rvh-interior-content :is(.alignwide,.alignfull) { max-width:100%; }
.rvh-interior-content > .wp-block-image img { border-radius:3px; }

/* Existing lists become readable story and research cards; nested lists stay ordinary. */
.rvh-historic-places-content > ul.wp-block-list,
.rvh-resources-content > ul.wp-block-list { display:grid; gap:20px; max-width:1080px; padding:0; margin-top:30px; margin-bottom:40px; list-style:none; }
.rvh-historic-places-content > ul.wp-block-list { grid-template-columns:repeat(3,minmax(0,1fr)); }
.rvh-resources-content > ul.wp-block-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
.rvh-interior-content.rvh-historic-places-content > ul.wp-block-list > li,
.rvh-interior-content.rvh-resources-content > ul.wp-block-list > li { margin:0; padding:27px 27px 25px; background:#fff7; border:1px solid #b79a6160; border-top:3px solid var(--rvh-gold); border-radius:3px; font-size:1rem; line-height:1.65; color:var(--rvh-muted); min-width:0; }
.rvh-interior-content.rvh-historic-places-content > ul.wp-block-list > li a,
.rvh-interior-content.rvh-resources-content > ul.wp-block-list > li a { color:var(--rvh-forest); text-decoration-color:#b79a61aa; text-decoration-thickness:1px; }
.rvh-interior-content.rvh-historic-places-content > ul.wp-block-list > li a:hover,
.rvh-interior-content.rvh-resources-content > ul.wp-block-list > li a:hover { color:var(--rvh-brick); text-decoration-color:currentColor; }
.rvh-interior-content.rvh-historic-places-content > ul.wp-block-list > li > a strong,
.rvh-interior-content.rvh-resources-content > ul.wp-block-list > li > a strong { font-family:var(--rvh-serif); font-weight:400; font-size:1.4rem; line-height:1.2; }

/* Gold chronology line and markers decorate the existing timeline headings. */
.rvh-timeline-content > * { max-width:900px; }
.rvh-timeline-content > h2 { position:relative; border-left:1px solid var(--rvh-gold); margin-top:0; margin-bottom:0; padding:6px 0 14px 38px; scroll-margin-top:24px; }
.rvh-timeline-content > h2::before { content:''; position:absolute; left:-6px; top:21px; width:11px; height:11px; border-radius:50%; background:var(--rvh-gold); box-shadow:0 0 0 6px var(--rvh-ivory); }
.rvh-timeline-content > h2 ~ :not(h2) { border-left:1px solid var(--rvh-gold); padding:0 0 34px 38px; margin-top:0; margin-bottom:0; }
.rvh-timeline-content > :last-child { padding-bottom:8px; }
.rvh-about-content { max-width:800px; margin-inline:auto; }

/* Article topic links are real category archive links, with native pagination below. */
.rvh-interior-topics { padding-block:27px; border-bottom:1px solid #b79a6160; }
.rvh-interior-topics .rvh-topic-filter-title { font-family:var(--rvh-sans); font-size:.78rem; font-weight:400; line-height:1.4; letter-spacing:.16em; text-transform:uppercase; color:#7b6036; margin:0 0 14px; }
.rvh-topic-filter-list { display:flex; flex-wrap:wrap; gap:10px; list-style:none; margin:0; padding:0 !important; }
.rvh-topic-filter-list > li { margin:0; max-width:100%; }
.rvh-topic-filter-list a { display:block; padding:8px 13px; border:1px solid #243e364d; border-radius:3px; font-size:.85rem; line-height:1.45; color:var(--rvh-forest); text-decoration:none; }
.rvh-topic-filter-list a:hover { background:var(--rvh-forest); color:var(--rvh-ivory); border-color:var(--rvh-forest); }
.rvh-interior-articles { padding-top:38px; padding-bottom:12px; }
.rvh-interior-listing-heading { margin:0 0 26px; font-size:clamp(2rem,3vw,2.6rem); }
.rvh-interior-articles .rvh-post-grid { row-gap:42px !important; }
.rvh-interior-articles .rvh-query { margin-top:0; }
.rvh-articles-intro-wrap:not(:has(.wp-block-post-content)),
.rvh-articles-intro-wrap:has(.rvh-articles-intro:empty) { display:none; }
.rvh-articles-intro-wrap { padding-block:32px 0; }
.rvh-articles-intro:empty { display:none; }

/* Shared related-reading band repeats the homepage forest-green feature treatment. */
.rvh-interior-explore { padding-top:44px; }
.rvh-interior-explore-panel { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(220px,1fr); align-items:center; gap:40px; padding:35px 40px; background:var(--rvh-forest); color:var(--rvh-ivory); border-radius:4px; }
.rvh-interior-explore-panel > * { margin:0; min-width:0; }
.rvh-interior-explore-copy { padding-left:25px; border-left:2px solid var(--rvh-gold); }
.rvh-interior-explore-copy > * { margin:0; }
.rvh-interior-explore-copy .rvh-eyebrow { color:#d5bc89; font-size:.71rem; margin-bottom:10px; }
.rvh-interior-explore-copy h2 { color:var(--rvh-ivory); font-family:var(--rvh-serif); font-size:clamp(1.7rem,2.6vw,2.4rem); line-height:1.12; font-weight:400; margin:0 0 12px; }
.rvh-interior-explore-copy > p:last-child { font-size:.96rem; line-height:1.55; max-width:540px; }
.rvh-interior-explore-links { justify-self:end; }
.rvh-interior-explore-links .rvh-text-link { margin:0 0 12px; font-size:.96rem; }
.rvh-interior-explore-links .rvh-text-link:last-child { margin-bottom:0; }
.rvh-interior-explore-links a { color:var(--rvh-ivory); text-decoration:underline; text-underline-offset:4px; }
.rvh-interior-explore-links a:focus-visible { outline-color:#f5dba6; }

@media(max-width:1000px) {
 .rvh-interior-hero-grid { gap:35px; }
 .rvh-interior-hero-image img { aspect-ratio:1.5; }
 .rvh-interior-explore-panel { gap:25px; padding:30px; }
 .rvh-historic-places-content > ul.wp-block-list { gap:14px; }
 .rvh-interior-content.rvh-historic-places-content > ul.wp-block-list > li { padding:22px; }
}
@media(max-width:760px) {
 .rvh-interior-main { padding-bottom:40px; }
 .rvh-interior-hero { padding-block:30px; }
 .rvh-interior-hero-grid { grid-template-columns:1fr; gap:24px; }
 .rvh-interior-hero-copy { padding:0; }
 .rvh-interior-title { font-size:clamp(2.15rem,6vw,3rem); line-height:1.08; margin-bottom:17px; }
 .rvh-interior-lede { font-size:1.1rem; }
 .rvh-interior-hero-image { padding:6px; }
 .rvh-interior-hero-image img { aspect-ratio:1.85; max-height:330px; }
 .rvh-interior-body { padding-top:32px; }
 .rvh-interior-content > p:first-child { font-size:1.08rem; padding-bottom:23px; margin-bottom:28px; }
 .rvh-interior-content > h2 { font-size:1.85rem; margin-top:29px; }
 .rvh-historic-places-content > ul.wp-block-list,
 .rvh-resources-content > ul.wp-block-list { grid-template-columns:1fr; gap:16px; margin-block:25px 30px; }
 .rvh-interior-content.rvh-historic-places-content > ul.wp-block-list > li,
 .rvh-interior-content.rvh-resources-content > ul.wp-block-list > li { padding:23px; }
 .rvh-timeline-content > h2 { padding-left:26px; margin-top:0; }
 .rvh-timeline-content > h2 ~ :not(h2) { padding-left:26px; padding-bottom:28px; }
 .rvh-timeline-content > h2::before { top:19px; }
 .rvh-interior-topics { padding-block:23px; }
 .rvh-topic-filter-list { gap:8px; }
 .rvh-topic-filter-list a { font-size:.8rem; padding:8px 11px; }
 .rvh-interior-articles { padding-top:28px; }
 .rvh-interior-explore { padding-top:31px; }
 .rvh-interior-explore-panel { grid-template-columns:1fr; padding:27px 23px; gap:24px; }
 .rvh-interior-explore-copy { padding-left:17px; }
 .rvh-interior-explore-links { justify-self:start; padding-left:19px; }
}
@media print {
 .rvh-interior-hero { background:#fff; padding:0 0 24px; }
 .rvh-interior-hero-grid { display:block; }
 .rvh-interior-hero-image, .rvh-interior-topics, .rvh-interior-explore { display:none; }
 .rvh-interior-body { padding-top:0; }
 .rvh-historic-places-content > ul.wp-block-list,
 .rvh-resources-content > ul.wp-block-list { display:block; }
 .rvh-interior-content.rvh-historic-places-content > ul.wp-block-list > li,
 .rvh-interior-content.rvh-resources-content > ul.wp-block-list > li { break-inside:avoid; }
}

/* Footer. */
.rvh-site-footer { background:var(--rvh-forest); color:var(--rvh-ivory); padding-block:31px; }
.rvh-footer-inner { display:grid; grid-template-columns:1.05fr .75fr 1fr; gap:34px; align-items:center; }
.rvh-footer-inner > * { margin:0; }
.rvh-site-footer .rvh-brand { gap:12px; }
.rvh-site-footer .rvh-brand-icon { min-width:65px; width:65px; }
.rvh-site-footer .rvh-brand-icon img { height:50px; filter:brightness(0) invert(.9) sepia(.25); }
.rvh-site-footer .rvh-site-title { font-size:1.65rem; }
.rvh-site-footer .rvh-site-title a, .rvh-site-footer .rvh-location { color:var(--rvh-ivory); }
.rvh-site-footer .rvh-location { font-size:.58rem; margin-top:6px !important; }
.rvh-footer-description { border-left:1px solid #f6f1e788; padding-left:28px; font-size:.8rem; line-height:1.5; }
.rvh-footer-description p { margin:0 0 4px; }
.rvh-footer-right { text-align:right; font-size:.72rem; line-height:1.8; }
.rvh-footer-links { margin:0; }
.rvh-footer-links a { display:inline-block; }
.rvh-site-footer a { color:var(--rvh-ivory); text-decoration:none; }
.rvh-site-footer a:hover { text-decoration:underline; text-underline-offset:3px; }
.rvh-image-credit { font-size:.65rem; margin:14px 0 0; color:#ede6d6; }

@media (max-width: 1150px) {
  .rvh-header-inner { gap:20px; }
  .rvh-brand { gap:13px; }
  .rvh-brand-icon { width:68px; min-width:68px; }
  .rvh-header-controls { gap:15px; }
  .rvh-navigation { font-size:.78rem; }
  .rvh-navigation .wp-block-navigation__container { gap:15px; }
  .rvh-hero, .rvh-hero-inner { min-height:440px; }
  .rvh-hero-photo img { min-height:440px; }
  .rvh-hero-copy { width:54%; padding-block:45px; }
  .rvh-hero-title { font-size:clamp(2.2rem,3.6vw,2.9rem); }
  .rvh-actions { gap:10px; }
  .rvh-actions .wp-block-button__link { font-size:.86rem; padding:11px 16px; }
  .rvh-hero-inset { width:205px; }
  .rvh-feature-copy { padding-left:45px; padding-right:10px; }
  .rvh-feature-copy::before { left:25px; }
  .rvh-feature-image img { aspect-ratio:2; }
  .rvh-feature-copy h2 { font-size:2.15rem; }
  .rvh-footer-inner { grid-template-columns:1fr 1fr; gap:25px; }
  .rvh-footer-right { grid-column:1 / -1; text-align:left; display:flex; justify-content:space-between; gap:20px; }
  .rvh-image-credit { margin:0; }
}
@media (max-width: 1000px) {
  .rvh-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) { display:none !important; }
  .rvh-navigation .wp-block-navigation__responsive-container-open { display:flex !important; }
  .rvh-navigation .wp-block-navigation__responsive-container.is-menu-open { display:flex; padding:30px; background:var(--rvh-ivory); color:var(--rvh-forest); }
  .rvh-navigation .is-menu-open .wp-block-navigation__container { gap:22px; font-size:1.2rem; align-items:flex-start; }
  .rvh-navigation .is-menu-open .wp-block-navigation__responsive-container-content { align-items:flex-start; padding-top:60px; }
  .rvh-navigation .is-menu-open .wp-block-navigation-item { align-items:flex-start; }
  .rvh-article-layout { gap:35px; grid-template-columns:minmax(0,1fr) 230px; }
  .rvh-sidebar { padding-left:20px; }
  .rvh-section-heading { align-items:flex-start; flex-direction:column; gap:12px; }
  .rvh-heading-aside { text-align:left; display:flex; gap:20px; align-items:center; width:100%; justify-content:space-between; }
  .rvh-heading-aside .rvh-text-link { margin-top:0; flex-shrink:0; }
}
@media (max-width: 760px) {
  :root { --rvh-gutter:24px; }
  .rvh-site-header { padding-block:12px; }
  .rvh-brand-icon { width:53px; min-width:53px; }
  .rvh-brand-icon img { height:45px; }
  .rvh-site-title { font-size:1.4rem; max-width:240px; }
  .rvh-location { font-size:.53rem; margin-top:5px !important; }
  .rvh-header-controls { gap:8px; }
  .rvh-hero, .rvh-hero-inner { min-height:0; }
  .rvh-hero { display:flex; flex-direction:column; }
  .rvh-hero .rvh-hero-photo { position:relative; inset:auto; z-index:0; order:2; width:100%; }
  .rvh-hero-photo img { height:280px; min-height:0; object-position:center; }
  .rvh-hero::after { display:none; }
  .rvh-hero-inner { order:1; }
  .rvh-hero-copy { width:100%; padding:36px 0 31px; }
  .rvh-hero-title { font-size:clamp(2.15rem,6vw,3rem); line-height:1.04; margin-bottom:17px; }
  .rvh-hero-description { max-width:530px; font-size:1.14rem; }
  .rvh-hero-inset { display:none; }
  .rvh-section { padding-block:23px; }
  .rvh-section > h2 { font-size:2rem; margin-bottom:20px; }
  .rvh-topic-grid, .rvh-post-grid { grid-template-columns:1fr !important; gap:28px !important; }
  .rvh-topic-title, .rvh-card-title { font-size:1.6rem; }
  .rvh-topic-image img { aspect-ratio:1.9; }
  .rvh-card-summary { font-size:1rem; }
  .rvh-feature-panel { grid-template-columns:1fr; padding:14px; }
  .rvh-feature-image img { aspect-ratio:1.8; }
  .rvh-feature-copy { padding:26px 13px 13px; }
  .rvh-feature-copy::before { display:none; }
  .rvh-feature-copy h2 { font-size:2.3rem; }
  .rvh-feature-copy .rvh-eyebrow { margin-bottom:10px; }
  .rvh-feature-copy > p:not(.rvh-eyebrow):not(.rvh-text-link) { max-width:490px; }
  .rvh-heading-copy h2 { font-size:2rem; }
  .rvh-heading-aside { display:block; font-size:.93rem; }
  .rvh-heading-aside .rvh-text-link { margin-top:8px; }
  .rvh-comparison-grid { grid-template-columns:1fr; gap:15px; }
  .rvh-comparison-image img { aspect-ratio:1.9; }
  .rvh-timeline-track { grid-template-columns:1fr; gap:26px; margin-left:10px; padding-top:0; }
  .rvh-timeline-track::before { width:1px; height:auto; top:8px; bottom:8px; left:6px; right:auto; }
  .rvh-timeline-item { text-align:left; padding-left:37px; }
  .rvh-timeline-item::before { left:6px; top:6px; }
  .rvh-timeline-bottom { display:block; margin-top:25px; }
  .rvh-timeline-bottom .rvh-text-link { margin-top:12px; }
  .rvh-page-main, .rvh-listing-main, .rvh-single-main { padding-block:40px 55px; }
  .rvh-page-heading, .rvh-archive-heading { margin-bottom:30px; }
  .rvh-article-layout { grid-template-columns:1fr; gap:35px; margin-top:30px; }
  .rvh-article-heading { text-align:left; }
  .rvh-post-meta { justify-content:flex-start; }
  .rvh-sidebar { position:static; border-left:0; padding-left:0; border-top:1px solid var(--rvh-gold); padding-top:25px; }
  .rvh-prose { font-size:1.05rem; }
  .rvh-prose h2 { font-size:1.9rem; }
  .rvh-post-navigation { font-size:.9rem; gap:20px; }
  .rvh-pagination { gap:8px; flex-wrap:wrap; }
  .rvh-footer-inner { grid-template-columns:1fr; gap:22px; }
  .rvh-footer-description { border-left:0; padding-left:0; }
  .rvh-footer-right { grid-column:auto; display:block; }
  .rvh-image-credit { margin-top:12px; }
  .rvh-footer-links { font-size:.78rem; }
}
@media (max-width: 400px) {
  :root { --rvh-gutter:18px; }
  .rvh-header-inner { gap:12px; }
  .rvh-site-header .rvh-brand { flex-shrink:1; min-width:0; }
  .rvh-site-header .rvh-brand-type { min-width:0; }
  .rvh-site-header .rvh-header-controls { flex-shrink:0; }
  .rvh-site-title { font-size:1.22rem; max-width:190px; }
  .rvh-brand { gap:8px; }
  .rvh-brand-icon { width:42px; min-width:42px; }
  .rvh-header-controls { gap:2px; }
  .rvh-hero-title { font-size:2.05rem; }
  .rvh-actions { gap:8px; }
  .rvh-actions .wp-block-button__link { font-size:.79rem; padding:11px 12px; }
  .rvh-full-search .wp-block-search__inside-wrapper { flex-direction:column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } }
@media print {
  .rvh-site-header, .rvh-site-footer, .rvh-sidebar, .rvh-actions, .rvh-post-navigation, .rvh-header-search { display:none !important; }
  body { background:#fff; color:#000; font-size:12pt; }
  .rvh-container, .rvh-reading-container { width:100%; }
  .rvh-page-main, .rvh-single-main { padding:0; }
  .rvh-article-layout { display:block; }
  h1,h2,h3 { break-after:avoid; }
  img { max-height:300px; object-fit:contain; }
  a { color:inherit; }
}
