/*
Theme Name: Product Site
Theme URI: https://example.invalid/product-site
Author: Site Operations
Description: Fast, English-first single-category B2B product site theme.
Version: 0.6.8
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: product-site
*/

:root {
  --ps-primary: #74bd12;
  --ps-primary-dark: #467408;
  --ps-primary-light: #74bd121f;
  --ps-secondary: #214462;
  --ps-ink: #16232b;
  --ps-muted: #5b6b73;
  --ps-line: #e3e9e6;
  --ps-paper: #ffffff;
  --ps-wash: #f6f9f4;
  --ps-radius: 14px;
  --ps-radius-lg: 22px;
  --ps-shadow: 0 10px 30px rgba(22, 35, 43, 0.08);
  --ps-shadow-hover: 0 18px 44px rgba(22, 35, 43, 0.14);
  --ps-container: 1180px;
  --ps-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ps-font);
  color: var(--ps-ink);
  background: var(--ps-paper);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--ps-primary-dark); text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.015em; color: var(--ps-ink); }
p { margin: 0 0 1em; }

.ps-container { width: min(var(--ps-container), calc(100% - 48px)); margin-inline: auto; }

/* ---------- Header ---------- */
.ps-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ps-line);
}
.ps-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.ps-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.ps-brand-logo {
  width: 46px; height: 46px; object-fit: cover; border-radius: 12px; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(22, 35, 43, 0.14); border: 1px solid var(--ps-line);
  background: #fff;
}
.ps-brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.ps-brand strong { font-size: 1.18rem; font-weight: 800; color: var(--ps-ink); letter-spacing: -0.01em; }
.ps-brand small { font-size: 0.72rem; color: var(--ps-muted); text-transform: uppercase; letter-spacing: 0.14em; }
.ps-nav { display: flex; gap: 26px; align-items: center; }
.ps-nav a:not(.ps-button) { color: var(--ps-ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; position: relative; }
.ps-nav a:not(.ps-button)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--ps-primary); transition: width 0.3s ease;
}
.ps-nav a:not(.ps-button):hover::after { width: 100%; }

