/* v145: Resources hub bilingual navigation, whole-paragraph reflow and office details.
   Existing typography, resource cards, motion hooks and form contracts remain intact. */
body[data-page="resources"] .resource-hub-language-switch{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
body[data-page="resources"] .resource-hub-language-switch a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 15px;border:1px solid var(--line);border-radius:30px;font:500 1rem/1.4 'DM Sans',sans-serif;background:var(--white);color:var(--ink);text-decoration:none;max-width:100%;white-space:normal}
body[data-page="resources"] .resource-hub-language-switch a[aria-current="page"]{background:var(--purple);color:var(--white);border-color:var(--purple)}
body[data-page="resources"] .resource-hub-language-switch a:hover{border-color:var(--purple)}
body[data-page="resources"] :is(.resource-hub-language-switch a,.resource-hub-office a,.resource-hub-footer-sections a):focus-visible{outline:3px solid #986916;outline-offset:5px}
body[data-page="resources"] .resource-hub-language-hero{margin:0 0 24px;position:relative;z-index:2}
body[data-page="resources"] .resource-hub-language-hero a:focus-visible{outline-color:#ffe1a3}
body[data-page="resources"] :is(.resource-hub-language-footer,.resource-hub-language-mobile){margin-top:22px}
body[data-page="resources"] .resource-hub-language-mobile{margin-bottom:24px}
body[data-page="resources"] .resource-hub-language-note-wrap{padding-top:20px}
body[data-page="resources"] .resource-hub-language-note{font-size:1rem;line-height:1.7;color:var(--muted)}
body[data-page="resources"] .resource-hub-office-wrap{padding-bottom:44px}
body[data-page="resources"] .resource-hub-office{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 48px;padding:clamp(22px,4vw,36px);border:1px solid var(--line);border-radius:12px;background:var(--white);min-width:0}
body[data-page="resources"] .resource-hub-office>*{min-width:0;overflow-wrap:anywhere}
body[data-page="resources"] .resource-hub-office h2{margin-top:0;font-size:clamp(1.5rem,2.4vw,2rem);line-height:1.3}
body[data-page="resources"] .resource-hub-office p{line-height:1.8;margin-top:16px;margin-bottom:0}
body[data-page="resources"] .resource-hub-office address{font-style:normal;line-height:1.8;margin-bottom:12px}
body[data-page="resources"] .resource-hub-office-details{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
body[data-page="resources"] .resource-hub-office-details a{display:inline-block;min-height:44px;padding-block:5px;max-width:100%;text-decoration:underline;text-underline-offset:4px}
body[data-page="resources"] .resource-hub-map-note{font-size:1rem}
body[data-page="resources"] .resource-hub-footer-sections{display:flex;flex-wrap:wrap;gap:8px 26px;padding:12px 0 25px}
body[data-page="resources"] .resource-hub-footer-sections a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px;max-width:100%;overflow-wrap:anywhere}
/* Keep the previous wide resource layout. Long translations reflow without smaller text. */
body[data-page="resources"] :is(.banner-copy,.resources-intro,.resource-card,.resource-card>.eyebrow,.resources-card-copy,.resources-card-points li,.resources-next-card,.resources-next-card li,.resources-reading-note,.contact-hub-copy,.contact-hub-form,.field,.contact-save){min-width:0;overflow-wrap:anywhere}
body[data-page="resources"] :is(.resource-card>.text-link,.contact-save,.banner-wayfinding,.resources-page-links a){max-width:100%;white-space:normal;overflow-wrap:anywhere}
body[data-page="resources"] :is(#chapter-2,[id^="resource-"],[id^="resources-"],#contact-hub){scroll-margin-top:20px}
body[data-page="resources"] .resources-intro{max-width:none}
@media(min-width:1100px){
 body[data-page="resources"] .resources-intro{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px}
 body[data-page="resources"] .resources-intro>:is(.eyebrow,h2){grid-column:1/-1}
 body[data-page="resources"] .resources-intro p{margin-top:0}
}
@media(max-width:900px){body[data-page="resources"] .resource-hub-office{grid-template-columns:minmax(0,1fr);gap:24px}}
@media(max-width:650px){body[data-page="resources"] .resource-hub-office{padding:22px 20px}}
@media print{
 body[data-page="resources"] :is(.resource-hub-language-switch,.resource-hub-language-note-wrap,.resource-hub-footer-sections){display:none}
 body[data-page="resources"] .resource-hub-office{break-inside:avoid;background:white;display:block}
 body[data-page="resources"] .resource-hub-office-details{margin-top:20px}
 body[data-page="resources"] .resources-intro{display:block}
}
