/* Load after Bootstrap and your shared site stylesheet. */
#dd-resources {
  --hr-green: #345447;
  --hr-dark: #253b32;
  --hr-sage: #eef3ee;
  --hr-cream: #faf8f3;
  --hr-border: #dce4dc;
  --hr-muted: #5e6c63;
  --hr-anchor-offset: 6rem;
  color: var(--hr-dark);
  font-family: "Noto Sans", sans-serif;
  padding-bottom: 2rem;
}
#dd-resources *, #dd-resources *::before, #dd-resources *::after { box-sizing: border-box; }
#dd-resources [hidden] { display: none !important; }
#dd-resources a { color: var(--hr-green); text-underline-offset: .2em; }
#dd-resources a:hover { color: var(--hr-dark); }
#dd-resources :is(a, button, summary, [tabindex]):focus-visible { outline: 3px solid #738b69; outline-offset: 4px; }
#dd-resources :is(h1,h2,h3) { font-family: "Noto Serif", Georgia, serif; color: var(--hr-dark); line-height: 1.3; }
#dd-resources h1 { font-size: clamp(1.85rem, 3vw, 2.7rem); margin: .5rem 0 1rem; max-width: 30ch; }
#dd-resources h2 { font-size: clamp(1.4rem, 2vw, 1.9rem); }
#dd-resources h3 { font-size: 1.2rem; }
#dd-resources .hr-intro { max-width: 900px; margin: 1.8rem 0; }
#dd-resources .hr-eyebrow { display: block; font-size: .72rem; letter-spacing: .11em; font-weight: 700; text-transform: uppercase; color: var(--hr-muted); }
#dd-resources .hr-lead { font-size: 1.04rem; color: var(--hr-muted); line-height: 1.8; max-width: 75ch; }
#dd-resources .hr-back-link { display: inline-block; margin-top: .75rem; font-size: .88rem; }
#dd-resources .hr-category-nav { display: flex; flex-wrap: wrap; gap: .6rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--hr-border); }
#dd-resources .hr-category-nav a { padding: .7rem 1rem; border: 1px solid var(--hr-border); border-radius: 2rem; text-decoration: none; font-size: .88rem; background: #fff; }
#dd-resources .hr-category-nav a[aria-current="page"] { background: var(--hr-green); border-color: var(--hr-green); color: #fff; }
#dd-resources .hr-collection { margin: 2rem 0; }
#dd-resources .hr-section-heading { margin-bottom: 1.1rem; }
#dd-resources .hr-resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
#dd-resources .hr-resource-card { display: flex; flex-direction: column; padding: 1.6rem; border: 1px solid var(--hr-border); border-radius: 1rem; text-decoration: none; background: #fff; transition: background .15s, border-color .15s; }
#dd-resources .hr-resource-card:hover { background: var(--hr-cream); border-color: #8ba28e; }
#dd-resources .hr-resource-card h3 { margin: .8rem 0; }
#dd-resources .hr-resource-card p { color: var(--hr-muted); line-height: 1.7; font-size: .93rem; }
#dd-resources .hr-card-link { display: flex; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; font-size: .86rem; font-weight: 600; }
#dd-resources .hr-article-layout { display: grid; grid-template-columns: 245px minmax(0,1fr); gap: 2.5rem; align-items: start; margin-top: 2rem; }
#dd-resources .hr-no-sidebar { grid-template-columns: minmax(0,900px); justify-content: center; }
#dd-resources .hr-sidebar { position: sticky; top: var(--hr-anchor-offset); max-height: calc(100vh - var(--hr-anchor-offset) - 1rem); overflow-y: auto; }
#dd-resources .hr-sidebar-panel { background: var(--hr-sage); border: 1px solid var(--hr-border); border-radius: .85rem; margin-bottom: 1rem; }
#dd-resources .hr-sidebar-panel summary { cursor: pointer; font-size: .88rem; font-weight: 700; padding: 1rem; }
#dd-resources .hr-sidebar-panel nav { display: grid; padding: 0 .65rem .65rem; }
#dd-resources .hr-sidebar-panel nav a { padding: .65rem; border-radius: .4rem; text-decoration: none; font-size: .85rem; line-height: 1.5; overflow-wrap: anywhere; }
#dd-resources .hr-sidebar-panel nav a:hover, #dd-resources .hr-sidebar-panel a[aria-current="page"] { background: #fff; }
#dd-resources .hr-sidebar-panel nav a.hr-toc-child { padding-left: 1.25rem; font-size: .8rem; }
#dd-resources .hr-sidebar-panel p { padding: 0 1rem; }
#dd-resources .hr-article-column { min-width: 0; }
#dd-resources .hr-content { font-size: 1rem; line-height: 1.85; overflow-wrap: anywhere; display: flow-root; }
#dd-resources .hr-content :is(h2,h3,h4,[id]) { scroll-margin-top: var(--hr-anchor-offset); }
#dd-resources .hr-content h2 { margin: 2.25rem 0 1rem; }
#dd-resources .hr-content > h2:first-child { margin-top: 0; }
#dd-resources .hr-content h3 { margin: 1.75rem 0 .8rem; }
#dd-resources .hr-content p { margin-bottom: 1.2rem; }
#dd-resources .hr-content img { max-width: 100% !important; height: auto !important; }
#dd-resources .hr-content blockquote { border-left: 3px solid #8ba28e; padding: .5rem 1.4rem; background: var(--hr-cream); }
#dd-resources .hr-example { margin: 1.5rem 0; border: 1px solid var(--hr-border); border-radius: .85rem; background: var(--hr-cream); overflow: hidden; }
#dd-resources .hr-example summary { padding: 1.15rem 1.4rem; cursor: pointer; font-weight: 600; line-height: 1.5; }
#dd-resources .hr-example-inner { padding: .2rem 1.4rem 1.4rem; }
#dd-resources .hr-wording { font-family: "Noto Serif", Georgia, serif; line-height: 1.9; }
#dd-resources .hr-copy-button { color: var(--hr-green); background: #fff; border: 1px solid #9aaa9e; border-radius: .5rem; padding: .6rem .9rem; font: 600 .85rem "Noto Sans", sans-serif; cursor: pointer; }
#dd-resources .hr-copy-button:disabled { opacity: .65; cursor: wait; }
#dd-resources .hr-symbol { display: flex; align-items: center; gap: 1.5rem; padding: 1.25rem; background: var(--hr-sage); border-radius: .8rem; }
#dd-resources .hr-symbol picture { flex: 0 1 180px; }
#dd-resources .hr-symbol figcaption { flex: 1; font-size: .9rem; }
#dd-resources .hr-table-scroll { overflow-x: auto; max-width: 100%; margin: 1.5rem 0; }
#dd-resources .hr-content table { width: 100%; border-collapse: collapse; font-size: .9rem; }
#dd-resources .hr-content th, #dd-resources .hr-content td { padding: .8rem; border: 1px solid var(--hr-border); text-align: left; }
#dd-resources .hr-content thead { background: var(--hr-sage); }
#dd-resources .hr-content caption { caption-side: top; color: var(--hr-muted); }
#dd-resources .hr-promo { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 2rem; align-items: center; background: var(--hr-sage); border: 1px solid var(--hr-border); border-radius: 1rem; padding: 1.75rem; margin: 2.5rem 0; }
#dd-resources .hr-promo-art { display: grid; place-items: center; min-width: 0; background: #e6ece4; border-radius: .7rem; padding: 1rem; }
#dd-resources .hr-promo-art picture { display: block; width: 100%; height: 280px; }
#dd-resources .hr-promo-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
#dd-resources .hr-promo-copy h2 { margin: .7rem 0 1rem; }
#dd-resources .hr-promo-copy p { line-height: 1.75; }
#dd-resources .hr-primary { background: var(--hr-green); color: #fff; border: 1px solid var(--hr-green); border-radius: .6rem; padding: .8rem 1.1rem; font-size: .9rem; }
#dd-resources .hr-primary:hover { background: var(--hr-dark); color: #fff; }
#dd-resources .hr-proof-note { font-size: .76rem; color: var(--hr-muted); margin: 1rem 0 0; }
#dd-resources .hr-page-neighbors { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 2rem; }
#dd-resources .hr-page-neighbors a { border-top: 1px solid var(--hr-border); padding-top: 1rem; text-decoration: none; }
#dd-resources .hr-page-neighbors small { display: block; color: var(--hr-muted); margin-bottom: .5rem; }
#dd-resources .hr-bottom-note { padding: 1.5rem; text-align: center; font-size: .9rem; background: var(--hr-cream); border-radius: .75rem; line-height: 1.8; }
@media (max-width: 991.98px) {
  #dd-resources .hr-resource-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #dd-resources .hr-article-layout { grid-template-columns: minmax(0,1fr); gap: 1rem; }
  #dd-resources .hr-sidebar { position: static; max-height: none; overflow: visible; }
}
@media (max-width: 575.98px) {
  #dd-resources .hr-resource-grid { grid-template-columns: minmax(0,1fr); }
  #dd-resources .hr-category-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  #dd-resources .hr-category-nav a { border-radius: .6rem; padding: .65rem; font-size: .8rem; }
  #dd-resources .hr-resource-card { padding: 1.25rem; }
  #dd-resources .hr-intro { margin: 1.3rem 0; }
  #dd-resources .hr-promo { grid-template-columns: minmax(0,1fr); gap: 1.25rem; padding: 1.2rem; }
  #dd-resources .hr-promo-art picture { height: 230px; }
  #dd-resources .hr-symbol { flex-direction: column; align-items: start; }
  #dd-resources .hr-symbol picture { flex-basis: auto; }
  #dd-resources .hr-page-neighbors { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) { #dd-resources * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  #dd-resources .hr-sidebar, #dd-resources .hr-promo, #dd-resources .hr-copy-button, #dd-resources .hr-page-neighbors { display: none; }
  #dd-resources .hr-article-layout { display: block; }
}