/* ---------- Buttons ---------- */
.ps-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 10em;
  background: var(--ps-primary); color: #fff;
  font-weight: 700; font-size: 0.98rem; text-decoration: none; border: none; cursor: pointer;
  transition: 0.35s ease; box-shadow: 0 6px 18px rgba(116, 189, 18, 0.35);
}
.ps-button:hover { background: var(--ps-primary-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(116, 189, 18, 0.45); color: #fff; }
.ps-button-outline {
  background: transparent; color: var(--ps-ink); border: 1.5px solid var(--ps-line);
  box-shadow: none;
}
.ps-button-outline:hover { border-color: var(--ps-primary); color: var(--ps-primary-dark); box-shadow: none; }

/* ---------- Full-width hero (image background) ---------- */
.ps-hero-full {
  position: relative; min-height: 520px; display: flex; align-items: center;
  background-size: cover; background-position: center 40%; background-color: var(--ps-secondary);
}
.ps-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(22,35,43,0.88) 0%, rgba(22,35,43,0.55) 55%, rgba(22,35,43,0.15) 100%);
}
.ps-hero-content { position: relative; z-index: 2; padding: 80px 0; text-align: left; }
.ps-hero-content h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 850; letter-spacing: -0.025em; margin-bottom: 14px; }
.ps-slogan { font-size: 1.25rem; font-weight: 600; color: var(--ps-primary); margin-bottom: 12px; letter-spacing: 0.02em; }
.ps-hero-content .ps-lead { color: rgba(255,255,255,0.82); font-size: 1.08rem; }
.ps-hero-content .ps-button-outline { border-color: rgba(255,255,255,0.4); color: #fff; }
.ps-hero-content .ps-button-outline:hover { border-color: #fff; }
.ps-hero-content .ps-eyebrow { background: rgba(255,255,255,0.12); color: var(--ps-primary); }

/* ---------- About page: full-width cards with left text + right image ---------- */
.ps-about-block {
  border-radius: var(--ps-radius-lg); overflow: hidden; margin-bottom: 32px;
  transition: box-shadow 0.3s ease;
}
.ps-about-block:hover { box-shadow: var(--ps-shadow-hover); }
.ps-about-block:nth-child(1) { background: linear-gradient(135deg, #f0f7e6 0%, #dcefc8 100%); }
.ps-about-block:nth-child(2) { background: linear-gradient(135deg, #d9eec3 0%, #bfe09e 100%); }
.ps-about-block:nth-child(3) { background: linear-gradient(135deg, #74bd12 0%, #467408 100%); }
.ps-about-block:nth-child(3) .ps-about-text h2 { color: #fff; }
.ps-about-block:nth-child(3) .ps-about-text p,
.ps-about-block:nth-child(3) .ps-about-text p:first-of-type { color: rgba(255, 255, 255, 0.92); }
.ps-about-block-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; align-items: stretch; }
.ps-about-text { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.ps-about-text h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 14px; }
.ps-about-text p { color: #2c4a3e; font-size: 0.94rem; line-height: 1.75; margin-bottom: 0.8em; }
.ps-about-text p:first-of-type { color: #1a3a2a; font-weight: 500; }
.ps-about-text p:last-child { margin-bottom: 0; }
.ps-about-image { position: relative; min-height: 300px; overflow: hidden; }
.ps-about-image img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ps-about-carousel { position: relative; min-height: 300px; overflow: hidden; }
.ps-about-carousel img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; }
.ps-about-carousel img:first-child { opacity: 1; }
.ps-about-carousel img.ps-active { opacity: 1; }
.ps-about-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.92); color: var(--ps-ink);
  box-shadow: 0 2px 10px rgba(22, 35, 43, 0.3);
  transition: background 0.25s ease, color 0.25s ease;
}
.ps-about-nav:hover { background: #fff; color: var(--ps-primary-dark); }
.ps-about-nav-prev { left: 12px; }
.ps-about-nav-next { right: 12px; }
@media (max-width: 768px) {
  .ps-about-block-inner { grid-template-columns: 1fr; }
  .ps-about-image, .ps-about-carousel { min-height: 220px; }
}

/* ---------- Video cards (About factory clips + product How It's Made) ---------- */
.ps-video-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; margin-top: 22px;
}
.ps-about-block .ps-video-grid { padding: 0 24px 24px; }
.ps-video-card {
  margin: 0; border-radius: var(--ps-radius); overflow: hidden;
  background: #0d1a12; box-shadow: var(--ps-shadow);
}
.ps-video-card video {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000;
}
.ps-video-card.is-vertical video { aspect-ratio: 9 / 16; max-height: 560px; }
.ps-video-caption {
  padding: 10px 14px 12px; color: #fff; font-size: 0.86rem; line-height: 1.4;
  background: rgba(0, 0, 0, 0.35);
}
@media (max-width: 700px) {
  .ps-video-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px;
  }
  .ps-video-card { flex: 0 0 78%; scroll-snap-align: start; }
  .ps-about-block .ps-video-grid { padding: 0 16px 16px; }
}

/* ---------- Quality & Compliance (facility-level certificates) ---------- */
.ps-compliance-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px;
}
.ps-compliance-card {
  display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius); padding: 18px 20px;
}
.ps-compliance-name {
  color: var(--ps-primary-dark); font-weight: 800; font-size: 1rem;
  letter-spacing: 0.02em;
}
.ps-compliance-scope { color: var(--ps-ink); font-size: 0.9rem; line-height: 1.5; }
.ps-compliance-meta { color: var(--ps-muted); font-size: 0.78rem; }
.ps-compliance-block {
  margin-top: 40px; padding: 32px;
  background: #f6faf1; border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius-lg);
}
.ps-compliance-block .ps-section-head { margin-bottom: 18px; }
@media (max-width: 600px) {
  .ps-compliance-block { padding: 22px 18px; }
}

/* ---------- Old hero (fallback, no image) ---------- */
.ps-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--ps-wash) 0%, #fff 100%); padding: 72px 0 64px; }
.ps-hero::before {
  content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px;
  border-radius: 50%; background: var(--ps-primary-light);
}
.ps-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.ps-eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ps-primary-dark);
  background: var(--ps-primary-light); border-radius: 10em; padding: 7px 16px; margin-bottom: 18px;
}
.ps-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); font-weight: 850; letter-spacing: -0.025em; margin-bottom: 18px; }
.ps-hero h1 em, h1 .ps-accent { font-style: normal; color: var(--ps-primary); }
.ps-lead { font-size: 1.14rem; color: var(--ps-muted); max-width: 560px; }
.ps-hero-media { position: relative; }
.ps-hero-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--ps-radius-lg);
  box-shadow: var(--ps-shadow-hover);
}
.ps-hero-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.ps-hero-note { margin-top: 18px; font-size: 0.9rem; color: var(--ps-muted); }

