/* HKAWM footer contacts and editorial source notes. No global typography overrides. */
.hk-community-links{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-top:1.25rem}
.hk-community-link{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-width:44px;min-height:44px;padding:.5rem .8rem;border:1px solid #ffffff80;border-radius:999px;color:#fff;font-size:.875rem;font-weight:500;text-decoration:none;line-height:1.25}
.hk-community-link:hover{background:#ffffff17;border-color:#fff}
.hk-community-link:focus-visible{outline:3px solid #fff;outline-offset:4px}
.hk-community-icon{display:block;flex-shrink:0;width:22px;height:22px}
.hk-reference{display:flex;flex-wrap:wrap;align-items:baseline;gap:.35rem .65rem;margin:1rem 0 0;color:#38565c;font-size:.875rem;line-height:1.7;position:relative;z-index:1}
.hk-reference a{display:inline-flex;align-items:center;gap:.25rem;min-height:44px;color:#006468;font-weight:600;text-decoration:underline;text-underline-offset:.2em;overflow-wrap:anywhere}
.hk-reference a:hover{color:#003e43}
.hk-reference a:focus-visible{outline:3px solid #006468;outline-offset:4px}
.hk-reference svg{width:14px;height:14px;flex-shrink:0}
.hk-community-dialog:not([open]){display:none}
.hk-community-dialog{box-sizing:border-box;width:min(94vw,470px);max-height:90vh;max-height:90dvh;margin:auto;padding:1.25rem;border:1px solid #d5e2e2;border-radius:12px;background:#fff;color:#12383d;overflow:auto;box-shadow:0 20px 70px #00191c4d}
.hk-community-dialog::backdrop{background:#002b35b3}
.hk-community-modal-open{overflow:hidden}
.hk-community-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.hk-community-dialog h2{margin:0;font-size:1.25rem;font-weight:700;line-height:1.4}
.hk-community-dialog p{font-size:1rem;line-height:1.65;margin:.7rem 0}
.hk-community-close{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:.5rem;border:1px solid #b9cece;border-radius:6px;background:#fff;color:#12383d;font-size:1.5rem;cursor:pointer}
.hk-community-qr{display:block;width:min(100%,340px);height:auto;margin:.25rem auto .5rem;background:#fff}
.hk-community-id-label{display:block;font-size:.875rem;font-weight:600;margin:.7rem 0 .35rem}
.hk-community-id{box-sizing:border-box;width:100%;padding:.65rem .75rem;border:1px solid #a8bfc0;border-radius:6px;background:#f5f9f9;color:#12383d;font-size:1rem;line-height:1.5}
.hk-community-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:.8rem}
.hk-community-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.55rem .9rem;border:1px solid #006468;border-radius:6px;background:#006468;color:#fff;font:inherit;font-size:.875rem;line-height:1.5;text-decoration:none;cursor:pointer}
.hk-community-action-secondary{background:#fff;color:#006468}
.hk-community-dialog :is(button,a,input):focus-visible{outline:3px solid #006468;outline-offset:3px}
.hk-community-copy-status{min-height:1.65em;font-size:.875rem!important;color:#38565c}
@media(max-width:360px){.hk-community-dialog{padding:.9rem}.hk-community-action{flex:1 1 auto}}
@media(prefers-reduced-motion:reduce){.hk-community-dialog,.hk-community-link{transition:none}}

/* Community v2: four ordered contacts and the existing About learning section. */
.hk-community-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem;align-items:stretch;max-width:23rem;margin-top:1.25rem}
.hk-community-link{box-sizing:border-box;flex-direction:column;gap:.4rem;min-width:0;min-height:76px;padding:.65rem .15rem;border-radius:6px;font-size:.875rem;line-height:1.4;text-align:center;overflow-wrap:anywhere}
.hk-community-link[aria-disabled="true"]{color:#b7c4d0;border-color:#6a7d8c;background:transparent;cursor:default}
.hk-community-pending-note{max-width:23rem;margin:.65rem 0 0;color:#b7c4d0;font-size:.875rem;line-height:1.7}
.hk-community-icon{width:24px;height:24px}
#learning.hk-about-learning{padding:1.75rem 0 2.25rem!important;background:#fff;color:#172d44;scroll-margin-top:6rem}
#learning .hk-about-learning-head{max-width:72ch;margin:0 0 1.5rem}
/* The older markets stylesheet forces About paragraph/title margins and sizes.
   Scope these overrides to this section so the other About content is unchanged. */
#learning .hk-about-eyebrow{margin:0 0 .5rem!important;color:#6268a8;font-size:.875rem!important;font-weight:600;line-height:1.6;letter-spacing:.08em}
#learning .hk-about-title{max-width:none;margin:0 0 .8rem!important;color:#172d44;font-size:1.7rem!important;line-height:1.5;font-weight:700}
#learning .hk-about-intro{margin:0!important;color:#465b6b;font-size:1rem;line-height:1.85}
#learning .hk-about-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;margin:0}
#learning .hk-about-card{box-sizing:border-box;min-width:0;padding:1.25rem 1.4rem;background:#f3f6f9;border:1px solid #dbe2e8;border-radius:4px;overflow-wrap:anywhere}
#learning .hk-about-card h3{margin:0 0 .55rem;color:#102b43;font-size:1.125rem;font-weight:600;line-height:1.6}
#learning .hk-about-card p{margin:0!important;color:#465b6b;font-size:1rem;line-height:1.8}
#learning .hk-about-note{max-width:none;margin:1.25rem 0 0!important;padding:1rem 0 0;border-top:1px solid #dbe2e8;color:#526478;font-size:.875rem!important;line-height:1.8}
#learning .hk-about-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.25rem 0 0}
#learning .hk-about-action{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:.7rem 1.2rem;border:1px solid #087970;border-radius:3px;background:#087970;color:#fff;font-size:1rem;font-weight:600;line-height:1.5;text-align:center;text-decoration:none;overflow-wrap:anywhere}
#learning .hk-about-action:hover{background:#08665f;border-color:#08665f}
#learning .hk-about-action-secondary{background:#fff;color:#087970}
#learning .hk-about-action-secondary:hover{background:#edf5f3;color:#08665f}
#learning .hk-about-action:focus-visible{outline:3px solid #087970;outline-offset:4px}
@media(min-width:40rem){#learning .hk-about-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:30rem){#learning .hk-about-card{padding:1.1rem}#learning .hk-about-action{flex:1 1 100%}}

/* Compact, icon-only footer contacts. Keep invisible touch targets. */
.hk-community-links{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem;max-width:none;margin-top:1rem}
.hk-community-links .hk-community-link{box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#d6e1e9;text-decoration:none;line-height:1}
.hk-community-links .hk-community-icon{display:block;flex:0 0 20px;width:20px;height:20px}
.hk-community-links .hk-community-link:hover{background:transparent;color:#fff;border:0;box-shadow:none}
.hk-community-links .hk-community-link[aria-disabled="true"]{color:#b7c4d0;background:transparent;cursor:default}
.hk-community-links .hk-community-link:focus-visible{outline:2px solid #fff;outline-offset:-5px}
