/*
Theme Name: Tarp and Sign
Theme URI: https://tarpandsign.co.za
Author: Tarp and Sign
Description: Custom theme for Tarp and Sign — truck tarpaulins, repairs, signage and pool covers. Built to display the pages imported from the old WordPress.com site (Home, Gallery, Get in Touch) with no page builder required.
Version: 1.2.2
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: tarpandsign
*/

/* ---------- Tokens ---------- */
:root {
	--ts-accent: #32cd32;          /* overridden from Customizer */
	--ts-accent-ink: #16181b;
	--ts-ink: #16181b;
	--ts-ink-2: #3a3f45;
	--ts-muted: #6b7178;
	--ts-line: #e3e5e8;
	--ts-paper: #ffffff;
	--ts-paper-2: #f4f5f6;
	--ts-dark: #16181b;
	--ts-dark-2: #22262b;
	--ts-radius: 6px;
	--ts-wrap: 1200px;
	--ts-head: "Barlow Condensed", "Arial Narrow", sans-serif;
	--ts-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--ts-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ts-ink-2);
	background: var(--ts-paper);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ts-ink); text-decoration-color: var(--ts-accent); text-underline-offset: 3px; }
a:hover { color: var(--ts-ink); text-decoration-thickness: 2px; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--ts-head);
	color: var(--ts-ink);
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: .01em;
	margin: 1.6em 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 1000; clip: auto; width: auto; height: auto;
	background: var(--ts-accent); color: var(--ts-accent-ink); padding: 10px 16px; font-weight: 700;
}
.ts-wrap { width: 100%; max-width: var(--ts-wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.ts-btn, .wp-block-button__link, button[type=submit], input[type=submit] {
	display: inline-flex; align-items: center; gap: .5em;
	font-family: var(--ts-head); font-weight: 700; font-size: 1.05rem;
	text-transform: uppercase; letter-spacing: .06em;
	background: var(--ts-accent); color: var(--ts-accent-ink);
	border: 2px solid var(--ts-accent); border-radius: var(--ts-radius);
	padding: .75em 1.4em; text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background .15s ease;
}
.ts-btn:hover, .wp-block-button__link:hover, button[type=submit]:hover { transform: translateY(-1px); filter: brightness(1.05); color: var(--ts-accent-ink); }
.ts-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.ts-btn--ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Top bar + header ---------- */
.ts-topbar { background: var(--ts-dark); color: #c9cdd2; font-size: .9rem; }
.ts-topbar .ts-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.ts-topbar a { color: #fff; text-decoration: none; }
.ts-topbar a:hover { color: var(--ts-accent); }
.ts-topbar__items { display: flex; gap: 22px; flex-wrap: wrap; }

.ts-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--ts-line); }
.admin-bar .ts-header { top: 32px; }
.ts-header .ts-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.ts-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.ts-brand img, .custom-logo { max-height: 62px; width: auto; }
.ts-brand__name { font-family: var(--ts-head); font-size: 1.7rem; font-weight: 700; text-transform: uppercase; color: var(--ts-ink); letter-spacing: .02em; }
.ts-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.ts-nav a {
	display: block; padding: 10px 14px; text-decoration: none;
	font-family: var(--ts-head); font-weight: 600; font-size: 1.15rem;
	text-transform: uppercase; letter-spacing: .05em; color: var(--ts-ink);
	border-bottom: 3px solid transparent;
}
.ts-nav a:hover, .ts-nav .current-menu-item > a, .ts-nav .current_page_item > a { border-bottom-color: var(--ts-accent); }
.ts-nav .ts-nav__cta a { background: var(--ts-accent); color: var(--ts-accent-ink); border-radius: var(--ts-radius); border-bottom: 0; margin-left: 8px; }
.ts-menu-toggle { display: none; background: none; border: 2px solid var(--ts-ink); border-radius: var(--ts-radius); padding: 8px 10px; cursor: pointer; }
.ts-menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ts-ink); margin: 4px 0; }