/* ---------- Sections ---------- */
.ps-section { padding: 64px 0; }
.ps-section-tint { background: linear-gradient(180deg, #f0f6e7 0%, #f8fbf3 100%); }
.ps-section-head { max-width: 640px; margin-bottom: 36px; }
.ps-section-head h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 800; }
.ps-section-head p { color: var(--ps-muted); margin: 0; }

/* ---------- Products filter bar (products page) ---------- */
.ps-filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.ps-filter-chip {
  cursor: pointer; border: 1.5px solid #b5d98a; background: #fff; color: #35590a;
  font: inherit; font-size: 0.9rem; font-weight: 700; padding: 8px 18px; border-radius: 10em;
  transition: 0.25s ease;
}
.ps-filter-chip:hover { border-color: var(--ps-primary); }
.ps-filter-chip.is-active { background: var(--ps-primary-dark); border-color: var(--ps-primary-dark); color: #fff; }

/* ---------- Cards / grids ---------- */
.ps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.ps-product {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--ps-radius); box-shadow: var(--ps-shadow);
  overflow: hidden; transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.ps-product:hover { transform: translateY(-6px); box-shadow: var(--ps-shadow-hover); }
.ps-product a { text-decoration: none; color: inherit; }
.ps-product-media { position: relative; display: block; overflow: hidden; }
.ps-product-image { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--ps-wash); transition: transform 0.5s ease; }
.ps-product:hover .ps-product-image { transform: scale(1.05); }
/* Product detail hero: show the full photo at its natural ratio (no crop). */
.ps-product-image-main {
  aspect-ratio: auto; width: auto; max-width: 100%;
  height: auto; max-height: 560px; margin-inline: auto;
}
.ps-model-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(70, 116, 8, 0.92); color: #fff;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 6px 12px; border-radius: 10em;
}
.ps-product-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.ps-product h2, .ps-product h3 { font-size: 1.12rem; margin: 0 0 8px; }
.ps-product h2 a, .ps-product h3 a { color: var(--ps-ink); }
.ps-product p { color: var(--ps-muted); font-size: 0.94rem; margin: 0 0 14px; flex-grow: 1; }
.ps-spec-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ps-spec-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #eef6e3; border-radius: 10em; padding: 5px 12px;
  font-size: 0.8rem; font-weight: 700; color: #35590a;
}
.ps-spec-chip .ps-chip-label { font-weight: 600; color: #5c7a45; }
.ps-more { font-weight: 700; font-size: 0.9rem; color: var(--ps-primary-dark); }
.ps-more::after { content: " →"; transition: 0.3s ease; }
.ps-product:hover .ps-more::after { margin-left: 4px; }

/* Section head with trailing link (home products block) */
.ps-section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.ps-section-link { font-weight: 700; color: var(--ps-primary-dark); text-decoration: none; white-space: nowrap; padding-bottom: 4px; }
.ps-section-link::after { content: " →"; }
.ps-section-link:hover { color: var(--ps-primary); }

/* ---------- Breadcrumb ---------- */
.ps-breadcrumb { font-size: 0.88rem; color: var(--ps-muted); padding: 20px 0 0; }
.ps-breadcrumb a { color: var(--ps-muted); text-decoration: none; }
.ps-breadcrumb a:hover { color: var(--ps-primary-dark); }

/* ---------- Product detail ---------- */
.ps-product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 44px 0 20px; }
.ps-product-hero h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 850; letter-spacing: -0.02em; }
.ps-answer { font-size: 1.12rem; color: #31454d; }
.ps-product-media img, .ps-gallery img { border-radius: var(--ps-radius-lg); box-shadow: var(--ps-shadow); width: 100%; }
.ps-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.ps-gallery img { cursor: pointer; border: 3px solid transparent; transition: border-color 0.25s ease; aspect-ratio: 4 / 3; object-fit: contain; background: var(--ps-wash); }
.ps-gallery img.ps-thumb-active { border-color: var(--ps-primary); }
.ps-attribution {
  display: inline-block; margin-top: 14px; padding: 8px 16px; border-radius: 10em;
  background: #eef6e3; border: none;
  font-size: 0.85rem; font-weight: 600; color: #35590a;
}

/* ---------- Spec groups grid (product detail) ---------- */
.ps-specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.ps-spec-group { background: #fff; border-radius: var(--ps-radius); box-shadow: var(--ps-shadow); padding: 6px 24px 16px; }
.ps-spec-group-title {
  display: flex; align-items: baseline; gap: 10px; margin: 0;
  padding: 16px 0 10px; border-bottom: 2px solid var(--ps-primary-light);
  font-size: 1.08rem; font-weight: 800; color: var(--ps-ink);
}
.ps-spec-group-note {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  color: #5c7a45; background: #eef6e3; padding: 3px 10px; border-radius: 10em;
}
.ps-spec-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--ps-line); font-size: 0.94rem; }
.ps-spec-row:last-child { border-bottom: none; }
.ps-spec-label { color: var(--ps-muted); flex-shrink: 0; }
.ps-spec-value { font-weight: 650; text-align: right; }

