diff --git a/src/components/patterns/pill-card.tsx b/src/components/patterns/pill-card.tsx index fe11081f..f88d144b 100644 --- a/src/components/patterns/pill-card.tsx +++ b/src/components/patterns/pill-card.tsx @@ -69,6 +69,8 @@ const PillCard = ({imageUrl, imageAlt, videoUrl, isArticle, children, bgColor, . "rs-px-3 flex flex-col pb-[125px] pt-20 @7xl:rs-px-4 @2xl:pb-[175px] @3xl:pb-[225px] @4xl:pb-[300px]", clsx({ "pt-[125px] @3xl:pt-[175px] @4xl:pt-[225px] @5xl:pt-[250px] @7xl:pt-[300px]": !imageUrl, + "[&_p>a]:text-black-true [&_p>a]:no-underline [&_p>a]:hocus:text-black-true [&_p>a]:hocus:underline": + typeof bgColor == "string" && !bgColor?.includes("semitransparent"), }) )} >