/* Triple S Solar 1.0.0 – theme additions on top of the approved design CSS (app/theme/ts-light-dark). */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.screen-reader-text:focus,.skip-link:focus{background:#fff;color:#111;clip:auto!important;clip-path:none;display:block;font-weight:700;height:auto;left:12px;top:12px;padding:12px 18px;width:auto;z-index:100000;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,.25)}
@media (min-width:48rem){.md\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* Contact card / plugin forms inside the design */
.ts-contact-card a.ts-cc-row{display:block}
.ts-lead-form input:not([type=submit]):not([type=checkbox]):not([type=radio]),.ts-lead-form select,.ts-lead-form textarea{width:100%;border-radius:.75rem;border:1px solid var(--input);background:color-mix(in oklab,var(--background) 60%,transparent);color:var(--foreground);padding:.85rem 1rem;font:inherit}
.ts-lead-form input[type=submit],.ts-lead-form button[type=submit]{border:0;border-radius:999px;padding:.85rem 1.5rem;font-weight:700;color:#fff;background:var(--gradient-brand);cursor:pointer}
.ts-lead-form label{display:block;margin:.4rem 0 .25rem;font-weight:600}
.ts-fab-form{padding:20px;color:#1b2a3a}
#tsfab .ts-fab-form .ts-contact-card{background:#F4F6FA;color:#1b2a3a}
/* Breadcrumbs, widgets, comments, search */
.ts-breadcrumbs{margin-top:-1.5rem;margin-bottom:1.5rem;font-size:.875rem;color:var(--muted-foreground);text-align:center}
.ts-breadcrumbs a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.ts-sidebar .widget,.ts-footer-widgets .widget{margin-bottom:1.5rem}
.ts-sidebar .widget-title,.ts-footer-widgets .widget-title{font-weight:800;font-size:1.125rem;margin-bottom:.75rem}
.ts-footer-widgets{color:var(--muted-foreground)}
.ts-footer-widgets a:hover{color:var(--brand-orange)}
.ts-search form{display:flex;gap:.5rem}.ts-search input[type=search]{flex:1;border-radius:999px;border:1px solid var(--input);padding:.7rem 1rem;background:var(--background);color:var(--foreground)}
.ts-search input[type=submit],.ts-search button{border:0;border-radius:999px;padding:.7rem 1.2rem;background:var(--gradient-brand);color:#fff;font-weight:700}
.comments-area .comment-list{list-style:none;padding:0}.comments-area .comment-body{padding:1rem 0;border-bottom:1px solid var(--border)}
.comments-area textarea,.comments-area input[type=text],.comments-area input[type=email],.comments-area input[type=url]{width:100%;border:1px solid var(--input);border-radius:.75rem;padding:.7rem;background:var(--background);color:var(--foreground)}
/* Block editor alignment helpers inside the article column */
.ts-prose .alignwide{margin-inline:calc(50% - min(50vw,36rem) + 1.25rem);max-width:none}
.ts-prose .alignfull{margin-inline:calc(50% - 50vw);max-width:100vw;width:100vw}
.ts-prose .aligncenter{margin-inline:auto;display:block}
.ts-prose .alignleft{float:left;margin:.3rem 0 1rem 1.5rem}.ts-prose .alignright{float:right;margin:.3rem 1.5rem 1rem 0}
.wp-caption-text,.ts-prose figcaption{font-size:.875rem;color:var(--muted-foreground);text-align:center}
.bypostauthor>.comment-body .fn{font-weight:800}.gallery-caption{font-size:.875rem}.sticky{position:relative}
/* Elementor / full-width content under the fixed header */
.ts-elementor-content,.ts-full-width{min-height:40vh}
/* H1 headings from post content rendered as H2 (one H1 per page) keep the previous plain look */
.ts-prose h2.ts-h1,.ts-elementor-content h2.ts-h1{font-size:inherit;font-weight:inherit;line-height:inherit;margin-top:0;color:inherit}
.ts-prose h2.ts-h1::after{content:none;display:none}
.ts-prose>*+h2.ts-h1{margin-top:1.1em}
/* 1.0.1 testimonials: video embeds + quotes (light/dark via theme tokens, RTL-neutral) */
.ts-testimonials .ts-tm-sub{margin:0 0 1.25rem;text-align:center;font-size:1.25rem;font-weight:800}
.ts-tm-videos{display:grid;gap:1.25rem;grid-template-columns:1fr;margin-bottom:3rem}
.ts-tm-videos:last-child{margin-bottom:0}
@media(min-width:768px){.ts-tm-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.ts-tm-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.ts-tm-cols-1{max-width:48rem;margin-inline:auto}}
.ts-tm-video{margin:0;border-radius:1rem;overflow:hidden;display:flex;flex-direction:column}
.ts-tm-frame{position:relative;aspect-ratio:16/9;background:#0b1320}
.ts-tm-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.ts-tm-cap{display:flex;align-items:center;gap:.5rem;padding:.9rem 1.1rem;font-weight:700;color:inherit}
.ts-tm-cap svg{color:var(--brand-sand);flex:none}
.ts-admin-note{margin:0 0 1rem;padding:.6rem .9rem;border-radius:.6rem;border:2px dashed #E2381B;background:#fff4f1;color:#7a1a0b;font-size:.875rem;font-weight:600;line-height:1.4}
html[data-theme="dark"] .ts-admin-note{background:#2a1410;color:#ffd9cf}
.ts-prose .wp-block-button__link{color:#fff;text-decoration:none}
/* 1.0.2/1.0.3 – click-to-play video facade + quote grid (1.0.3: role | name, photo/logo, project link) */
.ts-vf{position:absolute;inset:0;overflow:hidden;background:#0b1320}
.ts-vf iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.ts-vf-thumb{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease,filter .35s ease}
.ts-vf::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.05) 40%,rgba(0,0,0,.35))}
.ts-vf.is-playing::after{display:none}
.ts-vf-btn{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;width:100%;height:100%;margin:0;padding:0;border:0;background:transparent;cursor:pointer;color:#fff;-webkit-appearance:none;appearance:none}
.ts-vf-icon{width:72px;height:auto;filter:drop-shadow(0 4px 14px rgba(0,0,0,.45));transition:transform .2s ease}
.ts-vf-bg{fill:#212121;fill-opacity:.82;transition:fill .2s ease,fill-opacity .2s ease}
.ts-vf-tri{fill:#fff}
.ts-vf-btn:hover .ts-vf-bg,.ts-vf-btn:focus-visible .ts-vf-bg{fill:var(--brand-red,#E2381B);fill-opacity:1}
.ts-vf-btn:hover .ts-vf-icon,.ts-vf-btn:focus-visible .ts-vf-icon{transform:scale(1.08)}
.ts-vf-btn:hover~.ts-vf-thumb,.ts-vf:hover .ts-vf-thumb{transform:scale(1.03)}
.ts-vf-btn:focus{outline:none}
.ts-vf-btn:focus-visible{outline:3px solid #fff;outline-offset:-6px;box-shadow:inset 0 0 0 7px var(--brand-red,#E2381B)}
.ts-vf iframe:focus-visible{outline:3px solid var(--brand-orange,#FD8943);outline-offset:-3px}
html[data-theme=light] .ts-tm-frame{background:#e9edf2}
html[data-theme=light] .ts-vf{background:#e9edf2}
@media(max-width:767px){.ts-vf-icon{width:60px}}
@media(prefers-reduced-motion:reduce){.ts-vf-thumb,.ts-vf-icon,.ts-vf-bg{transition:none}.ts-vf:hover .ts-vf-thumb{transform:none}}
.ts-tm-quotes{display:grid;gap:1.25rem}
@media(max-width:767px){.ts-tm-quotes{grid-template-columns:1fr}}
.ts-q{position:relative;margin:0;min-width:0;height:100%;display:flex;flex-direction:column;border-radius:1rem;padding:1.75rem;overflow:hidden}
.ts-q-mark{position:absolute;top:.25rem;inset-inline-end:1rem;font-size:5rem;line-height:1;font-weight:900;color:var(--brand-orange,#FD8943);opacity:.28;pointer-events:none;user-select:none}
.ts-q-text{margin:1.25rem 0 0;font-size:1.0625rem;line-height:1.75;overflow-wrap:anywhere;flex:1 1 auto}
.ts-q-text p{margin:0}
/* 1.0.4 – rating stars optional (default off): without the stars row the quote starts at the card padding; a float spacer keeps the first lines clear of the decorative ” mark */
.ts-q--nostars .ts-q-text{margin-top:0}
.ts-q--nostars .ts-q-text::before{content:"";float:right;width:3rem;height:3.5rem}
[dir=rtl] .ts-q--nostars .ts-q-text::before{float:left}
.ts-q-cap{display:flex;align-items:center;gap:.875rem;margin-top:1.5rem;font-size:.9375rem;line-height:1.5;color:var(--muted-foreground);min-width:0}
.ts-q-media{flex:0 0 auto;width:64px;height:64px;border-radius:9999px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.ts-q-media--photo{box-shadow:0 0 0 2px rgba(253,137,67,.45)}
.ts-q-media--photo .ts-q-img{width:100%;height:100%;object-fit:cover;display:block}
.ts-q-media--logo,html[data-theme=dark] .ts-q-media--logo,html[data-theme=light] .ts-q-media--logo{background:#fff;padding:8px;box-shadow:0 0 0 1px rgba(15,23,42,.12)}
.ts-q-media--logo .ts-q-img{width:100%;height:100%;object-fit:contain;display:block}
.ts-q-who{display:flex;flex-direction:column;gap:.25rem;min-width:0}
.ts-q-line{overflow-wrap:anywhere}
.ts-q-name{font-weight:700;color:var(--foreground);white-space:nowrap}
.ts-q-sep{margin-inline:.35rem;opacity:.6}
.ts-q-link{align-self:flex-start;font-size:.875rem;font-weight:700;color:var(--foreground);text-decoration:underline;text-decoration-color:var(--brand-orange,#FD8943);text-underline-offset:3px}
.ts-q-link:hover{text-decoration-thickness:2px}
.ts-q-link:focus-visible{outline:2px solid var(--brand-orange,#FD8943);outline-offset:2px;border-radius:2px}

/* 1.0.6: company details (contact card + footer) */
.ts-contact-card .ts-cc-details{display:grid;gap:.7rem;min-width:0;color:var(--foreground)}
.ts-contact-card .ts-cc-details a{color:inherit;-webkit-text-fill-color:currentColor}
.ts-contact-card .ts-cc-details a:hover{color:var(--brand-orange,#E2381B)}
.ts-cc-details p,.ts-ft-contact p{margin:0;overflow-wrap:anywhere}
.ts-tel{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:.5rem;row-gap:.1rem}
.ts-cc-lbl{font-size:.875rem;font-weight:400;opacity:.8}
.ts-ft-contact{display:grid;gap:.35rem;font-size:.9rem;line-height:1.5;padding-bottom:.35rem}
.ts-ft-lbl{font-size:.8rem;opacity:.85}
.ts-hours .ts-cc-lbl,.ts-hours .ts-ft-lbl{margin-inline-end:.4rem}
.ts-wa{display:inline-flex;align-items:center;gap:.4rem}
.ts-wa .ts-wa-ico{width:1.1em;height:1.1em;flex:none;color:#25D366}
html:not([data-theme="dark"]) .ts-contact-card .ts-wa .ts-wa-ico{color:#128C4A}
.ts-cc-details a:focus-visible,.ts-ft-contact a:focus-visible{outline:2px solid currentColor;outline-offset:2px;border-radius:4px}
