/* Legal pages only. Restore the intended 2-column layout that is not in the base CSS build. */
.tcp-legal-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem;align-items:start}
.tcp-legal-toc,.tcp-legal-articles{min-width:0}
.tcp-legal-articles{overflow-wrap:anywhere}
.tcp-legal-articles section[id]{scroll-margin-top:7rem}
.tcp-legal-articles section{min-width:0}
.tcp-legal-toc nav a{overflow-wrap:break-word}
@media (min-width:1024px){
  .tcp-legal-grid{grid-template-columns:minmax(230px,290px) minmax(0,1fr);gap:1.75rem}
  .tcp-legal-toc{position:sticky;top:6.75rem;align-self:start;max-height:calc(100dvh - 7.75rem);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#eaa2ba transparent}
  .tcp-legal-articles section[id]{scroll-margin-top:7.5rem}
}
@media (min-width:580px) and (max-width:1023px){
  .tcp-legal-toc nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.25rem .75rem}
}
@media (max-width:1023px){
  .tcp-legal-toc{position:static;max-height:none;overflow:visible}
}
@media (max-width:579px){
  .tcp-legal-toc{padding:1rem!important;border-radius:1.25rem!important}
  .tcp-legal-toc nav{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
  .tcp-legal-toc nav a{padding:.35rem .5rem;font-size:.875rem;line-height:1.45}
  .tcp-legal-articles section{padding:1.25rem!important;border-radius:1.25rem!important}
  .tcp-legal-articles section h2{overflow-wrap:break-word;line-height:1.15}
}
/* Anchor scrolling respects the fixed navigation without introducing page-wide horizontal scrolling. */
.tcp-legal-page{overflow-x:clip}
.tcp-legal-page a:focus-visible{outline:3px solid #e0598a;outline-offset:3px}
@media (prefers-reduced-motion:reduce){.tcp-legal-page{scroll-behavior:auto}}

/* Match the site's cocoa / rose navigation color on every browser. */
.tcp-legal-nav a{color:#755551;text-decoration:none}
.tcp-legal-nav a:hover,.tcp-legal-nav a:focus-visible{color:#c23b74;background-color:#f8d3e0}
@media (max-width:579px){
  .tcp-legal-page .site-brand{min-width:0;flex:1}
  .tcp-legal-page .site-brand img{flex-shrink:0}
  .tcp-legal-page .site-brand span{font-size:.86rem;line-height:1.15;white-space:normal;overflow-wrap:normal;max-width:10.5rem}
}
