:root {
  --tsg-primary: #0071bc;
  --tsg-primary-dark: #005a94;
  --tsg-accent: #f7941d;
  --tsg-dark: #222222;
  --tsg-text: #444444;
  --tsg-light-bg: #f5f7f9;
  --tsg-border: #e2e6ea;
  --tsg-max-width: 1200px;
}

.tsg-hero > *,
.tsg-features > *,
.tsg-product-section > *,
.tsg-text-section > *,
.tsg-split-section > *,
.tsg-enquiry-cta > *,
.tsg-technique-section > *,
.tsg-list-section > *,
.tsg-delivery-section > *,
.tsg-awards-section > *,
.tsg-testimonials > *,
.tsg-faq-section > *,
.tsg-contact-hero > * {
  max-width: var(--tsg-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.tsg-section-title {
  text-align: center;
  font-size: 30px;
  margin-bottom: 8px !important;
}

.tsg-section-subtitle {
  text-align: center;
  color: var(--tsg-text);
  margin-bottom: 8px !important;
}

.wp-block-button__link {
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: .3px;
  padding: 14px 32px !important;
}
.tsg-btn-accent .wp-block-button__link {
  background-color: var(--tsg-accent);
}
.tsg-btn-accent .wp-block-button__link:hover {
  background-color: #d97e0f;
}
.tsg-btn-outline .wp-block-button__link {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.tsg-btn-outline .wp-block-button__link:hover {
  background: #fff;
  color: var(--tsg-primary);
}
.tsg-btn-primary-outline .wp-block-button__link {
  background: transparent;
  border: 2px solid var(--tsg-primary);
  color: var(--tsg-primary);
  padding: 12px 30px !important;
}
.tsg-btn-primary-outline .wp-block-button__link:hover {
  background: var(--tsg-primary);
  color: #fff;
}

.tsg-hero {
  background: linear-gradient(135deg, var(--tsg-primary), var(--tsg-primary-dark));
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
}
.tsg-hero-title { color: #fff; font-size: 38px; margin-bottom: 16px !important; }
.tsg-hero-lead { max-width: 780px; margin: 0 auto 40px !important; font-size: 17px; opacity: .95; color: #fff; }

.tsg-hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px !important;
}
.tsg-hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  padding: 28px 22px;
  text-align: left;
}
.tsg-hero-card h3 { color: #fff; font-size: 19px; }
.tsg-hero-card p { color: rgba(255,255,255,.9); font-size: 14.5px; }
.tsg-hero-card .wp-block-button__link {
  background: none;
  color: #fff;
  font-weight: 700;
  border-bottom: 2px solid var(--tsg-accent);
  border-radius: 0;
  padding: 0 0 2px !important;
}
.tsg-hero-card .wp-block-button__link:hover { color: #fff; opacity: .85; }

.tsg-hero-cta { margin-top: 8px !important; }

.tsg-features { padding: 64px 0; }
.tsg-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px !important;
}
.tsg-feature-item { text-align: center; padding: 0 12px; }
.tsg-feature-item img { width: 68px; height: 68px; margin: 0 auto 18px; object-fit: contain; }
.tsg-feature-item h4 { font-size: 17px; margin-bottom: 8px !important; }
.tsg-feature-item p { font-size: 14.5px; }

.tsg-product-section { padding: 56px 0; border-top: 1px solid var(--tsg-border); }
.tsg-product-section.tsg-alt { background: var(--tsg-light-bg); }

.tsg-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px !important;
}
.tsg-product-card {
  background: #fff;
  border: 1px solid var(--tsg-border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.tsg-product-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.08); transform: translateY(-3px); }
.tsg-product-card img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.tsg-product-title { padding: 14px 16px !important; font-size: 14px; font-weight: 600; margin: 0 !important; }
.tsg-product-title a { color: var(--tsg-dark); }
.tsg-product-title a:hover { color: var(--tsg-primary); }

.tsg-show-more { text-align: center; margin-top: 36px !important; }

.tsg-text-section { padding: 60px 0; text-align: center; }
.tsg-text-section p { max-width: 820px; margin: 0 auto 16px !important; }

.tsg-split-section { padding: 60px 0; background: var(--tsg-light-bg); }
.tsg-split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 0 !important;
}
.tsg-split-text h2 { text-align: left; }
.tsg-split-text p { margin-bottom: 16px !important; }
.tsg-split-image img { border-radius: 6px; }

.tsg-enquiry-cta {
  background: var(--tsg-dark);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.tsg-enquiry-cta h2 { color: #fff; }
.tsg-enquiry-cta p { max-width: 700px; margin: 0 auto 28px !important; opacity: .9; color: #fff; }

.tsg-technique-section { padding: 60px 0; }
.tsg-technique-section.tsg-alt { background: var(--tsg-light-bg); }
.tsg-technique-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px !important;
}
.tsg-technique-card {
  background: #fff;
  border: 1px solid var(--tsg-border);
  border-radius: 6px;
  padding: 26px 22px;
  text-align: left;
}
.tsg-technique-card h4 { font-size: 17px; margin-bottom: 10px !important; color: var(--tsg-primary); }
.tsg-technique-card p { font-size: 14.5px; }
.tsg-technique-link { font-size: 13.5px; font-weight: 700; margin-top: 10px !important; }
.tsg-technique-image { text-align: center; margin-top: 40px !important; }

.tsg-list-section { padding: 60px 0; background: var(--tsg-light-bg); text-align: center; }
.tsg-list-section p { max-width: 700px; margin: 0 auto 16px !important; }
.tsg-list-section ul { list-style: disc; max-width: 620px; margin: 24px auto 0 !important; padding-left: 22px; text-align: left; }
.tsg-list-section ul li { margin-bottom: 10px; }

.tsg-delivery-section { padding: 56px 0; text-align: center; }
.tsg-delivery-section p { max-width: 760px; margin: 0 auto 16px !important; }

.tsg-awards-section { padding: 40px 0 56px; border-top: 1px solid var(--tsg-border); text-align: center; }
.tsg-awards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
  margin-top: 28px !important;
}
.tsg-awards-grid img { max-height: 70px; width: auto; opacity: .9; }

.tsg-testimonials { padding: 60px 0; background: var(--tsg-light-bg); }
.tsg-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px !important;
}
.tsg-testimonial-card {
  background: #fff;
  border: 1px solid var(--tsg-border);
  border-radius: 6px;
  padding: 26px;
}
.tsg-testimonial-quote { font-style: italic; font-size: 14.5px; margin-bottom: 14px !important; }
.tsg-testimonial-cite { font-weight: 700; color: var(--tsg-dark); font-size: 14.5px; }

.tsg-faq-section { padding: 60px 0; }
.tsg-faq-list { max-width: 840px; margin: 32px auto 0 !important; }
.tsg-faq-item { border-bottom: 1px solid var(--tsg-border); }
.tsg-faq-question {
  padding: 18px 4px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.tsg-faq-question h4 { font-size: 16px; font-weight: 600; margin: 0 !important; color: var(--tsg-dark); }
.tsg-faq-question::after {
  content: "+";
  font-size: 22px;
  color: var(--tsg-primary);
  flex-shrink: 0;
}
.tsg-faq-item[aria-expanded="true"] .tsg-faq-question::after,
.tsg-faq-question[aria-expanded="true"]::after {
  content: "\2212";
}
.tsg-faq-answer { padding: 0 4px 18px; font-size: 14.5px; color: var(--tsg-text); }
.tsg-faq-answer p { margin: 0 !important; }

.tsg-contact-hero { padding: 48px 0 16px; }
.tsg-contact-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px !important;
}
.tsg-contact-images img { border-radius: 6px; border: 1px solid var(--tsg-border); width: 100%; }

.tsg-contact-details {
  max-width: 640px;
  margin: 0 auto 64px !important;
  background: var(--tsg-light-bg);
  border: 1px solid var(--tsg-border);
  border-radius: 8px;
  padding: 36px 40px;
  text-align: left;
}
.tsg-contact-details h2 { text-align: left; font-size: 22px; margin-bottom: 18px !important; }
.tsg-contact-details p { margin-bottom: 18px !important; }
.tsg-contact-details strong { display: block; color: var(--tsg-dark); margin-bottom: 4px; }

@media (max-width: 1024px) {
  .tsg-hero-cards { grid-template-columns: 1fr; }
  .tsg-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .tsg-product-grid { grid-template-columns: repeat(2, 1fr); }
  .tsg-technique-grid { grid-template-columns: 1fr; }
  .tsg-split-inner { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
  .tsg-testimonial-grid { grid-template-columns: 1fr; }
  .tsg-contact-images { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .tsg-hero-title { font-size: 28px; }
  .tsg-feature-grid { grid-template-columns: 1fr; }
  .tsg-product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .tsg-contact-details { padding: 26px 22px; }
}

.site-logo img {
  max-width: 210px;
  width: 210px;
  height: auto;
}

/* Force our intended grid layouts to win over WP core's auto-generated is-layout-grid rules */
.tsg-hero-cards { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; }
.tsg-feature-grid { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; }
.tsg-product-grid { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; }
.tsg-technique-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; }
.tsg-testimonial-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; }
.tsg-split-inner { display: grid !important; grid-template-columns: 1fr 1fr !important; }
.tsg-contact-images { display: grid !important; grid-template-columns: 1fr 1fr !important; }
@media (max-width: 1024px) {
  .tsg-hero-cards { grid-template-columns: 1fr !important; }
  .tsg-feature-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .tsg-product-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .tsg-technique-grid { grid-template-columns: 1fr !important; }
  .tsg-split-inner { grid-template-columns: 1fr !important; }
}
@media (max-width: 782px) {
  .tsg-testimonial-grid { grid-template-columns: 1fr !important; }
  .tsg-contact-images { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  .tsg-product-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Hard overrides: GeneratePress's own button/grid defaults (a.wp-block-button__link:not(.has-background), is-layout-grid) have higher specificity than our simple class selectors, so force ours to win. */
.wp-block-button__link {
  border-radius: 4px !important;
  font-weight: 700 !important;
  letter-spacing: .3px !important;
}
.tsg-btn-accent .wp-block-button__link {
  background-color: var(--tsg-accent) !important;
  color: #fff !important;
  border: none !important;
}
.tsg-btn-accent .wp-block-button__link:hover {
  background-color: #d97e0f !important;
}
.tsg-btn-outline .wp-block-button__link {
  background: transparent !important;
  border: 2px solid #fff !important;
  color: #fff !important;
}
.tsg-btn-outline .wp-block-button__link:hover {
  background: #fff !important;
  color: var(--tsg-primary) !important;
}
.tsg-btn-primary-outline .wp-block-button__link {
  background: transparent !important;
  border: 2px solid var(--tsg-primary) !important;
  color: var(--tsg-primary) !important;
}
.tsg-btn-primary-outline .wp-block-button__link:hover {
  background: var(--tsg-primary) !important;
  color: #fff !important;
}
.tsg-hero-card .wp-block-button__link {
  background: none !important;
  color: #fff !important;
  border: none !important;
  border-bottom: 2px solid var(--tsg-accent) !important;
  border-radius: 0 !important;
  padding: 0 0 2px !important;
}
.tsg-hero-card .wp-block-button__link:hover {
  color: #fff !important;
  opacity: .85;
}

/* Force equal-height cards in a row: GP's is-layout-grid default sets align-items:center, which lets cards shrink to their own content height instead of stretching. */
.tsg-hero-cards,
.tsg-feature-grid,
.tsg-product-grid,
.tsg-technique-grid,
.tsg-testimonial-grid,
.tsg-split-inner,
.tsg-contact-images {
  align-items: stretch !important;
}
.tsg-product-card {
  display: flex !important;
  flex-direction: column !important;
}
.tsg-product-card img { flex-shrink: 0; }
.tsg-product-title { margin-top: auto !important; }
/* Typography: match the original mockup's font stack + body copy color (GP's global-styles block was overriding both). */
body,
.entry-content,
button,
input,
select,
textarea {
  font-family: "Helvetica Neue", Arial, "Segoe UI", sans-serif !important;
}
body,
.entry-content p,
.entry-content li {
  color: var(--tsg-text) !important;
  line-height: 1.6 !important;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5 {
  color: var(--tsg-dark) !important;
  line-height: 1.25 !important;
}
.entry-content a {
  color: var(--tsg-primary);
}
.entry-content a:hover {
  color: var(--tsg-primary-dark);
}
/* Section text that sits on dark/blue backgrounds must stay light, not inherit the new dark body color */
.entry-content .tsg-hero-lead,
.entry-content .tsg-hero-card p,
.entry-content .tsg-hero-card h3,
.entry-content .tsg-enquiry-cta p,
.entry-content .tsg-enquiry-cta h2 {
  color: rgba(255,255,255,.95) !important;
}
.entry-content .tsg-hero-title,
.entry-content .tsg-enquiry-cta h2 {
  color: #fff !important;
}
/* Re-assert specific component text colors that tie in specificity with the general .entry-content a/p rules above (last-in-source was winning and turning product titles/testimonial names the wrong color). */
.entry-content .tsg-product-title a {
  color: var(--tsg-dark) !important;
}
.entry-content .tsg-product-title a:hover {
  color: var(--tsg-primary) !important;
}
.entry-content .tsg-testimonial-cite {
  color: var(--tsg-dark) !important;
}