/* TFD brand-specific social icon emphasis · flat 2D, no gloss or raised effects.
   Specificity intentionally beats the legacy baby-blue hover!important rules. */
.social-section .social-link[data-platform="youtube"]{
 --platform-accent:#E62135;--platform-tint:#FFF2F3;
 --platform-line:#F3B0B9;--platform-text:#B91C2E;
}
.social-section .social-link[data-platform="facebook"]{
 --platform-accent:#1877F2;--platform-tint:#F0F6FF;
 --platform-line:#A9CBFA;--platform-text:#145BB7;
}
.social-section .social-link[data-platform="instagram"]{
 --platform-accent:#A32BB9;--platform-tint:#FBF2FD;
 --platform-line:#D8B6E5;--platform-text:#8628A0;
}
.social-section .social-link[data-platform="tiktok"]{
 --platform-accent:#24272B;--platform-tint:#F3F4F5;
 --platform-line:#BDC3C9;--platform-text:#23272D;
}
/* At rest keep the original flat-line treatment, but tint each badge according
   to the original platform. Icon color is not baby blue anymore. */
.page .social-section a.social-link[data-platform] .ico{
 background:var(--platform-tint)!important;
 color:var(--platform-accent)!important;
 box-shadow:none!important;filter:none!important;
 transition:background-color .22s ease,color .22s ease!important;
}
.page .social-section a.social-link[data-platform] .ico svg.social-mark-outline{
 stroke:currentColor!important;filter:none!important;
}
/* Brand color replaces the old forced baby-blue background; all card surfaces
   stay solid and flat, preserving the premium 2D design. */
.page .social-section a.social-link[data-platform]:is(:hover,:active,:focus-visible,.is-highlighted){
 background:var(--platform-tint)!important;
 background-image:none!important;
 border-color:var(--platform-line)!important;
 color:#1A3143!important;
 box-shadow:none!important;filter:none!important;transform:none!important;
}
.page .social-section a.social-link[data-platform]:is(:hover,:active,:focus-visible,.is-highlighted) .ico{
 background:#FFF!important;
 color:var(--platform-accent)!important;
 box-shadow:none!important;
}
.page .social-section a.social-link[data-platform]:is(:hover,:active,:focus-visible,.is-highlighted) .arrow{
 color:var(--platform-text)!important;
}
.page .social-section a.social-link[data-platform]:active{
 background:var(--platform-tint)!important;
 border-color:var(--platform-accent)!important;
}
/* Existing brand SVG overlay: Instagram purple/pink, YouTube red,
   TikTok dark charcoal, and Facebook blue; no 3D drop shadows. */
.page .social-section .social-link[data-platform] .ico svg.social-mark-brand{
 filter:none!important;
}
@media(prefers-reduced-motion:reduce){
 .page .social-section a.social-link[data-platform],
 .page .social-section a.social-link[data-platform] .ico{transition:none!important}
}
html[data-tfd-motion="off"] .page .social-section a.social-link[data-platform],
html[data-tfd-motion="off"] .page .social-section a.social-link[data-platform] .ico{transition:none!important}
