/* A — Plassen og menneskene. Deliberately scoped; no map/header/global palette overrides. */

/* body.hmp-a-page { background: #f0eadf; } */

.hmp-a-shell { width: min(1600px, calc(100% - 90px)); margin-inline: auto; padding: calc(28px + var(--hmp-top-gap, 0px)) 0 64px; border-radius: 14px; }



@media ( min-width: 700px ) {

  .hmp-a-shell { background: #fffefb; margin-top: 120px; margin-bottom: 50px; padding: 0 2rem 2rem; border: 1px solid #00000030; & .hmp-a .hmp-masthead { padding: 0 0 70px; } }

}



.hmp-a {

  --hmp-bg: #f0eadf; --hmp-paper: #fffcf5; --hmp-ink: #272a23; --hmp-muted: #655e51;

  --hmp-line: #d3c8b7; --hmp-accent: #8a402b; --hmp-forest: #344a3d; --hmp-pale: #e9ecdf;

  --hmp-header-offset: 0px; --hmp-nav-height: 66px;

  color: var(--hmp-ink); font-family: var(--theme-font-family, "Segoe UI", Calibri, sans-serif); font-size: 17px; line-height: 1.65;

  min-width: 0; overflow-wrap: anywhere;

}

.map-link {

  display: inline-flex;

  align-items: center;

  gap: 0.45rem;

  padding: 0.6rem 0.85rem;

  margin-bottom: 40px;

  border: 1px solid rgba(83, 40, 23, 0.18);

  border-radius: 999px;

  background: #fffdf8;

  color: #24211c;

  text-decoration: none;

  font-size: 0.88rem;

  font-weight: 700;

  line-height: 1;

  box-shadow: 0 8px 22px rgba(83, 40, 23, 0.08);

  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;

}

.map-link span {

  white-space: nowrap;

}

.map-link-icon {

  display: grid;

  place-items: center;

  width: 1.45rem;

  height: 1.45rem;

  border-radius: 50%;

  background: #f1eadf;

  color: #532817;

  font-size: 0.82rem;

  font-weight: 800;

}

.hmp-a *, .hmp-a *::before, .hmp-a *::after { box-sizing: border-box; }

.hmp-a [hidden] { display: none !important; }

.hmp-a h1, .hmp-a h2, .hmp-a h3, .hmp-a h4, .hmp-a h5 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--hmp-ink); line-height: 1.16; margin: 0; text-wrap: balance; }

.hmp-a h1 { font-size: clamp(2.8rem, 4.8vw, 4.8rem); letter-spacing: -.045em; }

.hmp-a h2 { font-size: clamp(2rem, 3.5vw, 3.1rem); letter-spacing: -.025em; }

.hmp-a h3 { font-size: clamp(1.45rem, 2.5vw, 1.85rem); }

.hmp-a h4 { font-size: 1.35rem; }

.hmp-a h5 { font-size: 1.25rem; }

.hmp-a p, .hmp-a figure, .hmp-a dl { margin: 0; }

.hmp-a p + p { margin-top: 1rem; }

.hmp-a a { color: var(--theme-palette-color-1); text-underline-offset: .22em; }

.hmp-a a:hover { text-decoration-thickness: 2px; }

.hmp-a button, .hmp-a input, .hmp-a select { font: inherit; }

.hmp-a button, .hmp-a a, .hmp-a summary, .hmp-a input, .hmp-a select { touch-action: manipulation; }

.hmp-a button, .hmp-a summary { cursor: pointer; }

.hmp-a :focus-visible { outline: 3px solid var(--hmp-accent); outline-offset: 5px; }

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

.hmp-a [id] { scroll-margin-top: calc(var(--hmp-header-offset) + var(--hmp-nav-height) + 22px); }

.hmp-a .hmp-eyebrow { font: 600 .9rem/1.4 var(--theme-font-family, "Segoe UI", sans-serif); letter-spacing: .14em; text-transform: uppercase; color: var(--theme-palette-color-1); }

.hmp-a .hmp-small { font-size: .89rem; line-height: 1.55; color: var(--hmp-muted); }

.hmp-a .hmp-lead { font-size: 1.15rem; line-height: 1.65; max-width: 54ch; }

