/* Notre-Dame de l’Herbasse · styles isolated from the WordPress theme. */
@font-face {
  font-family: "NDH Liberation";
  src: url("fonts/LiberationSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: "NDH Liberation";
  src: url("fonts/LiberationSans-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: block;
}
@font-face {
  font-family: "NDH Liberation";
  src: url("fonts/LiberationSans-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: block;
}
body.ndh-funerailles-page #main-content { background: #fbf8f1; }
body.ndh-funerailles-page #main-content > .container { width: 96%; max-width: 1280px; padding-top: 20px; }
body.ndh-funerailles-page #left-area { width: 100% !important; float: none; padding: 0; }
body.ndh-funerailles-page #sidebar,
body.ndh-funerailles-page #main-content > .container::before,
body.ndh-funerailles-page .entry-title.main_title,
body.ndh-funerailles-page .et_post_meta_wrapper { display: none !important; }
.ndhf {
  --ndhf-accent: #071a5f;
  /* Source: https://paroisse-herbasse.fr/ · public global style --parish-pink. */
  --ndhf-raspberry: #ef2d6f;
  --ndhf-ink: #302c2a;
  --ndhf-muted: #716964;
  --ndhf-cream: #fbf8f1;
  --ndhf-line: #e6ded3;
  --ndhf-soft: #f0f2f8;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 36px 0 52px;
  color: var(--ndhf-ink);
  font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
.ndhf *, .ndhf *::before, .ndhf *::after { box-sizing: border-box; }
.ndhf [hidden] { display: none !important; }
.ndhf h1, .ndhf h2, .ndhf h3, .ndhf h4, .ndhf p, .ndhf ul, .ndhf ol { margin: 0; padding: 0; }
.ndhf h1, .ndhf h2, .ndhf h3, .ndhf h4 { color: var(--ndhf-ink); line-height: 1.24; font-weight: 600; }
.ndhf a { color: var(--ndhf-accent); text-decoration: underline; text-underline-offset: 3px; }
.ndhf a:hover { text-decoration-thickness: 2px; }
.ndhf button, .ndhf input, .ndhf select, .ndhf textarea { font: inherit; letter-spacing: normal; text-transform: none; }
.ndhf button, .ndhf summary, .ndhf label { -webkit-tap-highlight-color: transparent; }
.ndhf button { cursor: pointer; }
.ndhf button:disabled { cursor: default; opacity: .55; }
.ndhf button:focus-visible, .ndhf a:focus-visible, .ndhf summary:focus-visible {
  outline: 3px solid var(--ndhf-raspberry);
  outline-offset: 4px;
}
.ndhf .ndhf-hero { position: relative; margin-bottom: 28px; padding-left: 23px; border-left: 3px solid var(--ndhf-raspberry); }
.ndhf .ndhf-hero .ndhf-eyebrow, .ndhf .ndhf-eyebrow, .ndhf .ndhf-hero .eyebrow, .ndhf .ndhf-step-label {
  display: block;
  color: var(--ndhf-accent);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.ndhf .ndhf-hero h1, .ndhf .ndhf-hero h2 {
  max-width: 850px;
  margin: 9px 0 12px;
  color: var(--ndhf-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3.7vw, 45px);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -.03em;
}
.ndhf .ndhf-hero p { max-width: 810px; color: var(--ndhf-muted); font-size: 16px; line-height: 1.65; }
.ndhf .ndhf-guidance {
  margin-bottom: 25px;
  padding: 15px 19px;
  border: 1px solid var(--ndhf-line);
  border-radius: 10px;
  background: var(--ndhf-cream);
  color: #5f5751;
  font-size: 14px;
}
.ndhf .ndhf-guidance summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  list-style: none;
  font-weight: 650;
  color: var(--ndhf-ink);
  cursor: pointer;
}
.ndhf summary::-webkit-details-marker { display: none; }
.ndhf .ndhf-guidance summary::after { content: "+"; flex-shrink: 0; color: var(--ndhf-raspberry); font-size: 23px; font-weight: 400; line-height: 1; }
.ndhf .ndhf-guidance[open] summary::after { content: "−"; }
.ndhf .ndhf-guidance p { margin-top: 12px; }
.ndhf .ndhf-guidance ul { padding-left: 22px; margin-top: 9px; }
.ndhf .ndhf-guidance section { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--ndhf-line); }
.ndhf .ndhf-guidance section h3 { font-size: 14px; font-weight: 650; }
.ndhf .ndhf-guidance section p { margin-top: 5px; }
.ndhf .ndhf-stepper { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; margin-bottom: 22px; }
.ndhf .ndhf-stepper button {
  display: flex;
  min-width: 0;
  min-height: 63px;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid var(--ndhf-line);
  border-radius: 9px;
  background: #fff;
  color: var(--ndhf-muted);
  text-align: left;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
  box-shadow: none;
  transition: background .15s, border-color .15s, color .15s;
}
.ndhf .ndhf-stepper button:hover { border-color: var(--ndhf-accent); color: var(--ndhf-accent); }
.ndhf .ndhf-step-number {
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  height: 27px;
  border: 1px solid #d8d0c6;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  font-weight: 650;
}
.ndhf .ndhf-stepper button.is-active { border-color: var(--ndhf-accent); border-bottom-color: var(--ndhf-raspberry); background: var(--ndhf-accent); color: #fff; box-shadow: inset 0 -2px 0 var(--ndhf-raspberry); }
.ndhf .ndhf-stepper button.is-active .ndhf-step-number { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.13); color: #fff; }
.ndhf .ndhf-stepper button.is-complete:not(.is-active) { color: var(--ndhf-accent); border-color: #c4cada; background: var(--ndhf-cream); }
.ndhf .ndhf-stepper button.is-complete:not(.is-active) .ndhf-step-number { border-color: var(--ndhf-accent); background: var(--ndhf-accent); color: #fff; }
.ndhf .ndhf-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.ndhf .ndhf-form-card { min-width: 0; padding: 30px; border: 1px solid var(--ndhf-line); border-radius: 13px; background: #fff; box-shadow: 0 4px 22px rgba(66,43,33,.035); }
.ndhf .ndhf-panel { min-width: 0; }
.ndhf .ndhf-panel h2 { margin: 8px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 400; }
.ndhf h2.ndhf-stage-title, .ndhf .ndhf-stage-title h2 { margin: 8px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 400; }
.ndhf .ndhf-stage-title p { margin-bottom: 25px; color: var(--ndhf-muted); font-size: 14px; line-height: 1.6; }
.ndhf .ndhf-panel > p { margin-bottom: 25px; color: var(--ndhf-muted); font-size: 14px; line-height: 1.6; }
.ndhf .ndhf-panel h3 { margin: 25px 0 13px; font-size: 17px; font-weight: 650; }
.ndhf .ndhf-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 15px; }
.ndhf .ndhf-field { min-width: 0; margin-bottom: 20px; }
.ndhf .ndhf-fields > .ndhf-field { margin-bottom: 0; }
.ndhf .ndhf-wide { grid-column: 1 / -1; }
.ndhf .ndhf-field > label, .ndhf .ndhf-field > .ndhf-label {
  display: block;
  margin-bottom: 7px;
  padding: 0;
  color: var(--ndhf-ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}
.ndhf .ndhf-field input:not([type="checkbox"]):not([type="radio"]), .ndhf .ndhf-field select, .ndhf .ndhf-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 47px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #cec5ba;
  border-radius: 6px;
  outline: none;
  background: #fff;
  color: var(--ndhf-ink);
  font-size: 15px;
  line-height: 1.5;
  box-shadow: none;
  transition: border-color .15s, box-shadow .15s;
}
.ndhf .ndhf-field select { padding-right: 29px; cursor: pointer; }
.ndhf .ndhf-field textarea { min-height: 130px; resize: vertical; }
.ndhf .ndhf-field input::placeholder, .ndhf .ndhf-field textarea::placeholder { color: #8c847c; opacity: 1; }
.ndhf .ndhf-field input:not([type="checkbox"]):not([type="radio"]):focus, .ndhf .ndhf-field select:focus, .ndhf .ndhf-field textarea:focus {
  border-color: var(--ndhf-raspberry);
  outline: 2px solid var(--ndhf-raspberry);
  outline-offset: 2px;
  box-shadow: none;
}
.ndhf .ndhf-field input[aria-invalid="true"], .ndhf .ndhf-field textarea[aria-invalid="true"] { border-color: #a72f27; }
.ndhf .ndhf-field input[type="file"] { font-size: 13px !important; padding: 8px !important; }
.ndhf .ndhf-field input[type="file"]::file-selector-button {
  margin-right: 9px;
  padding: 6px 9px;
  border: 0;
  border-radius: 4px;
  background: var(--ndhf-cream);
  color: var(--ndhf-accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.ndhf .ndhf-hint { display: block; margin-top: 7px; color: var(--ndhf-muted); font-size: 12px; line-height: 1.55; }
.ndhf .ndhf-radio-group { display: flex; gap: 8px; flex-wrap: wrap; }
.ndhf fieldset.ndhf-radio-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.ndhf .ndhf-radio-group legend { margin: 0 0 7px; padding: 0; color: var(--ndhf-ink); font-size: 14px; font-weight: 650; line-height: 1.4; }
.ndhf .ndhf-radio-group label { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 9px 12px; border: 1px solid var(--ndhf-line); border-radius: 6px; background: var(--ndhf-cream); color: var(--ndhf-ink); font-size: 14px; font-weight: 400; cursor: pointer; }
.ndhf .ndhf-check { display: flex; align-items: flex-start; gap: 9px; min-height: 44px; color: var(--ndhf-ink); font-size: 14px; cursor: pointer; }
.ndhf .ndhf-check input { margin-top: 2px; }
.ndhf input[type="checkbox"], .ndhf input[type="radio"] { accent-color: var(--ndhf-accent); width: 17px; height: 17px; margin: 0; flex-shrink: 0; cursor: pointer; }
.ndhf .ndhf-radio-group label:has(input:checked) { border-color: var(--ndhf-accent); background: var(--ndhf-soft); }
.ndhf .ndhf-song-suggestions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: -10px 0 23px; }
.ndhf .ndhf-song-suggestions .ndhf-button.ghost { min-height: 35px; padding: 6px 9px; border: 1px solid var(--ndhf-line); border-radius: 5px; background: var(--ndhf-cream); font-size: 11px; font-weight: 500; }
.ndhf .ndhf-choice { margin-bottom: 24px; }
.ndhf .ndhf-choice .ndhf-field { margin-bottom: 8px; }
.ndhf .ndhf-choice details { border: 1px solid var(--ndhf-line); border-radius: 6px; background: var(--ndhf-cream); }
.ndhf .ndhf-choice details > .ndhf-field { margin: 0; padding: 13px; border-top: 1px solid var(--ndhf-line); }
.ndhf .ndhf-choice summary { padding: 10px 13px; color: var(--ndhf-accent); font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; }
.ndhf .ndhf-choice summary::before { content: "+"; display: inline-block; width: 21px; color: var(--ndhf-raspberry); font-size: 18px; line-height: 1; vertical-align: -1px; }
.ndhf .ndhf-choice details[open] { border-left: 2px solid var(--ndhf-raspberry); }
.ndhf .ndhf-choice details[open] summary::before { content: "−"; }
.ndhf .ndhf-reading-text { max-height: 350px; overflow: auto; padding: 15px; border-top: 1px solid var(--ndhf-line); color: #5b514a; font-size: 14px; line-height: 1.75; white-space: pre-line; }
.ndhf .ndhf-reading-text p + p { margin-top: 12px; }
.ndhf .ndhf-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--ndhf-line); }
.ndhf .ndhf-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  max-width: 100%;
  margin: 0;
  padding: 11px 19px;
  border: 1px solid var(--ndhf-accent);
  border-radius: 6px;
  background: var(--ndhf-accent);
  color: #fff !important;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: none !important;
  text-align: center;
  box-shadow: none;
  transition: filter .15s, transform .15s;
}
.ndhf .ndhf-button:hover { filter: brightness(.92); }
.ndhf .ndhf-button:active { transform: translateY(1px); }
.ndhf .ndhf-button.secondary, .ndhf .ndhf-button--secondary { background: #fff; border-color: #d9cfc4; color: var(--ndhf-ink) !important; }
.ndhf .ndhf-button.ghost, .ndhf .ndhf-button--ghost { min-height: 40px; padding: 8px 11px; border-color: transparent; background: transparent; color: var(--ndhf-accent) !important; font-size: 12px; }
.ndhf .ndhf-preview-shell { position: sticky; top: 28px; min-width: 0; border: 1px solid var(--ndhf-line); border-radius: 13px; background: #ede8e1; overflow: hidden; }
.ndhf .ndhf-preview-header, .ndhf .ndhf-preview-shell > header { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 19px; border-bottom: 1px solid #d9d0c5; background: #f8f5ef; }
.ndhf .ndhf-preview-header h2, .ndhf .ndhf-preview-shell > header h2, .ndhf .ndhf-preview-header h3, .ndhf .ndhf-preview-shell > header h3 { margin: 0; color: var(--ndhf-ink); font-family: inherit; font-size: 15px; font-weight: 650; }
.ndhf .ndhf-preview-header p, .ndhf .ndhf-preview-shell > header p, .ndhf .ndhf-preview-header small { color: var(--ndhf-muted); font-size: 11px; line-height: 1.5; }
.ndhf .ndhf-preview-shell > header strong { display: block; color: var(--ndhf-ink); font-size: 14px; line-height: 1.5; font-weight: 650; }
.ndhf .ndhf-preview-shell > header span { display: block; margin-top: 2px; color: var(--ndhf-muted); font-size: 11px; line-height: 1.5; }
.ndhf .ndhf-preview-scroll { max-height: min(900px, calc(100vh - 140px)); overflow-x: hidden; overflow-y: auto; padding: 24px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #b2a79a transparent; }
.ndhf .ndhf-preview-pages { display: grid; gap: 22px; min-width: 0; }
.ndhf .ndhf-paper {
  position: relative;
  display: block;
  container-type: inline-size;
  width: 100%;
  min-width: 0;
  aspect-ratio: 148 / 210;
  padding: 0;
  overflow: hidden;
  background: #fff;
  color: #292724;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.62;
  box-shadow: 0 3px 13px rgba(57,39,28,.12);
}
.ndhf .ndhf-paper p { margin: 0 0 11px; font-size: inherit; line-height: inherit; }
.ndhf .ndhf-paper h2, .ndhf .ndhf-paper h3, .ndhf .ndhf-paper h4 { color: inherit; font-family: inherit; }
.ndhf .ndhf-paper .ndhf-pdf-line {
  position: absolute;
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  white-space: pre;
  overflow-wrap: normal;
  word-break: normal;
  font-family: "Times New Roman", Times, serif;
  font-size: 2.62cqw;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: normal;
}
.ndhf .ndhf-paper .ndhf-pdf-line.sans { font-family: Arial, Helvetica, sans-serif; }
.ndhf .ndhf-paper .ndhf-pdf-rule { position: absolute; margin: 0; padding: 0; height: 1px; border: 0; background: #c8bfaf; }
.ndhf .ndhf-paper .ndhf-pdf-image { position: absolute; display: block; margin: 0; padding: 0; max-width: none; border: 0; object-fit: contain; }
.ndhf .ndhf-cover { align-items: center; justify-content: center; text-align: center; }
.ndhf .ndhf-cover .ndhf-cover-logo, .ndhf .ndhf-cover .ndhf-logo { display: block; width: 90px; max-width: 30%; height: auto; max-height: 65px; margin: 0 auto 22px; object-fit: contain; }
.ndhf .ndhf-cover .ndhf-parish-name { margin-bottom: 22px; color: var(--ndhf-accent); font-family: system-ui, sans-serif; font-size: 11px; letter-spacing: .04em; line-height: 1.5; }
.ndhf .ndhf-cover .ndhf-book-title { margin: 0 0 14px; font-size: clamp(17px, 1.9vw, 22px); font-weight: 400; line-height: 1.35; }
.ndhf .ndhf-cover .ndhf-deceased-name, .ndhf .ndhf-cover h2 { margin: 0 0 14px; color: var(--ndhf-accent); font-size: clamp(24px, 2.8vw, 32px); line-height: 1.15; font-weight: 400; overflow-wrap: anywhere; }
.ndhf .ndhf-cover .ndhf-life-dates { margin-bottom: 18px; color: #756b63; font-size: 12px; }
.ndhf .ndhf-cover .ndhf-cover-photo, .ndhf .ndhf-cover .ndhf-photo { width: min(145px, 50%); max-height: 160px; margin: 4px auto 23px; border-radius: 2px; object-fit: cover; }
.ndhf .ndhf-cover .ndhf-cover-date, .ndhf .ndhf-cover .ndhf-cover-church { margin-bottom: 7px; font-size: 12px; }
.ndhf .ndhf-cover .ndhf-cross { margin-bottom: 20px; color: var(--ndhf-accent); font-family: Georgia, serif; font-size: 36px; line-height: 1; }
.ndhf .ndhf-cover .ndhf-cover-quote { margin-top: 20px; max-width: 270px; color: #6b5e56; font-style: italic; font-size: 13px; }
.ndhf .ndhf-paper.body { padding: 0; }
.ndhf .ndhf-paper.body .ndhf-book-title { margin-bottom: 19px; padding-bottom: 8px; border-bottom: 1px solid #e0d5c8; color: var(--ndhf-accent); font-size: 20px; font-weight: 400; }
.ndhf .ndhf-section { margin-bottom: 20px; }
.ndhf .ndhf-section h3 { margin: 0 0 7px; color: var(--ndhf-accent); font-size: 17px; font-weight: 400; line-height: 1.3; }
.ndhf .ndhf-section h4 { margin: 0 0 7px; font-size: 14px; font-weight: 600; }
.ndhf .ndhf-ref { margin-bottom: 10px !important; color: #766d64; font-family: system-ui, sans-serif; font-size: 10px !important; }
.ndhf .ndhf-book-footer { margin-top: auto; padding-top: 16px; color: #8b8076; font-family: system-ui, sans-serif; font-size: 9px; text-align: center; }
.ndhf .ndhf-page-number { position: absolute; right: 10%; bottom: 5%; color: #8b8076; font-family: system-ui, sans-serif; font-size: 9px; }
.ndhf .ndhf-notice, .ndhf .ndhf-error, .ndhf .ndhf-success { margin: 16px 0; padding: 12px 14px; border: 1px solid #e1d4c3; border-radius: 7px; background: #fbf7ed; color: #6f583b; font-size: 13px; line-height: 1.6; }
.ndhf .ndhf-error { border-color: #dfb7ae; background: #fff4f0; color: #8c2c22; }
.ndhf .ndhf-success { border-color: #c5d7c4; background: #f1f7ef; color: #3f623d; }
.ndhf .ndhf-final-summary { margin: 20px 0; padding: 17px; border: 1px solid var(--ndhf-line); border-radius: 8px; background: var(--ndhf-cream); }
.ndhf .ndhf-final-summary p { margin: 0 0 5px; font-size: 14px; }
.ndhf .ndhf-final-summary p:last-child { margin-bottom: 0; }
.ndhf .ndhf-final-summary > strong { display: block; margin-bottom: 8px; color: var(--ndhf-accent); font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1.3; font-weight: 400; }
.ndhf .ndhf-final-summary > span { display: block; margin-top: 4px; color: var(--ndhf-muted); font-size: 13px; }
.ndhf .ndhf-final-summary ul { margin-top: 8px; padding-left: 20px; font-size: 13px; color: var(--ndhf-muted); }
.ndhf .ndhf-downloads { display: grid; gap: 12px; margin: 22px 0; }
.ndhf .ndhf-download-card { padding: 18px; border: 1px solid var(--ndhf-line); border-radius: 8px; background: #fff; }
.ndhf .ndhf-download-card h3 { margin: 0 0 7px; font-size: 16px; font-weight: 650; }
.ndhf .ndhf-download-card p { margin-bottom: 14px; font-size: 13px; line-height: 1.6; color: var(--ndhf-muted); }
.ndhf .ndhf-download-card .ndhf-button { width: 100%; }
.ndhf .ndhf-downloads > .ndhf-button { width: 100%; }
.ndhf .ndhf-downloads > p { margin: -5px 0 10px; color: var(--ndhf-muted); font-size: 12px; line-height: 1.6; }
.ndhf .ndhf-panel > details { padding: 13px 15px; border: 1px solid var(--ndhf-line); border-radius: 7px; background: var(--ndhf-cream); font-size: 13px; }
.ndhf .ndhf-panel > details > summary { color: var(--ndhf-accent); font-size: 13px; font-weight: 650; cursor: pointer; }
.ndhf .ndhf-panel > details > p { margin-top: 11px; color: var(--ndhf-muted); }
.ndhf .ndhf-panel > details > .ndhf-button { margin-top: 14px; font-size: 12px; }
.ndhf .ndhf-help { margin: 18px 0; color: var(--ndhf-muted); font-size: 13px; line-height: 1.6; }
.ndhf .ndhf-help strong { color: var(--ndhf-ink); }
.ndhf .ndhf-photo-preview { display: block; max-width: 140px; max-height: 150px; margin-top: 12px; border: 1px solid var(--ndhf-line); border-radius: 5px; object-fit: contain; }
.ndhf .ndhf-footer-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 8px 25px; margin-top: 30px; padding: 20px 23px; border: 1px solid var(--ndhf-line); border-radius: 10px; background: var(--ndhf-cream); color: var(--ndhf-muted); font-size: 13px; line-height: 1.6; }
.ndhf .ndhf-footer-contact > .ndhf-hint { margin: 0; text-align: right; }
.ndhf .ndhf-footer-contact > .ndhf-actions { grid-column: 1 / -1; justify-content: flex-start; gap: 6px; margin: 0; padding: 7px 0 0; border-top: 0; }
.ndhf .ndhf-footer-contact strong { display: block; color: var(--ndhf-ink); font-size: 14px; }
.ndhf .ndhf-footer-contact a { white-space: nowrap; }
.ndhf .ndhf-privacy { margin-top: 15px; color: var(--ndhf-muted); font-size: 11px; line-height: 1.6; }

/* Dedicated reading catalogue: full text expands naturally within each card. */
.ndhf .ndhf-stage-title, .ndhf .ndhf-stepper, .ndhf .ndhf-catalogue button, .ndhf .ndhf-reading-details > summary { scroll-margin-top: 105px; }
.ndhf .ndhf-catalogue { width: 100%; min-width: 0; }
.ndhf .ndhf-catalogue button, .ndhf .ndhf-catalogue .ndhf-button { min-height: 44px; }
.ndhf .ndhf-catalogue-header { margin-bottom: 22px; }
.ndhf .ndhf-catalogue-header > .ndhf-button { margin-bottom: 14px; }
.ndhf .ndhf-catalogue-header h2.ndhf-stage-title { margin: 0 0 12px; color: var(--ndhf-accent); font-size: clamp(28px, 3vw, 36px); }
.ndhf .ndhf-catalogue-header p { max-width: 850px; color: var(--ndhf-muted); font-size: 15px; line-height: 1.65; }
.ndhf .ndhf-catalogue-tabs { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 18px; }
.ndhf .ndhf-catalogue-tabs button {
  flex: 1 1 150px;
  min-width: 0;
  padding: 12px 17px;
  border: 1px solid var(--ndhf-line);
  border-radius: 7px;
  background: #fff;
  color: var(--ndhf-accent);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
  text-align: center;
  white-space: normal;
  box-shadow: none;
}
.ndhf .ndhf-catalogue-tabs button:hover { border-color: var(--ndhf-accent); }
.ndhf .ndhf-catalogue-tabs button[aria-pressed="true"] { border-color: var(--ndhf-accent); background: var(--ndhf-soft); box-shadow: inset 0 -2px 0 var(--ndhf-raspberry); }
.ndhf .ndhf-catalogue-current { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 24px; }
.ndhf .ndhf-catalogue-current > div, .ndhf .ndhf-catalogue-current > p, .ndhf .ndhf-catalogue-current > span {
  flex: 1 1 220px;
  min-width: 0;
  padding: 10px 13px;
  border: 1px solid var(--ndhf-line);
  border-radius: 7px;
  background: var(--ndhf-cream);
  color: var(--ndhf-ink);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.ndhf .ndhf-catalogue-current strong { display: block; margin-bottom: 3px; color: var(--ndhf-accent); font-size: 12px; font-weight: 650; }
.ndhf .ndhf-catalogue-current small { display: block; margin-top: 3px; color: var(--ndhf-muted); font-size: 11px; line-height: 1.5; }
.ndhf .ndhf-reading-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.ndhf .ndhf-reading-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--ndhf-line);
  border-top: 3px solid var(--ndhf-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(66,43,33,.025);
}
.ndhf .ndhf-reading-card.is-selected { border-color: var(--ndhf-accent); border-top-color: var(--ndhf-raspberry); }
.ndhf .ndhf-reading-card h3 { margin: 0 0 7px; color: var(--ndhf-accent); font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 400; line-height: 1.3; }
.ndhf .ndhf-reading-card .ndhf-ref, .ndhf .ndhf-selected-reading .ndhf-ref { margin: 0 0 13px !important; color: var(--ndhf-muted); font-size: 12px !important; line-height: 1.5; }
.ndhf .ndhf-reading-intro { color: #5f5751; font-size: 14px; line-height: 1.7; }
.ndhf blockquote.ndhf-reading-highlight { margin: 18px 0; padding: 6px 0 6px 14px; border: 0; border-left: 2px solid var(--ndhf-raspberry); background: transparent; color: var(--ndhf-ink); font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-style: italic; line-height: 1.6; overflow-wrap: anywhere; }
.ndhf .ndhf-reading-details { margin-top: 14px; border: 1px solid var(--ndhf-line); border-radius: 7px; background: var(--ndhf-cream); }
.ndhf .ndhf-reading-details > summary { display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 12px 14px; color: var(--ndhf-accent); font-size: 13px; line-height: 1.5; font-weight: 650; list-style: none; cursor: pointer; }
.ndhf .ndhf-reading-details > summary::before { content: "+"; flex: 0 0 16px; color: var(--ndhf-raspberry); font-size: 21px; font-weight: 400; line-height: 1; }
.ndhf .ndhf-reading-details[open] > summary::before { content: "−"; }
.ndhf .ndhf-reading-full { max-height: none; overflow: visible; padding: 17px; border-top: 1px solid var(--ndhf-line); color: var(--ndhf-ink); font-size: 16px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.ndhf .ndhf-reading-full p + p { margin-top: 14px; }
.ndhf .ndhf-reading-meta { margin-top: 13px; color: var(--ndhf-muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.ndhf .ndhf-reading-meta a { overflow-wrap: anywhere; }
.ndhf .ndhf-reading-card-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 20px; }
.ndhf .ndhf-reading-card-actions .ndhf-button { flex: 1 1 auto; white-space: normal; }
.ndhf .ndhf-reading-card-actions .ndhf-button[aria-pressed="true"] { border-color: var(--ndhf-accent); background: var(--ndhf-soft); color: var(--ndhf-accent) !important; }
.ndhf .ndhf-reading-selected-state { color: var(--ndhf-accent); font-size: 12px; font-weight: 650; line-height: 1.5; }
.ndhf .ndhf-catalogue-feedback { margin: 20px 0; color: var(--ndhf-accent); font-size: 14px; font-weight: 600; line-height: 1.6; }
.ndhf .ndhf-catalogue-feedback:empty { display: none; }
.ndhf .ndhf-catalogue-bottom { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 27px; padding-top: 22px; border-top: 1px solid var(--ndhf-line); }
.ndhf .ndhf-catalogue-bottom p { color: var(--ndhf-muted); font-size: 13px; line-height: 1.6; }
.ndhf .ndhf-selected-reading { margin: 18px 0; padding: 17px; border: 1px solid var(--ndhf-line); border-left: 2px solid var(--ndhf-raspberry); border-radius: 7px; background: var(--ndhf-cream); }
.ndhf .ndhf-selected-reading h3 { margin: 0 0 9px; color: var(--ndhf-accent); font-size: 14px; font-weight: 650; line-height: 1.4; }
.ndhf .ndhf-selected-reading h4, .ndhf .ndhf-selected-reading > strong { display: block; margin: 0 0 7px; color: var(--ndhf-ink); font-size: 17px; font-weight: 600; line-height: 1.4; }
.ndhf .ndhf-selected-reading p { margin: 0 0 9px; font-size: 14px; line-height: 1.6; }
.ndhf .ndhf-selected-reading .ndhf-button { min-height: 44px; margin-top: 11px; white-space: normal; }
@media (max-width: 1100px) {
  .ndhf .ndhf-stepper button { padding: 11px; gap: 7px; font-size: 12px; }
  .ndhf .ndhf-form-card { padding: 25px; }
  .ndhf .ndhf-preview-scroll { padding: 18px; }
  .ndhf .ndhf-paper { font-size: 12px; }
}
@media (max-width: 900px) {
  .ndhf { padding-top: 25px; }
  .ndhf .ndhf-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ndhf .ndhf-preview-shell { position: static; }
  .ndhf .ndhf-preview-scroll { max-height: 740px; padding: 25px; }
  .ndhf .ndhf-preview-pages { max-width: 520px; margin: 0 auto; }
  .ndhf .ndhf-paper { font-size: 14px; }
  .ndhf .ndhf-cover .ndhf-book-title { font-size: 23px; }
  .ndhf .ndhf-cover .ndhf-deceased-name, .ndhf .ndhf-cover h2 { font-size: 34px; }
  .ndhf .ndhf-stepper button { min-height: 68px; flex-direction: column; justify-content: center; gap: 6px; text-align: center; }
  .ndhf .ndhf-step-number { flex-basis: auto; width: 25px; height: 25px; }
}
@media (max-width: 620px) {
  .ndhf { padding: 20px 0 35px; font-size: 15px; }
  .ndhf .ndhf-hero { padding-left: 16px; margin-bottom: 21px; }
  .ndhf .ndhf-hero h1, .ndhf .ndhf-hero h2 { font-size: 32px; }
  .ndhf .ndhf-hero p { font-size: 14px; }
  .ndhf .ndhf-guidance { margin-bottom: 17px; padding: 13px 14px; font-size: 13px; }
  .ndhf .ndhf-stepper { gap: 4px; margin-bottom: 16px; }
  .ndhf .ndhf-stepper button { min-height: 73px; padding: 8px 3px; font-size: 10px; border-radius: 6px; word-break: normal; overflow-wrap: normal; }
  .ndhf .ndhf-step-number { width: 24px; height: 24px; font-size: 11px; }
  .ndhf .ndhf-form-card { padding: 21px 17px; border-radius: 10px; }
  .ndhf .ndhf-panel h2 { font-size: 25px; }
  .ndhf .ndhf-fields { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .ndhf .ndhf-field input:not([type="checkbox"]):not([type="radio"]), .ndhf .ndhf-field select, .ndhf .ndhf-field textarea { font-size: 16px; }
  .ndhf .ndhf-actions { gap: 8px; margin-top: 23px; padding-top: 18px; }
  .ndhf .ndhf-actions .ndhf-button { flex: 1 1 auto; padding: 10px 12px; font-size: 13px; }
  .ndhf .ndhf-actions .ndhf-button.ghost { flex-basis: 100%; order: 3; }
  .ndhf .ndhf-preview-header, .ndhf .ndhf-preview-shell > header { padding: 13px 15px; }
  .ndhf .ndhf-preview-scroll { padding: 15px; max-height: 610px; }
  .ndhf .ndhf-preview-pages { gap: 16px; }
  .ndhf .ndhf-paper { font-size: 12px; padding: 0; }
  .ndhf .ndhf-cover .ndhf-parish-name { font-size: 10px; margin-bottom: 17px; }
  .ndhf .ndhf-cover .ndhf-book-title { font-size: 20px; }
  .ndhf .ndhf-cover .ndhf-deceased-name, .ndhf .ndhf-cover h2 { font-size: 27px; }
  .ndhf .ndhf-cover .ndhf-cover-logo, .ndhf .ndhf-cover .ndhf-logo { margin-bottom: 17px; max-height: 50px; }
  .ndhf .ndhf-cover .ndhf-cover-photo, .ndhf .ndhf-cover .ndhf-photo { max-height: 135px; margin-bottom: 16px; }
  .ndhf .ndhf-section h3 { font-size: 16px; }
  .ndhf .ndhf-paper.body .ndhf-book-title { font-size: 19px; }
  .ndhf .ndhf-cover .ndhf-cover-quote { font-size: 12px; }
  .ndhf .ndhf-footer-contact { grid-template-columns: minmax(0, 1fr); gap: 9px; padding: 17px; }
  .ndhf .ndhf-footer-contact > .ndhf-hint { text-align: left; }
  .ndhf .ndhf-footer-contact > .ndhf-actions { gap: 3px; }
  .ndhf .ndhf-footer-contact > .ndhf-actions .ndhf-button { flex: 0 1 auto; padding: 7px; font-size: 11px; }
  .ndhf .ndhf-footer-contact a { white-space: normal; overflow-wrap: anywhere; }
}
@media (max-width: 760px) {
  .ndhf .ndhf-reading-grid { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .ndhf .ndhf-reading-card { padding: 21px 18px; }
  .ndhf .ndhf-reading-card h3 { font-size: 22px; }
  .ndhf .ndhf-catalogue-tabs { gap: 7px; }
  .ndhf .ndhf-catalogue-tabs button { padding: 11px 12px; font-size: 13px; }
  .ndhf .ndhf-catalogue-current { gap: 7px; }
  .ndhf .ndhf-catalogue-current > div, .ndhf .ndhf-catalogue-current > p, .ndhf .ndhf-catalogue-current > span { flex-basis: 100%; }
  .ndhf .ndhf-reading-full { padding: 15px; font-size: 16px; }
  .ndhf .ndhf-catalogue-bottom .ndhf-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ndhf *, .ndhf *::before, .ndhf *::after { transition: none !important; scroll-behavior: auto !important; }
}