/* ---------- Product detail content module cards ---------- */
.ps-content-module {
  background: #fff; border: 1px solid var(--ps-line); border-radius: var(--ps-radius);
  padding: 26px 30px; margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(22, 35, 43, 0.05);
}
.ps-content-module h2 { margin-top: 0; font-size: 1.3rem; }

/* Applications section (product detail) */
.ps-apps-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.ps-apps-images img {
  width: 100%; height: 240px; object-fit: cover;
  border-radius: var(--ps-radius); box-shadow: var(--ps-shadow);
}

/* Application chips (product detail) */
.ps-app-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-app-chip {
  display: inline-block; background: var(--ps-primary-light); color: #35590a;
  font-size: 0.85rem; font-weight: 650; padding: 6px 14px; border-radius: 10em;
}
.ps-chips-caption {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ps-muted); margin: 18px 0 8px;
}

/* Model badge inline (product detail hero) */
.ps-model-inline {
  display: inline-block; background: var(--ps-primary-light); color: #35590a;
  font-size: 0.9rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 5px 14px; border-radius: 10em; margin-bottom: 12px;
}

/* ---------- Home highlights: equal-size green feature cards (light → dark) ---------- */
.ps-home-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.ps-home-highlights details {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(145deg, #eef6e3 0%, #dcefc9 100%);
  border-radius: var(--ps-radius); box-shadow: var(--ps-shadow);
  overflow: hidden; transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.ps-home-highlights details:hover { box-shadow: var(--ps-shadow-hover); transform: translateY(-4px); }
.ps-home-highlights details:nth-child(2) { background: linear-gradient(145deg, #d9eec3 0%, #bfe09e 100%); }
.ps-home-highlights details:nth-child(3) { background: linear-gradient(145deg, #aad57e 0%, #86c157 100%); }
.ps-home-highlights details:nth-child(4) { background: linear-gradient(145deg, #74bd12 0%, #467408 100%); }
.ps-home-highlights details:nth-child(4) summary { color: #fff; }
.ps-home-highlights details:nth-child(4) .ps-highlight-body { color: rgba(255, 255, 255, 0.88); }
.ps-home-highlights details:nth-child(4) .ps-learn-more { color: #fff; }
.ps-home-highlights summary {
  cursor: pointer; list-style: none; padding: 22px 22px 64px; font-weight: 750;
  font-size: 1.05rem; color: var(--ps-ink); flex: 1;
}
.ps-home-highlights details[open] summary { padding-bottom: 12px; }
.ps-home-highlights summary::-webkit-details-marker { display: none; }
.ps-home-highlights .ps-learn-more {
  position: absolute; right: 22px; bottom: 16px;
  font-size: 0.9rem; font-weight: 700; color: var(--ps-primary-dark);
}
.ps-home-highlights .ps-learn-more::after { content: " →"; transition: margin 0.3s ease; }
.ps-home-highlights details[open] .ps-learn-more::after { content: " ↑"; }
.ps-home-highlights .ps-highlight-body {
  padding: 0 22px 56px;
  color: #44584d; font-size: 0.92rem; line-height: 1.7;
}

/* ---------- FAQ ---------- */
.ps-faq details { border: 1px solid var(--ps-line); border-radius: var(--ps-radius); background: #fff; margin-bottom: 12px; overflow: hidden; }
.ps-faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700;
  position: relative; padding-right: 52px;
}
.ps-faq summary::-webkit-details-marker { display: none; }
.ps-faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--ps-primary-light);
  color: var(--ps-primary-dark); display: flex; align-items: center; justify-content: center; font-weight: 800;
  transition: 0.3s ease;
}
.ps-faq details[open] summary::after { content: "−"; background: var(--ps-primary); color: #fff; }
.ps-faq details p { padding: 0 22px 18px; margin: 0; color: var(--ps-muted); }

/* ---------- CTA band ---------- */
.ps-cta-band { background: linear-gradient(120deg, #d9eec3 0%, #bfe09e 100%); border-radius: var(--ps-radius-lg); padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.ps-cta-band h2 { color: var(--ps-ink); margin: 0 0 6px; font-size: 1.6rem; }
.ps-cta-band p { margin: 0; color: #3f5147; }
.ps-cta-band .ps-button { background: var(--ps-primary-dark); box-shadow: 0 6px 18px rgba(70, 116, 8, 0.35); }
.ps-cta-band .ps-button:hover { background: #35590a; box-shadow: 0 10px 24px rgba(70, 116, 8, 0.45); color: #fff; }

/* ---------- Contact ---------- */
.ps-contact { background: var(--ps-wash); border: 1px solid var(--ps-line); border-radius: var(--ps-radius-lg); padding: 34px; }
.ps-contact h2 { margin-top: 0; }
.ps-contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 28px; align-items: start; }
.ps-contact-grid .ps-contact { margin-bottom: 0; }
.ps-channel-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.ps-channel {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--ps-line); border-radius: var(--ps-radius);
  text-decoration: none; transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.ps-channel:hover { border-color: var(--ps-primary); box-shadow: var(--ps-shadow); }
.ps-channel-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--ps-primary-light); color: var(--ps-primary-dark);
}
.ps-channel-icon svg { width: 20px; height: 20px; }
.ps-channel-body { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.ps-channel-body small { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ps-muted); }
.ps-channel-body strong { color: var(--ps-ink); font-size: 1rem; overflow-wrap: anywhere; }
.ps-contact-person { margin: 16px 0 0; font-size: 0.9rem; color: var(--ps-muted); }
.ps-tips { margin-top: 24px; }
.ps-tips h3 { font-size: 1rem; margin-bottom: 10px; }
.ps-tips ul { list-style: none; margin: 0; padding: 0; }
.ps-tips li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--ps-muted); font-size: 0.94rem; }
.ps-tips li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--ps-primary-dark); font-weight: 800; }
.ps-contact-form input, .ps-contact-form textarea {
  display: block; width: 100%; padding: 13px 15px; margin: 6px 0 16px;
  border: 1.5px solid #98a5a0; border-radius: 10px; font: inherit; background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.ps-contact-form input:focus, .ps-contact-form textarea:focus {
  outline: none; border-color: var(--ps-primary); box-shadow: 0 0 0 4px var(--ps-primary-light);
}
.ps-contact-form label { font-weight: 650; font-size: 0.93rem; }

/* ---------- Content pages ---------- */
.ps-content h2 { font-size: 1.45rem; margin-top: 1.9em; }
.ps-content ul { padding-left: 1.2em; }
.ps-content li { margin-bottom: 0.45em; }
.ps-content figure { margin: 1.9em 0; }
.ps-content figure img {
  width: 100%; height: auto; display: block;
  border-radius: var(--ps-radius-lg); box-shadow: var(--ps-shadow);
}
.ps-content figcaption { margin-top: 0.65em; text-align: center; font-size: 0.88rem; color: var(--ps-muted); }
.ps-content .table-scroll { overflow-x: auto; margin: 1.6em 0; }
.ps-content table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.ps-content th, .ps-content td { border: 1px solid var(--ps-line); padding: 0.55em 0.8em; text-align: left; }
.ps-content th { background: var(--ps-wash); font-weight: 650; }
.ps-content tbody tr:nth-child(even) td { background: rgba(22, 35, 43, 0.018); }
.ps-article-header { max-width: 760px; }
.ps-article-header h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.ps-meta-date { color: var(--ps-muted); font-size: 0.9rem; }

/* ---------- Footer ---------- */
.ps-footer { margin-top: 72px; background: var(--ps-ink); color: rgba(255, 255, 255, 0.78); }
.ps-footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 52px 0 40px; }
.ps-footer strong { color: #fff; font-size: 1.1rem; display: block; margin-bottom: 10px; }
.ps-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.ps-footer a:hover { color: var(--ps-primary); }
.ps-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; }
.ps-footer ul { list-style: none; margin: 0; padding: 0; }
.ps-footer li { margin-bottom: 9px; }
.ps-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 18px 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }

.screen-reader-text { position: absolute; left: -9999px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .ps-hero-grid, .ps-product-hero { grid-template-columns: 1fr; gap: 30px; }
  .ps-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .ps-hero { padding: 48px 0; }
  .ps-section { padding: 48px 0; }
  .ps-cta-band { padding: 32px; }
  .ps-contact-grid { grid-template-columns: 1fr; }
  .ps-news-lead-grid { grid-template-columns: 1fr; gap: 34px; }
  .ps-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ps-container { width: calc(100% - 32px); }
  .ps-header-inner { flex-wrap: wrap; }
  .ps-nav { flex-wrap: wrap; gap: 14px; }
  .ps-gallery { grid-template-columns: 1fr 1fr; }
  .ps-news-grid { grid-template-columns: 1fr; }
  .ps-news-hero-body { padding: 22px 22px 26px; }
  .ps-news-pagination a, .ps-news-pagination span { padding: 8px 12px; }
}

/* ---------- News & Insights ---------- */
.ps-section-tight { padding: 34px 0; }
.ps-news-lead + .ps-news-more { padding-top: 6px; }

.ps-news-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(260px, 1fr);
  gap: 34px;
  align-items: start;
}

.ps-news-heading {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ps-ink);
  border-top: 2px solid var(--ps-ink);
  padding-top: 14px;
  margin: 0 0 20px;
}
.ps-news-heading .ps-news-page-mark { color: var(--ps-muted); font-weight: 500; }

.ps-news-media { display: block; overflow: hidden; border-radius: var(--ps-radius); background: var(--ps-wash); }
.ps-news-img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.35s ease;
}
.ps-news-media:hover .ps-news-img { transform: scale(1.03); }
.ps-news-placeholder {
  display: block; width: 100%; height: 100%; min-height: 200px;
  background: linear-gradient(135deg, var(--ps-primary-light), var(--ps-wash));
}

.ps-news-hero { background: var(--ps-paper); border-radius: var(--ps-radius-lg); box-shadow: var(--ps-shadow); overflow: hidden; }
.ps-news-hero .ps-news-media { border-radius: 0; aspect-ratio: 16 / 8.2; }
.ps-news-hero .ps-news-media .ps-news-img, .ps-news-hero .ps-news-media .ps-news-placeholder { height: 100%; }
.ps-news-hero-body { padding: 26px 30px 30px; }
.ps-news-date { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ps-muted); margin: 0 0 10px; }
.ps-news-hero-title { font-size: 1.55rem; line-height: 1.25; margin: 0 0 12px; }
.ps-news-hero-title a { color: var(--ps-ink); text-decoration: none; }
.ps-news-hero-title a:hover { color: var(--ps-primary-dark); }
.ps-news-hero .ps-news-excerpt { color: var(--ps-muted); font-size: 1rem; line-height: 1.6; margin: 0 0 18px; }
.ps-news-readmore { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--ps-primary-dark); font-size: 0.95rem; }
.ps-news-hero:hover .ps-news-readmore { color: var(--ps-primary); }

