/* ============================================================
   XY-PAGES.CSS — Componenti di pagina per demo /xy/
   Navbar, footer e mega-menu sono in wintag-new.css.
   Questo file contiene:
     .cs-*          → Pagina Chi Siamo
     .st-*          → Pagine Settori e Risorse Tecniche
     .rfid-*        → Componenti specifici pagine RFID
     .rh-*          → Hub Risorse Tecniche
     .wt-contact-* / .wt-cta-form-* → Pagina Contatti
     .wt-filter-*   → Pillole filtro applicazione (blog, case history, catalogo)
     .wt-blog-*     → Listing blog e singolo articolo blog
     .wt-ch-*       → Listing case history e singolo caso
     .wt-post-*     → Hero + body del singolo blog post
     .wt-ch-post-*  → Hero + body del singolo case history post
     .wt-related-*  → Sezione "articoli/casi correlati" nei template singolo
   ============================================================ */


/* ================================================================
   PAGINA CHI SIAMO  (.cs-*)
   ================================================================ */

/* -- Utilità condivise ------------------------------------------ */
.cs-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #ff8c00;
  margin: 0 0 10px;
}
.cs-section-title {
  font-size: 28px;
  font-weight: 800;
  color: #1e263a;
  line-height: 1.25;
  margin: 0 0 20px;
}
.cs-section-title--center { text-align: center; }
.cs-body-text {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}
.cs-body-text:last-child { margin-bottom: 0; }

/* -- Hero ------------------------------------------------------- */
.cs-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background-image: url('/assets/img/chi-siamo-foto-stabilimento.jpg');
  background-size: cover;
  background-position: center;
}
.cs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 100%);
}
.cs-hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  max-width: 680px;
}
.cs-hero-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #ff8c00;
  margin: 0 0 16px;
}
.cs-hero-title {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 20px;
}
.cs-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,.70);
  line-height: 1.75;
  margin: 0;
  max-width: 560px;
}
@media (max-width: 767px) {
  .cs-hero { min-height: 340px; }
  .cs-hero-title { font-size: 26px; }
  .cs-hero-sub { font-size: 14px; }
}

/* -- Intro ------------------------------------------------------ */
.cs-intro { padding: 80px 0; background: #fff; }
.cs-intro-img {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.10);
}
.cs-intro-img img { display: block; width: 100%; height: auto; }
@media (max-width: 991px) {
  .cs-intro .col-lg-6:first-child { margin-bottom: 40px; }
}

/* -- Numeri ----------------------------------------------------- */
.cs-numbers {
  background: #1e263a;
  padding: 56px 0;
}
.cs-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.cs-number-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,.10);
}
.cs-number-item:last-child { border-right: none; }
.cs-number-value {
  font-size: 44px;
  font-weight: 800;
  color: #ff8c00;
  line-height: 1;
  margin-bottom: 8px;
}
.cs-number-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.60);
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: center;
}
@media (max-width: 767px) {
  .cs-numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .cs-number-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.10); padding-bottom: 32px; }
  .cs-number-item:nth-child(2n) { border-right: none; }
  .cs-number-item:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
  .cs-number-value { font-size: 36px; }
}

/* -- Storia ----------------------------------------------------- */
.cs-storia { padding: 80px 0; background: #f5f7fa; }
.cs-storia-img {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.10);
}
.cs-storia-img img { display: block; width: 100%; height: auto; }
@media (max-width: 991px) {
  .cs-storia .col-lg-5 { margin-bottom: 40px; }
}

