/* FOOTER BASE: black background, Arial and the existing yellow accents. */
.ts-footer,.ts-footer *{box-sizing:border-box}
.ts-footer{background:#000;color:#fff;font:400 12px/1.65 var(--ts-component-font)}
.ts-footer__inner{max-width:var(--ts-content-width);margin:auto;padding:40px 20px 38px;min-height:348px}
/* FIVE DESKTOP COLUMNS: brand, services, signs, company and contact. */
.ts-footer__grid{display:grid;grid-template-columns:220px repeat(4,max-content);justify-content:space-between;column-gap:32px;row-gap:32px;align-items:start}
/* Left-align all text; size and place the final column at the shared right edge. */
.ts-footer__grid>section,.ts-footer__right{text-align:left}
.ts-footer__right{width:max-content;max-width:100%;justify-self:end}
.ts-footer__right a[href^="mailto:"]{white-space:nowrap}
.ts-footer__grid>section,.ts-footer__right,.ts-footer__right section{margin:0;padding:0}
.ts-footer__brand img{display:block;width:164px;max-width:100%;height:auto}
.ts-footer__brand p{font:400 16px/1.6 var(--ts-component-font);max-width:220px;margin:20px 0 0}
.ts-footer h2{font:700 16px/1.4 var(--ts-component-font);color:var(--ts-yellow);margin:0 0 6px}
.ts-footer ul{list-style:none;margin:0;padding:0}.ts-footer li{margin:0;line-height:26px}
/* LINK FEEDBACK: pointer cursor, yellow color and a visible underline. */
.ts-footer a{color:#fff;text-decoration:none;overflow-wrap:anywhere;cursor:pointer;text-underline-offset:4px;text-decoration-thickness:1px}
.ts-footer a:hover,.ts-footer a:focus-visible{color:var(--ts-yellow);text-decoration:underline}
/* Yellow links retain an underline as their hover/focus indicator. */
.ts-footer .ts-footer__accent:hover,.ts-footer .ts-footer__accent:focus-visible{text-decoration:underline;text-decoration-thickness:2px}
.ts-footer__brand>a{display:inline-block;border-radius:2px}
.ts-footer__brand>a:hover,.ts-footer__brand>a:focus-visible{outline:2px solid var(--ts-yellow);outline-offset:5px}
.ts-footer .ts-footer__accent{color:var(--ts-yellow)}
.ts-footer :focus-visible{outline:3px solid var(--ts-yellow);outline-offset:4px}
/* BOTTOM ROW: copyright and privacy stay side by side, including on mobile. */
.ts-footer__bottom{border-top:1px solid #4d4d4d;border-bottom:1px solid #4d4d4d}
.ts-footer__bottom-inner{max-width:var(--ts-content-width);margin:auto;padding:14px 20px 18px;display:flex;justify-content:space-between;align-items:center;gap:24px;font-size:9px;line-height:1.6}
/* TABLET: two columns with Company and Contact as independent sections. */
@media(max-width:1000px){.ts-footer__grid{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:normal;gap:36px 50px}.ts-footer__inner{min-height:0;padding:40px 20px}}
/* PHONE: one column with comfortable link spacing. */
@media(max-width:600px){.ts-footer__grid{grid-template-columns:1fr;gap:30px}.ts-footer__inner{padding:36px 20px}.ts-footer li{line-height:30px;font-size:14px}.ts-footer__bottom-inner{padding:16px 20px;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:12px;font-size:clamp(7px,2vw,9px)}.ts-footer__bottom-inner>span{min-width:0;white-space:nowrap}.ts-footer__bottom-inner>a{flex:0 0 auto;white-space:nowrap;align-self:center}}

/* PHONE DIVIDERS: thin rules between stacked footer sections. */
@media(max-width:600px){
 .ts-footer .ts-footer__grid>:not(:first-child){border-top:1px solid #4d4d4d;padding-top:30px}
 .ts-footer .ts-footer__right{width:100%;justify-self:stretch}
}

/* RESPONSIVE TEXT: keep short labels intact and avoid isolated final words. */
.ts-footer__brand p{text-wrap:pretty;overflow-wrap:normal;word-break:normal}
.ts-footer h2{text-wrap:balance}
.ts-footer li a,.ts-footer li>span{display:inline-block;max-width:100%;text-wrap:pretty;word-break:normal;overflow-wrap:normal}

/* FOOTER HIERARCHY — v1.1.2: clear headings and evenly spaced links.
 * Yellow accent links share the same typography as the other column links.
 * Legal-row text keeps its separate compact styling.
 */
#ts-global-footer h2{font:700 18px/1.4 var(--ts-component-font);margin:0 0 14px;color:var(--ts-yellow)}
#ts-global-footer .ts-footer__grid li{font:400 14px/1.6 var(--ts-component-font);margin:0 0 8px}
#ts-global-footer .ts-footer__grid li:last-child{margin-bottom:0}
#ts-global-footer .ts-footer__grid li>a,
#ts-global-footer .ts-footer__grid li>span,
#ts-global-footer .ts-footer__grid a.ts-footer__accent{font:400 14px/1.6 var(--ts-component-font);letter-spacing:normal;text-transform:none}
