/* ST Workwear 2.4: one consistent underline treatment for homepage editorial links.
   This file loads after the existing design system; no Gutenberg-editor impact. */
body .st-premium-home .wp-block-button.is-style-outline {
    background:transparent!important;border:0!important;box-shadow:none!important;
}
body .st-premium-home .wp-block-button.is-style-outline > .wp-block-button__link {
    position:relative;display:inline-flex;align-items:center;gap:.65em;
    width:auto;min-height:0;padding:10px 0 13px!important;
    border:0!important;border-bottom:0!important;border-radius:0!important;
    outline-offset:5px;box-shadow:none!important;text-decoration:none!important;
    background:transparent!important;color:var(--navy)!important;
    transform:none!important;
    transition:color .25s ease!important;
}
body .st-premium-home .wp-block-button.is-style-outline > .wp-block-button__link::before {
    content:none!important;display:none!important;
}
body .st-premium-home .wp-block-button.is-style-outline > .wp-block-button__link::after {
    content:""!important;display:block!important;
    position:absolute;left:0;right:0;bottom:3px;top:auto;
    width:100%;height:1px;border:0!important;border-radius:0;
    background:var(--accent);box-shadow:none!important;
    transform:scaleX(.30);transform-origin:left center;
    transition:transform .32s cubic-bezier(.22,1,.36,1);
}
body .st-premium-home .wp-block-button.is-style-outline > .wp-block-button__link:is(:hover,:focus-visible){
    color:var(--accent)!important;background:transparent!important;
}
body .st-premium-home .wp-block-button.is-style-outline > .wp-block-button__link:is(:hover,:focus-visible)::after {
    transform:scaleX(1);
}
/* Editorial dark backgrounds: white links and no unreadable blue text. */
body .st-premium-home :is(.st-gb-editorial-copy,.st-gb-contact,.st-gb-overlay-text) .wp-block-button.is-style-outline > .wp-block-button__link{
    color:#fff!important;
}
body .st-premium-home :is(.st-gb-editorial-copy,.st-gb-contact,.st-gb-overlay-text) .wp-block-button.is-style-outline > .wp-block-button__link:is(:hover,:focus-visible){
    color:#fff!important;
}
@media (prefers-reduced-motion:reduce){
    body .st-premium-home .wp-block-button.is-style-outline > .wp-block-button__link,
    body .st-premium-home .wp-block-button.is-style-outline > .wp-block-button__link::after{transition:none!important;}
}
