/* Platform identities use unmodified, pinned Simple Icons SVGs. */
.connect-section .social-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px;max-width:1240px;margin:auto}
.connect-section .social-card{--channel:#0866ff;--channel-deep:#044cb3;--channel-tint:#eff6ff;grid-column:span 2;display:flex;flex-direction:column;align-items:stretch;background:linear-gradient(155deg,var(--channel-tint),#fff 32%);border:1px solid #cbd9ec;border-top:5px solid var(--channel);border-radius:22px;padding:28px 24px 26px;box-shadow:0 7px 0 #dce6f2,0 18px 36px #071e3010;text-align:center}
.connect-section .social-card:nth-child(4){grid-column:2/span 2}
.connect-section .social-card:nth-child(5){grid-column:4/span 2}
.connect-section .social-card[data-platform=zalo]{--channel:#0068ff;--channel-deep:#004abe;--channel-tint:#edf6ff}
.connect-section .social-card[data-platform=youtube]{--channel:#ed0018;--channel-deep:#b70012;--channel-tint:#fff1f2}
.connect-section .social-card[data-platform=tiktok]{--channel:#111923;--channel-deep:#02060b;--channel-tint:#e9ffff;border-top-color:#25f4ee}
.connect-section .social-heading{min-height:76px;gap:16px;align-items:center;justify-content:center}
.connect-section .social-heading h3{font-size:20px;line-height:1.4;font-weight:800;color:#0b294b;text-align:left;max-width:195px}
.platform-badge{position:relative;display:grid;place-items:center;flex:0 0 68px;width:68px;height:68px;border-radius:18px;background:linear-gradient(145deg,color-mix(in srgb,var(--channel),white 15%),var(--channel) 65%);border:1px solid #ffffff80;box-shadow:0 2px 0 #ffffffbb inset,0 -3px 0 #0000001a inset,0 5px 0 var(--channel-deep),0 11px 16px #0b294b30;transform:rotate(-5deg)}
.platform-badge:after{content:'';position:absolute;top:5px;left:7px;right:7px;height:22px;background:linear-gradient(#ffffff46,#ffffff00);border-radius:12px 12px 50% 50%;pointer-events:none}
.connect-section .social-card img.platform-icon{display:block;width:39px;height:39px;max-width:none;margin:0;image-rendering:auto;object-fit:contain;filter:brightness(0) invert(1) drop-shadow(0 2px 1px #00000030);transform:rotate(5deg)}
.social-card[data-platform=youtube] .platform-badge{background:linear-gradient(145deg,#ff3f50,#ff0000 65%)}
.social-card[data-platform=tiktok] .platform-badge{background:linear-gradient(145deg,#293340,#05090e);box-shadow:0 2px 0 #ffffff55 inset,-2px 5px 0 #25f4ee,2px 6px 0 #fe2c55,0 12px 16px #071e3033}
.connect-section .social-card[data-platform=tiktok] img.platform-icon{filter:brightness(0) invert(1) drop-shadow(-2px -1px 0 #25f4ee) drop-shadow(2px 1px 0 #fe2c55)}
.connect-section .social-card>p:not(.social-handle){font-size:16px;line-height:1.6;color:#41586c;min-height:52px;margin:17px 0 8px}
.connect-section .social-qr{display:block;width:min(100%,236px);margin:8px auto 16px;padding:13px;box-sizing:border-box;border:1px solid #dfE7f0;border-radius:15px;background:#fff}
.connect-section .social-qr img{display:block;width:100%;max-width:none;height:auto;margin:0;image-rendering:pixelated}
.connect-section .social-handle{font-size:14px!important;line-height:1.6;min-height:26px;margin:0 0 16px;color:#52687c}
.connect-section .social-open{display:flex;align-items:center;justify-content:center;min-height:51px;margin-top:auto;padding:12px 14px;box-sizing:border-box;border-radius:11px;border:1px solid var(--channel);background:var(--channel);box-shadow:0 4px 0 var(--channel-deep);color:#fff;font-size:16px;font-weight:700;line-height:1.5;transition:transform .15s,box-shadow .15s}
.connect-section .social-open:hover{background:var(--channel);color:#fff;transform:translateY(-2px);box-shadow:0 6px 0 var(--channel-deep)}
.connect-section .social-card[data-platform=tiktok] .social-open{border-color:#25f4ee;box-shadow:0 4px 0 #fe2c55}
.connect-section .social-open:focus-visible,.connect-section .social-qr:focus-visible{outline:3px solid #0057d9;outline-offset:6px}
body.social-section-visible .reference-sticky,body.social-section-visible .zalo-float{visibility:hidden!important;pointer-events:none}
@media(max-width:1050px){.connect-section .social-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.connect-section .social-card,.connect-section .social-card:nth-child(4){grid-column:auto}.connect-section .social-card:nth-child(5){grid-column:1/span 2;width:calc((100% - 22px)/2);box-sizing:border-box;justify-self:center}.connect-section .social-heading h3{font-size:19px}}
@media(max-width:560px){.connect-section .social-grid{grid-template-columns:1fr;gap:25px}.connect-section .social-card,.connect-section .social-card:nth-child(4),.connect-section .social-card:nth-child(5){grid-column:auto;width:100%;padding:25px 22px;box-sizing:border-box}.connect-section .social-heading h3{font-size:20px;max-width:180px}.connect-section .social-qr{width:236px;max-width:100%}.connect-section .social-card>p:not(.social-handle){min-height:0;margin:18px 0 10px}.connect-section .social-open{margin-top:8px}}
@media(prefers-reduced-motion:reduce){.connect-section .social-open{transition:none}}