.ps-news-side .ps-news-heading { margin-bottom: 6px; }
.ps-news-item { padding: 16px 2px 17px; border-bottom: 1px solid var(--ps-line); }
.ps-news-item h3 { font-size: 1.02rem; line-height: 1.4; margin: 0 0 7px; }
.ps-news-item h3 a { color: var(--ps-ink); text-decoration: none; }
.ps-news-item h3 a:hover { color: var(--ps-primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.ps-news-time { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ps-muted); }

.ps-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 4px; }
.ps-news-card {
  display: flex; flex-direction: column;
  background: var(--ps-paper); border-radius: var(--ps-radius); box-shadow: var(--ps-shadow);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.ps-news-card:hover { box-shadow: var(--ps-shadow-hover); transform: translateY(-3px); }
.ps-news-card .ps-news-media { border-radius: 0; aspect-ratio: 16 / 9; }
.ps-news-card .ps-news-media .ps-news-img, .ps-news-card .ps-news-media .ps-news-placeholder { height: 100%; }
.ps-news-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.ps-news-card-body h3 { font-size: 1.08rem; line-height: 1.4; margin: 0 0 9px; }
.ps-news-card-body h3 a { color: var(--ps-ink); text-decoration: none; }
.ps-news-card-body h3 a:hover { color: var(--ps-primary-dark); }
.ps-news-card .ps-news-excerpt { color: var(--ps-muted); font-size: 0.92rem; line-height: 1.55; margin: 0; flex-grow: 1; }

.ps-news-pagination { display: flex; justify-content: center; margin-top: 40px; }
.ps-news-pagination .page-numbers, .ps-news-pagination a, .ps-news-pagination span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; margin: 0 3px;
  border: 1px solid var(--ps-line); border-radius: 9px;
  color: var(--ps-ink); font-size: 0.92rem; text-decoration: none; background: var(--ps-paper);
}
.ps-news-pagination a:hover { border-color: var(--ps-primary); color: var(--ps-primary-dark); }
.ps-news-pagination .current { background: var(--ps-primary); border-color: var(--ps-primary); color: #fff; font-weight: 600; }
