/* PFA shared navigation: identical controls on the homepage and inner pages. */
.site-header .main-nav > a,
.site-header .main-nav > .nav-dropdown > .nav-compact-trigger {
  --nav-control-accent: #30684c;
  --nav-control-soft: #e0e9d9;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 52px;
  gap: 8px;
  padding: 12px 14px !important;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #334039;
  font-family: inherit;
  font-size: 20px !important;
  font-weight: 780;
  line-height: 1.35;
  letter-spacing: .005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.site-header .main-nav > .nav-dropdown > .nav-trigger--marble {
  --nav-control-accent: #9b103e;
  --nav-control-soft: #f6e7eb;
  color: var(--nav-control-accent);
}
.site-header .main-nav > a:is(.active, [aria-current="page"])::after,
.site-header .main-nav > .nav-dropdown > .nav-compact-trigger:is(.active, [aria-current="true"])::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--nav-control-accent);
  transform: translateX(-50%);
}
.site-header .main-nav > a:hover,
.site-header .main-nav > .nav-dropdown > .nav-compact-trigger:hover,
.site-header .main-nav > .nav-dropdown > .nav-compact-trigger[aria-expanded="true"] {
  background: var(--nav-control-soft);
  color: var(--nav-control-accent);
}
.site-header .main-nav > a:focus-visible,
.site-header .main-nav > .nav-dropdown > .nav-compact-trigger:focus-visible {
  outline: 2px solid var(--nav-control-accent);
  outline-offset: 3px;
}
@media (min-width: 921px) and (max-width: 1240px) {
  .site-header .main-nav > a,
  .site-header .main-nav > .nav-dropdown > .nav-compact-trigger {
    padding: 10px !important;
    font-size: 18px !important;
  }
}
@media (min-width: 921px) and (max-width: 1100px) {
  .site-header .main-nav > a,
  .site-header .main-nav > .nav-dropdown > .nav-compact-trigger { font-size: 14px !important; }
}
@media (max-width: 920px) {
  .site-header .main-nav > a,
  .site-header .main-nav > .nav-dropdown > .nav-compact-trigger {
    width: 100%;
    flex: 0 0 auto;
    justify-content: flex-start;
    padding: 12px 16px !important;
    border: 1px solid #dce3d8;
    border-radius: 12px;
    background: #fff9ee;
    font-size: 18px !important;
    text-align: left;
    white-space: normal;
  }
  .site-header .main-nav > a:is(.active, [aria-current="page"])::after,
  .site-header .main-nav > .nav-dropdown > .nav-compact-trigger:is(.active, [aria-current="true"])::after {
    left: 16px;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .main-nav > a,
  .site-header .main-nav > .nav-dropdown > .nav-compact-trigger { transition: none; }
}

/* PFA shared header: one compact chapter row, including portrait tablets.
   Keep intrinsic link widths: no clipped labels or centred overflow. */
html body .site-header .reading-chapters,
html body .site-header .reading-chapters.is-open {
  display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;
  overflow-x:auto!important;overflow-y:hidden!important;box-sizing:border-box;
  gap:4px!important;padding:5px 12px!important;height:auto!important;max-height:none!important;
  scrollbar-width:none!important;
}
html body .site-header .reading-chapters::-webkit-scrollbar{display:none!important}
html body .site-header .reading-chapters>span{display:none!important}
html body .site-header .reading-chapters>a,
html body .site-header .reading-chapters>a[aria-current=location]{
  display:flex!important;align-items:center;flex:0 0 auto!important;
  white-space:nowrap!important;font-size:13px!important;line-height:1.25!important;
  min-width:0!important;min-height:32px!important;padding:6px 9px!important;
  max-width:none!important;max-height:none!important;transition:background-color .2s,color .2s;
}
html body .site-header .reading-chapters>a:first-of-type{margin-inline-start:auto!important}
html body .site-header .reading-chapters>a:last-child{margin-inline-end:auto!important}
@media(max-width:1280px){
 .holding-bar .container{min-height:28px;padding-block:3px;font-size:11px}
 .holding-bar img{height:20px;width:auto}
 html body .site-header .emergency-bar .container{min-height:32px!important;padding-block:3px!important;gap:6px 16px;flex-wrap:nowrap}
 html body .site-header .emergency-bar__label{font-size:12px;line-height:1.25;gap:6px}
 html body .site-header .emergency-bar__phone{font-size:20px!important;line-height:1.3;white-space:nowrap;letter-spacing:.02em}
 html body .site-header .site-header__inner{min-height:60px!important;padding-block:6px!important;gap:10px;width:calc(100% - 24px)}
 html body .site-header .site-logo img{width:130px!important;max-height:48px!important;height:auto;object-fit:contain}
 html body .site-header .reading-chapters{gap:3px!important;padding:4px 10px!important}
 html body .site-header .reading-chapters>a,
 html body .site-header .reading-chapters>a[aria-current=location]{font-size:12px!important;padding:5px 7px!important;min-height:30px!important}
}
@media(min-width:921px) and (max-width:1280px){
 html body .site-header .site-header__inner{grid-template-columns:130px minmax(0,1fr) auto}
 html body .site-header .main-nav{gap:2px;flex-wrap:nowrap!important}
 html body .site-header .main-nav>a,
 html body .site-header .main-nav>.nav-dropdown>.nav-compact-trigger{font-size:14px!important;min-height:40px;padding:8px!important;gap:5px}
}
@media(max-width:920px){
 html body .site-header .site-header__inner{min-height:54px!important;padding-block:4px!important}
 html body .site-header .site-logo img{width:116px!important;max-height:44px!important}
 html body .site-header .reading-chapters{gap:2px!important;padding-inline:8px!important}
 html body .site-header .reading-chapters>a,
 html body .site-header .reading-chapters>a[aria-current=location]{font-size:11px!important;padding-inline:4px!important;min-height:30px!important}
 html body .site-header .menu-toggle{min-width:44px;min-height:44px;width:44px;height:44px}
}
@media(max-width:600px){
 .holding-bar .container{min-height:25px;font-size:10px;gap:8px}
 html body .site-header .emergency-bar__phone{font-size:18px!important}
 html body .site-header .emergency-bar__label{font-size:11px}
 html body .site-header .reading-chapters>a,
 html body .site-header .reading-chapters>a[aria-current=location]{font-size:12px!important;min-height:34px!important;padding-inline:7px!important}
}
@media(prefers-reduced-motion:reduce){html body .site-header .reading-chapters>a{transition:none}}

/* General destinations always visible, including portrait tablets and phones. */
@media(max-width:920px){
 html body .site-header .site-header__inner{display:grid!important;grid-template-columns:1fr!important;gap:3px!important;padding:4px 0!important}
 html body .site-header .site-logo{grid-column:1;grid-row:1;justify-self:center}
 html body .site-header .site-logo img{width:98px!important;max-height:36px!important}
 html body .site-header .menu-toggle{display:none!important}
 html body .site-header .main-nav,html body.header-condensed .site-header .main-nav{
  position:static!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
  grid-column:1;grid-row:2;align-items:center;justify-content:flex-start;gap:5px!important;
  width:100%!important;height:auto!important;max-height:none!important;min-height:44px!important;
  padding:0 2px 3px!important;margin:0!important;opacity:1!important;visibility:visible!important;transform:none!important;
  overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin;scrollbar-color:#739580 transparent;background:transparent!important;box-shadow:none!important;pointer-events:auto!important;
 }
 html body .site-header .main-nav>.nav-dropdown{width:auto!important;flex:0 0 auto!important;position:static}
 html body .site-header .main-nav>a,html body .site-header .main-nav>.nav-dropdown>.nav-compact-trigger{
  width:auto!important;min-height:44px!important;padding:8px 9px!important;border:0!important;background:transparent!important;
  font-size:12px!important;line-height:1.2!important;white-space:nowrap!important;gap:2px!important;border-radius:6px;
 }
 html body .site-header .main-nav .services-trigger__chevron{width:10px;height:10px}
 html body .site-header .nav-popover{position:absolute!important;top:100%!important;left:8px!important;right:8px!important;width:auto!important;max-height:calc(100dvh - var(--pfa-header-height,160px) - 12px)!important;overflow-y:auto!important;z-index:120;background:#fff9ee;box-shadow:0 10px 30px #162a2324}
}
@media(max-width:500px){
 html body .site-header .main-nav>a,html body .site-header .main-nav>.nav-dropdown>.nav-compact-trigger{font-size:13px!important;padding-inline:9px!important;letter-spacing:normal}
 html body .site-header .site-header__inner{width:calc(100% - 16px)}
}

/* The heading itself is the target when a legal section contains several headings. */
main h2[id]{scroll-margin-top:calc(var(--pfa-header-height,180px) + 24px)}
@media(max-width:920px){html body .site-header .main-nav{scroll-padding-inline:8px}html body .site-header .main-nav>a,html body .site-header .main-nav>.nav-dropdown>.nav-compact-trigger{font-size:13px!important}html body .site-header .reading-chapters>a{min-height:36px!important}}

@media(max-width:920px){html body .site-header .main-nav .nav-popover{background:#fff9ee!important;padding:10px!important;border:1px solid #dce3d8!important;border-radius:16px!important;box-shadow:0 10px 30px #162a2324!important;max-height:calc(100dvh - var(--pfa-header-height,190px) - 60px)!important;box-sizing:border-box!important}}