/* .hmp-a .hmp-prose { max-width: 68ch; } */

.hmp-a .hmp-prose > * + * { margin-top: 1.15rem; }

.hmp-a .hmp-prose h2, .hmp-a .hmp-prose h3, .hmp-a .hmp-prose h4 { margin-top: 1.7em; }

.hmp-a .hmp-prose h2 { font-size: 1.85rem; }

.hmp-a .hmp-prose h3 { font-size: 1.55rem; }

.hmp-a .hmp-prose iframe, .hmp-a .hmp-prose video, .hmp-a .hmp-prose audio { max-width: 100%; }

.hmp-a .hmp-prose table { display: block; max-width: 100%; overflow-x: auto; }

.hmp-a .hmp-breadcrumb { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 0 0 24px; font-size: .9rem; color: var(--hmp-muted); }

.hmp-a .hmp-breadcrumb a { color: inherit; display: inline-flex; align-items: center; min-height: 44px; }

.hmp-a .hmp-breadcrumb > span { padding-block: 12px; letter-spacing: .05em; }

.hmp-a .hmp-language-note { font-size: .85rem; padding: 14px 18px; background: var(--hmp-paper); border-left: 3px solid var(--theme-palette-color-1); margin-bottom: 24px; }

.hmp-a .hmp-preview-notice { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; padding: 16px 20px; margin-bottom: 22px; background: #e9eff5; color: #213b50; border: 1px solid #9aafbd; font-size: .86rem; }

.hmp-a .hmp-preview-notice a { color: #213b50; font-weight: 600; }

.hmp-a .hmp-masthead { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(30px, 4.5vw, 55px);  padding: 50px 0 100px; }

.hmp-a .hmp-masthead.hmp-no-photo { display: grid; grid-template-columns: 1fr; & .hmp-masthead-left { display: grid; grid-template-columns: 1fr 200px; gap: 5rem; } }

.hmp-a .hmp-masthead > * { min-width: 0; }

.hmp-a .hmp-masthead h1 { margin: 18px 0 23px; }

.hmp-a .hmp-masthead-copy { display: flex; flex-direction: column; }

.hmp-a .hmp-masthead-left {

  height: 100%;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

}

.qr-code-top img { border: 1px solid #00000030; }

.hmp-a .hmp-location { margin-top: 20px; color: var(--hmp-muted); font-size: .95rem; }

.hmp-a .hmp-no-photo .hmp-lead { max-width: 100%; }

.hmp-a .hmp-hero-figure > a { display: block; background: var(--hmp-line); height: 100%; }

.hmp-a .hmp-hero-image { display: block; width: 100%; height: 100%; object-fit: cover; border: 1px solid #00000030; padding: 10px; background-color: white; box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; }

.hmp-a figcaption { display: block; font-size: .9rem; line-height: 1.55; padding-top: 12px; color: var(--hmp-muted); }

.hmp-a figcaption > span, .hmp-a figcaption > small { display: block; }

.hmp-a figcaption > small { margin-top: 6px; font-size: .78rem; }

.hmp-a .hmp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 25px; margin-bottom: 40px;}

.hmp-a .hmp-button { min-height: 48px; padding: 11px 20px; border: 1px solid var(--hmp-forest); border-radius: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; background: var(--hmp-forest); color: #fff; text-decoration: none; font-size: .92rem; font-weight: 600; line-height: 1.4; text-align: center; box-shadow: none; transition: background-color .16s; }

.hmp-a .hmp-button-secondary { background: transparent; color: var(--hmp-ink); border-color: #afa18c; }

.hmp-a .hmp-button:hover { background: #23372c; border-color: #23372c; color: #fff; }

.hmp-a .hmp-factsbox-title { margin-bottom: 20px; }

.hmp-a .hmp-facts-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-block: 1px solid var(--hmp-line); padding-block: 26px; }

.hmp-a .hmp-facts-strip:last-of-type {  border-bottom: 1px solid var(--hmp-line); border-top: none; margin-bottom: 40px;}

.hmp-a .hmp-facts-strip > div { padding: 0 23px; border-left: 1px solid var(--hmp-line); min-width: 0; }

.hmp-a .hmp-facts-strip > div:first-child { padding-left: 0; border-left: 0; }

.hmp-a .hmp-facts-strip dt { text-transform: uppercase; color: var(--hmp-muted); font-size: .85rem; letter-spacing: .1em; margin-bottom: 7px; }

.hmp-a .hmp-facts-strip dd { margin: 0; /* font-size: 1rem; */ font-weight: 600; line-height: 1.5; }

.hmp-a .hmp-section-nav { position: sticky; top: var(--hmp-header-offset); z-index: 15; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 18px; background: var(--hmp-bg); }

.hmp-a .hmp-section-nav:empty { display: none; }

.hmp-a .hmp-section-nav a { display: flex; align-items: center; min-height: 48px; padding: 12px; color: var(--hmp-ink); /* font-size: .86rem; font-weight: 600; */ text-decoration: none; }

.hmp-a .hmp-section-nav a:hover, .hmp-a .hmp-section-nav a[aria-current="location"] { color: var(--theme-palette-color-1); box-shadow: inset 0 -2px var(--theme-palette-color-1); }

.hmp-a .hmp-section { padding-block: 66px; border-bottom: 1px solid var(--hmp-line); }

.hmp-a .hmp-section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }

.hmp-a .hmp-section-heading .hmp-eyebrow { margin-bottom: 12px; }

.hmp-a .hmp-intro-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }

.hmp-a .hmp-farm-note { border-left: 2px solid var(--theme-palette-color-1); padding-left: 25px; }

.hmp-a .hmp-farm-note h3 { margin: 10px 0 14px; }

.hmp-a .hmp-farm-note p { font-size: .95rem; }

.hmp-a .hmp-people-surface { background: var(--hmp-paper); border: 1px solid var(--hmp-line); padding: 32px; }

.hmp-a .hmp-people-tools { display: flex; align-items: end; flex-wrap: wrap; gap: 14px; margin: 25px 0; }

.hmp-a .hmp-search-label { display: grid; gap: 8px; font-size: .84rem; min-width: min(260px, 100%); flex: 1 1 260px; max-width: 480px; }

.hmp-a .hmp-search-label input, .hmp-a .hmp-family-picker select { height: auto; min-height: 48px; border: 1px solid #aa9d87; background: #fffdfa; border-radius: 2px; color: var(--hmp-ink); padding: 10px 14px; width: 100%; font-size: 1rem; }

.hmp-a .hmp-people-count { flex: 1 1 160px; text-align: right; margin-left: auto; padding-block: 12px; }

.hmp-a .hmp-empty { padding: 22px 0; color: var(--hmp-muted); }

.hmp-a .hmp-person { border: 0; border-bottom: 1px solid var(--hmp-line); margin: 0; padding: 0; }

.hmp-a .hmp-person:first-child { border-top: 1px solid var(--hmp-line); }

.hmp-a .hmp-person > summary { list-style: none; display: grid; grid-template-columns: 1.3fr 1fr 28px; gap: 20px; align-items: center; padding: 23px 0; margin: 0; }

.hmp-a .hmp-person > summary::-webkit-details-marker { display: none; }

.hmp-a .hmp-person-name { display: block; font: 1.55rem/1.2 Georgia, "Times New Roman", serif; }

.hmp-a .hmp-person-life { display: block; font-size: 1rem; color: var(--hmp-muted); margin-top: 8px; }

.hmp-a .hmp-person-role small { display: block; color: var(--hmp-muted); font-size: .9rem; margin-top: 6px; }

.hmp-a .hmp-plus { font-size: 1.7rem; text-align: center; color: var(--hmp-accent); transition: transform .15s; }

.hmp-a .hmp-person[open] > summary .hmp-plus { transform: rotate(45deg); }

.hmp-a .hmp-person-body { border-top: 1px dotted var(--hmp-line); padding: 28px 0 32px; }

.hmp-a .hmp-person-body[aria-busy="true"], .hmp-a #hmp-family-panel[aria-busy="true"] { opacity: .7; }

.hmp-a .hmp-profile { min-width: 0; }

.hmp-a .hmp-profile-heading { display: flex; flex-wrap: wrap; gap: 15px 25px; justify-content: space-between; align-items: start; margin-bottom: 24px; }

.hmp-a .hmp-profile-heading .hmp-eyebrow { margin-bottom: 9px; }

.hmp-a .hmp-profile-heading h3 { font-size: clamp(1.55rem, 3vw, 2.3rem); }

.hmp-a .hmp-profile .hmp-record-list { margin-block: 20px; }

.hmp-a .hmp-record-list > div { display: grid; grid-template-columns: minmax(130px, 26%) minmax(0, 1fr); gap: 12px 24px; margin-top: 10px; }

.hmp-a .hmp-record-list dt { color: var(--hmp-muted); font-size: .9rem; }

.hmp-a .hmp-record-list dd { margin: 0; font-size: .96rem; }

.hmp-a .hmp-tag { display: inline-block; background: #edf0e6; border: 1px solid #bcc6b3; color: #354a38; font-size: .72rem; font-weight: 600; line-height: 1.5; padding: 4px 8px; border-radius: 2px; }

.hmp-a .hmp-tag-neutral { color: #655a46; background: #f3efe6; border-color: var(--hmp-line); }

.hmp-a .hmp-profile-section { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--hmp-line); }

.hmp-a .hmp-profile-section > h4 { margin-bottom: 18px; }

.hmp-a .hmp-record-entries { padding: 0; margin: 0; list-style: none; }

.hmp-a .hmp-record-entries > li { padding-block: 0 20px; margin: 0; }

.hmp-a .hmp-record-entries > li + li { padding-top: 18px; border-top: 1px dotted var(--hmp-line); }

.hmp-a .hmp-record-entries > li:last-child { padding-bottom: 0; }

.hmp-a .hmp-record-entries > li > strong { display: inline-block; margin: 0 8px 7px 0; }

.hmp-a .hmp-record-entries p + p { margin-top: 7px; }

.hmp-a .hmp-record-entries .hmp-tag { margin-right: 8px; }

.hmp-a .hmp-family-callout { background: #eeefe3; border: 1px solid var(--hmp-line); padding: 30px; margin-top: 30px; }

.hmp-a .hmp-family-callout > .hmp-section-heading { margin-bottom: 16px; }

.hmp-a .hmp-family-starts { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 22px; }

.hmp-a .hmp-family-start { padding: 10px 14px; font-size: .87rem; border: 1px solid #aeb59f; background: var(--hmp-paper); min-height: 44px; }

.hmp-a .hmp-family-picker { display: flex; gap: 14px; flex-wrap: wrap; align-items: end; margin-block: 22px; }

.hmp-a .hmp-family-picker label { display: block; font-size: .86rem; flex-basis: 100%; }

.hmp-a .hmp-family-picker > div { display: flex; gap: 12px; flex-wrap: wrap; width: 100%; }

.hmp-a .hmp-family-picker select { flex: 1 1 220px; min-width: 0; max-width: 480px; }

.hmp-a .hmp-family-picker > p { flex-basis: 100%; }

.hmp-a #hmp-family-panel { background: var(--hmp-paper); border: 1px solid var(--hmp-line); padding: 28px; }

.hmp-a .hmp-family-prompt { font-size: .92rem; color: var(--hmp-muted); }

.hmp-a .hmp-family-path { padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--hmp-line); }

.hmp-a .hmp-family-path ol { display: flex; flex-wrap: wrap; gap: 5px 10px; list-style: none; padding: 0; margin: 0; font-size: .82rem; }

.hmp-a .hmp-family-path li { margin: 0; }

.hmp-a .hmp-family-path li + li::before { content: "→"; color: var(--hmp-muted); margin-right: 10px; }

.hmp-a .hmp-family-path a { display: inline-block; padding-block: 10px; }

.hmp-a .hmp-family-path span { display: inline-block; padding-block: 10px; }

.hmp-a .hmp-family-list { list-style: none; margin: 23px 0 0 8px; padding-left: 26px; border-left: 1px solid #9aa58d; }

.hmp-a .hmp-family-list > li { position: relative; margin: 0 0 23px; padding: 0 0 10px 12px; }

.hmp-a .hmp-family-list > li:last-child { margin-bottom: 0; padding-bottom: 0; }

.hmp-a .hmp-family-list > li::before { content: ""; position: absolute; left: -26px; top: 13px; width: 25px; border-top: 1px solid #9aa58d; }

.hmp-a .hmp-family-list h5 { margin: 4px 0 8px; }

.hmp-a .hmp-family-list .hmp-tag { margin-top: 8px; }

.hmp-a .hmp-family-list p + p { margin-top: 8px; }

.hmp-a .hmp-relative-link { display: inline-block; padding-block: 6px; }

.hmp-a .hmp-person-sources, .hmp-a .hmp-legacy-people { margin-top: 30px; border-top: 1px solid var(--hmp-line); padding-top: 12px; }

.hmp-a .hmp-person-sources > summary, .hmp-a .hmp-legacy-people > summary { font-weight: 600; font-size: .96rem; padding-block: 14px; min-height: 48px; }

.hmp-a .hmp-legacy-person { padding: 25px 0; border-top: 1px dotted var(--hmp-line); }

.hmp-a .hmp-legacy-person h3 { margin-bottom: 18px; }

.hmp-a .hmp-legacy-person > p { margin-top: 18px; }

.hmp-a .hmp-citation-links { font-size: .78rem; white-space: nowrap; }

.hmp-a .hmp-citation-links a { display: inline-block; font-weight: 600; padding: 3px 5px; }

.hmp-a .hmp-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; margin-block: 28px 8px; font-size: .9rem; }

.hmp-a .hmp-history-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }

.hmp-a .hmp-timeline { list-style: none; border-left: 1px solid #a99277; margin: 0 0 0 12px; padding: 0 0 0 24px; }

.hmp-a .hmp-timeline li { position: relative; padding: 0 0 30px 14px; margin: 0; }

.hmp-a .hmp-timeline li:last-child { padding-bottom: 0; }

.hmp-a .hmp-timeline li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--theme-palette-color-1); position: absolute; left: -29px; top: 7px; box-shadow: 0 0 0 5px var(--hmp-bg); }

.hmp-a .hmp-timeline h3 { font-size: 1.35rem; margin-block: 9px; }

.hmp-a .hmp-timeline p { color: var(--hmp-muted); }

.hmp-a .hmp-timeline .hmp-time-label { font-size: .9rem; color: var(--theme-palette-color-1); font-weight: 600; }

.hmp-a .hmp-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }

.hmp-a .hmp-gallery-image { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;   border: 1px solid #00000030; padding: 10px; background-color: white; box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; }

.hmp-a .hmp-gallery-item > a { display: block; background: var(--hmp-line); }

.hmp-a .hmp-document { padding: 25px; border: 1px solid var(--hmp-line); background: var(--hmp-paper); }

.hmp-a .hmp-document h3 { margin-top: 15px; font-size: 1.45rem; }

.hmp-a .hmp-map-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }

.hmp-a .hmp-place-map { height: 380px; position: relative; z-index: 1; background: #e4e6d9; border: 1px solid #b3b7a4; }

.hmp-a .hmp-map-fallback { padding: 32px; max-width: 42ch; font-size: .95rem; }

.hmp-a .hmp-map-column .hmp-actions { font-size: .84rem; }

.hmp-a .hmp-map-status:empty { display: none; }

.hmp-a .hmp-map-status { margin-top: 15px; }

.hmp-a .hmp-landscape > .hmp-record-list { margin-block: 20px; }

.hmp-a .hmp-visit-note { border-left: 3px solid var(--theme-palette-color-1); background: var(--hmp-paper); padding: 20px 23px; margin-top: 25px; }

.hmp-a .hmp-visit-note h3 { margin-bottom: 13px; font-size: 1.4rem; }

.hmp-a .hmp-inline-note { border-left: 2px solid #8c7e61; padding: 10px 15px; margin-block: 18px; background: #f7f2e7; }

.hmp-a .hmp-map-pin { display: block; width: 24px; height: 24px; background: var(--hmp-forest); border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 2px 7px #0005; }

.hmp-a .hmp-map-marker { background: transparent; border: 0; }

.hmp-a .hmp-place-map .leaflet-control-attribution { font-size: 10px; line-height: 1.5; }

.hmp-a .hmp-place-map .leaflet-control-zoom a { color: var(--hmp-ink); }

.hmp-a .hmp-place-map .leaflet-control-layers-toggle { width: 44px; height: 44px; }

.hmp-a .hmp-place-map .leaflet-popup-content { font-family: inherit; font-size: .9rem; }

.hmp-a .hmp-place-map .leaflet-container { font-family: inherit; }

.hmp-a .hmp-source-list { list-style: decimal; margin: 22px 0 28px; padding-left: 28px; }

.hmp-a .hmp-source-list > li { padding: 0 0 24px 10px; margin: 0 0 24px; border-bottom: 1px solid var(--hmp-line); scroll-margin-top: calc(var(--hmp-header-offset) + var(--hmp-nav-height) + 20px); }

.hmp-a .hmp-source-list > li:last-child { margin-bottom: 0; }

.hmp-a .hmp-source-list h3 { font-size: 1.45rem; margin-bottom: 12px; }

.hmp-a .hmp-source-list li::marker { font-weight: 600; color: var(--hmp-accent); }

.hmp-a .hmp-source-list p { font-size: .94rem; }

.hmp-a .hmp-claims { margin-top: 14px; padding-left: 20px; font-size: .9rem; }

.hmp-a .hmp-claims li { margin-bottom: 9px; }

.hmp-a .hmp-all-facts { border: 1px solid var(--hmp-line); background: var(--hmp-paper); margin-top: 30px; }

.hmp-a .hmp-all-facts > summary { font-weight: 600; padding: 20px 25px; min-height: 55px; }

.hmp-a .hmp-all-facts-body { padding: 0 25px 30px; }

.hmp-a .hmp-record-group { border-top: 1px solid var(--hmp-line); padding: 26px 0 8px; margin-top: 18px; }

.hmp-a .hmp-record-group > h3 { font-size: 1.4rem; margin-bottom: 20px; }

.hmp-a .hmp-record-group:first-child { margin-top: 0; }

.hmp-a .hmp-record-repeat h4 { font-size: 1.15rem; margin-block: 20px 14px; }

.hmp-a .hmp-record-repeat dl { border-top: 1px dotted var(--hmp-line); padding-block: 12px; }

.hmp-a .hmp-record-group > .hmp-record-list { margin: 0; }

.hmp-a .hmp-contribute { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 25px 50px; padding-block: 44px; border-bottom: 1px solid var(--hmp-line); }

.hmp-a .hmp-contribute > div { flex: 1 1 450px; max-width: 70ch; }

.hmp-a .hmp-contribute h2 { font-size: 1.8rem; margin-bottom: 15px; }

.hmp-a .hmp-contribute p { font-size: .95rem; }

.hmp-a .hmp-place-footer { display: flex; justify-content: space-between; align-items: start; gap: 30px; padding-block: 28px; }

.hmp-a .hmp-footer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; margin-block: 10px; font-size: .83rem; }

.hmp-a .hmp-text-button { color: var(--hmp-accent); padding: 10px 0; border: 0; box-shadow: none; border-radius: 0; background: transparent; min-height: 44px; font-size: inherit; text-decoration: underline; text-underline-offset: .22em; }

.hmp-a .hmp-text-button:hover { text-decoration-thickness: 2px; }

.hmp-a .hmp-qr { font-size: .83rem; flex: 0 0 auto; }

.hmp-a .hmp-qr summary { min-height: 44px; padding-block: 10px; }

.hmp-a .hmp-qr img { display: block; margin: 12px auto 0; background: #fff; }

.hmp-a .hmp-print-url, .hmp-a .hmp-print-note { display: none; }

.hmp-a .hmp-loading, .hmp-a .hmp-fetch-error { font-size: .92rem; margin-block: 12px 18px; }

.hmp-a .hmp-fetch-error { border-left: 3px solid var(--hmp-accent); padding: 14px 18px; }

.hmp-a .hmp-fetch-error a, .hmp-a .hmp-fetch-error button { margin: 10px 15px 0 0; }

.hmp-a .hmp-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.hmp-a .hmp-single-column { grid-template-columns: 1fr; }



@media (max-width: 1020px) {

  .hmp-a .hmp-masthead { grid-template-columns: 1fr 1fr; gap: 32px; }

  .hmp-a .hmp-no-photo { grid-template-columns: 1fr; }

  .hmp-a .hmp-facts-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 25px; }

  .hmp-a .hmp-facts-strip > div:nth-child(odd) { padding-left: 0; border-left: 0; }

  .hmp-a .hmp-section-nav { justify-content: flex-start; gap: 0 24px; }

  .hmp-a .hmp-map-layout { grid-template-columns: 1fr; }

  .hmp-a .hmp-place-map { height: 390px; }

  .hmp-a-shell { width: calc(100% - 40px); padding-bottom: 32px; }

  .hmp-a { font-size: 16px; }

  .hmp-a .hmp-masthead { grid-template-columns: 1fr; padding-top: 0; gap: 0px; & .hmp-masthead-left { display: grid; grid-template-columns: 1fr 200px; gap: 3rem; } }

  .hmp-a .hmp-hero-image { aspect-ratio: 4 / 3; max-height: 520px; }

  .hmp-a .hmp-masthead h1 { font-size: clamp(2.8rem, 11vw, 4.6rem); }

  .hmp-a .hmp-section { padding-block: 45px; }

  .hmp-a .hmp-section-nav { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; padding-block: 10px; box-shadow: none; }

  .hmp-a .hmp-section-nav a { font-size: .82rem; line-height: 1.35; }

  .hmp-a [id] { scroll-margin-top: calc(var(--hmp-header-offset) + 18px); }

  .hmp-a .hmp-intro-grid, .hmp-a .hmp-history-layout { grid-template-columns: 1fr; gap: 35px; }

  .hmp-a .hmp-people-surface { padding: 22px; }

  .hmp-a .hmp-people-count { text-align: left; flex-basis: 100%; padding-block: 0; }

  .hmp-a .hmp-person > summary { grid-template-columns: minmax(0, 1fr) 25px; gap: 12px 15px; }

  .hmp-a .hmp-person-role { grid-column: 1; }

  .hmp-a .hmp-plus { grid-column: 2; grid-row: 1 / span 2; }

  .hmp-a .hmp-person-name { font-size: 1.42rem; }

  .hmp-a .hmp-family-callout { padding: 22px; }

  .hmp-a #hmp-family-panel { padding: 22px; }

  .hmp-a .hmp-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hmp-a .hmp-profile-heading .hmp-eyebrow { font-size: .65rem; }

  .hmp-a .hmp-record-list > div { grid-template-columns: minmax(100px, 30%) minmax(0, 1fr); gap: 6px 14px; }

  .hmp-a .hmp-record-list dt, .hmp-a .hmp-record-list dd { font-size: .86rem; }

}

@media (max-width: 680px) {

  .hmp-a .hmp-masthead.hmp-no-photo { display: grid; grid-template-columns: 1fr; & .hmp-masthead-left { display: grid; grid-template-columns: 1fr; gap: 3rem; } }

  .hmp-a .hmp-masthead { grid-template-columns: 1fr; padding-top: 0; gap: 0px; & .hmp-masthead-left { display: grid; grid-template-columns: 1fr; gap: 3rem; } }

  .hmp-a .hmp-people-surface { padding: 20px 16px; }

  .hmp-a .hmp-family-callout { padding: 22px 16px; }

  .hmp-a #hmp-family-panel { padding: 22px 16px; }

  .hmp-a .hmp-record-list > div { grid-template-columns: 1fr; gap: 3px; margin-top: 17px; }

  .hmp-a .hmp-record-list dt { font-weight: 600; }

  .hmp-a .hmp-facts-strip > div { padding-right: 10px; padding-left: 15px; }

  .hmp-a .hmp-facts-strip dd { font-size: .91rem; }

  .hmp-a .hmp-facts-strip dt { font-size: .65rem; }

  .hmp-a .hmp-gallery-grid { grid-template-columns: 1fr; }

  .hmp-a .hmp-place-map { height: 320px; }

  .hmp-a .hmp-family-list { padding-left: 17px; margin-left: 0; }

  .hmp-a .hmp-family-list > li { padding-left: 4px; }

  .hmp-a .hmp-family-list > li::before { left: -17px; width: 16px; }

  .hmp-a .hmp-place-footer { flex-direction: column; }

  .hmp-a .hmp-all-facts > summary { padding: 18px; }

  .hmp-a .hmp-all-facts-body { padding: 0 18px 24px; }

  .hmp-a .hmp-source-list { padding-left: 20px; }

  .hmp-a .hmp-source-list > li { padding-left: 4px; }

}

@media (prefers-reduced-motion: reduce) {

  .hmp-a *, .hmp-a *::before, .hmp-a *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

}

@media print {

  @page { margin: 18mm; }

  body.hmp-a-page { background: #fff !important; }

  body.hmp-a-page #header, body.hmp-a-page #footer, body.hmp-a-page #wpadminbar, body.hmp-a-page .ct-back-to-top { display: none !important; }

  .hmp-a-shell { width: 100%; padding: 0; margin: 0; }

  .hmp-a { color: #000; font-size: 10.5pt; --hmp-bg: #fff; --hmp-paper: #fff; --hmp-line: #bbb; }

  .hmp-a h1 { font-size: 32pt; }

  .hmp-a h2 { font-size: 22pt; }

  .hmp-a h3 { font-size: 16pt; }

  .hmp-a .hmp-section-nav, .hmp-a .hmp-preview-notice, .hmp-a .hmp-people-tools, .hmp-a .hmp-footer-actions, .hmp-a .hmp-contribute,

  .hmp-a .hmp-family-starts, .hmp-a .hmp-family-picker, .hmp-a .hmp-pagination, .hmp-a .hmp-plus, .hmp-a .hmp-actions,

  .hmp-a .hmp-place-map, .hmp-a .hmp-map-status, .hmp-a .hmp-family-prompt { display: none !important; }

  .hmp-a .hmp-print-url, .hmp-a .hmp-print-note { display: block; font-size: 9pt; margin-top: 15px; }

  .hmp-a .hmp-masthead { gap: 25px; grid-template-columns: 1fr 1fr; }

  .hmp-a .hmp-no-photo { grid-template-columns: 1fr; }

  .hmp-a .hmp-section { padding-block: 28px; }

  .hmp-a .hmp-person > summary { grid-template-columns: 1.2fr 1fr; }

  .hmp-a .hmp-person-role { grid-column: auto; }

  .hmp-a .hmp-intro-grid, .hmp-a .hmp-history-layout, .hmp-a .hmp-map-layout { display: block; }

  .hmp-a .hmp-time-notes, .hmp-a .hmp-farm-note { margin-top: 25px; }

  .hmp-a .hmp-people-surface, .hmp-a .hmp-family-callout, .hmp-a #hmp-family-panel { padding: 20px; background: #fff; }

  .hmp-a .hmp-record-list > div { grid-template-columns: 140px 1fr; }

  .hmp-a figure, .hmp-a .hmp-person > summary, .hmp-a .hmp-record-list > div { break-inside: avoid; }

  .hmp-a h2, .hmp-a h3, .hmp-a h4 { break-after: avoid; }

  .hmp-a .hmp-profile-section, .hmp-a .hmp-profile { break-inside: auto; }

  .hmp-a .hmp-family-list { border-color: #999; }

  .hmp-a .hmp-tag { color: #000; border-color: #999; background: #fff; }

  .hmp-a a { color: #000; }

  .hmp-a .hmp-qr img { width: 110px; }

}


/* 1.5: independent public person pages; legacy family explorer retained. */
.hmp-person-direct{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:1rem;padding:1.1rem 1.2rem;align-items:start}
.hmp-person-direct h3{margin:0 0 .4rem;font-size:1.12rem}.hmp-person-direct h3 a{text-decoration:underline;text-underline-offset:.18em}.hmp-person-direct p{margin:0}.hmp-person-direct .hmp-person-role{white-space:normal}
.hmp-person-documentation{border-left:3px solid #476856;padding:.1rem 1rem;margin:1rem 0;background:#f5f7f3}.hmp-person-documentation p{margin:.5rem 0}
@media(max-width:600px){.hmp-person-direct{grid-template-columns:1fr;gap:.65rem}}