/* -- Missione / Visione ----------------------------------------- */
.cs-mv { padding: 80px 0; background: #fff; }
.cs-mv-card {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  height: 100%;
  display: flex;
  flex-direction: row;
}
.cs-mv-card-img {
  width: 220px;
  min-width: 220px;
  min-height: 100%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.cs-mv-card-body {
  padding: 32px;
  flex: 1;
}
@media (max-width: 767px) {
  .cs-mv-card { flex-direction: column; }
  .cs-mv-card-img { width: 100%; min-width: 0; height: 200px; min-height: 0; }
}
.cs-mv-icon {
  width: 44px;
  height: 44px;
  background: #ff8c00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.cs-mv-icon i { color: #fff; font-size: 16px; }
.cs-mv-title {
  font-size: 20px;
  font-weight: 800;
  color: #1e263a;
  margin: 0 0 12px;
}
.cs-mv-text { font-size: 14px; color: #666; line-height: 1.75; margin: 0; }
@media (max-width: 991px) {
  .cs-mv .col-lg-6:first-child { margin-bottom: 28px; }
}

/* -- Valori ----------------------------------------------------- */
.cs-values { padding: 80px 0; background: #f5f7fa; }
.cs-values-grid { margin-top: 48px; }
.cs-value-item {
  text-align: center;
  padding: 0 24px;
}
.cs-value-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
}
.cs-value-icon img { width: 100%; height: 100%; object-fit: contain; }
.cs-value-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e263a;
  margin: 0 0 12px;
}
.cs-value-text { font-size: 13px; color: #666; line-height: 1.75; margin: 0; }
@media (max-width: 767px) {
  .cs-value-item { margin-bottom: 40px; }
  .cs-value-item:last-child { margin-bottom: 0; }
}

/* -- CTA finale ------------------------------------------------- */
.cs-cta {
  background: #1e263a;
  padding: 64px 0;
}
.cs-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cs-cta-text { flex: 1; min-width: 260px; }
.cs-cta-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.25;
}
.cs-cta-sub { font-size: 14px; color: rgba(255,255,255,.60); margin: 0; line-height: 1.7; }
.cs-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }
.cs-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-radius: 4px;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.cs-cta-btn--primary { background: #ff8c00; color: #fff; border: 2px solid #ff8c00; }
.cs-cta-btn--primary:hover { background: #fff; color: #ff8c00; }
.cs-cta-btn--ghost { background: transparent; color: rgba(255,255,255,.80); border: 2px solid rgba(255,255,255,.30); }
.cs-cta-btn--ghost:hover { border-color: #fff; color: #fff; }
@media (max-width: 767px) {
  .cs-cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .cs-cta-title { font-size: 22px; }
  .cs-cta-btn { width: 100%; justify-content: center; }
}


/* ================================================================
   PAGINE SETTORI E RISORSE TECNICHE  (.st-*)
   ================================================================ */

/* -- Utilità condivise ------------------------------------------ */
.st-section-label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #ff8c00; margin: 0 0 8px; display: block;
}
.st-section-title {
  font-size: clamp(22px, 3vw, 32px); font-weight: 800;
  color: #1e263a; margin: 0 0 40px; line-height: 1.2;
}
.st-link-more {
  font-size: 13px; font-weight: 700; color: #ff8c00;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.st-link-more:hover { gap: 10px; color: #e07c00; }

/* -- ① Hero ----------------------------------------------------- */
.st-hero {
  position: relative; height: 520px;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
}
/* Hero compatto per pagine risorse (gradient colorato, no immagine) */
.st-hero--resource {
  height: auto;
  min-height: 280px;
  align-items: center;
  padding: 56px 0 48px;
}
.st-hero--resource .st-hero-inner {
  padding-bottom: 0;
}
.st-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.50) 55%, rgba(0,0,0,.20) 100%);
}
/* Overlay leggero per hero con gradient colorato (non immagine scura) */
.st-hero-overlay--light {
  background: rgba(0,0,0,.18);
}
/* Su gradient colorato, label arancio non si distingue — usiamo bianco */
.st-hero--resource .st-hero-label { color: rgba(255,255,255,.85); }
/* Breadcrumb sul gradient: hover diventa bianco pieno */
.st-hero--resource .st-breadcrumb a:hover { color: #fff; }
.st-hero-inner { position: relative; z-index: 2; padding-bottom: 56px; }
.st-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px; font-size: 13px;
}
.st-breadcrumb a { color: rgba(255,255,255,.60); text-decoration: none; }
.st-breadcrumb a:hover { color: #ff8c00; }
.st-breadcrumb span { color: rgba(255,255,255,.35); }
.st-hero-label {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #ff8c00; margin: 0 0 14px;
}
.st-hero-title {
  font-size: clamp(28px, 4vw, 48px); font-weight: 900;
  color: #fff; line-height: 1.1; margin: 0 0 16px;
}
.st-hero-sub {
  font-size: 16px; color: rgba(255,255,255,.75);
  margin: 0; max-width: 620px; line-height: 1.6;
}
@media (max-width: 767px) {
  .st-hero { height: 400px; }
  .st-hero-sub { font-size: 14px; }
}

/* -- ② Social proof strip --------------------------------------- */
.st-proof { padding: 32px 0; background: #f5f7fa; border-bottom: 1px solid #eaedf2; }
.st-proof-grid {
  display: flex; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.st-proof-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 48px; border-right: 1px solid #dde1e9;
}
.st-proof-item:last-child { border-right: none; }
.st-proof-value {
  font-size: 32px; font-weight: 900; color: #1e263a;
  line-height: 1; margin-bottom: 6px;
}
.st-proof-label { font-size: 13px; color: #888; text-align: center; }
@media (max-width: 767px) {
  .st-proof-item { padding: 16px 24px; border-right: none; border-bottom: 1px solid #dde1e9; width: 50%; }
  .st-proof-item:nth-child(odd) { border-right: 1px solid #dde1e9; }
  .st-proof-item:last-child { border-bottom: none; }
}

/* -- ③ Pain points ---------------------------------------------- */
.st-pains { padding: 72px 0 56px; background: #fff; }
.st-pains-grid { margin-top: 16px; }
.st-pain-card {
  padding: 32px 24px; border-radius: 6px;
  border: 1px solid #eaedf2; margin-bottom: 24px;
  transition: box-shadow .2s;
}
.st-pain-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.st-pain-icon {
  width: 48px; height: 48px; background: rgba(255,140,0,.10);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 18px;
}
.st-pain-icon i { color: #ff8c00; font-size: 20px; }
.st-pain-title { font-size: 16px; font-weight: 700; color: #1e263a; margin: 0 0 10px; }
.st-pain-text  { font-size: 14px; color: #666; line-height: 1.65; margin: 0; }

/* -- Box definizione (per featured snippet Google) -------------- */
.rfid-definition-box {
  background: #f8f9fb;
  border-left: 4px solid #ff8c00;
  border-radius: 0 6px 6px 0;
  padding: 18px 22px;
  margin-bottom: 24px;
}
.rfid-definition-box strong:first-child {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #ff8c00;
  margin-bottom: 8px;
}
.rfid-definition-box p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

/* -- Tabella comparativa frequenze RFID ------------------------- */
.rfid-freq-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.rfid-freq-table th,
.rfid-freq-table td {
  padding: 11px 14px;
  text-align: left;
  border: 1px solid #e0e3e9;
  vertical-align: top;
}
.rfid-freq-table thead th {
  background: #1e263a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.rfid-freq-table thead th:first-child { background: #1e263a; }
.rfid-freq-table thead small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,.60);
  margin-top: 2px;
}
.rfid-freq-table tbody tr:nth-child(even) td { background: #f8f9fb; }
.rfid-freq-table tbody td:first-child {
  background: #f0f2f5;
  font-weight: 600;
  color: #1e263a;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .rfid-freq-table { font-size: 12px; }
  .rfid-freq-table th, .rfid-freq-table td { padding: 8px 10px; }
}

/* -- Sezione FAQ ----------------------------------------------- */
.rfid-faq { margin-top: 8px; }
.rfid-faq-item {
  border-bottom: 1px solid #eaedf2;
  padding: 20px 0;
}
.rfid-faq-item:last-child { border-bottom: none; }
.rfid-faq-q {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1e263a !important;
  margin: 0 0 10px !important;
  cursor: default;
}
.rfid-faq-q::before {
  content: 'Q: ';
  color: #ff8c00;
  font-weight: 800;
}
.rfid-faq-a {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* -- CTA inline nei contenuti articolo -------------------------- */
.st-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: #f0f4ff;
  border-left: 4px solid #ff8c00;
  border-radius: 0 6px 6px 0;
  padding: 20px 24px;
  margin: 40px 0;
}
.st-inline-cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 200px;
}
.st-inline-cta-text strong {
  font-size: 15px;
  font-weight: 700;
  color: #1e263a;
}
.st-inline-cta-text span {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}
.st-inline-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: #ff8c00;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s;
}
.st-inline-cta-btn:hover { background: #1e263a; color: #fff; }
@media (max-width: 767px) {
  .st-inline-cta { flex-direction: column; align-items: flex-start; }
  .st-inline-cta-btn { width: 100%; justify-content: center; }
}

/* -- Player video custom ---------------------------------------- */
.wt-video-wrap {
  margin: 32px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(30,38,58,.14);
  background: #1e263a;
}
.wt-video-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #1e263a;
}
.wt-video-bar__dots {
  display: flex;
  gap: 6px;
}
.wt-video-bar__dots span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff8c00;
  opacity: .7;
}
.wt-video-bar__dots span:nth-child(2) { opacity: .45; }
.wt-video-bar__dots span:nth-child(3) { opacity: .25; }
.wt-video-bar__title {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  letter-spacing: .02em;
  margin-left: 4px;
}
.wt-video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.wt-video-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

/* -- ④ Articolo ------------------------------------------------- */
.st-content { padding: 72px 0 64px; background: #fff; border-top: 1px solid #eaedf2; }
/* Ridefinisce la variabile del tema dentro l'articolo:
   style.css ha p { color: var(--ltn__paragraph-color) } = #5C727D (grigio).
   Sovrascrivendo la variabile qui, tutti i p dentro st-article ereditano #333
   indipendentemente da specificità o ordine di caricamento. */
.st-article {
  --ltn__paragraph-color: #333;
  font-size: 16px;
  line-height: 1.78;
  color: #333;
}
.st-article h2 { font-size: 23px; font-weight: 800; color: #1e263a; margin: 44px 0 14px; }
.st-article h3 { font-size: 19px; font-weight: 700; color: #1e263a; margin: 34px 0 10px; }
.st-article p  { margin: 0 0 20px; color: #333; }
.st-article li { margin-bottom: 7px; color: #333; }
.st-article ul, .st-article ol { padding-left: 24px; margin: 0 0 20px; }
.st-article strong { color: #1e263a; }
.st-article img { max-width: 100%; border-radius: 6px; margin: 28px 0; display: block; }
.st-article figure { margin: 28px 0; }
.st-article figcaption { font-size: 13px; color: #999; text-align: center; margin-top: 8px; }
/* Corregge i margini negativi Bootstrap row dentro il contenitore articolo */
.st-article .row { margin-left: 0; margin-right: 0; }

/* TOC collassabile con <details> */
.st-toc {
  border: 1px solid #eaedf2; border-radius: 8px;
  margin: 0 0 40px; overflow: hidden;
}
.st-toc-summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; cursor: pointer;
  font-size: 14px; font-weight: 700; color: #1e263a;
  background: #f8f9fb; list-style: none; user-select: none;
}
.st-toc-summary::-webkit-details-marker { display: none; }
.st-toc-summary i:first-child { color: #ff8c00; margin-right: 10px; }
.st-toc-chevron i { font-size: 12px; color: #999; transition: transform .25s; }
details.st-toc[open] .st-toc-chevron i { transform: rotate(180deg); }
.st-toc-body { padding: 20px 24px 16px; background: #fff; }
.st-toc-body .toc { margin: 0; padding: 0; border: none; background: none; }
.st-toc-body ul { margin: 0; padding-left: 16px; }
.st-toc-body li { margin-bottom: 6px; font-size: 14px; }
.st-toc-body a { color: #444; text-decoration: none; }
.st-toc-body a:hover { color: #ff8c00; }
.st-toc-body ul ul { margin-top: 6px; padding-left: 16px; }
.st-toc-body ul ul li { margin-bottom: 4px; font-size: 13px; }

/* -- ⑤ Case History -------------------------------------------- */
.st-related { padding: 72px 0; background: #f5f7fa; }
.st-related-card {
  background: #fff; border-radius: 6px; padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05); height: 100%;
  display: flex; flex-direction: column; margin-bottom: 24px;
}
.st-related-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
  background: rgba(255,140,0,.12); color: #ff8c00;
  margin-bottom: 16px; align-self: flex-start;
}
.st-related-tag--blog { background: rgba(30,38,58,.08); color: #1e263a; }
.st-related-title {
  font-size: 16px; font-weight: 700; color: #1e263a;
  margin: 0 0 12px; line-height: 1.35; flex: 1;
}
.st-related-title a { color: inherit; text-decoration: none; }
.st-related-title a:hover { color: #ff8c00; }
.st-related-excerpt { font-size: 14px; color: #666; line-height: 1.6; margin: 0 0 18px; }
.st-related-link {
  font-size: 13px; font-weight: 700; color: #ff8c00;
  text-decoration: none; display: inline-flex; align-items: center;
  gap: 6px; margin-top: auto; transition: gap .15s;
}
.st-related-link:hover { gap: 10px; }

/* -- ⑥ Prodotti ------------------------------------------------- */
.st-products { padding: 72px 0 64px; background: #1e263a; }
.st-products-intro { color: rgba(255,255,255,.65); font-size: 15px; margin: 0; max-width: 560px; }
.st-prod-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10);
  border-radius: 6px; padding: 28px 24px; height: 100%;
}
.st-prod-card-head { margin-bottom: 20px; }
.st-prod-badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 10px;
}
.st-prod-badge--label { background: rgba(255,140,0,.15); color: #ff8c00; }
.st-prod-badge--tag   { background: rgba(255,255,255,.10); color: rgba(255,255,255,.65); }
.st-prod-card-title { font-size: 16px; font-weight: 700; color: #fff; margin: 0; }
.st-prod-list { list-style: none; padding: 0; margin: 0; }
.st-prod-list li { border-top: 1px solid rgba(255,255,255,.07); }
.st-prod-list li:first-child { border-top: none; }
.st-prod-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; color: rgba(255,255,255,.72);
  text-decoration: none; font-size: 14px; transition: color .2s;
}
.st-prod-list a:hover { color: #ff8c00; }
.st-prod-list a i { font-size: 11px; opacity: .45; }
.st-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 4px; font-size: 14px;
  font-weight: 700; text-decoration: none; transition: all .2s; white-space: nowrap;
}
.st-btn--ghost { border: 2px solid rgba(255,255,255,.30); color: rgba(255,255,255,.80); }
.st-btn--ghost:hover { border-color: #ff8c00; color: #ff8c00; }

/* -- ⑦ Blog ----------------------------------------------------- */
.st-blog { padding: 72px 0; background: #fff; }
.st-blog-card {
  border: 1px solid #eaedf2; border-radius: 6px; padding: 28px 24px;
  height: 100%; display: flex; flex-direction: column;
  margin-bottom: 24px; transition: box-shadow .2s;
}
.st-blog-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }

/* -- ⑧ CTA finale ---------------------------------------------- */
.st-cta { padding: 80px 0; background: #1e263a; }
.st-cta-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.st-cta-title { font-size: clamp(22px, 2.5vw, 30px); font-weight: 800; color: #fff; margin: 0 0 10px; }
.st-cta-sub { color: rgba(255,255,255,.65); margin: 0; font-size: 15px; }
.st-cta-actions { display: flex; gap: 16px; flex-shrink: 0; flex-wrap: wrap; }
.st-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 4px; font-size: 14px;
  font-weight: 700; text-decoration: none; transition: all .2s;
}
.st-cta-btn--primary { background: #ff8c00; color: #fff; }
.st-cta-btn--primary:hover { background: #e07c00; color: #fff; }
.st-cta-btn--ghost { background: transparent; color: rgba(255,255,255,.80); border: 2px solid rgba(255,255,255,.30); }
.st-cta-btn--ghost:hover { border-color: #fff; color: #fff; }
@media (max-width: 767px) {
  .st-cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .st-cta-actions { flex-direction: column; width: 100%; }
  .st-cta-btn { justify-content: center; }
}

/* -- FAQ settore ------------------------------------------------ */
.st-faq {
  margin: 0;
  border-top: 1px solid #e8e8e8;
}
.st-faq dt {
  font-weight: 700;
  font-size: 16px;
  color: #1a1a1a;
  padding: 20px 0 8px;
  border-top: none;
  cursor: default;
}
.st-faq dt:not(:first-child) {
  border-top: 1px solid #e8e8e8;
}
.st-faq dd {
  margin: 0 0 20px;
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* -- Link testuale CTA inline ----------------------------------- */
.btn-link-text {
  display: inline-block;
  color: #ff8c00;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}
.btn-link-text:hover {
  color: #e07c00;
  border-bottom-color: #e07c00;
}

/* -- Figura sezione settore (immagine su riga dedicata) --------- */
.st-fig-block {
  margin: 1.75rem 0 2.25rem;
}
.st-fig-block .img-fred {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 8px;
}

/* -- Indice settori (pagina-lista) ------------------------------ */
.st-index-hero {
  padding: 72px 0 48px;
  background: #1e263a;
  text-align: center;
}
.st-index-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
}
.st-index-sub {
  font-size: 16px;
  color: rgba(255,255,255,.65);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}
.st-index-grid-wrap {
  padding: 64px 0 80px;
  background: #f5f7fa;
}
.st-index-col {
  margin-bottom: 24px;
  display: flex;
}
.st-sector-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 28px 24px 24px;
  background: #fff;
  border-radius: 6px;
  border: 2px solid transparent;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  text-decoration: none;
  color: #1e263a;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.st-sector-card:hover {
  border-color: #ff8c00;
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
  transform: translateY(-3px);
  color: #1e263a;
  text-decoration: none;
}
.st-sector-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255,140,0,.12);
  color: #ff8c00;
  font-size: 20px;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.st-sector-card__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #1e263a;
  line-height: 1.3;
}
.st-sector-card__desc {
  font-size: 14px;
  color: #555;
  line-height: 1.55;
  margin: 0 0 20px;
  flex-grow: 1;
}
.st-sector-card__cta {
  font-size: 13px;
  font-weight: 700;
  color: #ff8c00;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap .2s;
}
.st-sector-card:hover .st-sector-card__cta {
  gap: 10px;
}
@media (max-width: 767px) {
  .st-index-hero { padding: 52px 0 36px; }
  .st-index-col { margin-bottom: 16px; }
}


/* ================================================================
   PAGINA CONTATTI  (.wt-contact-*)
   ================================================================ */

/* -- Hero contatti ---------------------------------------------- */
.wt-contact-hero {
  background: #000;
  padding: 64px 0 54px;
  text-align: center;
}
.wt-contact-hero-title {
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.25;
}
.wt-contact-hero-sub {
  color: rgba(255,255,255,.60);
  font-size: 16px;
  margin: 0;
}

/* -- Sezione form + sidebar ------------------------------------- */
.wt-contact-main { padding: 70px 0 60px; }

.wt-contact-form-wrap {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 28px rgba(0,0,0,.08);
  padding: 40px 40px 32px;
}
.wt-contact-form-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e263a;
  margin: 0 0 24px;
}

.wt-contact-sidebar { padding-left: 24px; }
.wt-contact-sidebar-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e263a;
  margin: 0 0 24px;
}

.wt-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.wt-contact-info-icon {
  width: 38px;
  height: 38px;
  background: #ff8c00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wt-contact-info-icon i { color: #fff; font-size: 14px; }
.wt-contact-info-body { display: flex; flex-direction: column; gap: 2px; padding-top: 2px; }
.wt-contact-info-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #999;
}
.wt-contact-info-value {
  font-size: 14px;
  font-weight: 600;
  color: #1e263a;
  text-decoration: none;
  line-height: 1.5;
}
a.wt-contact-info-value:hover { color: #ff8c00; }

.wt-contact-trust {
  background: #f5f7fa;
  border-left: 3px solid #ff8c00;
  border-radius: 0 4px 4px 0;
  padding: 16px 18px;
  margin-top: 28px;
}
.wt-contact-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #444;
  margin-bottom: 9px;
}
.wt-contact-trust-item:last-child { margin-bottom: 0; }
.wt-contact-trust-item i { color: #ff8c00; font-size: 13px; flex-shrink: 0; }

.wt-contact-meeting-btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 13px 20px;
  background: #1e263a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  letter-spacing: .03em;
  transition: background .2s;
}
.wt-contact-meeting-btn i { margin-right: 8px; color: #ff8c00; }
.wt-contact-meeting-btn:hover { background: #ff8c00; color: #fff; }
.wt-contact-meeting-btn:hover i { color: #fff; }

/* -- Mappa + agenti -------------------------------------------- */
.wt-contact-map-section { border-top: 1px solid #e8eaee; }
.wt-contact-map { height: 420px; }
.wt-contact-map iframe { display: block; width: 100%; height: 100%; }

.wt-contact-agents {
  height: 100%;
  background: #f5f7fa;
  padding: 44px 48px;
}
.wt-contact-agents-title {
  font-size: 18px;
  font-weight: 700;
  color: #1e263a;
  margin: 0 0 28px;
}
.wt-agent-card {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e0e3e9;
}
.wt-agent-card:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.wt-agent-country {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #ff8c00;
  margin-bottom: 6px;
}
.wt-agent-card p {
  font-size: 12px;
  color: #555;
  margin-bottom: 4px;
  line-height: 1.65;
}
.wt-agent-contact a { color: #1e263a; text-decoration: none; }
.wt-agent-contact a:hover { color: #ff8c00; }

/* -- Responsive pagina contatti -------------------------------- */
@media (max-width: 991px) {
  .wt-contact-sidebar { padding-left: 0; margin-top: 44px; }
  .wt-contact-map { height: 300px; }
  .wt-contact-agents { padding: 32px 24px; }
}
@media (max-width: 767px) {
  .wt-contact-hero { padding: 44px 0 36px; }
  .wt-contact-hero-title { font-size: 26px; }
  .wt-contact-form-wrap { padding: 24px 20px; }
  .wt-contact-map { height: 240px; }
}


/* ================================================================
   MODULO CTA / FORM CONTATTI  (.wt-cta-form-*)
   ================================================================ */

.wt-cta-form-section {
  background: #f5f7fa;
  padding: 80px 0;
  border-top: 1px solid #e8eaee;
  border-bottom: 1px solid #e8eaee;
}

/* Colonna sinistra */
.wt-cta-form-intro { padding-right: 40px; }
.wt-cta-form-title {
  font-size: 30px;
  font-weight: 800;
  color: #1e263a;
  line-height: 1.25;
  margin: 0 0 14px;
}
.wt-cta-form-sub {
  font-size: 14px;
  color: #666;
  line-height: 1.75;
  margin: 0 0 28px;
}
.wt-cta-trust { margin-bottom: 28px; }
.wt-cta-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #444;
  margin-bottom: 10px;
}
.wt-cta-trust-item:last-child { margin-bottom: 0; }
.wt-cta-trust-item i { color: #ff8c00; font-size: 14px; flex-shrink: 0; }

.wt-cta-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: #bbb;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.wt-cta-divider::before,
.wt-cta-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ddd;
}

.wt-cta-meeting-btn {
  display: block;
  width: 100%;
  padding: 13px 20px;
  background: #1e263a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  letter-spacing: .03em;
  transition: background .2s;
}
.wt-cta-meeting-btn i { margin-right: 8px; color: #ff8c00; }
.wt-cta-meeting-btn:hover { background: #ff8c00; color: #fff; }
.wt-cta-meeting-btn:hover i { color: #fff; }

/* Colonna destra: form */
.wt-cta-form-wrap {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  padding: 40px;
}

.wt-form-field { margin-bottom: 18px; }
.wt-form-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #888;
  margin-bottom: 6px;
}
.wt-form-req { color: #ff8c00; }
.wt-form-field input,
.wt-form-field textarea {
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  color: #1e263a;
  background: #fff;
  border: 1.5px solid #e0e3e9;
  border-radius: 4px;
  outline: none;
  transition: border-color .18s;
  font-family: inherit;
}
.wt-form-field input:focus,
.wt-form-field textarea:focus { border-color: #ff8c00; }
.wt-form-field input::placeholder,
.wt-form-field textarea::placeholder { color: #bbb; }
.wt-form-field textarea { min-height: 120px; resize: vertical; }

.wt-form-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.wt-form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  min-width: 200px;
  cursor: pointer;
}
.wt-form-privacy input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #ff8c00;
}
.wt-form-privacy span {
  font-size: 11px;
  color: #999;
  line-height: 1.6;
}
.wt-form-privacy a { color: #ff8c00; text-decoration: underline; }

.wt-cta-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #ff8c00;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
  flex-shrink: 0;
}
.wt-cta-submit-btn:hover { background: #1e263a; }
.wt-cta-submit-btn i { font-size: 11px; }

/* Responsive modulo contatti */
@media (max-width: 991px) {
  .wt-cta-form-intro { padding-right: 0; margin-bottom: 40px; }
  .wt-cta-form-title { font-size: 24px; }
}
@media (max-width: 575px) {
  .wt-cta-form-wrap { padding: 24px 20px; }
  .wt-form-footer { flex-direction: column; }
  .wt-cta-submit-btn { width: 100%; justify-content: center; }
}


/* ================================================================
   HUB RISORSE TECNICHE  (.rh-*)
   (stili specifici per pag-risorse-hub.php)
   ================================================================ */

.rh-hero {
  background: linear-gradient(135deg, #1e263a 0%, #2c3e6b 100%);
  padding: 72px 0 56px;
  text-align: center;
}
.rh-hero-label {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #ff8c00; margin: 0 0 16px;
}
.rh-hero-title {
  font-size: clamp(28px, 4vw, 46px); font-weight: 900;
  color: #fff; line-height: 1.15; margin: 0 0 18px;
}
.rh-hero-sub {
  font-size: 17px; color: rgba(255,255,255,.70);
  margin: 0 auto 32px; max-width: 640px; line-height: 1.65;
}
.rh-hero-search {
  display: flex; justify-content: center; gap: 0; max-width: 480px; margin: 0 auto;
}
.rh-hero-search input {
  flex: 1; padding: 12px 18px; font-size: 14px;
  border: none; border-radius: 6px 0 0 6px; outline: none;
}
.rh-hero-search button {
  padding: 12px 20px; background: #ff8c00; color: #fff;
  border: none; border-radius: 0 6px 6px 0; font-size: 14px;
  font-weight: 700; cursor: pointer; transition: background .2s;
}
.rh-hero-search button:hover { background: #e07c00; }

.rh-category { padding: 60px 0 0; }
.rh-category:last-of-type { padding-bottom: 60px; }
.rh-cat-label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #ff8c00; margin: 0 0 6px;
}
.rh-cat-title {
  font-size: 22px; font-weight: 800; color: #1e263a;
  margin: 0 0 6px; line-height: 1.25;
}
.rh-cat-desc {
  font-size: 14px; color: #666; margin: 0 0 28px; line-height: 1.6;
}

.rh-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e8eaee; border-radius: 8px;
  padding: 24px 22px 20px; height: 100%;
  text-decoration: none; color: #1e263a;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  margin-bottom: 20px;
}
.rh-card:hover {
  border-color: #ff8c00;
  box-shadow: 0 6px 24px rgba(0,0,0,.09);
  transform: translateY(-3px);
  color: #1e263a; text-decoration: none;
}
.rh-card-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(255,140,0,.12); color: #ff8c00;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 14px; flex-shrink: 0;
}
.rh-card-title {
  font-size: 16px; font-weight: 700; color: #1e263a;
  margin: 0 0 8px; line-height: 1.3;
}
.rh-card-desc {
  font-size: 13px; color: #666; line-height: 1.6;
  margin: 0 0 16px; flex-grow: 1;
}
.rh-card-cta {
  font-size: 12px; font-weight: 700; color: #ff8c00;
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: auto; transition: gap .2s;
}
.rh-card:hover .rh-card-cta { gap: 9px; }

.rh-tools { padding: 48px 0 64px; background: #f5f7fa; margin-top: 48px; }
.rh-tools-title {
  font-size: 20px; font-weight: 800; color: #1e263a; margin: 0 0 6px;
}
.rh-tools-sub { font-size: 14px; color: #666; margin: 0 0 28px; }
.rh-tool-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid #e8eaee; border-radius: 8px;
  padding: 18px 20px; text-decoration: none; color: #1e263a;
  transition: border-color .2s, box-shadow .2s;
  margin-bottom: 16px;
}
.rh-tool-card:hover {
  border-color: #ff8c00;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  color: #1e263a; text-decoration: none;
}
.rh-tool-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 7px; background: rgba(255,140,0,.12);
  color: #ff8c00; display: flex; align-items: center;
  justify-content: center; font-size: 16px;
}
.rh-tool-text strong { display: block; font-size: 14px; font-weight: 700; color: #1e263a; }
.rh-tool-text span   { font-size: 12px; color: #888; }

.rh-cta {
  background: #1e263a; padding: 64px 0; text-align: center;
}
.rh-cta-title {
  font-size: clamp(22px, 2.5vw, 30px); font-weight: 800;
  color: #fff; margin: 0 0 12px;
}
.rh-cta-sub { font-size: 15px; color: rgba(255,255,255,.65); margin: 0 0 32px; }
.rh-cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.rh-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 4px; font-size: 14px;
  font-weight: 700; text-decoration: none; transition: all .2s;
}
.rh-cta-btn--primary { background: #ff8c00; color: #fff; }
.rh-cta-btn--primary:hover { background: #e07c00; color: #fff; }
.rh-cta-btn--ghost { background: transparent; color: rgba(255,255,255,.80); border: 2px solid rgba(255,255,255,.30); }
.rh-cta-btn--ghost:hover { border-color: #fff; color: #fff; }

@media (max-width: 767px) {
  .rh-hero { padding: 52px 0 40px; }
  .rh-hero-sub { font-size: 15px; }
  .rh-category { padding: 40px 0 0; }
  .rh-tools { padding: 36px 0 48px; }
}

/* ================================================================
   FAQ PAGE (pag-faq.php)
   ================================================================ */

/* Contenitore principale — centrato, larghezza leggibile */
.pag-faq { padding: 56px 0 32px; }

/* Sezione colorata: ogni categoria porta il proprio --cat-color */
.faq-section {
  --cat-color: #ff8c00; /* fallback */
  margin-bottom: 52px;
}
.faq-section:last-child { margin-bottom: 0; }

/* Intestazione di categoria */
.faq-section-head { margin-bottom: 16px; }
.faq-cat-heading {
  font-size: 19px;
  font-weight: 800;
  color: var(--cat-color);
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--cat-color);
  display: inline-block;
}

/* ── Accordion — stile flat con separatori ── */
.pag-faq .accordion > .card {
  border: none;
  border-bottom: 1px solid #e2e6ea;
  border-radius: 0 !important;
  box-shadow: none;
  background: transparent;
}
.pag-faq .accordion > .card:first-child {
  border-top: 1px solid #e2e6ea;
}

/* Card header: cursore pointer su tutta l'area cliccabile */
.pag-faq .accordion .card-header {
  background: transparent;
  border-bottom: none;
  padding: 0;
  cursor: pointer;
}

/* Domanda */
.pag-faq .accordion .card-header h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1e263a;
  cursor: pointer;
  padding: 20px 52px 20px 0;
  margin: 0;
  position: relative;
  line-height: 1.45;
  user-select: none;
  transition: color .15s;
}

/* Indicatore +/− colorato con il colore di sezione */
.pag-faq .accordion .card-header h3::after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--cat-color);
  line-height: 1;
}
.pag-faq .accordion .card-header h3[aria-expanded="true"]::after {
  content: '\2212'; /* − */
}

/* Hover e stato aperto: usa il colore di sezione */
.pag-faq .accordion .card-header:hover h3,
.pag-faq .accordion .card-header h3:hover { color: var(--cat-color); }
.pag-faq .accordion .card-header h3[aria-expanded="true"] { color: var(--cat-color); }

/* Risposta */
.pag-faq .accordion .card-body {
  padding: 4px 0 22px;
  font-size: 15px;
  line-height: 1.75;
  color: #4a5568;
}
.pag-faq .accordion .card-body p:last-child,
.pag-faq .accordion .card-body ul:last-child,
.pag-faq .accordion .card-body ol:last-child,
.pag-faq .accordion .card-body table:last-child { margin-bottom: 0; }
.pag-faq .accordion .card-body ul,
.pag-faq .accordion .card-body ol { padding-left: 20px; }
.pag-faq .accordion .card-body li { margin-bottom: 4px; }

/* Tabelle nelle risposte FAQ */
.pag-faq .rfid-freq-table { margin-top: 12px; }

/* CTA finale */
.faq-cta { padding-top: 40px; }

@media (max-width: 767px) {
  .pag-faq { padding-top: 40px; }
  .faq-section { margin-bottom: 36px; }
  .faq-cat-heading { font-size: 16px; }
  .pag-faq .accordion .card-header h3 { font-size: 14px; padding-top: 16px; padding-bottom: 16px; }
}


/* ================================================================
   FILTRO A PILLOLE RIUSABILE  (.wt-filter-*)
   Usato in: blog listing, case history listing, catalogo prodotti
   ================================================================ */
.wt-filter-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 20px 0;
  position: sticky;
  top: 70px; /* altezza navbar */
  z-index: 90;
}
.wt-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.wt-filter-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #999;
  margin-right: 4px;
  flex-shrink: 0;
}
.wt-filter-pill {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  border: 1.5px solid #ddd;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
  white-space: nowrap;
  line-height: 1.4;
}
.wt-filter-pill:hover {
  border-color: #ff8c00;
  color: #ff8c00;
}
.wt-filter-pill.is-active {
  background: #ff8c00;
  border-color: #ff8c00;
  color: #fff;
}
@media (max-width: 575px) {
  .wt-filter-bar { top: 56px; }
  .wt-filter-pill { font-size: 11px; padding: 5px 12px; }
}


/* ================================================================
   BLOG LISTING  (.wt-blog-*)
   ================================================================ */
.wt-blog-hero {
  background: linear-gradient(135deg, #e8443a 0%, #ff8c00 100%);
  padding: 64px 0 56px;
}
.wt-blog-hero-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.80);
  margin: 0 0 14px;
}
.wt-blog-hero-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 14px;
}
@media (min-width: 768px) { .wt-blog-hero-title { font-size: 42px; } }
.wt-blog-hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  line-height: 1.65;
  margin: 0;
}

/* Grid */
.wt-blog-section { padding: 48px 0 80px; background: #f5f5f5; }
.wt-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 576px) { .wt-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .wt-blog-grid { grid-template-columns: repeat(3, 1fr); } }

/* Card */
.wt-blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: transform .22s, box-shadow .22s;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
}
.wt-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.11);
}
.wt-blog-card[hidden] { display: none !important; }

.wt-blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.wt-blog-card-img-placeholder {
  height: 200px;
  background: linear-gradient(135deg, #f0f0f0 0%, #e4e4e4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 36px;
}
.wt-blog-card-body {
  padding: 22px 22px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.wt-blog-card-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #ff8c00;
  margin: 0 0 8px;
}
.wt-blog-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
  margin: 0 0 10px;
}
.wt-blog-card-title a {
  color: inherit;
  text-decoration: none !important;
}
.wt-blog-card-title a:hover { color: #ff8c00; }
.wt-blog-card-excerpt {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  flex: 1;
  margin: 0 0 16px;
}
.wt-blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}
.wt-blog-card-date { font-size: 11px; color: #bbb; }
.wt-blog-card-link {
  font-size: 12px;
  font-weight: 700;
  color: #ff8c00 !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .15s;
  white-space: nowrap;
}
.wt-blog-card:hover .wt-blog-card-link { gap: 8px; }

.wt-blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #aaa;
  font-size: 15px;
}


/* ================================================================
   CASE HISTORY LISTING  (.wt-ch-*)
   ================================================================ */
.wt-ch-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  background-image: url('/assets/img/home-cosa-facciamo.jpg');
  background-size: cover;
  background-position: center;
}
.wt-ch-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.52) 100%);
}
.wt-ch-hero-inner {
  position: relative;
  z-index: 1;
  padding: 70px 0;
  max-width: 680px;
}
.wt-ch-hero-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #ff8c00;
  margin: 0 0 14px;
}
.wt-ch-hero-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 14px;
}
@media (min-width: 768px) { .wt-ch-hero-title { font-size: 40px; } }
.wt-ch-hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  margin: 0;
}

/* Grid */
.wt-ch-section { padding: 48px 0 80px; background: #f5f5f5; }
.wt-ch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .wt-ch-grid { grid-template-columns: repeat(2, 1fr); } }

/* Card */
.wt-ch-card {
  background: #fff;
  border-radius: 12px;
  border-left: 4px solid #ff8c00;
  padding: 28px 28px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: transform .22s, box-shadow .22s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wt-ch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.11);
}
.wt-ch-card[hidden] { display: none !important; }
.wt-ch-card-sector {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #ff8c00;
  margin: 0;
}
.wt-ch-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin: 0;
}
.wt-ch-card-title a {
  color: inherit;
  text-decoration: none !important;
}
.wt-ch-card-title a:hover { color: #ff8c00; }
.wt-ch-card-excerpt {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
  flex: 1;
  margin: 0;
}
.wt-ch-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #ff8c00 !important;
  text-decoration: none !important;
  margin-top: 6px;
  transition: gap .15s;
}
.wt-ch-card:hover .wt-ch-card-link { gap: 10px; }

.wt-ch-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #aaa;
  font-size: 15px;
}


/* ================================================================
   SINGOLO BLOG POST  (.wt-post-*)
   ================================================================ */

/* -- Hero -------------------------------------------------------- */
.wt-post-hero {
  background: linear-gradient(135deg, #e8443a 0%, #ff8c00 100%);
  padding: 60px 0 52px;
  color: #fff;
}
.wt-post-hero .st-breadcrumb { margin-bottom: 20px; }
.wt-post-hero .st-breadcrumb a,
.wt-post-hero .st-breadcrumb span { color: rgba(255,255,255,.75); }
.wt-post-hero .st-breadcrumb a:hover { color: #fff; }
.wt-post-hero-tag {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 0 0 16px;
}
.wt-post-hero-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 18px;
  max-width: 800px;
}
.wt-post-hero-meta {
  font-size: 14px;
  color: rgba(255,255,255,.8);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 767px) {
  .wt-post-hero { padding: 44px 0 36px; }
  .wt-post-hero-title { font-size: 24px; }
}

/* -- Body -------------------------------------------------------- */
.wt-post-body {
  padding: 64px 0 80px;
}
.wt-post-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}
.wt-post-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 44px 0 16px;
  line-height: 1.25;
}
.wt-post-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 32px 0 12px;
}
.wt-post-content p { margin: 0 0 20px; }
.wt-post-content ul,
.wt-post-content ol { padding-left: 24px; margin-bottom: 20px; }
.wt-post-content li { margin-bottom: 8px; }
.wt-post-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 24px 0; }
.wt-post-content a { color: #e8443a; text-decoration: underline; }
.wt-post-content a:hover { color: #ff8c00; }
.wt-post-content strong { color: #1a1a1a; }
.wt-post-content blockquote {
  border-left: 4px solid #ff8c00;
  padding: 12px 20px;
  margin: 28px 0;
  background: #fff8f0;
  color: #555;
  font-style: italic;
  border-radius: 0 6px 6px 0;
}

/* -- CTA box ----------------------------------------------------- */
.wt-post-cta {
  max-width: 760px;
  margin: 56px auto 64px;
  background: #fff8f0;
  border: 2px solid #ff8c00;
  border-radius: 12px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.wt-post-cta p {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  flex: 1 1 260px;
}
.wt-post-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff8c00;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .2s, gap .15s;
}
.wt-post-cta-btn:hover { background: #e87c00; gap: 12px; }
.wt-post-cta--ch {
  background: #f0f4ff;
  border-color: #1e3a5f;
}
.wt-post-cta--ch .wt-post-cta-btn { background: #1e3a5f; }
.wt-post-cta--ch .wt-post-cta-btn:hover { background: #162d4a; }
@media (max-width: 600px) {
  .wt-post-cta { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
}

/* -- Articoli correlati ----------------------------------------- */
.wt-related-posts {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 0;
  border-top: 1px solid #eee;
}
.wt-related-title {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 40px 0 28px;
}
.wt-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .wt-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .wt-related-grid { grid-template-columns: 1fr; }
}

/* -- Case History "altri casi" wide grid (no max-width) --------- */
.wt-related-grid--ch {
  max-width: 100%;
}


/* ================================================================
   SINGOLO CASE HISTORY POST  (.wt-ch-post-*)
   ================================================================ */

/* -- Hero -------------------------------------------------------- */
.wt-ch-post-hero {
  position: relative;
  background: url('/assets/img/home-cosa-facciamo.jpg') center center / cover no-repeat;
  padding: 80px 0 70px;
  overflow: hidden;
}
.wt-ch-post-hero .wt-ch-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12,22,40,.90) 0%, rgba(30,58,95,.80) 100%);
  z-index: 0;
}
.wt-ch-post-hero .container { position: relative; z-index: 1; }
.wt-ch-post-hero-inner { max-width: 800px; }
.wt-ch-post-hero .st-breadcrumb { margin-bottom: 20px; }
.wt-ch-post-hero .st-breadcrumb a,
.wt-ch-post-hero .st-breadcrumb span { color: rgba(255,255,255,.65); }
.wt-ch-post-hero .st-breadcrumb a:hover { color: #ff8c00; }
.wt-ch-post-tag {
  display: inline-block;
  background: rgba(255,140,0,.2);
  border: 1px solid rgba(255,140,0,.55);
  color: #ffb040;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 0 0 16px;
}
.wt-ch-post-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin: 0;
  max-width: 750px;
}
@media (max-width: 767px) {
  .wt-ch-post-hero { padding: 56px 0 48px; }
  .wt-ch-post-title { font-size: 24px; }
}

/* -- Body -------------------------------------------------------- */
.wt-ch-post-body {
  padding: 64px 0 80px;
}
.wt-ch-post-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}
.wt-ch-post-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 44px 0 16px;
  line-height: 1.25;
}
.wt-ch-post-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 32px 0 12px;
}
.wt-ch-post-content p { margin: 0 0 20px; }
.wt-ch-post-content ul,
.wt-ch-post-content ol { padding-left: 24px; margin-bottom: 20px; }
.wt-ch-post-content li { margin-bottom: 8px; }
.wt-ch-post-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 24px 0; }
.wt-ch-post-content a { color: #1e3a5f; text-decoration: underline; }
.wt-ch-post-content a:hover { color: #ff8c00; }
.wt-ch-post-content strong { color: #1a1a1a; }
/* Blocchi "sfida / soluzione / risultati" tipici delle case history */
.wt-ch-post-content blockquote {
  border-left: 4px solid #1e3a5f;
  padding: 12px 20px;
  margin: 28px 0;
  background: #f4f7fb;
  color: #444;
  border-radius: 0 6px 6px 0;
}

/* "Altri casi" usa la stessa griglia della listing page */
.wt-ch-post-body .wt-related-posts { max-width: 100%; border-top: 1px solid #eee; }
.wt-ch-post-body .wt-ch-grid {
  margin-top: 0;
}
