.guide-hero .hero-in {
  min-height: clamp(14rem, 20vw, 20rem);
  padding-block: 2.6rem;
}
.guide-hero .hero-img { width: 58%; object-position: center 43%; }
.guide-hero::before {
  background: linear-gradient(90deg, #132b3b 12%, #142d3e 36%, #142d3ef2 42%, #142d3e9c 57%, #142d3e12 83%);
}
.guide-hero h1 { font-size: clamp(3.3rem, 5vw, 5rem); margin: 0 0 .8rem; }
.guide-hero .hero-in > p { max-width: 40ch; color: #f4ede1; line-height: 1.52; }
.guide-layout {
  display: grid;
  grid-template-columns: minmax(12.5rem, 18rem) minmax(0, 45rem);
  align-items: start;
  gap: clamp(2rem, 5.5vw, 6.5rem);
  padding-block: clamp(2.1rem, 4.5vw, 4.5rem);
}
.guide-contents {
  padding: 1.3rem 1.15rem 1.1rem;
  border: 1px solid var(--line);
  border-top: 2px solid #b59869;
  background: #f7f2e8;
  position: sticky;
  top: 1rem;
}
.guide-contents h2 { font: 600 1rem/1.4 var(--sans); letter-spacing: 0; margin: 0 .5rem .7rem; }
.guide-contents ul { list-style: none; padding: 0; margin: 0; }
.guide-contents li a {
  display: block;
  padding: .58rem .55rem;
  min-height: 44px;
  font-size: .99rem;
  line-height: 1.35;
  border-radius: 2px;
}
.guide-contents li a:hover { background: #e9e1d1; }
.guide-contents a[aria-current] { background: var(--blue); color: white; font-weight: 600; }
.guide-contents a[aria-current]:hover { background: #24475d; }
.guide-contents p { margin: .7rem .5rem 0; border-top: 1px solid #d9ceba; padding-top: .6rem; }
.guide-contents p a,.guide-text-link,.guide-sources a,.guide-back { text-decoration: underline; text-underline-offset: .18em; }
.guide-contents p a { display: block; width: fit-content; color: #71582f; font-size: .88rem; padding-block: .37rem; }
.guide-reading article { scroll-margin-top: 1rem; }
.guide-reading article:focus:not(:focus-visible) { outline: none; }
.guide-lead {
  margin: .85rem 0 1.4rem;
  max-width: 58ch;
  font: 400 clamp(1.2rem, 1.6vw, 1.45rem)/1.45 var(--serif);
  letter-spacing: -.013em;
  color: #374851;
}
.guide-reading details {
  border-top: 1px solid var(--line);
  padding: 0 0 0 .15rem;
  scroll-margin-top: 1rem;
}
.guide-reading details:last-of-type { border-bottom: 1px solid var(--line); }
.guide-reading summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
  padding: .87rem .2rem .87rem 0;
  min-height: 48px;
  font-weight: 620;
  line-height: 1.45;
}
.guide-reading summary::after {
  content: '';
  flex: 0 0 .42rem; width: .42rem; height: .42rem;
  border: solid #886a3e; border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  margin: -.23rem .25rem 0 0;
}
.guide-reading [open] > summary::after { transform: rotate(225deg); margin-top: .23rem; }
.guide-reading summary:hover { color: #765729; }
.guide-reading details > p,.guide-reading details > ul {
  color: #3a474b;
  line-height: 1.63;
  margin: 0 0 .9rem;
  max-width: 68ch;
}
.guide-reading details > ul { padding-left: 1.25rem; }
.guide-reading details li + li { margin-top: .38rem; }
.guide-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.1rem; margin: .85rem 0 1.15rem; }
.guide-text-link { font-size: .94rem; color: var(--brass); }
.guide-reading details > .guide-text-link { display: inline-block; padding-bottom: 1rem; }
.guide-sources { color: #60615b; margin-top: 1.2rem; font-size: .86rem; line-height: 1.65; }
.guide-back { display: inline-block; color: var(--brass); margin-top: 1.45rem; padding-block: .4rem; }
.guide-footer { display: flex; align-items: center; gap: 2rem; justify-content: space-between; padding: 2.2rem 0; }
.guide-footer > div { display: grid; gap: .35rem; }
.guide-footer i { margin-right: .6rem; color: #ddbf8e; }
.guide-reading article + article:not([hidden]) { margin-top: 2.5rem; }
.guide-reading article[hidden] + article { margin-top: 0; }
@media (max-width: 800px) {
  .guide-layout { gap: 2rem; grid-template-columns: 12.5rem minmax(0, 1fr); }
  .guide-contents { padding-inline: .65rem; }
}
@media (max-width: 690px) {
  .guide-layout { display: block; padding-top: 1.4rem; }
  .guide-hero .hero-in { min-height: 12rem; padding: 1.7rem 0; justify-content: center; }
  .guide-hero .hero-img { width: 75%; }
  .guide-hero::before { background: linear-gradient(90deg, #122a3bf5 8%, #142d3deb 35%, #142d3ead 68%, #142d3e8c); }
  .guide-hero h1 { font-size: clamp(2.45rem, 9vw, 3.4rem); }
  .guide-hero .hero-in > p { max-width: 34ch; font-size: .99rem; }
  .guide-contents { position: static; padding: 1rem .85rem .8rem; margin-bottom: 1.9rem; }
  .guide-contents h2 { margin: 0 0 .55rem; }
  .guide-contents ul { display: flex; flex-wrap: wrap; gap: .3rem; }
  .guide-contents li a { padding: .48rem .55rem; min-height: 38px; display: flex; align-items: center; border: 1px solid #ddd2be; font-size: .89rem; }
  .guide-contents a[aria-current] { border-color: var(--blue); }
  .guide-contents p { display: flex; margin-inline: 0; gap: 0 .95rem; flex-wrap: wrap; }
  .guide-contents p a { font-size: .84rem; }
  .guide-lead { margin-bottom: 1.05rem; }
  .guide-footer { flex-direction: column; align-items: flex-start; gap: .9rem; }
}
@media print {
  .guide-reading article[hidden] { display: block; }
  .guide-contents,.guide-actions,.guide-back,.mast,footer { display: none; }
  .guide-layout { display: block; }
}

.family-note {
  margin: 1.1rem 0 1.4rem;
  padding: .9rem 1.15rem;
  background: #f7f2e8;
  border-left: 3px solid #b59869;
  color: var(--ink);
  line-height: 1.6;
}

.guide-reading article {display:flow-root}
.guide-reading article[hidden] {display:none}
.guide-reading .guide-photo {float:right;width:32%;max-width:14rem;margin:.3rem 0 .85rem 1.5rem}
.guide-photo img {display:block;width:100%;height:auto}
.guide-photo figcaption {font-size:.82rem;color:#59636a;margin-top:.3rem}
@media(max-width:800px) {
  .guide-reading .guide-photo {max-width:10rem;margin-left:1rem}
}
@media(max-width:480px) {
  .guide-reading .guide-photo {width:29%;max-width:7.5rem;margin:.25rem 0 .6rem .75rem}
  .guide-photo figcaption {font-size:.73rem;line-height:1.35}
  .guide-reading .guide-photo ~ details {clear:both}
}
