/* The masthead links between sections. Side menus list only the open section's topics. */
.section-layout { padding-block: var(--section-space); }
.section-sidebar { min-width: 0; }
.section-links { color: #36483e; }
.section-links ul { list-style: none; margin: 0; padding: 0; }
.section-links li { margin: 0; padding: 0; }
.section-links .section-label {
  margin: 0 0 .7rem; color: #263d31;
  font: 400 1.6rem/1.2 var(--pn-display);
}
.section-links .section-group {
  margin: 1rem 0 .25rem; padding: 0;
  color: #566650; font: 600 .9rem/1.4 var(--pn-text);
}
.section-links .section-label a { display: inline; min-height: 0; padding: 0; border: 0; color: inherit; font: inherit; background: none; text-decoration: none; }
.section-links li a {
  display: block; min-height: 2.25rem; padding: .42rem .55rem .42rem 0;
  border: 0;
  font: 450 1rem/1.3 var(--pn-text); color: inherit; text-decoration: none;
}
.section-links li a:hover, .section-links li a:focus-visible { color: #244b39; background: #eef0e8; }
.section-links li a[aria-current] { color: #203f32; text-decoration: underline; text-underline-offset: .22em; font-weight: 600; }
.fact-layout .section-links ul li { border-top: 0; margin: 0; padding: 0; }
.life-directory, .team-section-content { min-width: 0; }
.life-category > h2 { margin: 0 0 1.1rem; }
.life-category + .life-category { margin-top: clamp(2.3rem, 4vw, 3.8rem); }
.enquiry-links { padding-bottom: 1.3rem; margin-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.form-aside .section-label { margin-top: 0; }
@media screen and (min-width: 56rem) {
  .section-layout { display: grid; grid-template-columns: minmax(12rem,15rem) minmax(0,1fr); align-items: start; gap: clamp(2rem,5vw,5rem); }
  .section-sidebar { position: sticky; top: calc(var(--mast-height) + 1.2rem); max-height: calc(100dvh - var(--mast-height) - 2.4rem); overflow-y: auto; }
  .life-directory .edit-grid { grid-template-columns: minmax(0,1fr); }
  .life-directory .edit-item { grid-template-columns: clamp(7.5rem,15vw,13rem) minmax(0,1fr); }
  .team-section-layout { padding-block: 0; }
  .team-section-layout > .section-sidebar { margin-top: clamp(2.8rem,5.2vw,5.1rem); }
  .team-section-content > section > .shell { width: 100%; }
  .team-section-content > section { padding-inline: clamp(1rem,2vw,2rem); }
  .team-section-content .network-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .team-section-content .team-row, .team-section-content .network-spread { column-gap: clamp(1.3rem,2.5vw,2.5rem); }
  .team-section-content .profile-name, .team-section-content .team-row > header { min-width: 0; }
  .team-directory { display: none; }
  .enquiry-layout .form-aside { position: sticky; top: calc(var(--mast-height) + 1.2rem); }
}
@media screen and (max-width: 55.999rem) {
  .life-section-layout > .section-sidebar, .team-section-layout > .section-sidebar, .enquiry-links { display: none; }
  .team-section-layout { display: contents; }
  .reading-layout > .section-sidebar { margin-bottom: 1rem; }
}
@media print { .section-sidebar, .enquiry-links { display: none; } .team-section-layout { width: 100%; } }

.advisory-head .chapter-grid { align-items: start; }
.advisory-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.2rem; margin-top: 1.25rem; }
.advisory-layout .reading { max-width: 69ch; }
.advisory-layout .reading section { scroll-margin-top: .5rem; }
.advisory-layout .reading section + section { margin-top: 2rem; padding-top: 1.7rem; }
.advisory-layout .section-links li a { min-height: 2.65rem; }
.advisory-layout .section-label, .advisory-layout .reading h2 { font: 450 clamp(1.4rem, 2.2vw, 1.8rem)/1.2 var(--pn-display); margin: 0 0 .75rem; }
.advisory-layout .reading h3 { margin-top: 1.4rem; }
.service-photo { margin-top: 1.4rem; }
.service-photo img { width: 100%; height: auto; aspect-ratio: 2.3; object-fit: cover; }
.service-photo figcaption { margin-top: .45rem; color: var(--muted); font-size: .85rem; }
@media screen and (min-width: 56rem) {
  .advisory-layout { grid-template-columns: clamp(12rem, 16vw, 15rem) minmax(0, 1fr); justify-content: start; column-gap: clamp(1.5rem, 3vw, 3rem); }
}
@media screen and (max-width: 55.999rem) {
  .advisory-layout { grid-template-columns: minmax(0, 1fr); }
}