@media (max-width: 860px) {
	.ts-topbar__hours { display: none; }
	.ts-menu-toggle { display: block; }
	.ts-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--ts-line); display: none; }
	.ts-nav.is-open { display: block; }
	.ts-nav ul { flex-direction: column; align-items: stretch; padding: 8px 20px 18px; gap: 0; }
	.ts-nav a { border-bottom: 1px solid var(--ts-line); }
	.ts-nav .ts-nav__cta a { margin: 12px 0 0; text-align: center; }
	.ts-header .ts-wrap { min-height: 70px; }
	.ts-brand img, .custom-logo { max-height: 48px; }
}
@media (max-width: 782px) { .admin-bar .ts-header { top: 46px; } }

/* ---------- Page heading band ---------- */
.ts-pagehead { background: var(--ts-dark); color: #fff; padding: 56px 0 50px; position: relative; overflow: hidden; }
.ts-pagehead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(-45deg, var(--ts-accent) 0 18px, var(--ts-dark) 18px 36px); }
.ts-pagehead h1 { color: #fff; margin: 0; }
.ts-pagehead p { color: #b9bec4; margin: 10px 0 0; max-width: 640px; }

/* ---------- Content (imported block content) ---------- */
.ts-main { padding: 48px 0 72px; }
.home .ts-main { padding-top: 0; }
.entry-content > * { max-width: var(--ts-wrap); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.entry-content > .alignfull { max-width: none; padding-left: 0; padding-right: 0; }
.entry-content > .alignwide { max-width: 1320px; }
.entry-content > .wp-block-image, .entry-content > figure { padding-left: 20px; padding-right: 20px; }
.entry-content img { border-radius: var(--ts-radius); }
.entry-content .alignfull img { border-radius: 0; }
.entry-content > *:first-child { margin-top: 0; }

.wp-block-columns { display: flex; flex-wrap: wrap; gap: 28px; margin-bottom: 2em; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
@media (max-width: 781px) { .wp-block-columns { flex-direction: column; } }

/* Service cards (the imported "Services" section: column > group > image + group > h3.is-service-name) */
#services-section h2 { text-align: center; }
#services-section .wp-block-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { #services-section .wp-block-columns { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { #services-section .wp-block-columns { grid-template-columns: 1fr; } }
.wp-block-column:has(.is-service-name) {
	background: #fff; border: 1px solid var(--ts-line); border-radius: 10px; overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.wp-block-column:has(.is-service-name):hover { box-shadow: 0 14px 34px rgba(0,0,0,.08); transform: translateY(-2px); }
.wp-block-column:has(.is-service-name) .wp-block-image { margin: 0; padding: 0; }
.wp-block-column:has(.is-service-name) .wp-block-image img { border-radius: 0; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.wp-block-column:has(.is-service-name) .wp-block-group .wp-block-group { padding: 18px 22px 22px; }
.is-service-name { margin: 0 0 8px; text-transform: uppercase; }
.is-service-name::before { content: ""; display: block; width: 36px; height: 4px; background: var(--ts-accent); margin-bottom: 10px; }
.is-service-description { margin: 0; }

/* Empty buttons left over from the old site's template */
.wp-block-button:has(> .wp-block-button__link:empty), .wp-block-buttons:not(:has(.wp-block-button__link:not(:empty))) { display: none; }

/* Photo strips on the Home page (rows of 4 square images) */
.entry-content > #gallery-section { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; max-width: none; margin: 2.5em 0; }
#gallery-section .wp-block-image { margin: 0; padding: 0; }
#gallery-section img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0; cursor: zoom-in; }
@media (max-width: 640px) { .entry-content > #gallery-section { grid-template-columns: repeat(2, 1fr); } }

/* The Home page's own "Visit us" block repeats the footer, so it is hidden there.
   Delete that section in the page editor if you prefer. */
.home #contact-section { display: none; }

.wp-block-cover { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; padding: 48px 20px; overflow: hidden; color: #fff; }
.wp-block-cover__image-background, .wp-block-cover video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.wp-block-cover__background { position: absolute; inset: 0; background: #000; opacity: .5; }
.wp-block-cover__inner-container { position: relative; z-index: 1; max-width: var(--ts-wrap); width: 100%; }
.wp-block-cover h1, .wp-block-cover h2, .wp-block-cover h3, .wp-block-cover p { color: #fff; }

.has-text-align-center { text-align: center; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-block-image figcaption, figcaption { font-size: .9rem; color: var(--ts-muted); margin-top: 6px; }
.wp-block-separator { border: 0; border-top: 1px solid var(--ts-line); margin: 2.5em auto; }
.wp-block-spacer { padding: 0 !important; }

/* Core galleries */
.wp-block-gallery, .blocks-gallery-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; list-style: none; padding-left: 20px; padding-right: 20px; margin-bottom: 2em; }
.wp-block-gallery figure, .blocks-gallery-item { margin: 0; width: auto !important; }
.wp-block-gallery img, .blocks-gallery-item img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }

/* Jetpack Tiled Gallery fallback (works with or without Jetpack active) */
.wp-block-jetpack-tiled-gallery .tiled-gallery__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.wp-block-jetpack-tiled-gallery .tiled-gallery__row, .wp-block-jetpack-tiled-gallery .tiled-gallery__col { display: contents; }
.wp-block-jetpack-tiled-gallery .tiled-gallery__item { margin: 0; }
.wp-block-jetpack-tiled-gallery .tiled-gallery__item img { width: 100% !important; height: 100% !important; aspect-ratio: 1; object-fit: cover; }

/* Gallery page: loose images become a grid too */
.ts-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.ts-gallery-grid > * { margin: 0 !important; padding: 0 !important; max-width: none !important; }
.ts-gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ts-zoomable { cursor: zoom-in; }
.ts-gallery-filters-note { color: var(--ts-muted); margin-bottom: 20px; }

/* Before / after (Jetpack Image Compare fallback) */
.ts-compare { position: relative; overflow: hidden; border-radius: 10px; user-select: none; touch-action: pan-y; max-width: 1100px; margin: 0 auto 2.5em; }
.ts-compare img { width: 100%; border-radius: 0 !important; pointer-events: none; }
.ts-compare__after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.ts-compare__after img { height: 100%; object-fit: cover; }
.ts-compare__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; margin-left: -2px; background: var(--ts-accent); cursor: ew-resize; }
.ts-compare__handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: var(--ts-accent); color: var(--ts-accent-ink); display: grid; place-items: center; font-weight: 700; font-size: 20px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.ts-compare__label { position: absolute; top: 14px; padding: 4px 10px; background: rgba(0,0,0,.65); color: #fff; font-family: var(--ts-head); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; border-radius: 4px; }
.ts-compare__label--before { left: 14px; }
.ts-compare__label--after { right: 14px; }
.ts-compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* Lightbox */
.ts-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(10,11,13,.94); display: none; align-items: center; justify-content: center; }
.ts-lightbox.is-open { display: flex; }
.ts-lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 4px; }
.ts-lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.ts-lightbox button:hover { background: var(--ts-accent); color: var(--ts-accent-ink); }
.ts-lightbox__close { top: 18px; right: 18px; }
.ts-lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.ts-lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.ts-lightbox__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #aaa; font-size: .9rem; }

/* ---------- Contact page ---------- */
.ts-contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .ts-contact { grid-template-columns: 1fr; } }
.ts-contact__intro > .entry-content > * { padding-left: 0; padding-right: 0; }
.ts-contact__card { background: var(--ts-paper-2); border-radius: 10px; padding: 32px; border-top: 5px solid var(--ts-accent); }
.ts-contact__card h2 { margin-top: 0; font-size: 1.9rem; }
.ts-details { list-style: none; padding: 0; margin: 24px 0 0; }
.ts-details li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--ts-line); }
.ts-details svg { flex: 0 0 22px; margin-top: 3px; color: var(--ts-ink); }
.ts-form label { display: block; font-weight: 600; color: var(--ts-ink); margin-bottom: 6px; font-size: .95rem; }
.ts-form .ts-field { margin-bottom: 18px; }
.ts-form input[type=text], .ts-form input[type=email], .ts-form input[type=tel], .ts-form select, .ts-form textarea {
	width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #cfd3d8; border-radius: var(--ts-radius); background: #fff; color: var(--ts-ink);
}
.ts-form input:focus, .ts-form textarea:focus, .ts-form select:focus { outline: 3px solid color-mix(in srgb, var(--ts-accent) 45%, transparent); border-color: var(--ts-ink); }
.ts-form .ts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .ts-form .ts-row { grid-template-columns: 1fr; } }
.ts-form .ts-hp { position: absolute; left: -9999px; }
.ts-notice { padding: 14px 18px; border-radius: var(--ts-radius); margin-bottom: 20px; font-weight: 600; }
.ts-notice--ok { background: #e7f6ec; color: #145a2c; }
.ts-notice--err { background: #fdecea; color: #8a1c13; }
.ts-map { margin-top: 48px; margin-bottom: 0; border-radius: 10px; overflow: hidden; }
.ts-map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.ts-cta { background: var(--ts-accent); color: var(--ts-accent-ink); }
.ts-cta .ts-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 34px; padding-bottom: 34px; }
.ts-cta h2 { margin: 0; color: var(--ts-accent-ink); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.ts-cta .ts-btn { background: var(--ts-dark); color: #fff; border-color: var(--ts-dark); }
.ts-footer { background: var(--ts-dark); color: #b9bec4; padding: 60px 0 0; font-size: .97rem; }
.ts-footer a { color: #fff; text-decoration: none; }
.ts-footer a:hover { color: var(--ts-accent); }
.ts-footer h3 { color: #fff; margin: 0 0 16px; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .05em; }
.ts-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .ts-footer__grid { grid-template-columns: 1fr; gap: 30px; } }
.ts-footer__logo img { max-height: 70px; width: auto; margin-bottom: 14px; }
.ts-footer ul { list-style: none; margin: 0; padding: 0; }
.ts-footer li { margin-bottom: 9px; }
.ts-footer .ts-details li { border-top-color: rgba(255,255,255,.08); padding: 8px 0; }
.ts-footer .ts-details svg { color: var(--ts-accent); }
.ts-social { display: flex; gap: 10px; margin-top: 18px; }
.ts-social a { width: 42px; height: 42px; border-radius: 50%; background: var(--ts-dark-2); display: grid; place-items: center; }
.ts-social a:hover { background: var(--ts-accent); color: var(--ts-accent-ink); }
.ts-footer__bottom { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: .88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* WhatsApp floating button */
.ts-wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.25); transition: transform .15s ease; }
.ts-wa:hover { transform: scale(1.06); color: #fff; }

/* Hide WordPress.com-only leftovers if any made it across */
.wp-block-jetpack-subscriptions, .wp-block-jetpack-like, .sharedaddy, .jp-relatedposts { display: none !important; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Home banner ---------- */
.ts-hero { position: relative; background: var(--ts-dark); color: #fff; overflow: hidden; }
.ts-hero::before {
	content: ""; position: absolute; inset: 0;
	background-image: linear-gradient(90deg, rgba(14,15,17,.94) 0%, rgba(14,15,17,.78) 45%, rgba(14,15,17,.25) 100%), var(--ts-hero-img, none);
	background-size: cover; background-position: center;
}
.ts-hero__inner { position: relative; padding-top: 96px; padding-bottom: 88px; }
.ts-hero__kicker { display: inline-block; font-family: var(--ts-head); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .95rem; color: var(--ts-accent); margin: 0 0 14px; }
.ts-hero__title { color: #fff; margin: 0; max-width: 760px; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; }
.ts-hero__text { color: #d3d7dc; font-size: 1.15rem; max-width: 560px; margin: 20px 0 30px; }
.ts-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ts-badges { position: relative; background: rgba(0,0,0,.55); border-top: 1px solid rgba(255,255,255,.08); }
.ts-badges::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(-45deg, var(--ts-accent) 0 18px, var(--ts-dark) 18px 36px); }
.ts-badges ul { list-style: none; margin: 0; padding: 18px 0 24px; display: flex; flex-wrap: wrap; gap: 10px 34px; }
.ts-badges li { display: flex; align-items: center; gap: 8px; font-family: var(--ts-head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #fff; }
.ts-badges svg { color: var(--ts-accent); flex: 0 0 18px; }
@media (max-width: 640px) {
	.ts-hero::before { background-image: linear-gradient(180deg, rgba(14,15,17,.7), rgba(14,15,17,.92)), var(--ts-hero-img, none); }
	.ts-hero__inner { padding-top: 64px; padding-bottom: 56px; }
	.ts-badges ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
	.ts-badges li { font-size: .9rem; }
}

/* ---------- Client strip ---------- */
.ts-clients { background: var(--ts-paper-2); border-bottom: 1px solid var(--ts-line); }
.ts-clients .ts-wrap { padding-top: 30px; padding-bottom: 30px; }
.ts-clients__title { text-align: center; margin: 0 0 18px; font-family: var(--ts-head); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; color: var(--ts-muted); }
.ts-clients__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 48px; }
.ts-clients__list img { max-height: 46px; max-width: 150px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: opacity .2s ease, filter .2s ease; }
.ts-clients__list img:hover { opacity: 1; }
.ts-clients__name { font-family: var(--ts-head); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; color: #8b9097; white-space: nowrap; }
@media (max-width: 640px) { .ts-clients__list { gap: 16px 28px; } .ts-clients__name { font-size: 1.1rem; } .ts-clients__list img { max-height: 36px; max-width: 120px; } }

/* ---------- Quote form extras ---------- */
.ts-form input[type=file] { width: 100%; font: inherit; padding: 10px; border: 1px dashed #b9bec4; border-radius: var(--ts-radius); background: #fff; }
.ts-form .ts-help { font-size: .85rem; color: var(--ts-muted); margin-top: 5px; }
.ts-form .ts-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--ts-ink-2); }
.ts-form .ts-check input { margin-top: 5px; flex: 0 0 auto; accent-color: var(--ts-accent); width: 18px; height: 18px; }
.ts-form .ts-row--3 { grid-template-columns: 1.4fr 1fr .7fr; }
@media (max-width: 560px) { .ts-form .ts-row--3 { grid-template-columns: 1fr; } }

/* swissQprint mark in the printing service card */
.ts-print-partner { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; align-self: stretch; width: 100%; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--ts-line); font-family: var(--ts-head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; line-height: 1; white-space: nowrap; color: var(--ts-muted); }
.ts-print-partner img { flex: 0 0 auto; height: 18px !important; width: auto !important; max-width: none; aspect-ratio: auto !important; object-fit: contain !important; border-radius: 0 !important; opacity: .85; }

/* Contact page: stack the imported intro columns inside the narrow left column */
.ts-contact__intro .wp-block-columns { flex-direction: column; gap: 18px; margin-bottom: 1em; }
.ts-contact__intro .wp-block-column { flex: 1 1 auto !important; flex-basis: auto !important; width: 100%; }
.ts-contact__intro .wp-block-group { padding-left: 0 !important; padding-right: 0 !important; }
.ts-contact__intro h2 { margin-top: 0; }
.ts-contact__intro img { width: 100%; height: auto; }
