/* Shared end-of-article sequence. Does not affect header, viewer, cards in article body or footer. */
.article-end{clear:both;display:flex;flex-direction:column;gap:clamp(24px,3.4vw,44px);margin:clamp(30px,4vw,56px) 0 0;min-width:0}
.article-end>section,.article-end>nav{margin:0!important;min-width:0;scroll-margin-top:164px}
.article-end .contact-grid,.article-end .contact-form-wrap,.article-end .contact-side{min-width:0}
.article-end .contact-form-wrap input,.article-end .contact-form-wrap textarea{max-width:100%;box-sizing:border-box}
.article-end .contact-card a{overflow-wrap:anywhere}
.article-end .related-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.article-end .end-section-index{padding:clamp(18px,3vw,30px);background:#f2f8fa;border:1px solid var(--line,#d5e4e9);border-radius:20px}
.article-end .end-section-index h2{font-size:clamp(1.25rem,2.2vw,1.65rem);margin:0 0 12px;color:var(--navy,#0c3045)}
.article-end .end-index-list{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:8px 20px;padding:0;margin:0}
.article-end .end-index-list li{margin:0;min-width:0;padding:0}
.article-end .end-section-index .end-index-list a{display:block;min-height:0;margin:0;padding:8px 10px;border:0;background:transparent;border-radius:5px;font-size:.9rem;line-height:1.4;white-space:normal;overflow-wrap:anywhere;box-shadow:none;color:var(--navy,#0c3045);text-decoration:none}
.article-end .end-section-index .end-index-list a:hover,.article-end .end-section-index .end-index-list a:focus-visible{text-decoration:underline;background:#e5f0f3}
.article-end .end-index-level-3 a{font-weight:500!important}.article-end .end-index-level-4 a{font-weight:400!important}
main.shell :is(h2,h3,h4)[id]{scroll-margin-top:164px}
@media(max-width:760px){main.shell :is(h2,h3,h4)[id],.article-end>section,.article-end>nav{scroll-margin-top:90px}.article-end .contact-grid,.article-end .contact-form-wrap form{grid-template-columns:minmax(0,1fr)}.article-end .end-index-list{grid-template-columns:minmax(0,1fr)}}
