/* One compact directory; all three categories share two logo rows. */
.wsl-dark-site .wsl-resource-hub{padding-top:24px;padding-bottom:24px;border-top:1px solid #e4eaf2}
.wsl-resource-scroll{display:grid;grid-template-columns:6fr 3fr 4fr;gap:20px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#c8d4e4 transparent;padding:2px 2px 8px}
.wsl-resource-group{min-width:0;scroll-margin-top:150px}
.wsl-dark-site .wsl-resource-group h2{font-size:12px;color:#526985;line-height:1.5;letter-spacing:-.2px;margin:0 0 11px;font-weight:700}
.wsl-resource-group+.wsl-resource-group{padding-left:18px;border-left:1px solid #e4eaf2}
.wsl-resource-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,64px);gap:7px}
#chinaShopping .wsl-resource-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
#deliveryTracking .wsl-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.wsl-resource-grid a{display:flex;align-items:center;justify-content:center;min-width:0;padding:7px 6px;border:1px solid #e1e7f0;background:#fff;border-radius:8px;text-decoration:none;transition:background .18s,border-color .18s}
.wsl-resource-grid img{display:block;max-width:100%;max-height:27px;width:auto;height:auto;object-fit:contain;filter:none!important;opacity:1!important}
.wsl-resource-wordmark{font-size:11px;line-height:1.2;font-weight:800;color:#18375f;letter-spacing:-.4px;white-space:nowrap}
.wsl-resource-grid a:hover{border-color:#91aace;background:#f4f7fc}
.wsl-resource-grid a:focus-visible{outline:2px solid #264c7a;outline-offset:1px}
.wsl-safety-text{display:inline-flex;gap:8px;align-items:center;color:#164c83;font-weight:800;font-size:21px;white-space:nowrap}.wsl-safety-text>span{font-size:13px;color:#285b89;font-weight:700}
@media(max-width:1100px){.wsl-resource-scroll{grid-template-columns:470px 235px 310px;gap:16px}.wsl-resource-group+.wsl-resource-group{padding-left:14px}.wsl-resource-grid{grid-template-rows:repeat(2,64px)}}
@media(max-width:600px){.wsl-dark-site .wsl-resource-hub{padding-top:20px;padding-bottom:20px}.wsl-resource-scroll{grid-template-columns:440px 220px 290px;gap:14px}.wsl-dark-site .wsl-resource-group h2{font-size:11px}.wsl-resource-wordmark{font-size:10px}.wsl-resource-grid{gap:6px}}

.wsl-mfds-symbol{display:block;width:25px;height:27px;overflow:hidden;flex:none}.wsl-resource-grid .wsl-mfds-symbol img{width:105px;height:27px;max-width:none;max-height:none;object-fit:fill}

.wsl-resource-grid a{flex-direction:column;gap:5px;padding:7px 3px}.wsl-resource-logo{height:27px;width:100%;display:flex;align-items:center;justify-content:center;flex:none;min-width:0}.wsl-resource-caption{font-size:9px;line-height:14px;font-weight:600;letter-spacing:-.4px;color:#405571;white-space:nowrap;max-width:100%}

/* Larger, readable two-row directory; horizontally scroll on smaller screens. */
.wsl-resource-scroll{grid-template-columns:minmax(660px,6fr) minmax(330px,3fr) minmax(440px,4fr);gap:24px}
.wsl-dark-site .wsl-resource-group h2{font-size:16px;color:#294562;margin-bottom:16px;letter-spacing:0}
.wsl-resource-grid{grid-template-rows:repeat(2,90px);gap:10px}
.wsl-resource-grid a{padding:10px 7px;gap:8px}
.wsl-resource-logo{height:34px}
.wsl-resource-grid img{max-height:34px}
.wsl-resource-caption{font-size:12px;line-height:18px;letter-spacing:0;white-space:normal;text-align:center;word-break:keep-all}
.wsl-resource-wordmark{font-size:14px;letter-spacing:0}
@media(max-width:600px){.wsl-resource-scroll{grid-template-columns:660px 330px 440px;gap:20px}.wsl-dark-site .wsl-resource-group h2{font-size:15px}}

/* All directories stay within the page, with shopping across the full width. */
.wsl-resource-scroll{grid-template-columns:1fr 1fr;overflow:visible;gap:28px 32px}
#chinaShopping{grid-column:1/-1}
.wsl-resource-group+.wsl-resource-group{padding-left:0;border-left:0}
.wsl-resource-grid{grid-template-rows:none;grid-auto-rows:minmax(90px,auto)}
#chinaShopping .wsl-resource-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:700px){.wsl-resource-scroll{grid-template-columns:1fr;gap:26px}#chinaShopping .wsl-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Compact category strip without horizontal scrolling. */
.wsl-resource-scroll{grid-template-columns:minmax(0,6fr) minmax(0,3fr) minmax(0,4fr);gap:20px}
#chinaShopping{grid-column:auto}
.wsl-dark-site .wsl-resource-group h2{font-size:13px;margin-bottom:10px}
.wsl-resource-grid{grid-auto-rows:minmax(66px,auto);gap:6px}
.wsl-resource-grid a{padding:7px 3px;gap:5px;border-radius:7px}
.wsl-resource-logo{height:26px}
.wsl-resource-grid img{max-height:26px}
.wsl-resource-caption{font-size:10px;line-height:14px;letter-spacing:-.2px}
.wsl-resource-wordmark{font-size:11px}
@media(max-width:1050px){.wsl-resource-scroll{grid-template-columns:1fr 1fr;gap:20px}#chinaShopping{grid-column:1/-1}}
@media(max-width:600px){.wsl-resource-scroll{grid-template-columns:1fr;gap:20px}#chinaShopping{grid-column:auto}#chinaShopping .wsl-resource-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.wsl-resource-caption{font-size:11px}.wsl-resource-grid{grid-auto-rows:minmax(70px,auto)}}

.wsl-resource-group h2,.wsl-resource-caption,.wsl-resource-wordmark{overflow-wrap:anywhere;white-space:normal;line-height:1.45}
.wsl-resource-grid a{height:auto;min-width:0}
html[lang^="en"] .wsl-resource-scroll{align-items:start}
html[lang^="en"] .wsl-resource-group h2{min-height:38px}
